Change TEST_NAME to memcpy to fix IFUNC testing of multiple versions.
[glibc.git] / ChangeLog
blob24908d0e2188581170ea1c16b62ec06fa01d8fb1
1 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
3         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
4         (IMPL) Call with 1 instead of 0 as argument.
6 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
9         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
10         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
11         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
12         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
13         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
14         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
15         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
16         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
17         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
18         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
19         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
20         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
22         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
23         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
24         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
25         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
26         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
27         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
28         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
29         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
30         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
31         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
32         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
33         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
34         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
35         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
36         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
37         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
38         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
39         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
40         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
41         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
42         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
43         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
44         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
45         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
46         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
47         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
48         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
49         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
50         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
51         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
52         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
53         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
54         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
55         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
56         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
57         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
58         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
59         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
60         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
61         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
62         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
63         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
64         INLINE_SYSCALL_ERROR_RETURN_VALUE.
65         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
66         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
67         defined.
68         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
69         __NR_setgroups32 if defined.
70         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
71         if defined.
72         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
73         __NR_setresgid32 is defined.
74         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
75         __NR_setresuid32 if defined.
76         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
77         __NR_setreuid32 if defined.
78         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
79         defined.
80         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
81         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
82         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
83         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
84         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
85         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
86         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
87         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
88         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
89         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
90         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
91         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
92         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
93         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
94         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
95         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
96         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
97         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
98         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
99         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
100         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
101         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
102         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
103         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
104         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
105         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
106         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
107         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
108         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
109         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
110         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
111         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
112         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
113         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
114         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
115         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
116         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
117         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
118         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
119         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
120         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
121         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
122         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
123         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
124         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
125         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
126         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
127         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
128         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
129         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
130         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
131         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
132         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
133         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
134         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
135         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
136         INLINE_SYSCALL_ERROR_RETURN_VALUE.
137         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
138         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
139         defined.
140         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
141         __NR_setgroups32 if defined.
142         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
143         if defined.
144         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
145         __NR_setresgid32 is defined.
146         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
147         __NR_setresuid32 if defined.
148         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
149         __NR_setreuid32 if defined.
150         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
151         defined.
153 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
155         [BZ #21277]
156         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
157         unconditionally.
158         (IMAXBEL): Likewise.
159         (IUTF8): Likewise.
161 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
163         * sysdeps/aarch64/libm-test-ulps: Update.
165 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
167         * README.tunables: Updated descriptions.
168         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
169         * scripts/gen-tunables.awk: Updated the code related to the
170         commit.
172 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
174         * benchtests/Makefile (string-benchset): Add memcpy-random.
175         * benchtests/bench-memcpy-random.c: New file.
177 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
179         * stdio-common/printf.h (register_printf_modifier): Change the
180         order of __wur and __THROW.
181         (register_printf_type): Likewise.
183 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
185         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
186         test_main ().
187         (CMDLINE_PROCESS): Use function instead of defined macro.
188         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
189         <suppport/support.h> to use set_fortify_handler().
190         * string/bug-envz1.c: Import support/test-driver.c instead of
191         test-skeleton.c.
192         * string/bug-strcoll2.c: Likewise.
193         * string/bug-strtok1.c: Likewise.
194         * string/stratcliff.c: Likewise.
195         * string/test-ffs.c: Likewise.
196         * string/test-memccpy.c: Likewise.
197         * string/test-memchr.c: Likewise.
198         * string/test-memcmp.c: Likewise.
199         * string/test-memcpy.c: Likewise.
200         * string/test-memmem.c: Likewise.
201         * string/test-memmove.c: Likewise.
202         * string/test-memrchr.c: Likewise.
203         * string/test-memset.c: Likewise.
204         * string/test-rawmemchr.c: Likewise.
205         * string/test-strcasecmp.c: Likewise.
206         * string/test-strcasestr.c: Likewise.
207         * string/test-strcat.c: Likewise.
208         * string/test-strchr.c: Likewise.
209         * string/test-strcmp.c: Likewise.
210         * string/test-strcpy.c: Likewise.
211         * string/test-string.h: Likewise.
212         * string/test-strlen.c: Likewise.
213         * string/test-strncasecmp.c: Likewise.
214         * string/test-strncat.c: Likewise.
215         * string/test-strncmp.c: Likewise.
216         * string/test-strncpy.c: Likewise.
217         * string/test-strnlen.c: Likewise.
218         * string/test-strpbrk.c: Likewise.
219         * string/test-strrchr.c: Likewise.
220         * string/test-strspn.c: Likewise.
221         * string/test-strstr.c: Likewise.
222         * string/tst-bswap.c: Likewise.
223         * string/tst-cmp.c: Likewise.
224         * string/tst-endian.c: Likewise.
225         * string/tst-inlcall.c: Likewise.
226         * string/tst-strcoll-overflow.c: Likewise.
227         * string/tst-strfry.c: Likewise.
228         * string/tst-strlen.c: Likewise.
229         * string/tst-strtok.c: Likewise.
230         * string/tst-strtok_r.c: Likewise.
231         * string/tst-strxfrm.c: Likewise.
232         * string/tst-strxfrm2.c: Likewise.
233         * string/tst-svc.c: Likewise.
234         * string/tst-svc2.c: Likewise.
236 2017-03-22  Zack Weinberg  <zackw@panix.com>
238         * stdio-common/bug25.c: Include stdlib.h.
239         * support/tst-support_format_dns_packet.c: Include stdio.h,
240         stdlib.h, and string.h.
241         * support/tst-support_record_failure.c: Include string.h.
242         * support/tst-support_record_failure-2.sh: Adjust line number
243         expectations and correct a typo in an error message.
245 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
247         [BZ #21258]
248         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
249         Define only if _dl_runtime_resolve is defined to
250         _dl_runtime_resolve_sse_vex.
251         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
252         Fallthrough to _dl_runtime_resolve_sse_vex.
254 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
256         * INSTALL: Regenerated.
258 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
260         * config.h.in: Add LINK_OBSOLETE_NSL.
261         * config.make.in: Add build-obsolete-nsl.
262         * configure.ac: Add obsolete-nsl option.
263         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
264         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
265         * include/rpcsvc/nislib.h: Likewise.
266         * include/rpcsvc/ypclnt.h: Likewise.
267         * manual/install.texi: Document --enable-obsolete-nsl.
268         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
269         * nis/nis_add.c: Replace libnsl_hidden_def with
270         libnsl_hidden_nolink_def.
271         * nis/nis_addmember.c: Likewise.
272         * nis/nis_call.c: Likewise.
273         * nis/nis_clone_obj.c: Likewise.
274         * nis/nis_defaults.c: Likeise.
275         * nis/nis_domain_of_r.c: Likewise.
276         * nis/nis_error.c: Likewise.
277         * nis/nis_file.c: Likewise.
278         * nis/nis_free.c: Likewise.
279         * nis_local_names.c: Likewise.
280         * nis/nis_lookup.c: Likewise.
281         * nis/nis_modify.c: Likewise.
282         * nis/nis_print.c: Likewise.
283         * nis/nis_remove.c: Likewise.
284         * nis/nis_table.c: Likewise.
285         * nis/nis_util.c: Likewise.
286         * nis/nis_xdr.c: Likewise.
287         * nis/yp_xdr.c: Likewise.
288         * nis/ypclnt.c: Likewise.
289         * nis/ypupdate_xdr.c: Likewise.
290         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
291         * nis/nis_clone_dir.c: Likewise.
292         * nis/nis_clone_res.c: Likewise.
293         * nis/nis_creategroup.c: Likewise.
294         * nis/nis_destroygroup.c: Likewise.
295         * nis/nis_domain_of.c: Likewise.
296         * nis/nis_getservlist.c: Likewise.
297         * nis/nis_ismember.c: Likewise.
298         * nis/nis_mkdir.c: Likewise.
299         * nis/nis_ping.c: Likewise.
300         * nis/nis_print_group_entry.c: Likewise.
301         * nis/nis_removemember.c: Likewise.
302         * nis/nis_rmdir.c: Likewise.
303         * nis/nis_server.c: Likewise.
304         * nis/nis_subr.c: Likewise.
305         * nis/nis_verifygroup.c: Likewise.
307 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
309         * malloc/tst-interpose-aux.c (check_for_allocations):
310         Move compiler barrier before free.
312 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
314         [BZ #21279]
315         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
316         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
317         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
318         x86_64-x32-linux.
319         (mq_attr.mq_maxmsg): Likewise.
320         (mq_attr.mq_msgsize): Likewise.
321         (mq_attr.mq_curmsgs): Likewise.
323         [BZ #21278]
324         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
325         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
326         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
327         mips-o32-linux.
329         [BZ #21268]
330         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
331         if [__USE_MISC]
332         (NL3): Likewise.
334 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
336         [BZ #21275]
337         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
338         __stack to __stackbase.
339         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
340         checks so we can include defined(__ia64__) first.
342 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
344         * sysdeps/unix/sysv/linux/ttyname.h: New file.
345         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
346         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
347         Call is_pty when the link does not exist or does not match, fail
348         with ENODEV when it returns true.
349         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
350         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
351         Call is_pty when the link does not exist or does not match, fail
352         with ENODEV when it returns true.
354 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
356         [BZ #16437]
357         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
358         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
359         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
360         x86_64-x32-linux.
361         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
362         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
363         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
365         [BZ #21261]
366         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
367         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
368         names for all fields.
369         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
370         for jmp_buf field renaming.
371         (_JMPBUF_UNWINDS_ADJ): Likewise.
373         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
374         with allow-header.
376 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
378         * malloc/malloc.c (unlink): Add consistency check between size and
379         next->prev->size, to further harden against 1-byte overflows.
381 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
383         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
384         CPU_FEATURES_CPU_P.
386 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
388         [BZ #21259]
389         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
390         unconditionally, not just for [__USE_MISC].
392         [BZ #17786]
393         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
394         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
395         mips-o32-linux.
397         [BZ #21260]
398         * sysdeps/unix/sysv/linux/alpha/Makefile
399         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
400         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
402         * conform/conformtest.pl ($cross): New variable.
403         (--cross): New command-line option.
404         (runtest): Skip test execution when cross-compiling.
405         * conform/Makefile (conformtest-cross): New variable.
406         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
407         conformtest.pl.
409         * conform/conformtest.pl ($xfail_str): New variable.
410         (--xfail=): New command-line option.
411         (top level): Handle expectations starting xfail[cond]-.
412         * conform/Makefile (conformtest-xfail): New variable.
413         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
414         conformtest.pl.
416 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
418         * conform/conformtest.pl: Use compilation instead of execution
419         tests for testing values of constants and usability in #if.
421 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
423         * math/auto-libm-test-in: Mark some catan and catanh as
424         xfail-rounding:ibm128-libgcc.
425         * math/auto-libm-test-out-catan: Regenerate.
426         * math/auto-libm-test-out-catanh: Likewise.
428 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
430         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
431         (__END_NAMESPACE_STD): Likewise.
432         (__USING_NAMESPACE_STD): Likewise.
433         (__BEGIN_NAMESPACE_C99): Likewise.
434         (__END_NAMESPACE_C99): Likewise.
435         (__USING_NAMESPACE_C99): Likewise.
436         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
437         undefine macro.
438         (_Mdouble_END_NAMESPACE): Likewise.
439         * ctype/ctype.h: Do not handle C++ namespaces.
440         * libio/bits/stdio-ldbl.h: Likewise.
441         * libio/stdio.h: Likewise.
442         * locale/locale.h: Likewise.
443         * math/bits/mathcalls.h: Likewise.
444         * setjmp/setjmp.h: Likewise.
445         * signal/signal.h: Likewise.
446         * stdlib/bits/stdlib-float.h: Likewise.
447         * stdlib/bits/stdlib-ldbl.h: Likewise.
448         * stdlib/stdlib.h: Likewise.
449         * string/string.h: Likewise.
450         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
451         * time/bits/types/clock_t.h: Likewise.
452         * time/bits/types/struct_tm.h: Likewise.
453         * time/bits/types/time_t.h: Likewise.
454         * time/time.h: Likewise.
455         * wcsmbs/bits/wchar-ldbl.h: Likewise.
456         * wcsmbs/uchar.h: Likewise.
457         * wcsmbs/wchar.h: Likewise.
458         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
459         * wctype/wctype.h: Do not handle C++ namespaces.
460         * scripts/begin-end-check.pl: Remove.
461         * Makefile (installed-headers): Likewise.
462         (tests-special): Do not add $(objpfx)begin-end-check.out.
463         ($(objpfx)begin-end-check.out): Remove.
465 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
466             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
468         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
469         (DL_PLATFORM_INIT): New define.
470         (dl_platform_init): New function.
471         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
472         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
473         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
474         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
475         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
477 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
479         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
480         instead of PIC.
482 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
484         [BZ #21094]
485         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
486         24+24+24-bit pi for wider range of values around pi/2.
487         * math/auto-libm-test-in: Add more tests of cos and tan.
488         * math/auto-libm-test-out-cos: Regenerated.
489         * math/auto-libm-test-out-tan: Likewise.
491 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
493         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
494         (RTLD_START): Don't record stack end address in _dl_start_user.
496 2017-03-15  Alexey Neyman  <stilor@att.net>
498         [BZ #21088]
499         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
500         around definitions match those around use.
502 2017-03-15  Alexey Neyman  <stilor@att.net>
504         * configure.ac: Avoid empty subexpression in grep.
505         * configure: Regenerate.
507 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
509         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
510         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
511         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
512         (test_wrp_rv): Fix format.
513         (test_wrp_rv2): New macro.
514         (do_test): Handle mlock return on 64 bits kernels with 32 bits
515         binaries.
517 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
519         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
520         Use a union when storing pointers.
521         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
522         cast result when passing to INIT_VEC_PTRS_LOOP.
523         (VECTOR_WRAPPER_fFF_3): Likewise.
524         (VECTOR_WRAPPER_fFF_4): Likewise.
526 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
528         * include/bits/mathcalls-helper-functions.h: New file.
529         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
530         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
531         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
532         math/bits/mathcalls-helper-functions.h.
533         * math/bits/mathcalls-helper-functions.h: New file.
534         * math/math.h: Include bits/mathcalls-helper-functions.h for
535         float, double, and long double.
537 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
539         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
540         instead of feraiseexcept.
542 2017-03-15  Florian Weimer  <fweimer@redhat.com>
544         [BZ #21243]
545         * support/temp_file.c (support_delete_temp_files): Add comment
546         about ignored errors.
548 2017-03-15  Florian Weimer  <fweimer@redhat.com>
550         [BZ #21244]
551         * support/xclose.c: New file.
552         * support/Makefile (libsupport-routines): Add xclose.
553         * support/xunistd.h (xclose): Declare.
554         * support/resolv_test.c (server_thread_tcp_client)
555         (server_thread_tcp, make_server_sockets, resolv_test_start)
556         (resolv_test_end): Call xclose instead of close.
557         * support/support_enter_network_namespace.c
558         (support_enter_network_namespace): Likewise.
559         * support/support_run_diff.c (write_to_temp_file): Likewise.
561 2017-03-15  Florian Weimer  <fweimer@redhat.com>
563         * support/support_format_dns_packet.c (support_format_dns_packet):
564         Handle CNAME records in the response.  Extract RDATA names from
565         rdata, not the whole packet.  Check AAAA record length.
566         * support/tst-support_format_dns_packet.c: New file.
567         * support/Makefile (tests): Add tst-support_format_dns_packet.
568         (tst-support_format_dns_packet): Link against libresolv.
570 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
572         [BZ #21232]
573         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
574         posix_fadvise64 weak_alias for static build.
576 2017-03-14  Andreas Schwab  <schwab@suse.de>
578         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
579         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
580         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
581         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
582         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
583         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
584         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
585         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
587 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
589         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
590         posix error code.
591         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
593 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
595         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
596         no_isolate usage for SH.
598 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
600         [BZ #15105]
601         [BZ #19463]
602         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
603         * inet/rcmd.c (rcmd_af): Likewise.
604         * inet/rexec.c   (rexec_af): Likewise.
605         * intl/dcigettext.c (_LIBC): Likewise.
606         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
607         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
608         * locale/setlocale.c (setlocale): Likewise.
609         * posix/spawn_faction_addopen.c
610         (posix_spawn_file_actions_addopen): Likewise.
611         * stdlib/putenv.c (putenv): Use __strndup.
612         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
613         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
614         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
615         (__Need_M_And_C) Remove define/undef.
616         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
617         (__malloc_and_calloc_defined): Remove define.
618         * string/bits/string2.h (__strdup): Remove define.
619         (strdup): Likewise.
620         (__strndup): Likewise.
621         (strndup): Likewise.
623 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
625         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
626         macro.
627         (IPV6_ADDR_PREFERENCES): Likewise.
628         (IPV6_MINHOPCOUNT): Likewise.
629         (IPV6_ORIGDSTADDR): Likewise.
630         (IPV6_RECVORIGDSTADDR): Likewise.
631         (IPV6_TRANSPARENT): Likewise.
632         (IPV6_UNICAST_IF): Likewise.
633         (IPV6_RECVFRAGSIZE): Likewise.
635 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
637         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
639 2017-03-12  Alexey Neyman <stilor@att.net>
641         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
642         in R_SH_DIR32 case is always false when inlined from
643         dl-conflict.c. Ifdef out to prevent GCC from insertin an
645 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
647         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
648         (__ASSUME_RECV_SYSCALL): Replace duplicate by
649         __ASSUME_SEND_SYSCALL.
651 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
653         * sunrpc/Makefile: don't build and install rpcsvc header
654         files, rpcgen and librpcsvc.a by default.
656 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
658         * math/auto-libm-test-out-catan: Regenerated.
659         * math/auto-libm-test-out-catanh: Likewise.
660         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
662 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
664         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
665         for long double with corrected test expectations.
667 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
669         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
670         Define.
671         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
672         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
673         * sysdeps/unix/sysv/linux/nios2/sysdep.h
674         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
675         * sysdeps/unix/sysv/linux/tile/sysdep.h
676         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
677         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
678         (__ASSUME_RECV_SYSCALL): Define.
679         * sysdeps/unix/sysv/linux/arm/kernel-features.h
680         (__ASSUME_RECV_SYSCALL): Likewise.
681         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
682         (__ASSUME_RECV_SYSCALL): Likewise.
683         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
684         (__ASSUME_RECV_SYSCALL): Likewise.
685         * sysdeps/unix/sysv/linux/mips/kernel-features.h
686         (__ASSUME_RECV_SYSCALL): Likewise.
687         * sysdeps/unix/sysv/linux/i386/kernel-features.h
688         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
689         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
690         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
691         * sysdeps/unix/sysv/linux/s390/kernel-features.h
692         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
693         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
694         auto-generation list.
695         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
696         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
697         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
698         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
699         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
700         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
701         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
702         __ASSUME_SENDTO_SYSCALL.
703         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
704         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
705         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
707         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
708         auto-generation list.
709         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
710         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
711         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
712         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
713         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
714         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
715         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
716         * sysdeps/unix/sysv/linux/kernel-features.h
717         (__ASSUME_SENDTO_SYSCALL): Define by default.
718         * sysdeps/unix/sysv/linux/i386/kernel-features.h
719         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
720         __NR_sendto.
721         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
722         (__ASSUME_SENDTO_SYSCALL): Likewise.
723         * sysdeps/unix/sysv/linux/s390/kernel-features.h
724         (__ASSUME_SENDTO_SYSCALL): Likewise.
725         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
726         (__ASSUME_SENDTO_SYSCALL): Remove definition.
727         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
728         (__ASSUME_SENDTO_SYSCALL): Likewise.
729         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
730         (__ASSUME_SENDTO_SYSCALL): Likewise.
731         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
733         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
734         auto-generation list.
735         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
736         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
737         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
738         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
739         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
740         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
741         (__ASSUME_RECV_SYSCALL): New define.
742         * sysdeps/unix/sysv/linux/arm/kernel-features.h
743         (__ASSUME_RECV_SYSCALL): Likewise.
744         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
745         (__ASSUME_RECV_SYSCALL): Likewise.
746         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
747         (__ASSUME_RECV_SYSCALL): Likewise.
748         * sysdeps/unix/sysv/linux/mips/kernel-features.h
749         (__ASSUME_RECV_SYSCALL): Likewise.
750         * sysdeps/unix/sysv/linux/i386/kernel-features.h
751         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
752         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
753         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
754         * sysdeps/unix/sysv/linux/s390/kernel-features.h
755         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
756         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
757         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
758         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
759         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
760         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
761         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
763         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
764         auto-generation list.
765         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
766         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
767         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
768         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
769         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
770         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
771         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
772         * sysdeps/unix/sysv/linux/i386/kernel-features.h
773         (__ASSUME_RECVFROM_SYSCALL): Define by default.
774         * sysdeps/unix/sysv/linux/kernel-features.h
775         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
776         __NR_recvfrom.
777         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
778         (__ASSUME_RECVFROM_SYSCALL): Likewise.
779         * sysdeps/unix/sysv/linux/s390/kernel-features.h
780         (__ASSUME_RECVFROM_SYSCALL): Likewise.
781         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
782         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
783         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
784         (__ASSUME_RECVFROM_SYSCALL): Likewise.
785         * sysdeps/unix/sysv/linux/sh/kernel-features.h
786         (__ASSUME_RECVFROM_SYSCALL): Likewise.
787         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
788         (__ASSUME_RECVFROM_SYSCALL): Likewise.
789         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
791         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
792         auto-generation list.
793         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
794         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
795         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
796         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
797         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
798         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
799         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
800         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
801         * sysdeps/unix/sysv/linux/kernel-features.h
802         (__ASSUME_CONNECT_SYSCALL): Define.
803         * sysdeps/unix/sysv/linux/i386/kernel-features.h
804         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
805         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
806         (__ASSUME_CONNECT_SYSCALL): Likewise.
807         * sysdeps/unix/sysv/linux/s390/kernel-features.h
808         (__ASSUME_CONNECT_SYSCALL): Likewise.
809         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
810         (__ASSUME_CONNECT_SYSCALL): Likewise.
812         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
813         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
814         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
815         auto-generation list.
816         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
817         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
818         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
819         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
820         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
821         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
822         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
823         * sysdeps/unix/sysv/linux/i386/kernel-features.h
824         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
825         (__ASSUME_ACCEPT_SYSCALL): Undefine.
826         * sysdeps/unix/sysv/linux/kernel-features.h
827         (__ASSUME_ACCEPT_SYSCALL): New define.
828         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
829         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
830         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
831         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
832         (__ASSUME_ACCEPT_SYSCALL): Define.
833         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
834         (__ASSUME_ACCEPT_SYSCALL): Undefine.
835         * sysdeps/unix/sysv/linux/s390/kernel-features.h
836         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
837         (__ASSUME_ACCEPT_SYSCALL): Undefine.
838         * sysdeps/unix/sysv/linux/sh/kernel-features.h
839         (__ASSUME_ACCEPT_SYSCALL): Undefine.
840         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
841         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
843 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
844             Zack Weinberg  <zackw@panix.com>
846         * posix/test-errno.c: New file.
847         * posix/Makefile (tests): Add test-errno.
848         * sysdeps/unix/sysv/linux/test-errno.c: New file.
849         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
851 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
853         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
855 2017-03-07  Florian Weimer  <fweimer@redhat.com>
857         * time/tzset.c (compute_offset): Open-code min macro.
858         (min, max, sign): Remove.
860 2017-03-07  Florian Weimer  <fweimer@redhat.com>
862         [BZ #15576]
863         Remove TZNAME_MAX limit from sysconf.
864         * include/time.h (__tzname_cur_max, __tzname_max): Remove
865         declaration.
866         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
867         compute_tzname_max.
868         (compute_tzname_max): Remove.
869         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
870         (update_vars): Do not update __tzname_cur_max.
871         (tzset_internal): Remove argument.
872         (__tzset): Adjust call to tzset_internal.
873         (__tz_convert): Likewise.
875         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
876         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
877         * manual/conf.texi (Sysconf Definition): Update comment.
879 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
881         [BZ #21209]
882         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
883         AT_SECURE processes.
884         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
885         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
886         (test_child): Likewise.
887         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
889 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
891         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
893 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
895         * sysdeps/s390/atomic-machine.h
896         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
897         (__arch_compare_and_exchange_val_8_acq,
898         __arch_compare_and_exchange_val_16_acq,
899         __arch_compare_and_exchange_val_32_acq,
900         __arch_compare_and_exchange_val_64_acq):
901         Delete macro.
902         (atomic_compare_and_exchange_val_acq,
903         atomic_compare_and_exchange_val_rel,
904         atomic_compare_and_exchange_bool_acq,
905         catomic_compare_and_exchange_bool_acq,
906         atomic_exchange_acq, atomic_exchange_rel,
907         atomic_exchange_and_add_acq,
908         atomic_exchange_and_add_rel,
909         catomic_exchange_and_add, atomic_or_val,
910         atomic_or, catomic_or, atomic_bit_test_set,
911         atomic_and_val, atomic_and, catomic_and):
912         Define macros with help of C11 atomic builtins.
914 2017-03-03  Justus Winter <justus@gnupg.org>
916         * sysdeps/mach/hurd/ftruncate64.c: New file.
917         * sysdeps/mach/hurd/truncate64.c: Likewise.
919 2017-03-03  Florian Weimer  <fweimer@redhat.com>
921         * time/tzfile.c (NOID): Do not define.
922         * time/tzset.c (NOID): Likewise.
924 2017-03-03  Florian Weimer  <fweimer@redhat.com>
926         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
928 2017-03-02  Florian Weimer  <fweimer@redhat.com>
930         * elf/get-dynamic-info.h: Remove header file inclusion guard.
932 2017-03-02  Florian Weimer  <fweimer@redhat.com>
934         [BZ #21015]
935         * manual/install.texi (Configuring and compiling): Document
936         --enable-bind-now.
937         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
938         (build-shlib-helper): Use $(LDFLAGS-lib.so).
939         (format.lds): Likewise.
940         [bind-now] (LDFLAGS-c.so): Remove.
941         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
942         be R_X86_64_GLOB_DAT.
943         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
944         relocation can be R_386_GLOB_DAT.
945         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
946         relocaiton can be R_ALPHA_GLOB_DAT.
947         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
949 2017-03-01  Zack Weinberg  <zackw@panix.com>
951         * include/libc-pointer-arith.h: New file.  Define
952         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
953         PTR_ALIGN_DOWN here.
954         * include/libc-internal.h: Definitions of above macros
955         moved from here.  Don't include libc-diag.h anymore either.
956         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
957         Don't include libc-internal.h.
959         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
960         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
961         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
962         * string/strcoll_l.c, sysdeps/nacl/brk.c
963         * sysdeps/unix/clock_settime.c
964         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
965         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
966         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
967         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
968         Don't include libc-internal.h.
970         * elf/get-dynamic-info.h, iconv/loop.c
971         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
972         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
973         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
974         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
975         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
976         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
977         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
978         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
979         * sysdeps/ieee754/ldbl-128/k_tanl.c
980         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
981         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
982         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
983         Include libc-diag.h instead of libc-internal.h.
985         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
986         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
987         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
988         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
989         * sysdeps/unix/sysv/linux/spawni.c
990         * sysdeps/x86_64/nptl/tls.h:
991         Include libc-pointer-arith.h instead of libc-internal.h.
993         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
994         * sysdeps/x86_64/atomic-machine.h:
995         Add multiple include guard.
997         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
998         * string/strcasestr.c: No need to include config.h.
999         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
1000         sys/auxv.h. Don't include sysdep.h.
1001         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
1003         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
1004         DL_LOOKUP_ADDRESS.
1005         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
1006         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
1007         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
1008         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
1009         of ARTIFICIAL_LIMIT.
1010         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
1011         declaration of __clone2.
1013 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1015         * scripts/backport-support.sh (latest_commit): New file.
1017 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1019         [BZ #20257]
1020         * inet/Makefile (routines): Add deadline.
1021         (tests-static): Add tst-deadline.
1022         * inet/net-internal.h (struct deadline_current_time)
1023         (__deadline_current_time, struct deadline, __deadline_is_infinite)
1024         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
1025         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
1026         * inet/deadline.c: New file.
1027         * inet/tst-deadline.c: Likewise.
1028         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
1029         tst-udp-timeout, tst-udp-garbage.
1030         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
1031         explicitly.
1032         (tst-udp-garbage): Likewise.  Also link against thread library.
1033         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
1034         struct layout is part of the ABI.
1035         (clntudp_call): Rework timeout handling.
1036         * sunrpc/tst-udp-garbage.c: New file.
1037         * sunrpc/tst-udp-nonblocking.c: Likewise.
1038         * sunrpc/tst-udp-timeout.c: Likewise.
1040 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1042         [BZ #5010]
1043         * sunrpc/svc.c (svc_is_mapped): Remove.
1044         (svc_unregister): Obtain mapped status while the service is still
1045         registered.
1046         * sunrpc/Makefile [have-thread-library] (tests): Add
1047         tst-svc_register.
1048         (tst-svc_register): Link against libc.so explicitly and the thread
1049         library.
1050         * sunrpc/tst-svc_register.c: New file.
1052 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
1054         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
1055         * sysdeps/pthread/bits/sigthread.h: Likewise.
1057 2017-02-27  Florian Weimer  <fweimer@redhat.com>
1059         [BZ #21115]
1060         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
1061         * sunrpc/Makefile (tests): Add tst-udp-error.
1062         (tst-udp-error): Link against libc.so explicitly.
1063         * sunrpc/tst-udp-error: New file.
1065 2017-02-25  Zack Weinberg  <zackw@panix.com>
1067         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
1068         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
1070         * sysdeps/generic/math_ldbl.h
1071         * sysdeps/ia64/fpu/math_ldbl.h
1072         * sysdeps/ieee754/ldbl-128/math_ldbl.h
1073         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1074         * sysdeps/ieee754/ldbl-96/math_ldbl.h
1075         * sysdeps/powerpc/fpu/math_ldbl.h
1076         * sysdeps/x86_64/fpu/math_ldbl.h:
1077         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
1078         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
1079         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
1080         Add copyright notices.
1082         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1083         Don't use EXTRACT_WORDS64.
1085         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
1086         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
1087         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
1088         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
1089         Include math_ldbl.h, not math_private.h.
1091 2017-02-25  Zack Weinberg  <zackw@panix.com>
1093         * include/libc-diag.h: New file.  Define ignore_value,
1094         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
1095         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
1097         * include/libc-internal.h: Definitions of above macros moved from
1098         here.  Include libc-diag.h.  Add copyright notice.
1100         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
1101         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
1102         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
1103         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
1104         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
1105         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
1106         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
1107         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
1108         Include libc-diag.h instead of libc-internal.h.
1110         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
1111         call to unsetenv (NULL).
1112         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
1113         call to pthread_mutexattr_destroy (NULL).
1115 2017-02-25  Zack Weinberg  <zackw@panix.com>
1117         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
1118         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
1119         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
1120         gets was removed from C++ in C++14.
1121         * include/stdio.h: Remove redundant declaration of gets.
1122         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
1123         be declared, since we are testing it.
1124         * stdio-common/Makefile (tst-gets.c): Compile with
1125         -Wno-deprecated-declarations.
1126         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
1127         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
1128         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
1129         Compile with -Wno-deprecated-declarations.
1131 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1133         * math/libm-test-support.c (check_ulp): Use LIT() around literal
1134         numbers.
1136 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1138         * resolv/tst-resolv-qtypes.c (domain):
1139         Change type to const pointer to const char.
1141 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
1143         * math/Makefile (libm-tests-generated): Remove variable.
1144         (libm-tests-base-normal): New variable.
1145         (libm-tests-base-finite): Likewise.
1146         (libm-tests-base-inline): Likewise.
1147         (libm-tests-base): Likewise.
1148         (libm-tests-normal): Likewise.
1149         (libm-tests-finite): Likewise.
1150         (libm-tests-inline): Likewise.
1151         (libm-tests-vector): Likewise.
1152         (libm-tests): Define in terms of these new variables.
1153         (libm-tests-for-type): New variable.
1154         (libm-tests.o): Move definition.
1155         (tests): Move addition of $(libm-tests).
1156         (generated): Update for new and removed libm test files.
1157         ($(objpfx)libm-test.c): Remove target.
1158         ($(objpfx)libm-have-vector-test.h): Likewise.
1159         (CFLAGS-test-double-vlen2.c): Remove variable.
1160         (CFLAGS-test-double-vlen4.c): Likewise.
1161         (CFLAGS-test-double-vlen8.c): Likewise.
1162         (CFLAGS-test-float-vlen4.c): Likewise.
1163         (CFLAGS-test-float-vlen8.c): Likewise.
1164         (CFLAGS-test-float-vlen16.c): Likewise.
1165         (CFLAGS-test-float.c): Likewise.
1166         (CFLAGS-test-float-finite.c): Likewise.
1167         (CFLAGS-libm-test-support-float.c): Likewise.
1168         (CFLAGS-test-double.c): Likewise.
1169         (CFLAGS-test-double-finite.c): Likewise.
1170         (CFLAGS-libm-test-support-double.c): Likewise.
1171         (CFLAGS-test-ldouble.c): Likewise.
1172         (CFLAGS-test-ldouble-finite.c): Likewise.
1173         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1174         (libm-test-inline-cflags): New variable.
1175         (CFLAGS-test-ifloat.c): Remove variable.
1176         (CFLAGS-test-idouble.c): Likewise.
1177         (CFLAGS-test-ildouble.c): Likewise.
1178         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
1179         dependencies.
1180         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
1181         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
1182         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
1183         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
1184         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
1185         Likewise.
1186         (dependencies on libm-test-support-*.o): Remove.
1187         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
1188         rules using iterators.
1189         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
1190         Likewise.
1191         ($(objpfx)libm-test-support-$(o).o): Likewise.
1192         ($(addprefix $(objpfx),$(filter-out $(tests-static)
1193         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
1194         instead.
1195         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
1196         define rule instead.
1197         * math/README.libm-test: Update.
1198         * math/libm-test-acos.inc: Include libm-test-driver.c.
1199         (do_test): New function.
1200         * math/libm-test-acosh.inc: Include libm-test-driver.c.
1201         (do_test): New function.
1202         * math/libm-test-asin.inc: Include libm-test-driver.c.
1203         (do_test): New function.
1204         * math/libm-test-asinh.inc: Include libm-test-driver.c.
1205         (do_test): New function.
1206         * math/libm-test-atan.inc: Include libm-test-driver.c.
1207         (do_test): New function.
1208         * math/libm-test-atan2.inc: Include libm-test-driver.c.
1209         (do_test): New function.
1210         * math/libm-test-atanh.inc: Include libm-test-driver.c.
1211         (do_test): New function.
1212         * math/libm-test-cabs.inc: Include libm-test-driver.c.
1213         (do_test): New function.
1214         * math/libm-test-cacos.inc: Include libm-test-driver.c.
1215         (do_test): New function.
1216         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
1217         (do_test): New function.
1218         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
1219         (do_test): New function.
1220         * math/libm-test-carg.inc: Include libm-test-driver.c.
1221         (do_test): New function.
1222         * math/libm-test-casin.inc: Include libm-test-driver.c.
1223         (do_test): New function.
1224         * math/libm-test-casinh.inc: Include libm-test-driver.c.
1225         (do_test): New function.
1226         * math/libm-test-catan.inc: Include libm-test-driver.c.
1227         (do_test): New function.
1228         * math/libm-test-catanh.inc: Include libm-test-driver.c.
1229         (do_test): New function.
1230         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
1231         (do_test): New function.
1232         * math/libm-test-ccos.inc: Include libm-test-driver.c.
1233         (do_test): New function.
1234         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
1235         (do_test): New function.
1236         * math/libm-test-ceil.inc: Include libm-test-driver.c.
1237         (do_test): New function.
1238         * math/libm-test-cexp.inc: Include libm-test-driver.c.
1239         (do_test): New function.
1240         * math/libm-test-cimag.inc: Include libm-test-driver.c.
1241         (do_test): New function.
1242         * math/libm-test-clog.inc: Include libm-test-driver.c.
1243         (do_test): New function.
1244         * math/libm-test-clog10.inc: Include libm-test-driver.c.
1245         (do_test): New function.
1246         * math/libm-test-conj.inc: Include libm-test-driver.c.
1247         (do_test): New function.
1248         * math/libm-test-copysign.inc: Include libm-test-driver.c.
1249         (do_test): New function.
1250         * math/libm-test-cos.inc: Include libm-test-driver.c.
1251         (do_test): New function.
1252         * math/libm-test-cosh.inc: Include libm-test-driver.c.
1253         (do_test): New function.
1254         * math/libm-test-cpow.inc: Include libm-test-driver.c.
1255         (do_test): New function.
1256         * math/libm-test-cproj.inc: Include libm-test-driver.c.
1257         (do_test): New function.
1258         * math/libm-test-creal.inc: Include libm-test-driver.c.
1259         (do_test): New function.
1260         * math/libm-test-csin.inc: Include libm-test-driver.c.
1261         (do_test): New function.
1262         * math/libm-test-csinh.inc: Include libm-test-driver.c.
1263         (do_test): New function.
1264         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
1265         (do_test): New function.
1266         * math/libm-test-ctan.inc: Include libm-test-driver.c.
1267         (do_test): New function.
1268         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
1269         (do_test): New function.
1270         * math/libm-test-erf.inc: Include libm-test-driver.c.
1271         (do_test): New function.
1272         * math/libm-test-erfc.inc: Include libm-test-driver.c.
1273         (do_test): New function.
1274         * math/libm-test-exp.inc: Include libm-test-driver.c.
1275         (do_test): New function.
1276         * math/libm-test-exp10.inc: Include libm-test-driver.c.
1277         (do_test): New function.
1278         * math/libm-test-exp2.inc: Include libm-test-driver.c.
1279         (do_test): New function.
1280         * math/libm-test-expm1.inc: Include libm-test-driver.c.
1281         (do_test): New function.
1282         * math/libm-test-fabs.inc: Include libm-test-driver.c.
1283         (do_test): New function.
1284         * math/libm-test-fdim.inc: Include libm-test-driver.c.
1285         (do_test): New function.
1286         * math/libm-test-floor.inc: Include libm-test-driver.c.
1287         (do_test): New function.
1288         * math/libm-test-fma.inc: Include libm-test-driver.c.
1289         (do_test): New function.
1290         * math/libm-test-fmax.inc: Include libm-test-driver.c.
1291         (do_test): New function.
1292         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
1293         (do_test): New function.
1294         * math/libm-test-fmin.inc: Include libm-test-driver.c.
1295         (do_test): New function.
1296         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
1297         (do_test): New function.
1298         * math/libm-test-fmod.inc: Include libm-test-driver.c.
1299         (do_test): New function.
1300         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
1301         (do_test): New function.
1302         * math/libm-test-frexp.inc: Include libm-test-driver.c.
1303         (do_test): New function.
1304         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
1305         (do_test): New function.
1306         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
1307         (do_test): New function.
1308         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
1309         (do_test): New function.
1310         * math/libm-test-hypot.inc: Include libm-test-driver.c.
1311         (do_test): New function.
1312         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
1313         (do_test): New function.
1314         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
1315         (do_test): New function.
1316         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
1317         (do_test): New function.
1318         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
1319         (do_test): New function.
1320         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
1321         (do_test): New function.
1322         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
1323         (do_test): New function.
1324         * math/libm-test-isinf.inc: Include libm-test-driver.c.
1325         (do_test): New function.
1326         * math/libm-test-isless.inc: Include libm-test-driver.c.
1327         (do_test): New function.
1328         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
1329         (do_test): New function.
1330         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
1331         (do_test): New function.
1332         * math/libm-test-isnan.inc: Include libm-test-driver.c.
1333         (do_test): New function.
1334         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
1335         (do_test): New function.
1336         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
1337         (do_test): New function.
1338         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
1339         (do_test): New function.
1340         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
1341         (do_test): New function.
1342         * math/libm-test-iszero.inc: Include libm-test-driver.c.
1343         (do_test): New function.
1344         * math/libm-test-j0.inc: Include libm-test-driver.c.
1345         (do_test): New function.
1346         * math/libm-test-j1.inc: Include libm-test-driver.c.
1347         (do_test): New function.
1348         * math/libm-test-jn.inc: Include libm-test-driver.c.
1349         (do_test): New function.
1350         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
1351         (do_test): New function.
1352         * math/libm-test-llogb.inc: Include libm-test-driver.c.
1353         (do_test): New function.
1354         * math/libm-test-llrint.inc: Include libm-test-driver.c.
1355         (do_test): New function.
1356         * math/libm-test-llround.inc: Include libm-test-driver.c.
1357         (do_test): New function.
1358         * math/libm-test-log.inc: Include libm-test-driver.c.
1359         (do_test): New function.
1360         * math/libm-test-log10.inc: Include libm-test-driver.c.
1361         (do_test): New function.
1362         * math/libm-test-log1p.inc: Include libm-test-driver.c.
1363         (do_test): New function.
1364         * math/libm-test-log2.inc: Include libm-test-driver.c.
1365         (do_test): New function.
1366         * math/libm-test-logb.inc: Include libm-test-driver.c.
1367         (do_test): New function.
1368         * math/libm-test-lrint.inc: Include libm-test-driver.c.
1369         (do_test): New function.
1370         * math/libm-test-lround.inc: Include libm-test-driver.c.
1371         (do_test): New function.
1372         * math/libm-test-modf.inc: Include libm-test-driver.c.
1373         (do_test): New function.
1374         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
1375         (do_test): New function.
1376         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
1377         (do_test): New function.
1378         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
1379         (do_test): New function.
1380         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
1381         (do_test): New function.
1382         * math/libm-test-nextup.inc: Include libm-test-driver.c.
1383         (do_test): New function.
1384         * math/libm-test-pow.inc: Include libm-test-driver.c.
1385         (do_test): New function.
1386         * math/libm-test-remainder.inc: Include libm-test-driver.c.
1387         (do_test): New function.
1388         * math/libm-test-remquo.inc: Include libm-test-driver.c.
1389         (do_test): New function.
1390         * math/libm-test-rint.inc: Include libm-test-driver.c.
1391         (do_test): New function.
1392         * math/libm-test-round.inc: Include libm-test-driver.c.
1393         (do_test): New function.
1394         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
1395         (do_test): New function.
1396         * math/libm-test-scalb.inc: Include libm-test-driver.c.
1397         (do_test): New function.
1398         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
1399         (do_test): New function.
1400         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
1401         (do_test): New function.
1402         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
1403         (do_test): New function.
1404         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
1405         (do_test): New function.
1406         * math/libm-test-signbit.inc: Include libm-test-driver.c.
1407         (do_test): New function.
1408         * math/libm-test-significand.inc: Include libm-test-driver.c.
1409         (do_test): New function.
1410         * math/libm-test-sin.inc: Include libm-test-driver.c.
1411         (do_test): New function.
1412         * math/libm-test-sincos.inc: Include libm-test-driver.c.
1413         (do_test): New function.
1414         * math/libm-test-sinh.inc: Include libm-test-driver.c.
1415         (do_test): New function.
1416         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
1417         (do_test): New function.
1418         * math/libm-test-tan.inc: Include libm-test-driver.c.
1419         (do_test): New function.
1420         * math/libm-test-tanh.inc: Include libm-test-driver.c.
1421         (do_test): New function.
1422         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
1423         (do_test): New function.
1424         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
1425         (do_test): New function.
1426         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
1427         (do_test): New function.
1428         * math/libm-test-trunc.inc: Include libm-test-driver.c.
1429         (do_test): New function.
1430         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
1431         (do_test): New function.
1432         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
1433         (do_test): New function.
1434         * math/libm-test-y0.inc: Include libm-test-driver.c.
1435         (do_test): New function.
1436         * math/libm-test-y1.inc: Include libm-test-driver.c.
1437         (do_test): New function.
1438         * math/libm-test-yn.inc: Include libm-test-driver.c.
1439         (do_test): New function.
1440         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
1441         (HAVE_VECTOR): Remove macro.
1442         (START): Do not call HAVE_VECTOR.
1443         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
1444         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
1445         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
1446         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
1447         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
1448         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
1449         * math/test-math-vector.h (FUNC_TEST): New macro.
1450         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
1451         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
1452         (double-vlen4-funcs): Likewise.
1453         (double-vlen4-avx2-funcs): Likewise.
1454         (double-vlen8-funcs): Likewise.
1455         (float-vlen4-funcs): Likewise.
1456         (float-vlen8-funcs): Likewise.
1457         (float-vlen8-avx2-funcs): Likewise.
1458         (float-vlen16-funcs): Likewise.
1459         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
1460         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
1461         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
1462         macro.
1463         (TEST_VECTOR_sin): Likewise.
1464         (TEST_VECTOR_sincos): Likewise.
1465         (TEST_VECTOR_log): Likewise.
1466         (TEST_VECTOR_exp): Likewise.
1467         (TEST_VECTOR_pow): Likewise.
1468         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
1469         Likewise.
1470         (TEST_VECTOR_sin): Likewise.
1471         (TEST_VECTOR_sincos): Likewise.
1472         (TEST_VECTOR_log): Likewise.
1473         (TEST_VECTOR_exp): Likewise.
1474         (TEST_VECTOR_pow): Likewise.
1475         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
1476         Likewise.
1477         (TEST_VECTOR_sinf): Likewise.
1478         (TEST_VECTOR_sincosf): Likewise.
1479         (TEST_VECTOR_logf): Likewise.
1480         (TEST_VECTOR_expf): Likewise.
1481         (TEST_VECTOR_powf): Likewise.
1482         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
1483         Likewise.
1484         (TEST_VECTOR_sinf): Likewise.
1485         (TEST_VECTOR_sincosf): Likewise.
1486         (TEST_VECTOR_logf): Likewise.
1487         (TEST_VECTOR_expf): Likewise.
1488         (TEST_VECTOR_powf): Likewise.
1489         * math/gen-libm-have-vector-test.sh: Remove file.
1490         * math/libm-test.inc: Likewise.
1491         * math/libm-test-support-double.c: Likewise.
1492         * math/libm-test-support-float.c: Likewise.
1493         * math/libm-test-support-ldouble.c: Likewise.
1494         * math/test-double-finite.c: Likewise.: Likewise.
1495         * math/test-double.c: Likewise.
1496         * math/test-float-finite.c: Likewise.
1497         * math/test-float.c: Likewise.
1498         * math/test-idouble.c: Likewise.
1499         * math/test-ifloat.c: Likewise.
1500         * math/test-ildouble.c: Likewise.
1501         * math/test-ldouble-finite.c: Likewise.
1502         * math/test-ldouble.c: Likewise.
1503         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1504         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
1505         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1506         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1507         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1508         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1509         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1510         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
1511         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1512         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1514 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1515            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1517         * math/Makefile: Add wrappers to gen-libm-calls.
1518         * math/w_acos_template.c: New file.
1519         * math/w_acosh_template.c: Likewise.
1520         * math/w_asin_template.c: Likewise.
1521         * math/w_atan2_template.c: Likewise.
1522         * math/w_atanh_template.c: Likewise.
1523         * math/w_cosh_template.c: Likewise.
1524         * math/w_exp10_template.c: Likewise.
1525         * math/w_exp2_template.c: Likewise.
1526         * math/w_exp_template.c: Likewise.
1527         * math/w_fmod_template.c: Likewise.
1528         * math/w_hypot_template.c: Likewise.
1529         * math/w_j0_template.c: Likewise.
1530         * math/w_j1_template.c: Likewise.
1531         * math/w_jn_template.c: Likewise.
1532         * math/w_lgamma_r_template.c: Likewise.
1533         * math/w_lgamma_template.c: Likewise.
1534         * math/w_log10_template.c: Likewise.
1535         * math/w_log2_template.c: Likewise.
1536         * math/w_log_template.c: Likewise.
1537         * math/w_pow_template.c: Likewise.
1538         * math/w_remainder_template.c: Likewise.
1539         * math/w_sinh_template.c: Likewise.
1540         * math/w_sqrt_template.c: Likewise.
1541         * math/w_tgamma_template.c: Likewise.: Likewise.
1542         * sysdeps/generic/math-type-macros-double.h
1543         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
1544         the new wrappers.
1545         * sysdeps/generic/math-type-macros-float.h: Likewise.
1546         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1548 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
1550         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
1551         New enum constant and macro.
1553         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1554         kernel version to 4.10.
1556 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
1558         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
1560 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1564 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1566         * sysdeps/powerpc/tst-set_ppr.c: New file.
1567         Implement test cases for __ppc_set_ppr_* functions.
1568         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
1569         in the list of tests.
1571 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1573         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
1574         instead of test-skeleton.c.
1575         (do_test): Replaced pthread_create and pthread_join with
1576         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
1577         Removed unneeded status variable.
1578         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
1579         instead of test-skeleton.c.
1580         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
1582 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
1584         [BZ #20313]
1585         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1586         201605L, for Unicode 9.
1588 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
1590         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
1591         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1592         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1593         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1594         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1595         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1597 2017-02-19  Zack Weinberg  <zackw@panix.com>
1599         * rt/tst-mqueue4.c: Include stdint.h.
1601 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1603         * sysdeps/arm/libm-test-ulps: Update.
1604         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1605         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1606         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1608 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1610         [BZ #21029]
1611         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
1612         * sysdeps/unix/sysv/linux/i386/Makefile
1613         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
1614         (uses-6-syscall-arguments): Remove.
1615         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
1616         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
1617         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
1618         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
1619         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
1620         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
1621         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
1622         [$(subdir) = misc] (cflags-pselect.o): Likewise.
1623         [$(subdir) = misc] (cflags-pselect.os): Likewise.
1624         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
1625         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
1626         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
1627         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
1628         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
1629         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
1630         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
1631         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
1632         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
1633         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
1634         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
1635         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
1636         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
1637         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
1638         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
1639         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
1640         Likewise.
1641         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
1642         Likewise.
1643         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
1644         Likewise.
1645         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
1646         Likewise.
1647         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
1648         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
1649         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
1650         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
1651         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
1652         ebp on inline assembly.
1653         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
1654         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1655         Set if CAN_USE_REGISTER_ASM_EBP is set.
1657 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
1659         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
1660         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
1662 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1664         * math/auto-libm-test-in: Add tests of catan and catanh.
1665         * math/auto-libm-test-out-catan: New generated file.
1666         * math/auto-libm-test-out-catanh: Likewise.
1667         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
1668         Move tests with finite inputs, except divide-by-zero cases, to
1669         auto-libm-test-in.
1670         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
1671         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
1672         (libm-test-funcs-noauto): Remove catan and catanh.
1673         * sysdeps/i386/fpu/libm-test-ulps: Update.
1674         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1677         * math/auto-libm-test-in: Add tests of casin and casinh.
1678         * math/auto-libm-test-out-casin: New generated file.
1679         * math/auto-libm-test-out-casinh: Likewise.
1680         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
1681         Move tests with finite inputs to auto-libm-test-in.
1682         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
1683         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
1684         (libm-test-funcs-noauto): Remove casin and casinh.
1685         * sysdeps/i386/fpu/libm-test-ulps: Update.
1686         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1689         * math/auto-libm-test-in: Add tests of cacos and cacosh.
1690         * math/auto-libm-test-out-cacos: New generated file.
1691         * math/auto-libm-test-out-cacosh: Likewise.
1692         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
1693         Move tests with finite inputs to auto-libm-test-in.
1694         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
1695         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
1696         (libm-test-funcs-noauto): Remove cacos and cacosh.
1697         * sysdeps/i386/fpu/libm-test-ulps: Update.
1698         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1701         Revert:
1702         2017-02-16  Zack Weinberg  <zackw@panix.com>
1704         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1705         Don't include init-arch.h.
1706         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1707         Don't include init-arch.h.
1709 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1711         [BZ #21171]
1712         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
1713         +Inf and raise divide-by-zero when x is negative.
1714         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
1715         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
1716         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
1717         -Inf and raise divide-by-zero when x = +-0.
1718         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1719         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
1720         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
1721         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
1722         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1723         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1724         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1726 2017-02-16  Zack Weinberg  <zackw@panix.com>
1728         * scripts/build-many-glibcs.py (bot_build_mail): If the
1729         bot_config does not contain all of the necessary email-
1730         related settings, just print a warning and continue.
1732 2017-02-16  Zack Weinberg  <zackw@panix.com>
1734         * crypt/md5.h: Test _LIBC with #if defined, not #if.
1735         * dirent/opendir-tst1.c: Include sys/stat.h.
1736         * dirent/tst-fdopendir.c: Include sys/stat.h.
1737         * dirent/tst-fdopendir2.c: Include stdlib.h.
1738         * dirent/tst-scandir.c: Include stdbool.h.
1739         * elf/tst-auditmod1.c: Include link.h and stddef.h.
1740         * elf/tst-tls15.c: Include stdlib.h.
1741         * elf/tst-tls16.c: Include stdlib.h.
1742         * elf/tst-tls17.c: Include stdlib.h.
1743         * elf/tst-tls18.c: Include stdlib.h.
1744         * iconv/tst-iconv6.c: Include endian.h.
1745         * iconvdata/bug-iconv11.c: Include limits.h.
1746         * io/test-utime.c: Include stdint.h.
1747         * io/tst-faccessat.c: Include sys/stat.h.
1748         * io/tst-fchmodat.c: Include sys/stat.h.
1749         * io/tst-fchownat.c: Include sys/stat.h.
1750         * io/tst-fstatat.c: Include sys/stat.h.
1751         * io/tst-futimesat.c: Include sys/stat.h.
1752         * io/tst-linkat.c: Include sys/stat.h.
1753         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
1754         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
1755         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
1756         * io/tst-openat.c: Include stdbool.h.
1757         * io/tst-readlinkat.c: Include sys/stat.h.
1758         * io/tst-renameat.c: Include sys/stat.h.
1759         * io/tst-symlinkat.c: Include sys/stat.h.
1760         * io/tst-unlinkat.c: Include stdbool.h.
1761         * libio/bug-memstream1.c: Include stdlib.h.
1762         * libio/bug-wmemstream1.c: Include stdlib.h.
1763         * libio/tst-fwrite-error.c: Include stdlib.h.
1764         * libio/tst-memstream1.c: Include stdlib.h.
1765         * libio/tst-memstream2.c: Include stdlib.h.
1766         * libio/tst-memstream3.c: Include stdlib.h.
1767         * malloc/tst-interpose-aux.c: Include stdint.h.
1768         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
1769         * nptl/tst-basic7.c: Include limits.h.
1770         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
1771         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
1772         * nptl/tst-cancel4_1.c: Include stddef.h.
1773         * nptl/tst-cancel4_2.c: Include stddef.h.
1774         * nptl/tst-cond16.c: Include limits.h.
1775         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1776         * nptl/tst-cond18.c: Include limits.h.
1777         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1778         * nptl/tst-cond4.c: Include stdint.h.
1779         * nptl/tst-cond6.c: Include stdint.h.
1780         * nptl/tst-stack2.c: Include limits.h.
1781         * nptl/tst-stackguard1.c: Include stddef.h.
1782         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
1783         * nptl/tst-tls4moda.c: Include stddef.h.
1784         Don't include stdio.h, unistd.h, or tls.h.
1785         * nptl/tst-tls4modb.c: Include stddef.h.
1786         Don't include stdio.h, unistd.h, or tls.h.
1787         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
1788         * posix/tst-getaddrinfo2.c: Include stdio.h.
1789         * posix/tst-getaddrinfo5.c: Include stdio.h.
1790         * posix/tst-pathconf.c: Include sys/stat.h.
1791         * posix/tst-posix_fadvise-common.c: Include stdint.h.
1792         * posix/tst-preadwrite-common.c: Include sys/stat.h.
1793         * posix/tst-regex.c: Include stdint.h.
1794         Don't include spawn.h or spawn_int.h.
1795         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
1796         * posix/tst-vfork3.c: Include sys/stat.h.
1797         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
1798         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
1799         * resolv/tst-resolv-search.c: Include stdlib.h.
1800         * stdio-common/tst-fmemopen2.c: Include stdint.h.
1801         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
1802         * stdlib/test-canon.c: Include sys/stat.h.
1803         * stdlib/tst-tls-atexit.c: Include stdbool.h.
1804         * string/test-memchr.c: Include stdint.h.
1805         * string/tst-cmp.c: Include stdint.h.
1806         * sysdeps/pthread/tst-timer.c: Include stdint.h.
1807         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
1808         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
1809         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1810         Don't include init-arch.h.
1811         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1812         Don't include init-arch.h.
1813         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
1814         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
1815         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
1816         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
1817         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
1818         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
1819         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
1820         * time/clocktest.c: Include stdint.h.
1821         * time/tst-posixtz.c: Include stdint.h.
1822         * timezone/tst-timezone.c: Include stdint.h.
1824 2017-02-16  Zack Weinberg  <zackw@panix.com>
1826         * string/string.h [__USE_MISC]: Include strings.h.
1827         (__bzero, bcmp, bcopy, bzero, index, rindex)
1828         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
1829         (ffs, ffsl, ffsll): Don't declare.
1830         * string/strings.h: Do not suppress the file if string.h has
1831         already been included.
1832         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
1833         annotations.
1834         (index, rindex): Define inline forwarders even if
1835         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
1836         (ffs): Use __attribute_const__.
1837         (ffsl, ffsll): Declare here.
1838         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
1839         have now been standardized.
1840         * include/string.h (__bzero): Declare here.
1842         * bits/types.h: Move to posix/bits.
1843         * include/bits/types.h: New wrapper.
1845 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1847         * string/bits/string2.h (strcmp): Remove define.
1848         (__strcmp_cg): Likewise.
1849         (strncmp): Likewise.
1851 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1853         * include/string.h: Add __cplusplus check.
1855 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1857         [BZ #21134]
1858         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
1859         "divide by zero" exception when the input is zero.
1860         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
1861         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
1862         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
1863         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
1864         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1866 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
1868         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
1869         and include ...
1870         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
1871         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
1872         to, and include ...
1873         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
1874         file.
1875         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
1876         and include ...
1877         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
1878         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
1879         and include ...
1880         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
1881         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
1882         and include ...
1883         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
1884         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
1885         and include ...
1886         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
1887         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
1888         to, and include ...
1889         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
1890         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
1891         and include ...
1892         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
1894 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
1896         * math/libm-test-support.h: Do not include <math-tests-arch.h>
1897         here.
1898         * math/libm-test-support.c (libm_test_init): Do not call
1899         INIT_ARCH_EXT here.
1900         * math/libm-test-driver.c: Include <math-tests-arch.h>.
1901         (main): Call INIT_ARCH_EXT.
1903 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1905         [BZ #21130]
1906         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
1907         with the "invalid" exception raised when x is -Inf.
1908         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1910 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
1912         * string/bits/string2.h (strchr): Remove define.
1914 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
1916         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
1917         tst-avx512.
1918         (test-extras): Add tst-avx-aux and tst-avx512-aux.
1919         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
1920         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
1921         ($(objpfx)tst-sse): New rule.
1922         ($(objpfx)tst-avx): Likewise.
1923         ($(objpfx)tst-avx512): Likewise.
1924         (CFLAGS-tst-avx-aux.c): New.
1925         (CFLAGS-tst-avxmod.c): Likewise.
1926         (CFLAGS-tst-avx512-aux.c): Likewise.
1927         (CFLAGS-tst-avx512mod.c): Likewise.
1928         * sysdeps/x86_64/tst-avx-aux.c: New file.
1929         * sysdeps/x86_64/tst-avx.c: Likewise.
1930         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
1931         * sysdeps/x86_64/tst-avx512.c: Likewise.
1932         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
1933         * sysdeps/x86_64/tst-avxmod.c: Likewise.
1934         * sysdeps/x86_64/tst-sse.c: Likewise.
1935         * sysdeps/x86_64/tst-ssemod.c: Likewise.
1937 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1939         * math/auto-libm-test-in: Add more tests of csin and csinh.
1940         * math/auto-libm-test-out-csin: Regenerated.
1941         * math/auto-libm-test-out-csinh: Likewise.
1942         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
1943         auto-libm-test-in.
1944         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
1946 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1948         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
1949         libm-compat-calls-auto.
1950         (libm-compat-calls): Likewise.
1951         (libm-compat-calls-auto): Rename to libm-compat-calls and add
1952         w_lgamma_compatF and k_standardF (merged from the items above).
1953         (libm-routines): Use libm-compat-calls, instead of
1954         libm-compat-calls-auto, with type-foreach.
1956 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1958         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
1959         macro.
1960         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
1961         (CFLAGS-test-ifloat.c): ... this.  Remove
1962         -U__LIBC_INTERNAL_MATH_INLINES.
1963         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
1964         (CFLAGS-test-idouble.c): ... this.  Remove
1965         -U__LIBC_INTERNAL_MATH_INLINES.
1966         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
1967         (CFLAGS-test-ildouble.c): ... this.  Remove
1968         -U__LIBC_INTERNAL_MATH_INLINES.
1970 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
1972         * math/libm-test-support.c: New file.  Content from
1973         math/libm-test-driver.c.
1974         * math/libm-test-support.h: Likewise.
1975         * math/libm-test-support-double.c: New file.
1976         * math/libm-test-support-float.c: Likewise.
1977         * math/libm-test-support-ldouble.c: Likewise.
1978         * math/libm-test-driver.c: Remove main comment and header
1979         includes.  Include libm-test-support.h.
1980         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
1981         (flag_test_errno): Remove static.
1982         (flag_test_exceptions): Likewise.
1983         (flag_test_finite): Likewise.
1984         (flag_test_inline): Likewise.
1985         (flag_test_mathvec): Likewise.
1986         (test_msg): Likewise.
1987         (NO_EXCEPTION): Remove.
1988         (INVALID_EXCEPTION): Likewise.
1989         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1990         (OVERFLOW_EXCEPTION): Likewise.
1991         (UNDERFLOW_EXCEPTION): Likewise.
1992         (INEXACT_EXCEPTION): Likewise.
1993         (INVALID_EXCEPTION_OK): Likewise.
1994         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1995         (OVERFLOW_EXCEPTION_OK): Likewise.
1996         (UNDERFLOW_EXCEPTION_OK): Likewise.
1997         (NO_INEXACT_EXCEPTION): Likewise.
1998         (EXCEPTIONS_OK): Likewise.
1999         (IGNORE_ZERO_INF_SIGN): Likewise.
2000         (TEST_NAN_SIGN): Likewise.
2001         (TEST_NAN_PAYLOAD): Likewise.
2002         (NO_TEST_INLINE): Likewise.
2003         (XFAIL_TEST): Likewise.
2004         (ERRNO_UNCHANGED): Likewise.
2005         (ERRNO_EDOM): Likewise.
2006         (ERRNO_ERANGE): Likewise.
2007         (IGNORE_RESULT): Likewise.
2008         (NON_FINITE): Likewise.
2009         (TEST_SNAN): Likewise.
2010         (NO_TEST_MATHVEC): Likewise.
2011         (__CONCATX): Likewise.
2012         (TYPE_MIN): Likewise.
2013         (TYPE_TRUE_MIN): Likewise.
2014         (TYPE_MAX): Likewise.
2015         (MIN_EXP): Likewise.
2016         (MAX_EXP): Likewise.
2017         (MANT_DIG): Likewise.
2018         (FSTR_MAX): Likewise.
2019         (ulp_idx): Likewise.
2020         (qtype_str): Remove static.
2021         (TEST_COND_binary32): Remove.
2022         (TEST_COND_binary64): Likewise.
2023         (TEST_COND_binary128): Likewise.
2024         (TEST_COND_ibm128): Likewise.
2025         (TEST_COND_intel96): Likewise.
2026         (TEST_COND_m68k96): Likewise.
2027         (TEST_COND_ibm128_libgcc): Likewise.
2028         (XFAIL_IBM128_LIBGCC): Likewise.
2029         (PAYLOAD_DIG): Likewise.
2030         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2031         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2032         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2033         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2034         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2035         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2036         (TEST_COND_long32): Likewise.
2037         (TEST_COND_long64): Likewise.
2038         (TEST_COND_before_rounding): Likewise.
2039         (TEST_COND_after_rounding): Likewise.
2040         (ulps_file_name): Likewise.
2041         (ulps_file): Likewise.
2042         (output_ulps): Likewise.
2043         (output_dir): Likewise.
2044         (noErrors): Likewise.
2045         (noTests): Likewise.
2046         (noExcTests): Likewise.
2047         (noErrnoTests): Likewise.
2048         (verbose): Likewise.
2049         (output_max_error): Likewise.
2050         (output_points): Likewise.
2051         (ignore_max_ulp): Likewise.
2052         (max_error): Likewise.
2053         (real_max_error): Likewise.
2054         (imag_max_error): Likewise.
2055         (prev_max_error): Likewise.
2056         (prev_real_max_error): Likewise.
2057         (prev_imag_max_error): Likewise.
2058         (max_valid_error): Likewise.
2059         (TYPE_DECIMAL_DIG): Likewise.
2060         (TYPE_HEX_DIG): Likewise.
2061         (fmt_ftostr): Likewise.
2062         (compare_ulp_data): Likewise.
2063         (find_ulps): Likewise.
2064         (init_max_error): Likewise.
2065         (set_max_error): Likewise.
2066         (print_float): Likewise.
2067         (print_screen): Likewise.
2068         (print_screen_max_error): Likewise.
2069         (update_stats): Likewise.
2070         (print_function_ulps): Likewise.
2071         (print_complex_function_ulps): Likewise.
2072         (fpstack_test): Likewise.
2073         (print_max_error): Likewise.
2074         (print_complex_max_error): Likewise.
2075         (test_single_exception): Likewise.
2076         (test_exceptions): Likewise.
2077         (test_single_errno): Likewise.
2078         (test_errno): Likewise.
2079         (ULPDIFF): Likewise.
2080         (ulp): Likewise.
2081         (check_float_internal): Likewise.
2082         (check_float): Likewise.
2083         (check_complex): Likewise.
2084         (check_int): Likewise.
2085         (check_long): Likewise.
2086         (check_bool): Likewise.
2087         (check_longlong): Likewise.
2088         (check_intmax_t): Likewise.
2089         (check_uintmax_t): Likewise.
2090         (enable_test): Likewise.
2091         (matherr): Likewise.
2092         (initialize): Likewise.
2093         (options): Likewise.
2094         (doc): Remove static.
2095         (argp): Likewise.
2096         (parse_opt): Remove.
2097         (check_ulp): Likewise.
2098         (libm_test_init): Likewise.
2099         (libm_test_finish): Likewise.
2100         * math/Makefile (libm-test-support): New variable.
2101         (test-extras): Add libm-test-support files.
2102         (extra-test-objs): Likewise.
2103         (CFLAGS-libm-test-support-float.c): New variable.
2104         (CFLAGS-libm-test-support-double.c): Likewise.
2105         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2106         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
2107         libm-test-support objects.
2109 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2111         * math/Makefile (libm-calls): Move w_exp...
2112         (libm-compat-calls-auto): Here.
2114         * math/w_expl.c: Add suffix "_compat" to filename.
2115         * sysdeps/ia64/fpu/w_expl.c: Likewise.
2116         * sysdeps/ia64/fpu/w_expf.c: Likewise.
2117         * sysdeps/ia64/fpu/w_exp.c: Likewise.
2118         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2119         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2120         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2121         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2122         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2124         * math/w_expl_compat.c: New file, copied from above.
2125         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
2126         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
2127         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
2128         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
2129         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
2130         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
2131         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
2132         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
2134         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
2135         to filename.
2136         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
2138         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
2139         copied from above and adjusted for the new filenames.
2140         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
2142 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2144         * math/Makefile (libm-calls): Move w_lgammaF...
2145         (libm-compat-calls-auto): Here.
2147         * math/w_lgamma.c: Add suffix "_compat2" to filename.
2148         * math/w_lgammaf.c: Likewise.
2149         * math/w_lgammal.c: Likewise.
2151         * math/w_lgamma_compat2.c: New file, copied from above.
2152         * math/w_lgammaf_compat2.c: Likewise.
2153         * math/w_lgammal_compat2.c: Likewise.
2155 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2157         * math/Makefile (libm-calls): Move w_lgammaF_r...
2158         (libm-compat-calls-auto): Here.
2160         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
2161         * math/w_lgammaf_r.c: Likewise.
2162         * math/w_lgammal_r.c: Likewise.
2163         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
2164         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
2165         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
2167         * math/w_lgamma_r_compat.c: New file, copied from above.
2168         * math/w_lgammaf_r_compat.c: Likewise.
2169         * math/w_lgammal_r_compat.c: Likewise.
2170         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
2171         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
2172         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
2174         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
2175         to filename.
2176         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
2178         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
2179         copied from above and adjusted for the new filenames.
2180         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
2182 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
2184         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
2185         calculation in SYSCALL_ERROR_HANDLER().
2187 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
2189         * manual/contrib.texi: Fix typo.
2191 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2193         [BZ #21109]
2194         * elf/dl-tunable-types.h (tunable_callback_t): Accept
2195         tunable_val_t as argument.
2196         * elf/dl-tunables.c (__tunable_set_val): Add comment.
2197         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
2198         argument.
2199         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
2201 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
2203         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
2204         Add PTRACE_EVENT_STOP.
2205         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2206         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2207         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2208         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2209         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
2210         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
2212 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
2214         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
2215         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
2216         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
2217         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
2218         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
2219         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
2220         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
2221         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
2222         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
2223         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
2225         [BZ #21112]
2226         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
2227         12 bits zero.
2228         (cp_l): Update for new value of cp_h.
2229         * math/auto-libm-test-in: Add another test of pow.
2230         * math/auto-libm-test-out-pow: Regenerated.
2232 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2234         * manual/contrib.texi: Fix typo.
2236 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2238         [BZ #15998]
2239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2240         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
2241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2243 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2245         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
2246         STRCHR as __strchr_power8.
2247         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
2248         strlen as __strlen_power8.
2250 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2252         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
2253         unaligned load for shorter strings.
2254         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2256 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2258         * math/libm-test-driver.c (flag_test_errno): New variable.
2259         (flag_test_exceptions): Likewise.
2260         (flag_test_finite): Likewise.
2261         (flag_test_inline): Likewise.
2262         (flag_test_mathvec): Likewise.
2263         (test_msg): Likewise.
2264         (ulp_idx): Likewise.
2265         (qtype_str): Likewise.
2266         (ULP_IDX): Remove macro.
2267         (QTYPE_STR): Likewise.
2268         (find_ulps): Use ulp_idx not ULP_IDX.
2269         (print_function_ulps): Use qtype_str, printed with %s, not
2270         QTYPE_STR, printed with concatentation to format string.
2271         (print_complex_function_ulps): Likewise.
2272         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
2273         (test_errno): Use flag_test_errno not TEST_ERRNO.
2274         (enable_test): Use flag_test_inline, flag_test_finite and
2275         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
2276         TEST_MATHVEC.
2277         (libm_test_init): New function.  Factored out of main.
2278         (libm_test_finish): Likewise.
2279         (main): Call libm_test_init and libm_test_finish and move most
2280         code to those functions.
2282         * math/libm-test-driver.c (STRX): New macro.
2283         (STR): Likewise.
2284         (STR_FLOAT): Likewise.
2285         (STR_VEC_LEN): Likewise.
2286         (TEST_MSG): Likewise.  Define here instead of expecting to be
2287         defined by including file.
2288         * math/test-double-finite.c (TEST_MSG): Remove macro.
2289         * math/test-double-vlen2.h (TEST_MSG): Likewise.
2290         * math/test-double-vlen4.h (TEST_MSG): Likewise.
2291         * math/test-double-vlen8.h (TEST_MSG): Likewise.
2292         * math/test-double.c (TEST_MSG): Likewise.
2293         * math/test-float-finite.c (TEST_MSG): Likewise.
2294         * math/test-float-vlen16.h (TEST_MSG): Likewise.
2295         * math/test-float-vlen4.h (TEST_MSG): Likewise.
2296         * math/test-float-vlen8.h (TEST_MSG): Likewise.
2297         * math/test-float.c (TEST_MSG): Likewise.
2298         * math/test-idouble.c (TEST_MSG): Likewise.
2299         * math/test-ifloat.c (TEST_MSG): Likewise.
2300         * math/test-ildouble.c (TEST_MSG): Likewise.
2301         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
2302         * math/test-ldouble.c (TEST_MSG): Likewise.
2304         * math/libm-test.inc: Move all tests of individual functions to
2305         libm-test-*.inc and #include libm-test-*.c files.
2306         (acos_test_data): Remove.
2307         (acos_test): Likewise.
2308         (acosh_test_data): Likewise.
2309         (acosh_test): Likewise.
2310         (asin_test_data): Likewise.
2311         (asin_test): Likewise.
2312         (asinh_test_data): Likewise.
2313         (asinh_test): Likewise.
2314         (atan_test_data): Likewise.
2315         (atan_test): Likewise.
2316         (atanh_test_data): Likewise.
2317         (atanh_test): Likewise.
2318         (atan2_test_data): Likewise.
2319         (atan2_test): Likewise.
2320         (cabs_test_data): Likewise.
2321         (cabs_test): Likewise.
2322         (cacos_test_data): Likewise.
2323         (cacos_test): Likewise.
2324         (cacosh_test_data): Likewise.
2325         (cacosh_test): Likewise.
2326         (canonicalize_test_data): Likewise.
2327         (canonicalize_test): Likewise.
2328         (carg_test_data): Likewise.
2329         (carg_test): Likewise.
2330         (casin_test_data): Likewise.
2331         (casin_test): Likewise.
2332         (casinh_test_data): Likewise.
2333         (casinh_test): Likewise.
2334         (catan_test_data): Likewise.
2335         (catan_test): Likewise.
2336         (catanh_test_data): Likewise.
2337         (catanh_test): Likewise.
2338         (cbrt_test_data): Likewise.
2339         (cbrt_test): Likewise.
2340         (ccos_test_data): Likewise.
2341         (ccos_test): Likewise.
2342         (ccosh_test_data): Likewise.
2343         (ccosh_test): Likewise.
2344         (ceil_test_data): Likewise.
2345         (ceil_test): Likewise.
2346         (cexp_test_data): Likewise.
2347         (cexp_test): Likewise.
2348         (cimag_test_data): Likewise.
2349         (cimag_test): Likewise.
2350         (clog_test_data): Likewise.
2351         (clog_test): Likewise.
2352         (clog10_test_data): Likewise.
2353         (clog10_test): Likewise.
2354         (conj_test_data): Likewise.
2355         (conj_test): Likewise.
2356         (copysign_test_data): Likewise.
2357         (copysign_test): Likewise.
2358         (cos_test_data): Likewise.
2359         (cos_test): Likewise.
2360         (cosh_test_data): Likewise.
2361         (cosh_test): Likewise.
2362         (cpow_test_data): Likewise.
2363         (cpow_test): Likewise.
2364         (cproj_test_data): Likewise.
2365         (cproj_test): Likewise.
2366         (creal_test_data): Likewise.
2367         (creal_test): Likewise.
2368         (csin_test_data): Likewise.
2369         (csin_test): Likewise.
2370         (csinh_test_data): Likewise.
2371         (csinh_test): Likewise.
2372         (csqrt_test_data): Likewise.
2373         (csqrt_test): Likewise.
2374         (ctan_test_data): Likewise.
2375         (ctan_test): Likewise.
2376         (ctanh_test_data): Likewise.
2377         (ctanh_test): Likewise.
2378         (erf_test_data): Likewise.
2379         (erf_test): Likewise.
2380         (erfc_test_data): Likewise.
2381         (erfc_test): Likewise.
2382         (exp_test_data): Likewise.
2383         (exp_test): Likewise.
2384         (exp10_test_data): Likewise.
2385         (exp10_test): Likewise.
2386         (pow10_test): Likewise.
2387         (exp2_test_data): Likewise.
2388         (exp2_test): Likewise.
2389         (expm1_test_data): Likewise.
2390         (expm1_test): Likewise.
2391         (fabs_test_data): Likewise.
2392         (fabs_test): Likewise.
2393         (fdim_test_data): Likewise.
2394         (fdim_test): Likewise.
2395         (floor_test_data): Likewise.
2396         (floor_test): Likewise.
2397         (fma_test_data): Likewise.
2398         (fma_test): Likewise.
2399         (fmax_test_data): Likewise.
2400         (fmax_test): Likewise.
2401         (fmaxmag_test_data): Likewise.
2402         (fmaxmag_test): Likewise.
2403         (fmin_test_data): Likewise.
2404         (fmin_test): Likewise.
2405         (fminmag_test_data): Likewise.
2406         (fminmag_test): Likewise.
2407         (fmod_test_data): Likewise.
2408         (fmod_test): Likewise.
2409         (fpclassify_test_data): Likewise.
2410         (fpclassify_test): Likewise.
2411         (frexp_test_data): Likewise.
2412         (frexp_test): Likewise.
2413         (fromfp_test_data): Likewise.
2414         (fromfp_test): Likewise.
2415         (fromfpx_test_data): Likewise.
2416         (fromfpx_test): Likewise.
2417         (getpayload_test_data): Likewise.
2418         (getpayload_test): Likewise.
2419         (hypot_test_data): Likewise.
2420         (hypot_test): Likewise.
2421         (ilogb_test_data): Likewise.
2422         (ilogb_test): Likewise.
2423         (iscanonical_test_data): Likewise.
2424         (iscanonical_test): Likewise.
2425         (iseqsig_test_data): Likewise.
2426         (iseqsig_test): Likewise.
2427         (isfinite_test_data): Likewise.
2428         (isfinite_test): Likewise.
2429         (finite_test): Likewise.
2430         (isgreater_test_data): Likewise.
2431         (isgreater_test): Likewise.
2432         (isgreaterequal_test_data): Likewise.
2433         (isgreaterequal_test): Likewise.
2434         (isinf_test_data): Likewise.
2435         (isinf_test): Likewise.
2436         (isless_test_data): Likewise.
2437         (isless_test): Likewise.
2438         (islessequal_test_data): Likewise.
2439         (islessequal_test): Likewise.
2440         (islessgreater_test_data): Likewise.
2441         (islessgreater_test): Likewise.
2442         (isnan_test_data): Likewise.
2443         (isnan_test): Likewise.
2444         (isnormal_test_data): Likewise.
2445         (isnormal_test): Likewise.
2446         (issignaling_test_data): Likewise.
2447         (issignaling_test): Likewise.
2448         (issubnormal_test_data): Likewise.
2449         (issubnormal_test): Likewise.
2450         (isunordered_test_data): Likewise.
2451         (isunordered_test): Likewise.
2452         (iszero_test_data): Likewise.
2453         (iszero_test): Likewise.
2454         (j0_test_data): Likewise.
2455         (j0_test): Likewise.
2456         (j1_test_data): Likewise.
2457         (j1_test): Likewise.
2458         (jn_test_data): Likewise.
2459         (jn_test): Likewise.
2460         (lgamma_test_data): Likewise.
2461         (lgamma_test): Likewise.
2462         (gamma_test): Likewise.
2463         (llogb_test_data): Likewise.
2464         (llogb_test): Likewise.
2465         (lrint_test_data): Likewise.
2466         (lrint_test): Likewise.
2467         (llrint_test_data): Likewise.
2468         (llrint_test): Likewise.
2469         (log_test_data): Likewise.
2470         (log_test): Likewise.
2471         (log10_test_data): Likewise.
2472         (log10_test): Likewise.
2473         (log1p_test_data): Likewise.
2474         (log1p_test): Likewise.
2475         (log2_test_data): Likewise.
2476         (log2_test): Likewise.
2477         (logb_test_data): Likewise.
2478         (logb_test): Likewise.
2479         (lround_test_data): Likewise.
2480         (lround_test): Likewise.
2481         (llround_test_data): Likewise.
2482         (llround_test): Likewise.
2483         (modf_test_data): Likewise.
2484         (modf_test): Likewise.
2485         (nearbyint_test_data): Likewise.
2486         (nearbyint_test): Likewise.
2487         (nextafter_test_data): Likewise.
2488         (nextafter_test): Likewise.
2489         (nextup_test_data): Likewise.
2490         (nextup_test): Likewise.
2491         (nextdown_test_data): Likewise.
2492         (nextdown_test): Likewise.
2493         (nexttoward_test_data): Likewise.
2494         (nexttoward_test): Likewise.
2495         (pow_test_data): Likewise.
2496         (pow_test): Likewise.
2497         (remainder_test_data): Likewise.
2498         (remainder_test): Likewise.
2499         (drem_test): Likewise.
2500         (remquo_test_data): Likewise.
2501         (remquo_test): Likewise.
2502         (rint_test_data): Likewise.
2503         (rint_test): Likewise.
2504         (round_test_data): Likewise.
2505         (round_test): Likewise.
2506         (roundeven_test_data): Likewise.
2507         (roundeven_test): Likewise.
2508         (scalb_test_data): Likewise.
2509         (scalb_test): Likewise.
2510         (scalbn_test_data): Likewise.
2511         (scalbn_test): Likewise.
2512         (ldexp_test): Likewise.
2513         (scalbln_test_data): Likewise.
2514         (scalbln_test): Likewise.
2515         (setpayload_test_data): Likewise.
2516         (setpayload_test): Likewise.
2517         (setpayloadsig_test_data): Likewise.
2518         (setpayloadsig_test): Likewise.
2519         (signbit_test_data): Likewise.
2520         (signbit_test): Likewise.
2521         (sin_test_data): Likewise.
2522         (sin_test): Likewise.
2523         (sincos_test_data): Likewise.
2524         (sincos_test): Likewise.
2525         (sinh_test_data): Likewise.
2526         (sinh_test): Likewise.
2527         (sqrt_test_data): Likewise.
2528         (sqrt_test): Likewise.
2529         (tan_test_data): Likewise.
2530         (tan_test): Likewise.
2531         (tanh_test_data): Likewise.
2532         (tanh_test): Likewise.
2533         (tgamma_test_data): Likewise.
2534         (tgamma_test): Likewise.
2535         (totalorder_test_data): Likewise.
2536         (totalorder_test): Likewise.
2537         (totalordermag_test_data): Likewise.
2538         (totalordermag_test): Likewise.
2539         (trunc_test_data): Likewise.
2540         (trunc_test): Likewise.
2541         (ufromfp_test_data): Likewise.
2542         (ufromfp_test): Likewise.
2543         (ufromfpx_test_data): Likewise.
2544         (ufromfpx_test): Likewise.
2545         (y0_test_data): Likewise.
2546         (y0_test): Likewise.
2547         (y1_test_data): Likewise.
2548         (y1_test): Likewise.
2549         (yn_test_data): Likewise.
2550         (yn_test): Likewise.
2551         (significand_test_data): Likewise.
2552         (significand_test): Likewise.
2553         * math/Makefile (auto-libm-test-out-files): Remove variable.
2554         (libm-test-funcs-noauto): New variable.
2555         (libm-test-funcs-all): Likewise.
2556         (libm-test-c-auto): Likewise.
2557         (libm-test-c-noauto): Likewise.
2558         (libm-tests-generated): Add $(libm-test-c-auto) and
2559         $(libm-test-c-noauto).
2560         (generated): Do not add auto-libm-test-out.
2561         (libm-test-c-auto-obj): New variable.
2562         (libm-test-c-noauto-obj): Likewise.
2563         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
2564         ($(libm-test-c-noauto-obj)): New static pattern rule.
2565         ($(libm-test-c-auto-obj)): Likewise.
2566         (libm-test-incs): New variable.
2567         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
2568         and pass it to gen-libm-have-vector-test.sh.
2569         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
2570         be passed on command line.
2571         * math/libm-test-acos.inc: New file.  Content from
2572         math/libm-test.inc.
2573         * math/libm-test-acosh.inc: Likewise.
2574         * math/libm-test-asin.inc: Likewise.
2575         * math/libm-test-asinh.inc: Likewise.
2576         * math/libm-test-atan.inc: Likewise.
2577         * math/libm-test-atan2.inc: Likewise.
2578         * math/libm-test-atanh.inc: Likewise.
2579         * math/libm-test-cabs.inc: Likewise.
2580         * math/libm-test-cacos.inc: Likewise.
2581         * math/libm-test-cacosh.inc: Likewise.
2582         * math/libm-test-canonicalize.inc: Likewise.
2583         * math/libm-test-carg.inc: Likewise.
2584         * math/libm-test-casin.inc: Likewise.
2585         * math/libm-test-casinh.inc: Likewise.
2586         * math/libm-test-catan.inc: Likewise.
2587         * math/libm-test-catanh.inc: Likewise.
2588         * math/libm-test-cbrt.inc: Likewise.
2589         * math/libm-test-ccos.inc: Likewise.
2590         * math/libm-test-ccosh.inc: Likewise.
2591         * math/libm-test-ceil.inc: Likewise.
2592         * math/libm-test-cexp.inc: Likewise.
2593         * math/libm-test-cimag.inc: Likewise.
2594         * math/libm-test-clog.inc: Likewise.
2595         * math/libm-test-clog10.inc: Likewise.
2596         * math/libm-test-conj.inc: Likewise.
2597         * math/libm-test-copysign.inc: Likewise.
2598         * math/libm-test-cos.inc: Likewise.
2599         * math/libm-test-cosh.inc: Likewise.
2600         * math/libm-test-cpow.inc: Likewise.
2601         * math/libm-test-cproj.inc: Likewise.
2602         * math/libm-test-creal.inc: Likewise.
2603         * math/libm-test-csin.inc: Likewise.
2604         * math/libm-test-csinh.inc: Likewise.
2605         * math/libm-test-csqrt.inc: Likewise.
2606         * math/libm-test-ctan.inc: Likewise.
2607         * math/libm-test-ctanh.inc: Likewise.
2608         * math/libm-test-erf.inc: Likewise.
2609         * math/libm-test-erfc.inc: Likewise.
2610         * math/libm-test-exp.inc: Likewise.
2611         * math/libm-test-exp10.inc: Likewise.
2612         * math/libm-test-exp2.inc: Likewise.
2613         * math/libm-test-expm1.inc: Likewise.
2614         * math/libm-test-fabs.inc: Likewise.
2615         * math/libm-test-fdim.inc: Likewise.
2616         * math/libm-test-floor.inc: Likewise.
2617         * math/libm-test-fma.inc: Likewise.
2618         * math/libm-test-fmax.inc: Likewise.
2619         * math/libm-test-fmaxmag.inc: Likewise.
2620         * math/libm-test-fmin.inc: Likewise.
2621         * math/libm-test-fminmag.inc: Likewise.
2622         * math/libm-test-fmod.inc: Likewise.
2623         * math/libm-test-fpclassify.inc: Likewise.
2624         * math/libm-test-frexp.inc: Likewise.
2625         * math/libm-test-fromfp.inc: Likewise.
2626         * math/libm-test-fromfpx.inc: Likewise.
2627         * math/libm-test-getpayload.inc: Likewise.
2628         * math/libm-test-hypot.inc: Likewise.
2629         * math/libm-test-ilogb.inc: Likewise.
2630         * math/libm-test-iscanonical.inc: Likewise.
2631         * math/libm-test-iseqsig.inc: Likewise.
2632         * math/libm-test-isfinite.inc: Likewise.
2633         * math/libm-test-isgreater.inc: Likewise.
2634         * math/libm-test-isgreaterequal.inc: Likewise.
2635         * math/libm-test-isinf.inc: Likewise.
2636         * math/libm-test-isless.inc: Likewise.
2637         * math/libm-test-islessequal.inc: Likewise.
2638         * math/libm-test-islessgreater.inc: Likewise.
2639         * math/libm-test-isnan.inc: Likewise.
2640         * math/libm-test-isnormal.inc: Likewise.
2641         * math/libm-test-issignaling.inc: Likewise.
2642         * math/libm-test-issubnormal.inc: Likewise.
2643         * math/libm-test-isunordered.inc: Likewise.
2644         * math/libm-test-iszero.inc: Likewise.
2645         * math/libm-test-j0.inc: Likewise.
2646         * math/libm-test-j1.inc: Likewise.
2647         * math/libm-test-jn.inc: Likewise.
2648         * math/libm-test-lgamma.inc: Likewise.
2649         * math/libm-test-llogb.inc: Likewise.
2650         * math/libm-test-llrint.inc: Likewise.
2651         * math/libm-test-llround.inc: Likewise.
2652         * math/libm-test-log.inc: Likewise.
2653         * math/libm-test-log10.inc: Likewise.
2654         * math/libm-test-log1p.inc: Likewise.
2655         * math/libm-test-log2.inc: Likewise.
2656         * math/libm-test-logb.inc: Likewise.
2657         * math/libm-test-lrint.inc: Likewise.
2658         * math/libm-test-lround.inc: Likewise.
2659         * math/libm-test-modf.inc: Likewise.
2660         * math/libm-test-nearbyint.inc: Likewise.
2661         * math/libm-test-nextafter.inc: Likewise.
2662         * math/libm-test-nextdown.inc: Likewise.
2663         * math/libm-test-nexttoward.inc: Likewise.
2664         * math/libm-test-nextup.inc: Likewise.
2665         * math/libm-test-pow.inc: Likewise.
2666         * math/libm-test-remainder.inc: Likewise.
2667         * math/libm-test-remquo.inc: Likewise.
2668         * math/libm-test-rint.inc: Likewise.
2669         * math/libm-test-round.inc: Likewise.
2670         * math/libm-test-roundeven.inc: Likewise.
2671         * math/libm-test-scalb.inc: Likewise.
2672         * math/libm-test-scalbln.inc: Likewise.
2673         * math/libm-test-scalbn.inc: Likewise.
2674         * math/libm-test-setpayload.inc: Likewise.
2675         * math/libm-test-setpayloadsig.inc: Likewise.
2676         * math/libm-test-signbit.inc: Likewise.
2677         * math/libm-test-significand.inc: Likewise.
2678         * math/libm-test-sin.inc: Likewise.
2679         * math/libm-test-sincos.inc: Likewise.
2680         * math/libm-test-sinh.inc: Likewise.
2681         * math/libm-test-sqrt.inc: Likewise.
2682         * math/libm-test-tan.inc: Likewise.
2683         * math/libm-test-tanh.inc: Likewise.
2684         * math/libm-test-tgamma.inc: Likewise.
2685         * math/libm-test-totalorder.inc: Likewise.
2686         * math/libm-test-totalordermag.inc: Likewise.
2687         * math/libm-test-trunc.inc: Likewise.
2688         * math/libm-test-ufromfp.inc: Likewise.
2689         * math/libm-test-ufromfpx.inc: Likewise.
2690         * math/libm-test-y0.inc: Likewise.
2691         * math/libm-test-y1.inc: Likewise.
2692         * math/libm-test-yn.inc: Likewise.
2693         * math/README.libm-test: Update.
2695         * math/gen-auto-libm-tests.c: Update comment about use of program.
2696         (generate_output): Add argument FUNCTION.
2697         (main): Require extra argument.  Pass function name to
2698         generate_output.
2699         * math/Makefile (generated): Add auto-libm-test-out.
2700         (libm-test-funcs-auto): New variable.
2701         (auto-libm-test-out-files): New variable.
2702         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
2703         Concatenate those files to form $(objpfx)auto-libm-test-out and
2704         use it as input to gen-libm-test.pl.
2705         * math/README.libm-test: Update.
2706         * math/auto-libm-test-out: Remove.
2707         * math/auto-libm-test-out-acos: New generated file.
2708         * math/auto-libm-test-out-acosh: Likewise.
2709         * math/auto-libm-test-out-asin: Likewise.
2710         * math/auto-libm-test-out-asinh: Likewise.
2711         * math/auto-libm-test-out-atan: Likewise.
2712         * math/auto-libm-test-out-atan2: Likewise.
2713         * math/auto-libm-test-out-atanh: Likewise.
2714         * math/auto-libm-test-out-cabs: Likewise.
2715         * math/auto-libm-test-out-carg: Likewise.
2716         * math/auto-libm-test-out-cbrt: Likewise.
2717         * math/auto-libm-test-out-ccos: Likewise.
2718         * math/auto-libm-test-out-ccosh: Likewise.
2719         * math/auto-libm-test-out-cexp: Likewise.
2720         * math/auto-libm-test-out-clog: Likewise.
2721         * math/auto-libm-test-out-clog10: Likewise.
2722         * math/auto-libm-test-out-cos: Likewise.
2723         * math/auto-libm-test-out-cosh: Likewise.
2724         * math/auto-libm-test-out-cpow: Likewise.
2725         * math/auto-libm-test-out-csin: Likewise.
2726         * math/auto-libm-test-out-csinh: Likewise.
2727         * math/auto-libm-test-out-csqrt: Likewise.
2728         * math/auto-libm-test-out-ctan: Likewise.
2729         * math/auto-libm-test-out-ctanh: Likewise.
2730         * math/auto-libm-test-out-erf: Likewise.
2731         * math/auto-libm-test-out-erfc: Likewise.
2732         * math/auto-libm-test-out-exp: Likewise.
2733         * math/auto-libm-test-out-exp10: Likewise.
2734         * math/auto-libm-test-out-exp2: Likewise.
2735         * math/auto-libm-test-out-expm1: Likewise.
2736         * math/auto-libm-test-out-fma: Likewise.
2737         * math/auto-libm-test-out-hypot: Likewise.
2738         * math/auto-libm-test-out-j0: Likewise.
2739         * math/auto-libm-test-out-j1: Likewise.
2740         * math/auto-libm-test-out-jn: Likewise.
2741         * math/auto-libm-test-out-lgamma: Likewise.
2742         * math/auto-libm-test-out-log: Likewise.
2743         * math/auto-libm-test-out-log10: Likewise.
2744         * math/auto-libm-test-out-log1p: Likewise.
2745         * math/auto-libm-test-out-log2: Likewise.
2746         * math/auto-libm-test-out-pow: Likewise.
2747         * math/auto-libm-test-out-sin: Likewise.
2748         * math/auto-libm-test-out-sincos: Likewise.
2749         * math/auto-libm-test-out-sinh: Likewise.
2750         * math/auto-libm-test-out-sqrt: Likewise.
2751         * math/auto-libm-test-out-tan: Likewise.
2752         * math/auto-libm-test-out-tanh: Likewise.
2753         * math/auto-libm-test-out-tgamma: Likewise.
2754         * math/auto-libm-test-out-y0: Likewise.
2755         * math/auto-libm-test-out-y1: Likewise.
2756         * math/auto-libm-test-out-yn: Likewise.
2758         * math/Makefile (generated): Do not include libm-test.stmp.
2759         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
2760         on $(objpfx)libm-test.stmp.
2761         ($(objpfx)libm-test.stmp): Remove rule.
2762         ($(objpfx)libm-test-ulps.h): New rule.
2763         ($(objpfx)libm-test.c): Likewise.
2764         ($(objpfx)libm-have-vector-test.h): Likewise.
2765         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
2766         individual generated files, not libm-test.stmp.
2768         * math/gen-libm-test.pl ($output_dir): Remove variable.
2769         ($srcdir): Likewise.
2770         ($opt_a): New variable.
2771         ($opt_c): Likewise.
2772         ($opt_C): Likewise.
2773         ($opt_H): Likewise.
2774         (-n): Make option take argument and use it as NewUlps output.
2775         (-a): New option.  Use its argument for auto-libm-test-out input.
2776         (-c): New option.  Use its argument for libm-test.inc input.
2777         (-C): New option.  Use its argument for libm-test.c output.
2778         (-H): New option.  Use its argument for libm-test-ulps.h output.
2779         (top level): Only process inputs needed to generate outputs
2780         specified by command-line options.  Only generate outputs
2781         specified by command-line options.
2782         * math/README.libm-test: Update example gen-libm-test.pl command.
2783         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
2784         commands.
2785         (regen-ulps): Likewise.
2787 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
2789         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
2790         * include/string.h (index): Remove define.
2791         (rindex): Likewise.
2792         * misc/getttyent.c (__getttyent): Rename index to strchr.
2793         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
2794         * sunrpc/rpc_main.c (mkfile_output): Likewise.
2796 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2798         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
2799         * math/libm-test.inc: Move all contents, other than tests of
2800         individual functions, to libm-test-driver.c.
2801         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
2802         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
2803         [!FE_UPWARD] (FE_UPWARD): Likewise.
2804         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
2805         (NO_EXCEPTION): Likewise.
2806         (INVALID_EXCEPTION): Likewise.
2807         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2808         (OVERFLOW_EXCEPTION): Likewise.
2809         (UNDERFLOW_EXCEPTION): Likewise.
2810         (INEXACT_EXCEPTION): Likewise.
2811         (INVALID_EXCEPTION_OK): Likewise.
2812         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2813         (OVERFLOW_EXCEPTION_OK): Likewise.
2814         (UNDERFLOW_EXCEPTION_OK): Likewise.
2815         (NO_INEXACT_EXCEPTION): Likewise.
2816         (EXCEPTIONS_OK): Likewise.
2817         (IGNORE_ZERO_INF_SIGN): Likewise.
2818         (TEST_NAN_SIGN): Likewise.
2819         (TEST_NAN_PAYLOAD): Likewise.
2820         (NO_TEST_INLINE): Likewise.
2821         (XFAIL_TEST): Likewise.
2822         (ERRNO_UNCHANGED): Likewise.
2823         (ERRNO_EDOM): Likewise.
2824         (ERRNO_ERANGE): Likewise.
2825         (IGNORE_RESULT): Likewise.
2826         (NON_FINITE): Likewise.
2827         (TEST_SNAN): Likewise.
2828         (NO_TEST_MATHVEC): Likewise.
2829         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
2830         (__CONCATX): Likewise.
2831         (TYPE_MIN): Likewise.
2832         (TYPE_TRUE_MIN): Likewise.
2833         (TYPE_MAX): Likewise.
2834         (MIN_EXP): Likewise.
2835         (MAX_EXP): Likewise.
2836         (MANT_DIG): Likewise.
2837         (FSTR_MAX): Likewise.
2838         (ULP_IDX): Likewise.
2839         (QTYPE_STR): Likewise.
2840         (TEST_COND_binary32): Likewise.
2841         (TEST_COND_binary64): Likewise.
2842         (TEST_COND_binary128): Likewise.
2843         (TEST_COND_ibm128): Likewise.
2844         (TEST_COND_intel96): Likewise.
2845         (TEST_COND_m68k96): Likewise.
2846         (TEST_COND_ibm128_libgcc): Likewise.
2847         (XFAIL_IBM128_LIBGCC): Likewise.
2848         (PAYLOAD_DIG): Likewise.
2849         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2850         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2851         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2852         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2853         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2854         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2855         (TEST_COND_long32): Likewise.
2856         (TEST_COND_long64): Likewise.
2857         (TEST_COND_before_rounding): Likewise.
2858         (TEST_COND_after_rounding): Likewise.
2859         (lit_pi_3_m_4_d): Likewise.
2860         (lit_pi_3_m_4_ln10_m_d): Likewise.
2861         (lit_pi_2_ln10_m_d): Likewise.
2862         (lit_pi_4_ln10_m_d): Likewise.
2863         (lit_pi_ln10_d): Likewise.
2864         (lit_pi_2_d): Likewise.
2865         (lit_pi_4_d): Likewise.
2866         (lit_pi): Likewise.
2867         (lit_e): Likewise.
2868         (ulps_file_name): Likewise.
2869         (ulps_file): Likewise.
2870         (output_ulps): Likewise.
2871         (output_dir): Likewise.
2872         (noErrors): Likewise.
2873         (noTests): Likewise.
2874         (noExcTests): Likewise.
2875         (noErrnoTests): Likewise.
2876         (verbose): Likewise.
2877         (output_max_error): Likewise.
2878         (output_points): Likewise.
2879         (ignore_max_ulp): Likewise.
2880         (plus_zero): Likewise.
2881         (minus_zero): Likewise.
2882         (plus_infty): Likewise.
2883         (minus_infty): Likewise.
2884         (qnan_value_pl): Likewise.
2885         (qnan_value): Likewise.
2886         (snan_value_pl): Likewise.
2887         (snan_value): Likewise.
2888         (max_value): Likewise.
2889         (min_value): Likewise.
2890         (min_subnorm_value): Likewise.
2891         (snan_value_ld): Likewise.
2892         (max_error): Likewise.
2893         (real_max_error): Likewise.
2894         (imag_max_error): Likewise.
2895         (prev_max_error): Likewise.
2896         (prev_real_max_error): Likewise.
2897         (prev_imag_max_error): Likewise.
2898         (max_valid_error): Likewise.
2899         (TYPE_DECIMAL_DIG): Likewise.
2900         (TYPE_HEX_DIG): Likewise.
2901         (fmt_ftostr): Likewise.
2902         (compare_ulp_data): Likewise.
2903         (find_ulps): Likewise.
2904         (init_max_error): Likewise.
2905         (set_max_error): Likewise.
2906         (print_float): Likewise.
2907         (print_screen): Likewise.
2908         (print_screen_max_error): Likewise.
2909         (update_stats): Likewise.
2910         (print_function_ulps): Likewise.
2911         (print_complex_function_ulps): Likewise.
2912         (fpstack_test): Likewise.
2913         (print_max_error): Likewise.
2914         (print_complex_max_error): Likewise.
2915         (test_single_exception): Likewise.
2916         (test_exceptions): Likewise.
2917         (test_single_errno): Likewise.
2918         (test_errno): Likewise.
2919         (ULPDIFF): Likewise.
2920         (ulp): Likewise.
2921         (check_float_internal): Likewise.
2922         (check_float): Likewise.
2923         (check_complex): Likewise.
2924         (check_int): Likewise.
2925         (check_long): Likewise.
2926         (check_bool): Likewise.
2927         (check_longlong): Likewise.
2928         (check_intmax_t): Likewise.
2929         (check_uintmax_t): Likewise.
2930         (enable_test): Likewise.
2931         (struct test_f_f_data): Likewise.
2932         (struct test_ff_f_data): Likewise.
2933         (struct test_fj_f_data): Likewise.
2934         (struct test_fi_f_data): Likewise.
2935         (struct test_fl_f_data): Likewise.
2936         (struct test_if_f_data): Likewise.
2937         (struct test_fff_f_data): Likewise.
2938         (struct test_fiu_M_data): Likewise.
2939         (struct test_fiu_U_data): Likewise.
2940         (struct test_c_f_data): Likewise.
2941         (struct test_f_f1_data): Likewise.
2942         (struct test_fF_f1_data): Likewise.
2943         (struct test_ffI_f1_data): Likewise.
2944         (struct test_c_c_data): Likewise.
2945         (struct test_cc_c_data): Likewise.
2946         (struct test_f_i_data): Likewise.
2947         (struct test_ff_i_data): Likewise.
2948         (struct test_f_l_data): Likewise.
2949         (struct test_f_L_data): Likewise.
2950         (struct test_fFF_11_data): Likewise.
2951         (struct test_Ff_b1_data): Likewise.
2952         (IF_ROUND_INIT_): Likewise.
2953         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2954         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2955         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2956         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2957         (ROUND_RESTORE_): Likewise.
2958         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2959         (ROUND_RESTORE_FE_TONEAREST): Likewise.
2960         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2961         (ROUND_RESTORE_FE_UPWARD): Likewise.
2962         (RM_): Likewise.
2963         (RM_FE_DOWNWARD): Likewise.
2964         (RM_FE_TONEAREST): Likewise.
2965         (RM_FE_TOWARDZERO): Likewise.
2966         (RM_FE_UPWARD): Likewise.
2967         (COMMON_TEST_SETUP): Likewise.
2968         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2969         (COMMON_TEST_CLEANUP): Likewise.
2970         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2971         (RUN_TEST_f_f): Likewise.
2972         (RUN_TEST_LOOP_f_f): Likewise.
2973         (RUN_TEST_fp_f): Likewise.
2974         (RUN_TEST_LOOP_fp_f): Likewise.
2975         (RUN_TEST_2_f): Likewise.
2976         (RUN_TEST_LOOP_2_f): Likewise.
2977         (RUN_TEST_ff_f): Likewise.
2978         (RUN_TEST_LOOP_ff_f): Likewise.
2979         (RUN_TEST_LOOP_fj_f): Likewise.
2980         (RUN_TEST_fi_f): Likewise.
2981         (RUN_TEST_LOOP_fi_f): Likewise.
2982         (RUN_TEST_fl_f): Likewise.
2983         (RUN_TEST_LOOP_fl_f): Likewise.
2984         (RUN_TEST_if_f): Likewise.
2985         (RUN_TEST_LOOP_if_f): Likewise.
2986         (RUN_TEST_fff_f): Likewise.
2987         (RUN_TEST_LOOP_fff_f): Likewise.
2988         (RUN_TEST_fiu_M): Likewise.
2989         (RUN_TEST_LOOP_fiu_M): Likewise.
2990         (RUN_TEST_fiu_U): Likewise.
2991         (RUN_TEST_LOOP_fiu_U): Likewise.
2992         (RUN_TEST_c_f): Likewise.
2993         (RUN_TEST_LOOP_c_f): Likewise.
2994         (RUN_TEST_f_f1): Likewise.
2995         (RUN_TEST_LOOP_f_f1): Likewise.
2996         (RUN_TEST_fF_f1): Likewise.
2997         (RUN_TEST_LOOP_fF_f1): Likewise.
2998         (RUN_TEST_fI_f1): Likewise.
2999         (RUN_TEST_LOOP_fI_f1): Likewise.
3000         (RUN_TEST_ffI_f1_mod8): Likewise.
3001         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
3002         (RUN_TEST_Ff_b1): Likewise.
3003         (RUN_TEST_LOOP_Ff_b1): Likewise.
3004         (RUN_TEST_Ffp_b1): Likewise.
3005         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3006         (RUN_TEST_c_c): Likewise.
3007         (RUN_TEST_LOOP_c_c): Likewise.
3008         (RUN_TEST_cc_c): Likewise.
3009         (RUN_TEST_LOOP_cc_c): Likewise.
3010         (RUN_TEST_f_i): Likewise.
3011         (RUN_TEST_LOOP_f_i): Likewise.
3012         (RUN_TEST_f_i_tg): Likewise.
3013         (RUN_TEST_LOOP_f_i_tg): Likewise.
3014         (RUN_TEST_ff_b): Likewise.
3015         (RUN_TEST_LOOP_ff_b): Likewise.
3016         (RUN_TEST_ff_i_tg): Likewise.
3017         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3018         (RUN_TEST_f_b): Likewise.
3019         (RUN_TEST_LOOP_f_b): Likewise.
3020         (RUN_TEST_f_b_tg): Likewise.
3021         (RUN_TEST_LOOP_f_b_tg): Likewise.
3022         (RUN_TEST_f_l): Likewise.
3023         (RUN_TEST_LOOP_f_l): Likewise.
3024         (RUN_TEST_f_L): Likewise.
3025         (RUN_TEST_LOOP_f_L): Likewise.
3026         (RUN_TEST_fFF_11): Likewise.
3027         (RUN_TEST_LOOP_fFF_11): Likewise.
3028         (VEC_SUFF): Likewise.
3029         (STR_CONCAT): Likewise.
3030         (STR_CON3): Likewise.
3031         (HAVE_VECTOR): Likewise.
3032         (START): Likewise.
3033         (END): Likewise.
3034         (END_COMPLEX): Likewise.
3035         (ALL_RM_TEST): Likewise.
3036         (matherr): Likewise.
3037         (initialize): Likewise.
3038         (options): Likewise.
3039         (doc): Likewise.
3040         (parse_opt): Likewise.
3041         (argp): Likewise.
3042         (check_ulp): Likewise.
3043         (main): Likewise.
3044         (do_test): New function.  Call tests of individual functions
3045         previously called from main.
3047         * math/libm-test.inc: Remove comment listing functions tested and
3048         not tested.
3050 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3052         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
3053         (allocate_stack): Remove COLORING_INCREMENT usage.
3054         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
3055         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
3057 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3059         * manual/libm-err-tab.pl (@all_functions): Change to
3060         %all_functions.  Initialize as empty.
3061         (parse_ulps): Add to %all_functions based on functions found in
3062         ulps files.  Ignore results for non-default rounding modes and
3063         vector functions.
3064         (print_platforms): Use %all_platforms.
3065         * manual/math.texi (Errors in Math Functions): Document omissions
3066         from the table.
3068         * math/Makefile (before-compile): Remove.
3070 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
3072         [BZ #21075]
3073         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
3074         unused assignment.
3075         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3077 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3079         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
3080         Add __glibc_unlikely hint.
3082 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3084         [BZ #16640]
3085         * sysdeps/i386/i686/strtok.S: Remove file.
3086         * sysdeps/i386/i686/strtok_r.S: Likewise.
3087         * sysdeps/i386/strtok.S: Likewise.
3088         * sysdeps/i386/strtok_r.S: Likewise.
3089         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
3090         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
3091         * sysdeps/x86_64/strtok.S: Likewise.
3092         * sysdeps/x86_64/strtok_r.S: Likewise.
3094         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
3095         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
3096         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3097         (__ASSUME_FADVISE64_AS_64_64): Define.
3098         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
3099         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
3100         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
3101         __ALIGNMENT_ARG usage.
3102         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
3103         __NR_fadvise64_64 if it is not defined.
3105 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3107         * version.h (RELEASE): Set to "development"
3108         (VERSION): Set to 2.25.90.
3109         * NEWS: Add 2.26 section.
3111         * version.h (RELEASE): Set to "stable"
3112         (VERSION): Set to 2.25.
3113         * include/features.h (__GLIBC_MINOR__): Set to 25.
3115         * manual/contrib.texi: Add more contributors from this release
3116         and past releases.
3118         * NEWS (2.25): Add list of bugs fixed.
3120         * NEWS: Add missing news items.
3122 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3124         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
3125         parent if child exited in that manner.  Print WEXITSTATUS
3126         instead of the raw status.
3127         (do_test_prep): Rename to do_test.
3128         (do_test): Return the result of run_executable_sgid.
3129         (TEST_FUNCTION_ARGV): Adjust.
3131 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
3132             Florian Weimer  <fweimer@redhat.com>
3133             Carlos O'Donell  <carlos@redhat.com>
3135         [BZ #20915]
3136         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
3137         Do not initialize DTV.
3138         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3140 2017-02-03  David S. Miller  <davem@davemloft.net>
3142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
3143         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3144         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
3145         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3146         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
3147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
3149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3150         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3151         (libm-sysdep_routines): Update.
3152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
3153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
3154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
3156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3157         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
3158         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
3159         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
3160         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
3161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
3162         Likewise.
3163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
3165         Likewise.
3166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
3168         Likewise.
3169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
3171         Likewise.
3172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3174         (libm-sysdep_routines): Update.
3176 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
3178         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
3179         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
3180         against unrelocated shared library.
3181         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3183 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3185         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
3186         * elf/tst-env-setuid-tunables.c
3187         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
3188         GLIBC_TUNABLES is removed in a setgid process.
3190         [BZ #21073]
3191         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
3192         * elf/dl-tunables.c (tunables_strdup): Remove.
3193         (get_next_env): Also return the previous envp.
3194         (parse_tunables): Erase tunables of category
3195         TUNABLES_SECLEVEL_SXID_ERASE.
3196         (maybe_enable_malloc_check): Make MALLOC_CHECK_
3197         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
3198         (__tunables_init)[TUNABLES_FRONTEND ==
3199         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
3200         after parsing.
3201         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
3202         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
3203         * elf/dl-tunables.h (struct _tunable): Change member is_secure
3204         to security_level.
3205         * elf/dl-tunables.list: Add security_level annotations for all
3206         tunables.
3207         * scripts/gen-tunables.awk: Recognize and generate enum values
3208         for security_level.
3209         * elf/tst-env-setuid.c: New test case.
3210         * elf/tst-env-setuid-tunables: new test case.
3211         * elf/Makefile (tests-static): Add them.
3213 2017-02-01  Richard Henderson  <rth@twiddle.net>
3215         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
3216         adjusting the byte count.
3218 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
3220         * conform/Makefile (linknamespace-libs): Define.
3222         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
3223         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
3224         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
3225         operands.
3227 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
3229         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
3231 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
3233         [BZ #21081]
3234         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3235         (L(stosb)): Add VZEROUPPER before ret.
3237 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
3238             Alexey Makhalov <amakhalov@vmware.com>
3239             Florian Weimer <fweimer@redhat.com>
3241         [BZ #20116]
3242         * nptl/pthread_create.c: Document concurrency notes.
3243         Enhance thread creation notes.
3244         (create_thread): Use bool *stopped_start.
3245         (START_THREAD_DEFN): Comment ownership of PD.
3246         (__pthread_create_2_1): Add local bool stopped_start and use
3247         that instead of pd->stopped_start where appropriate.
3248         * nptl/createthread.c (create_thread): Use bool *stopped_start.
3249         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
3250         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3251         * nptl/tst-create-detached.c: New file.
3252         * nptl/Makefile (tests): Add tst-create-detached.
3253         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3254         Reference the enhanced thread creation notes.
3255         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
3256         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3257         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
3258         (__pthread_current_priority): Likewise.
3259         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
3260         xpthread_attr_init, xpthread_attr_setdetachstate, and
3261         xpthread_attr_setstacksize.
3262         * support/xpthread_attr_destroy.c: New file.
3263         * support/xpthread_attr_init.c: New file.
3264         * support/xpthread_attr_setdetachstate.c: New file.
3265         * support/xpthread_attr_setstacksize.c: New file.
3266         * support/xthread.h: Define prototypes for xpthread_attr_destroy
3267         xpthread_attr_init, xpthread_attr_setdetachstate, and
3268         xpthread_attr_setstacksize.
3270 2017-01-27  Florian Weimer  <fweimer@redhat.com>
3272         * nptl/Makefile (tests): Add tst-robust-fork.
3273         * nptl/tst-robust-fork.c: New file.
3274         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
3275         xpthread_mutex_consistent, xpthread_mutex_destroy,
3276         xpthread_mutex_init, xpthread_mutexattr_destroy,
3277         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
3278         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
3279         xpthread_mutexattr_settype.
3280         * support/xmmap.c: New file.
3281         * support/xmunmap.c: Likewise.
3282         * support/xpthread_mutex_consistent.c: Likewise.
3283         * support/xpthread_mutex_destroy.c: Likewise.
3284         * support/xpthread_mutex_init.c: Likewise.
3285         * support/xpthread_mutexattr_destroy.c: Likewise.
3286         * support/xpthread_mutexattr_init.c: Likewise.
3287         * support/xpthread_mutexattr_setprotocol.c: Likewise.
3288         * support/xpthread_mutexattr_setpshared.c: Likewise.
3289         * support/xpthread_mutexattr_setrobust.c: Likewise.
3290         * support/xpthread_mutexattr_settype.c: Likewise.
3291         * support/xthread.h (xpthread_mutexattr_destroy)
3292         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
3293         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
3294         (xpthread_mutexattr_settype, xpthread_mutex_init)
3295         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
3296         * support/xunistd.h (xmmap, xmunmap): Likewise.
3298 2017-01-25  Florian Weimer  <fweimer@redhat.com>
3300         * string/Makefile (xtests): Add comment.
3301         (LOCALES): Add en_GB.UTF-8.
3302         (tst-strcoll-overflow.out): Depend on generated locales.
3303         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
3304         (SIZE, TIMEOUT): Update comments.
3305         (do_test): Define as static.  Fail test if setlocale fails.
3306         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
3307         messages.
3308         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
3309         TIMEOUT at 300 seconds should be enough to run this test
3310         successfully.
3312 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
3314         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3315         /* FALLTHRU */ comments.
3317 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
3319         [BZ #21053]
3320         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
3321         constants instead of the old R* ones.
3322         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
3323         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
3324         (NGREG): ... to this, to fit in with other architectures.
3325         (gpregset_t): Use new NGREG macro.
3326         [__USE_GNU]: Remove condition; all architectures other than tile
3327         are unconditional.
3328         (R*): Rename to REG_R*.
3330 2017-01-20  DJ Delorie  <dj@redhat.com>
3332         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
3333         (tunable_set_val_if_valid_range_signed) ... this, and ...
3334         (tunable_set_val_if_valid_range_unsigned) ... this.
3335         (tunable_initialize): Call the correct one of the above based on type.
3337 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
3339         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
3340         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3341         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3342         * sysdeps/microblaze/libm-test-ulps: Likewise.
3343         * sysdeps/sh/libm-test-ulps: Likewise.
3345         * math/README.libm-test: Update list of characters for input and
3346         output types.
3348 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3350         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3351         (__lll_unlock_elision): Fix adapt_count decrement.
3353 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
3355         * README.pretty-printers (Known issues): Warn about printers not
3356         always covering everything.
3357         * nptl/nptl-printers.py (MutexPrinter): Change output.
3358         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
3360 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3362         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
3363         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3364         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
3365         (__lll_lock_elision): Do not test futex before starting a
3366         transaction.  Use __glibc_likely instead of __builtin_expect.
3367         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
3368         (__lll_trylock_elision): Do not test futex before starting a
3369         transaction.  Use __glibc_likely instead of __builtin_expect.
3371 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3373         * po/Makefile (update-translations): New target.
3375 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3377         [BZ #21061]
3378         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
3380 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3382         * elf/dl-tunables (get_next_env): Always advance envp.
3383         * stdlib/tst-empty-env.c: New test case.
3384         * stdlib/Makefile (tests): Use it.
3386 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3388         [BZ #21047]
3389         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
3390         name for instruction.
3391         [!__SOFTFP__] (_FPU_SETCW): Likewise.
3393 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3395         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
3396         for make install.
3398 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3400         * po/bg.po: Merge from Translation Project.
3401         * po/fr.po: Likewise.
3402         * po/ko.po: Likewise.
3403         * po/nl.po: Likewise.
3404         * po/sv.po: Likewise.
3406 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3408         * manual/install.texi (Tools for Compilation): Update GCC version
3409         known to work to build glibc.
3410         * INSTALL: Regenerated.
3412 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3414         [BZ #21006]
3415         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
3417 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
3419         [BZ #21045]
3420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3421         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
3422         to __sigprocmask.
3424 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
3426         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
3427         wrap-around.
3428         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
3430         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
3432 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3434         * NEWS: Fix typo.
3436 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3438         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
3439         barriers and comments.
3440         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
3441         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3442         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3444 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3446         [BZ #19402]
3447         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
3448         mutexes.
3450 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3452         [BZ #20985]
3453         * nptl/Makefile: Adapt.
3454         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3455         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3456         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3457         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3458         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
3459         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
3460         lll_robust* functions and adapt.
3461         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3462         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
3463         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3464         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3465         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
3466         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3467         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
3468         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3469         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
3470         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3471         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3472         * nptl/lowlevelrobustlock.c: Remove file.
3473         * nptl/lowlevelrobustlock.sym: Likewise.
3474         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
3475         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
3477 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3479         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3481 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3483         * po/cs.po: Merge translations from the Translation Project.
3484         * po/de.po: Likewise.
3485         * po/pl.po: Likewise.
3486         * po/ru.po: Likewise.
3487         * po/tr.po: Likewise.
3488         * po/uk.po: Likewise.
3489         * po/vi.po: Likewise.
3490         * po/zh_CN.po: Likewise.
3492 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
3494         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
3496         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
3497         object.
3499 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3501         [BZ #16458]
3502         * bits/uintn-identity.h: New file.
3503         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
3504         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
3505         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
3506         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
3507         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
3508         * string/endian.h: Include <bits/uintn-identity.h>.
3509         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
3510         __uint16_identity.
3511         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
3512         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
3513         __uint32_identity.
3514         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
3515         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
3516         __uint64_identity.
3517         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
3518         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
3519         __uint16_identity.
3520         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
3521         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
3522         __uint32_identity.
3523         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
3524         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
3525         __uint64_identity.
3526         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
3527         * string/Makefile (headers): Add bits/uintn-identity.h.
3528         (tests): Add test-endian-types.
3529         * string/test-endian-types.c: New file.
3530         * inet/Makefile (tests): Add test-hnto-types.
3531         * inet/test-hnto-types.c: New file.
3533 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3535         * po/be.po: Update from Translation Project.
3536         * po/bg.po: Likewise.
3537         * po/ca.po: Likewise.
3538         * po/cs.po: Likewise.
3539         * po/da.po: Likewise.
3540         * po/de.po: Likewise.
3541         * po/el.po: Likewise.
3542         * po/eo.po: Likewise.
3543         * po/es.po: Likewise.
3544         * po/fi.po: Likewise.
3545         * po/fr.po: Likewise.
3546         * po/gl.po: Likewise.
3547         * po/hr.po: Likewise.
3548         * po/hu.po: Likewise.
3549         * po/ia.po: Likewise.
3550         * po/id.po: Likewise.
3551         * po/it.po: Likewise.
3552         * po/ja.po: Likewise.
3553         * po/ko.po: Likewise.
3554         * po/lt.po: Likewise.
3555         * po/nb.po: Likewise.
3556         * po/nl.po: Likewise.
3557         * po/pl.po: Likewise.
3558         * po/pt_BR.po: Likewise.
3559         * po/ru.po: Likewise.
3560         * po/rw.po: Likewise.
3561         * po/sk.po: Likewise.
3562         * po/sl.po: Likewise.
3563         * po/sv.po: Likewise.
3564         * po/tr.po: Likewise.
3565         * po/uk.po: Likewise.
3566         * po/vi.po: Likewise.
3567         * po/zh_CN.po: Likewise.
3568         * po/zh_TW.po: Likewise.
3570 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3572         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
3573         -Wformat-truncation instead of -Wformat-length.
3574         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
3575         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
3576         GCC 7.
3577         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
3578         (do_test): Ignore -Wformat-truncation for GCC 7.
3580         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
3581         buffer used to print long int value.
3583         * elf/sotruss-lib.c (init): Increase space allocated for pid by
3584         one byte.  Print it with %ld, cast to long int.
3586 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3588         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
3589         (re.fullmatch, subprocess.run): Likewise.
3591 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3593         * po/libc.pot: Regenerate.
3595 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3597         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
3598         (min_strlen): Likewise.
3599         (disable_tunable): Likewise.
3600         (maybe_disable_malloc_check): Rename to
3601         maybe_enable_malloc_check.
3602         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
3603         if /etc/suid-debug file exists.
3604         (__tunables_init): Update caller.
3605         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
3606         secure.
3608 2016-01-10  Torvald Riegel  <triegel@redhat.com>
3610         * nptl/DESIGN-rwlock.txt: Remove.
3611         * nptl/lowlevelrwlock.sym: Remove.
3612         * nptl/Makefile: Add new tests.
3613         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
3614         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
3615         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
3616         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
3617         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
3618         PTHREAD_RWLOCK_FUTEX_USED): New.
3619         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
3620         implementation.
3621         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
3622         (__pthread_rwlock_rdlock): Adapt.
3623         * nptl/pthread_rwlock_timedrdlock.c
3624         (pthread_rwlock_timedrdlock): Adapt.
3625         * nptl/pthread_rwlock_timedwrlock.c
3626         (pthread_rwlock_timedwrlock): Adapt.
3627         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
3628         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
3629         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
3630         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
3631         (__pthread_rwlock_wrlock): Adapt.
3632         * nptl/tst-rwlock10.c: Adapt.
3633         * nptl/tst-rwlock11.c: Adapt.
3634         * nptl/tst-rwlock17.c: New file.
3635         * nptl/tst-rwlock18.c: New file.
3636         * nptl/tst-rwlock19.c: New file.
3637         * nptl/tst-rwlock2b.c: New file.
3638         * nptl/tst-rwlock8.c: Adapt.
3639         * nptl/tst-rwlock9.c: Adapt.
3640         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3641         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3642         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3643         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3644         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3645         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3646         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3647         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3648         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3649         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3650         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3651         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3652         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3653         (pthread_rwlock_t): Adapt.
3654         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3655         (pthread_rwlock_t): Adapt.
3656         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3657         * nptl/nptl-printers.py (): Adapt.
3658         * nptl/nptl_lock_constants.pysym: Adapt.
3659         * nptl/test-rwlock-printers.py: Adapt.
3660         * nptl/test-rwlockattr-printers.c: Adapt.
3661         * nptl/test-rwlockattr-printers.py: Adapt.
3663 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
3665         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
3666         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
3667         (fma_test_data): Likewise.
3668         (hypot_test_data): Likewise.
3669         (log1p_test_data): Likewise.
3670         (modf_test_data): Likewise.
3671         (pow_test_data): Likewise.
3672         (remainder_test_data): Likewise.
3673         (remquo_test_data): Likewise.
3674         (scalb_test_data): Likewise.
3675         (scalbn_test_data): Likewise.
3676         (scalbln_test_data): Likewise.
3677         * math/gen-libm-test.pl (parse_args): Transform
3678         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
3679         on the rounding mode.
3681 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
3683         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
3684         xfail-rounding:ibm128-libgcc automatically to tests overflowing
3685         and those that can underflow to zero.
3686         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
3687         add others.
3688         * math/auto-libm-test-out: Regenerated.
3690         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
3691         supported.
3692         (feholdexcept_tests): Skip tests requiring exceptions or rounding
3693         modes support if not supported.
3695         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
3696         Add libc.so PLT entry.
3697         (__tls_get_addr): Make ld.so PLT entry optional.
3699 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3701         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
3702         * string/bits/string3.h: ... here.
3704 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3706         [BZ #21028]
3707         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
3708         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
3709         if EXCEPTION_TESTS returns false.
3711 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3713         [BZ #20558]
3714         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
3715         strings_fortified.h.
3716         [__USE_MISC] (bzero): Likewise.
3717         [__USE_MISC] (explicit_bzero): Likewise.
3718         * string/strings.h: Include strings_fortified.h.
3719         * string/Makefile (headers): Add strings_fortified.h.
3720         * string/bits/strings_fortified.h: New file.
3721         * include/bits/strings_fortified.h: Likewise.
3723 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3725         * elf/tst-tls13.c (TIMEOUT): Remove.
3726         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
3727         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
3728         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
3729         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
3730         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
3732         [BZ #21026]
3733         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
3734         (readahead): New syscall entry.
3736 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3738         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
3739         around tests of strncat with large sizes.
3741         * malloc/tst-malloc.c: Include <libc-internal.h>.
3742         (do_test): Disable -Walloc-size-larger-than= around tests of
3743         malloc with negative sizes.
3744         * malloc/tst-mcheck.c: Include <libc-internal.h>.
3745         (do_test): Disable -Walloc-size-larger-than= around tests of
3746         malloc and realloc with negative sizes.
3747         * malloc/tst-realloc.c: Include <libc-internal.h>.
3748         (do_test): Disable -Walloc-size-larger-than= around tests of
3749         realloc with negative sizes.
3751         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
3752         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
3753         allowed to 16 ulps.
3754         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
3755         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
3756         * math/auto-libm-test-out: Regenerated.
3758 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3760         * math/Makefile (libm-calls): Move wrappers...
3761         (libm-compat-call-auto): Here.
3762         (libm-routines): Add items in libm-compat-calls-auto.
3763         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
3764         the filenames of the wrappers that have been renamed.
3765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
3766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3768         * math/w_acos.c: Add _compat suffix to filename.
3769         * math/w_acosf.c: Likewise.
3770         * math/w_acosh.c: Likewise.
3771         * math/w_acoshf.c: Likewise.
3772         * math/w_acoshl.c: Likewise.
3773         * math/w_acosl.c: Likewise.
3774         * math/w_asin.c: Likewise.
3775         * math/w_asinf.c: Likewise.
3776         * math/w_asinl.c: Likewise.
3777         * math/w_atan2.c: Likewise.
3778         * math/w_atan2f.c: Likewise.
3779         * math/w_atan2l.c: Likewise.
3780         * math/w_atanh.c: Likewise.
3781         * math/w_atanhf.c: Likewise.
3782         * math/w_atanhl.c: Likewise.
3783         * math/w_cosh.c: Likewise.
3784         * math/w_coshf.c: Likewise.
3785         * math/w_coshl.c: Likewise.
3786         * math/w_exp10.c: Likewise.
3787         * math/w_exp10f.c: Likewise.
3788         * math/w_exp10l.c: Likewise.
3789         * math/w_exp2.c: Likewise.
3790         * math/w_exp2f.c: Likewise.
3791         * math/w_exp2l.c: Likewise.
3792         * math/w_fmod.c: Likewise.
3793         * math/w_fmodf.c: Likewise.
3794         * math/w_fmodl.c: Likewise.
3795         * math/w_hypot.c: Likewise.
3796         * math/w_hypotf.c: Likewise.
3797         * math/w_hypotl.c: Likewise.
3798         * math/w_j0.c: Likewise.
3799         * math/w_j0f.c: Likewise.
3800         * math/w_j0l.c: Likewise.
3801         * math/w_j1.c: Likewise.
3802         * math/w_j1f.c: Likewise.
3803         * math/w_j1l.c: Likewise.
3804         * math/w_jn.c: Likewise.
3805         * math/w_jnf.c: Likewise.
3806         * math/w_jnl.c: Likewise.
3807         * math/w_log10.c: Likewise.
3808         * math/w_log10f.c: Likewise.
3809         * math/w_log10l.c: Likewise.
3810         * math/w_log2.c: Likewise.
3811         * math/w_log2f.c: Likewise.
3812         * math/w_log2l.c: Likewise.
3813         * math/w_log.c: Likewise.
3814         * math/w_logf.c: Likewise.
3815         * math/w_logl.c: Likewise.
3816         * math/w_pow.c: Likewise.
3817         * math/w_powf.c: Likewise.
3818         * math/w_powl.c: Likewise.
3819         * math/w_remainder.c: Likewise.
3820         * math/w_remainderf.c: Likewise.
3821         * math/w_remainderl.c: Likewise.
3822         * math/w_scalb.c: Likewise.
3823         * math/w_scalbf.c: Likewise.
3824         * math/w_scalbl.c: Likewise.
3825         * math/w_sinh.c: Likewise.
3826         * math/w_sinhf.c: Likewise.
3827         * math/w_sinhl.c: Likewise.
3828         * math/w_sqrt.c: Likewise.
3829         * math/w_sqrtf.c: Likewise.
3830         * math/w_sqrtl.c: Likewise.
3831         * math/w_tgamma.c: Likewise.
3832         * math/w_tgammaf.c: Likewise.
3833         * math/w_tgammal.c: Likewise.
3835         * math/w_acos_compat.c: New file copied from above and
3836         adjusted for new #includes path
3837         * math/w_acosf_compat.c: Likewise.
3838         * math/w_acosh_compat.c: Likewise.
3839         * math/w_acoshf_compat.c: Likewise.
3840         * math/w_acoshl_compat.c: Likewise.
3841         * math/w_acosl_compat.c: Likewise.
3842         * math/w_asin_compat.c: Likewise.
3843         * math/w_asinf_compat.c: Likewise.
3844         * math/w_asinl_compat.c: Likewise.
3845         * math/w_atan2_compat.c: Likewise.
3846         * math/w_atan2f_compat.c: Likewise.
3847         * math/w_atan2l_compat.c: Likewise.
3848         * math/w_atanh_compat.c: Likewise.
3849         * math/w_atanhf_compat.c: Likewise.
3850         * math/w_atanhl_compat.c: Likewise.
3851         * math/w_cosh_compat.c: Likewise.
3852         * math/w_coshf_compat.c: Likewise.
3853         * math/w_coshl_compat.c: Likewise.
3854         * math/w_exp10_compat.c: Likewise.
3855         * math/w_exp10f_compat.c: Likewise.
3856         * math/w_exp10l_compat.c: Likewise.
3857         * math/w_exp2_compat.c: Likewise.
3858         * math/w_exp2f_compat.c: Likewise.
3859         * math/w_exp2l_compat.c: Likewise.
3860         * math/w_fmod_compat.c: Likewise.
3861         * math/w_fmodf_compat.c: Likewise.
3862         * math/w_fmodl_compat.c: Likewise.
3863         * math/w_hypot_compat.c: Likewise.
3864         * math/w_hypotf_compat.c: Likewise.
3865         * math/w_hypotl_compat.c: Likewise.
3866         * math/w_j0_compat.c: Likewise.
3867         * math/w_j0f_compat.c: Likewise.
3868         * math/w_j0l_compat.c: Likewise.
3869         * math/w_j1_compat.c: Likewise.
3870         * math/w_j1f_compat.c: Likewise.
3871         * math/w_j1l_compat.c: Likewise.
3872         * math/w_jn_compat.c: Likewise.
3873         * math/w_jnf_compat.c: Likewise.
3874         * math/w_jnl_compat.c: Likewise.
3875         * math/w_log10_compat.c: Likewise.
3876         * math/w_log10f_compat.c: Likewise.
3877         * math/w_log10l_compat.c: Likewise.
3878         * math/w_log2_compat.c: Likewise.
3879         * math/w_log2f_compat.c: Likewise.
3880         * math/w_log2l_compat.c: Likewise.
3881         * math/w_log_compat.c: Likewise.
3882         * math/w_logf_compat.c: Likewise.
3883         * math/w_logl_compat.c: Likewise.
3884         * math/w_pow_compat.c: Likewise.
3885         * math/w_powf_compat.c: Likewise.
3886         * math/w_powl_compat.c: Likewise.
3887         * math/w_remainder_compat.c: Likewise.
3888         * math/w_remainderf_compat.c: Likewise.
3889         * math/w_remainderl_compat.c: Likewise.
3890         * math/w_scalb_compat.c: Likewise.
3891         * math/w_scalbf_compat.c: Likewise.
3892         * math/w_scalbl_compat.c: Likewise.
3893         * math/w_sinh_compat.c: Likewise.
3894         * math/w_sinhf_compat.c: Likewise.
3895         * math/w_sinhl_compat.c: Likewise.
3896         * math/w_sqrt_compat.c: Likewise.
3897         * math/w_sqrtf_compat.c: Likewise.
3898         * math/w_sqrtl_compat.c: Likewise.
3899         * math/w_tgamma_compat.c: Likewise.
3900         * math/w_tgammaf_compat.c: Likewise.
3901         * math/w_tgammal_compat.c: Likewise.
3903         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
3904         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
3905         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
3906         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
3907         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
3908         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3909         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
3910         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3911         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3912         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
3913         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
3914         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
3915         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
3916         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
3917         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
3918         * sysdeps/ia64/fpu/w_powl.c: Likewise.
3919         * sysdeps/ia64/fpu/w_powf.c: Likewise.
3920         * sysdeps/ia64/fpu/w_pow.c: Likewise.
3921         * sysdeps/ia64/fpu/w_logl.c: Likewise.
3922         * sysdeps/ia64/fpu/w_logf.c: Likewise.
3923         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3924         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3925         * sysdeps/ia64/fpu/w_log2.c: Likewise.
3926         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
3927         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
3928         * sysdeps/ia64/fpu/w_log10.c: Likewise.
3929         * sysdeps/ia64/fpu/w_log.c: Likewise.
3930         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
3931         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
3932         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
3933         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
3934         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
3935         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
3936         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3937         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3938         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3939         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3940         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3941         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3942         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
3943         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
3944         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
3945         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3946         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3947         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3948         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
3949         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
3950         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
3951         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
3952         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
3953         * sysdeps/ia64/fpu/w_asin.c: Likewise.
3954         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3955         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3956         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3957         * sysdeps/ia64/fpu/w_acos.c: Likewise.
3958         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
3959         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
3960         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
3961         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
3962         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
3963         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
3964         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
3965         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
3966         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
3967         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
3968         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
3969         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
3970         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
3971         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
3972         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
3973         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
3974         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
3975         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
3976         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
3977         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
3978         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
3979         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
3980         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
3981         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
3982         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
3983         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
3984         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
3985         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
3986         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
3987         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
3988         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
3989         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
3990         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
3991         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
3992         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
3993         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
3994         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
3995         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
3996         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
3997         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
3998         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
3999         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
4000         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
4001         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
4002         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
4003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
4004         Likewise.
4005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
4006         Likewise.
4007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
4008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
4009         Likewise.
4010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
4011         Likewise.
4012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
4013         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4014         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4015         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4016         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4017         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4018         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
4020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
4022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4023         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4024         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4025         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4026         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4028         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
4029         and adjusted for new #includes path
4030         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
4031         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
4032         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
4033         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
4034         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
4035         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
4036         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
4037         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
4038         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
4039         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
4040         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
4041         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
4042         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
4043         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
4044         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
4045         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
4046         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
4047         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
4048         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
4049         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
4050         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
4051         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
4052         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
4053         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
4054         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
4055         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
4056         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
4057         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
4058         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
4059         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
4060         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
4061         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
4062         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
4063         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
4064         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
4065         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
4066         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
4067         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
4068         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
4069         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
4070         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
4071         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
4072         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
4073         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
4074         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
4075         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
4076         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
4077         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
4078         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
4079         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
4080         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
4081         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
4082         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
4083         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
4084         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
4085         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
4086         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
4087         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
4088         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
4089         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4090         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4091         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
4092         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4093         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
4094         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4095         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
4096         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4097         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
4098         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4099         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
4100         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
4101         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
4102         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4103         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
4104         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4105         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
4106         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4107         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
4108         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4109         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
4110         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4111         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
4112         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4113         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
4114         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4115         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
4116         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4117         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
4118         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4119         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
4120         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4121         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
4122         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
4123         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
4124         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4125         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
4126         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4127         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
4128         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
4130         Likewise.
4131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
4132         Likewise.
4133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
4134         Likewise.
4135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
4136         Likewise.
4137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
4138         Likewise.
4139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
4140         Likewise.
4141         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
4142         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
4143         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
4144         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
4145         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
4146         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
4147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
4148         Likewise.
4149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
4150         Likewise.
4151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
4152         Likewise.
4153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
4154         Likewise.
4155         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
4156         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
4157         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
4158         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
4160 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4162         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
4163         __jmp_buf_internal_tag.
4165         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
4166         preserve NaN payload if [__mips_nan2008].
4167         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4169         [BZ #21022]
4170         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
4172 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4174         * sysdeps/i386/fpu/libm-test-ulps: Update.
4176 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4178         * sysdeps/ia64/strcat.c: Remove file.
4179         * sysdeps/powerpc/strcat.c: Likewise.
4180         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
4181         C implementation.
4182         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
4183         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
4185 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4186             Steven Munroe  <sjmunroe@us.ibm.com>
4187             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4189         [BZ #20822]
4190         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4191         (__lll_lock_elision): Access adapt_count via C11 atomics.
4192         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4193         (__lll_trylock_elision): Likewise.
4194         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4195         (__lll_unlock_elision):  Update adapt_count variable inside the
4196         critical section using C11 atomics.
4198 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4200         * math/test-fenvinline.c (do_test): Disable tests of raised
4201         exceptions if !EXCEPTION_TESTS (FLOAT).
4203 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4205         [BZ #19390]
4206         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
4207         maximum string size.
4208         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
4209         in pointer addition.
4210         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
4211         Likewise.
4213 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4215         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
4216         passed to tst-ldconfig-X.sh.
4218 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
4220         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
4222 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4224         [BZ #21019]
4225         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
4226         New syscall entry.
4227         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
4228         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
4229         lseek.
4231         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4232         power4 glibc for powerpc-linux-gnu.
4234 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4236         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
4237         semctl.
4239 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4241         * math/test-nearbyint-except.c: Include <stdbool.h>.
4242         (any_supported): New variable.
4243         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
4244         set any_supported.
4245         (do_test): Return 77 if no floating-point type supported
4246         exceptions.
4248         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
4249         condition on [__mips_hard_float].
4251 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4253         [BZ #21014]
4254         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
4255         in pointer addition.
4256         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
4258 2017-01-02  Torvald Riegel  <triegel@redhat.com>
4260         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
4261         new condvar.
4263 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4265         * scripts/build-many-glibcs.py (Context.checkout): Default
4266         binutils version to 2.28 branch.
4268 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4270         * support/support_format_netent.c (support_format_netent): Work
4271         around alpha struct netent definition difference.
4273 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4275         * support/xwrite.c (xwrite): Use %td for pointer difference.
4277 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4279         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
4280         have-tunables only.
4281         (tests-static): Add tst-malloc-usable-static-tunables for
4282         have-tunables only.
4284 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
4286         * scripts/config.guess: Update to version 2017-01-01.
4287         * scripts/config.sub: Update to version 2017-01-01.
4289         * NEWS: Update copyright dates.
4290         * catgets/gencat.c (print_version): Likewise.
4291         * csu/version.c (banner): Likewise.
4292         * debug/catchsegv.sh: Likewise.
4293         * debug/pcprofiledump.c (print_version): Likewise.
4294         * debug/xtrace.sh (do_version): Likewise.
4295         * elf/ldconfig.c (print_version): Likewise.
4296         * elf/ldd.bash.in: Likewise.
4297         * elf/pldd.c (print_version): Likewise.
4298         * elf/sotruss.sh: Likewise.
4299         * elf/sprof.c (print_version): Likewise.
4300         * iconv/iconv_prog.c (print_version): Likewise.
4301         * iconv/iconvconfig.c (print_version): Likewise.
4302         * locale/programs/locale.c (print_version): Likewise.
4303         * locale/programs/localedef.c (print_version): Likewise.
4304         * login/programs/pt_chown.c (print_version): Likewise.
4305         * malloc/memusage.sh (do_version): Likewise.
4306         * malloc/memusagestat.c (print_version): Likewise.
4307         * malloc/mtrace.pl: Likewise.
4308         * manual/libc.texinfo: Likewise.
4309         * nptl/version.c (banner): Likewise.
4310         * nscd/nscd.c (print_version): Likewise.
4311         * nss/getent.c (print_version): Likewise.
4312         * nss/makedb.c (print_version): Likewise.
4313         * posix/getconf.c (main): Likewise.
4314         * scripts/test-installation.pl: Likewise.
4315         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4317         * All files with FSF copyright notices: Update copyright dates
4318         using scripts/update-copyrights.
4319         * intl/plural.c: Regenerated.
4320         * locale/programs/charmap-kw.h: Likewise.
4321         * locale/programs/locfile-kw.h: Likewise.
4323 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4325         [BZ #20593]
4326         Update DNS RR type definitions.
4327         * scripts/gen-rrtypes.py: New file.
4328         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
4329         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
4330         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
4331         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
4332         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
4333         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
4334         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
4335         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
4336         ns_t_ta, ns_t_dlv.
4337         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
4338         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
4339         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
4340         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
4341         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
4342         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
4343         Define.
4344         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
4345         entry for ns_t_zxfr.
4347 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4349         [BZ #18784]
4350         CVE-2015-5180
4351         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
4352         T_UNSPEC.  Adjust value.
4353         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
4354         * resolv/res_query.c (__libc_res_nquery): Likewise.
4355         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
4356         QTYPEs.
4357         * resolv/tst-resolv-qtypes.c: New file.
4358         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
4359         (tst-resolv-qtypes): Link against libresolv and libpthread.
4361 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4363         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
4365 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4367         * manual/tunables.texi: New chapter.
4368         * manual/Makefile (chapters): Add it.
4369         * manual/probes.texi (@node): Point to the Tunables chapter.
4371         * Makeconfig (have-tunables): Check for non-negative instead
4372         of positive.
4373         * configure.ac: Add 'valstring' as a valid value for
4374         --enable-tunables.
4375         * configure: Regenerate.
4376         * elf/Makefile (have-tunables): Check for non-negative instead
4377         of positive.
4378         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
4379         dl-tunables.c.
4380         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
4381         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4382         (tunables_strdup): Likewise.
4383         (disable_tunables): Likewise.
4384         (parse_tunables): Likewise.
4385         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
4386         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4387         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
4388         (TUNABLES_FRONTEND_yes): New macro, define as
4389         TUNABLES_FRONTEND_valstring by default.
4390         * manual/install.texi: Document new acceptable values for
4391         --enable-tunables.
4392         * INSTALL: Regenerate.
4394         * config.make.in (have-loop-to-function): Define.
4395         * elf/Makefile (CFLAGS-dl-tunables.c): Add
4396         -fno-tree-loop-distribute-patterns.
4397         * elf/dl-tunables.c: Include libc-internals.h.
4398         (GLIBC_TUNABLES): New macro.
4399         (tunables_strdup): New function.
4400         (parse_tunables): New function.
4401         (min_strlen): New function.
4402         (__tunables_init): Use the new functions and macro.
4403         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
4404         * malloc/tst-malloc-usable-tunables.c: New test case.
4405         * malloc/tst-malloc-usable-static-tunables.c: New test case.
4406         * malloc/Makefile (tests, tests-static): Add tests.
4408         * manual/install.texi: Add --enable-tunables option.
4409         * INSTALL: Regenerate.
4410         * README.tunables: New file.
4411         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
4412         (before-compile): Generate dl-tunable-list.h early.
4413         * config.h.in: Add HAVE_TUNABLES.
4414         * config.make.in: Add have-tunables.
4415         * configure.ac: Add --enable-tunables option.
4416         * configure: Regenerate.
4417         * csu/init-first.c (__libc_init_first): Move
4418         __libc_init_secure earlier...
4419         * csu/init-first.c (LIBC_START_MAIN):... to here.
4420         Include dl-tunables.h, libc-internal.h.
4421         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
4422         binaries.
4423         * elf/Makefile (dl-routines): Add dl-tunables.
4424         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
4425         namespace.
4426         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
4427         only when !HAVE_TUNABLES.
4428         * elf/rtld.c (process_envvars): Likewise.
4429         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
4430         (_dl_sysdep_start): Call __tunables_init.
4431         * elf/dl-tunable-types.h: New file.
4432         * elf/dl-tunables.c: New file.
4433         * elf/dl-tunables.h: New file.
4434         * elf/dl-tunables.list: New file.
4435         * malloc/tst-malloc-usable-static.c: New test case.
4436         * malloc/Makefile (tests-static): Add it.
4437         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
4438         Define TUNABLE_NAMESPACE.
4439         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
4440         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
4441         callback functions.
4442         (ptmalloc_init): Set tunable values.
4443         * scripts/gen-tunables.awk: New file.
4444         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
4445         (_dl_sysdep_start): Call __tunables_init.
4447 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4449         * resolv/resolv.h (RES_BLAST): Deprecate.
4450         * resolv/res_debug.c (p_option): Remove RES_BLAST.
4451         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
4452         to RES_BLAST.
4454 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4456         [BZ #19582]
4457         Deprecate RES_USE_INET6.
4458         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
4459         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
4460         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
4461         RES_USE_INET6.
4462         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
4463         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
4464         (_nss_nisplus_gethostbyaddr_r): Likewise.
4465         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
4466         of res_use_inet6.
4467         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
4468         instead of RES_USE_INET6.
4469         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
4470         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
4471         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
4472         Likewise.
4473         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
4474         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
4475         Likewise.
4476         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
4477         (_nss_dns_gethostbyname_r): Likewise.
4478         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
4479         alternate RES_USE_INET6 handling.
4480         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
4481         instead of RES_USE_INET6.
4482         * resolv/res_init.c (res_setoptions): Likewise.
4483         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
4484         * resolv/resolv-internal.h: New file.
4485         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
4486         make the deprecation warning non-fatal.
4487         * resolv/README (Using the resolver in multi-threaded code): Drop
4488         reference to RES_USE_INET6.
4489         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
4490         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
4492 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4494         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
4495         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
4496         tst-resolv-search.
4497         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
4498         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
4499         with libresolv and libpthread.
4500         * resolv/tst-bug18665.c: New file.
4501         * resolv/tst-bug18665-tcp: Likewise.
4502         * resolv/tst-res_use_inet6: Likewise.
4503         * resolv/tst-resolv-basic: Likewise.
4504         * resolv/tst-resolv-network: Likewise.
4505         * resolv/tst-resolv-search: Likewise.
4506         * support/Makefile (libsupport-routines): Add check_addrinfo,
4507         check_dns_packet, check_hostent, check_netent, resolv_test,
4508         support_format_address_family, support_format_addrinfo,
4509         support_format_dns_packet, support_format_herrno,
4510         support_format_hostent, support_format_netent, support_run_diff,
4511         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
4512         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
4513         xstrdup, xwrite.
4514         * support/check_addrinfo.c: New file.
4515         * support/check_dns_packet.c: Likewise.
4516         * support/check_hostent.c: Likewise.
4517         * support/check_netent.c: Likewise.
4518         * support/check_nss.h: Likewise.
4519         * support/format_nss.h: Likewise.
4520         * support/resolv_test.c: Likewise.
4521         * support/resolv_test.h: Likewise.
4522         * support/run_diff.h: Likewise.
4523         * support/support_format_address_family.c: Likewise.
4524         * support/support_format_addrinfo.c: Likewise.
4525         * support/support_format_dns_packet.c: Likewise.
4526         * support/support_format_herrno.c: Likewise.
4527         * support/support_format_hostent.c: Likewise.
4528         * support/support_format_netent.c: Likewise.
4529         * support/support_run_diff.c: Likewise.
4530         * support/xaccept.c: Likewise.
4531         * support/xbind.c: Likewise.
4532         * support/xconnect.c: Likewise.
4533         * support/xfclose.c: Likewise.
4534         * support/xfopen.c: Likewise.
4535         * support/xgetsockname.c: Likewise.
4536         * support/xlisten.c: Likewise.
4537         * support/xmemstream.c: Likewise.
4538         * support/xmemstream.h: Likewise.
4539         * support/xpoll.c: Likewise.
4540         * support/xpthread_once.c: Likewise.
4541         * support/xrecvfrom.c: Likewise.
4542         * support/xsendto.c: Likewise.
4543         * support/xsetsockopt.c: Likewise.
4544         * support/xstdio.h: Likewise.
4545         * support/xstrdup.c: Likewise.
4546         * support/support.h (xstrdup): Declare.
4547         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
4548         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
4549         * support/xthread.h (xpthread_once): Likwise.
4550         * support/xunistd.h (xwrite): Declare.
4552 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4554         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
4555         (test_verbose): Declare.
4556         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
4557         * support/support_test_main.c (default_options): Likewise.
4558         (usage, support_test_main): Handle 'v'.
4559         (test_verbose): Define.
4560         * support/tst-support_record_failure.c (do_test): Use
4561         test_verbose.
4562         * support/tst-support_record_failure-2.sh (different_status): Add
4563         --verbose test.
4565 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4567         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
4568         test failures are recorded.
4569         * support/check.c (support_print_failure_impl): Call
4570         support_record_failure.
4571         (support_exit_failure_impl): Call support_record_failure if status
4572         indicates failure.
4573         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
4574         * support/xasprintf.c (xasprintf): Likewise.
4575         * support/xfork.c (xfork): Likewise.
4576         * support/xpthread_check_return.c (xpthread_check_return):
4577         Likewise.
4578         * support/xsocket.c (xsocket): Likeweise.
4579         * support/xwaitpid.c (xwaitpid): Likewise.
4580         * support/support_record_failure.c (struct test_failures): Adjust
4581         to coding style.
4582         * support/support_test_verify_impl.c (support_test_verify_impl):
4583         Adjust error messages.
4584         * support/tst-support_record_failure-2.sh (different_status):
4585         Adjust error messages.
4587 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4589         * support/namespace.h: New file.
4590         * support/support_become_root.c: Likewise.
4591         * support/support_enter_network_namespace.c: Likewise.
4592         * support/tst-support-namespace.c: Likewise.
4593         * support/xsocket.c: Likewise.
4594         * support/xsocket.h: Likewise.
4595         * support/Makefile (libsupport-routines): Add support_become_root,
4596         support_enter_network_namespace, xsocket.
4597         (tests): Add tst-support-namespace.
4599 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4601         [BZ #17252]
4602         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
4603         __USE_GNU.
4605 2016-12-31  Torvald Riegel  <triegel@redhat.com>
4607         [BZ #13165]
4608         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
4609         use new algorithm.
4610         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4611         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4612         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4613         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4614         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
4615         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
4616         __condvar_cleanup_waiting, __condvar_dec_grefs,
4617         __pthread_cond_wait_common): New.
4618         (__condvar_cleanup): Remove.
4619         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
4620         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
4621         Likewise.
4622         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
4623         Likewise.
4624         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
4625         * nptl/tst-cond1.c: Add comment.
4626         * nptl/tst-cond20.c (do_test): Adapt.
4627         * nptl/tst-cond22.c (do_test): Likewise.
4628         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
4629         structure.
4630         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4631         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4632         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4633         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
4634         Likewise.
4635         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4636         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4637         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4638         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4639         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4640         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
4641         Likewise.
4642         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
4643         Likewise.
4644         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4645         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
4646         (COND_CLOCK_BITS): Adapt.
4647         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
4648         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
4649         __PTHREAD_COND_SHARED_MASK): New.
4650         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
4651         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
4652         * nptl/nptl_lock_constants.pysym: Adapt.
4653         * nptl/test-cond-printers.py: Adapt.
4654         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
4655         cond_compat_check_and_clear): Adapt.
4656         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
4657         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4658         (__pthread_cond_timedwait): ... and move here.
4659         * nptl/DESIGN-condvar.txt: Remove file.
4660         * nptl/lowlevelcond.sym: Likewise.
4661         * nptl/pthread_cond_timedwait.c: Likewise.
4662         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
4663         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
4664         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
4665         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
4666         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
4667         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
4668         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
4669         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
4670         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
4671         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
4672         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
4673         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
4674         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
4675         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
4676         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
4677         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
4679 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
4681         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4682         (fromfp): New declaration.
4683         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4685         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4686         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
4687         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
4688         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4690         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4691         * math/math.h: Include <bits/types.h>.
4692         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
4693         constant and macro.
4694         (FP_INT_DOWNWARD): Likewise.
4695         (FP_INT_TOWARDZERO): Likewise.
4696         (FP_INT_TONEARESTFROMZERO): Likewise.
4697         (FP_INT_TONEAREST): Likewise.
4698         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
4699         (fromfpf): Likewise.
4700         (fromfpl): Likewise.
4701         (ufromfp): Likewise.
4702         (ufromfpf): Likewise.
4703         (ufromfpl): Likewise.
4704         (fromfpx): Likewise.
4705         (fromfpxf): Likewise.
4706         (fromfpxl): Likewise.
4707         (ufromfpx): Likewise.
4708         (ufromfpxf): Likewise.
4709         (ufromfpxl): Likewise.
4710         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
4711         s_fromfpxF and s_ufromfpxF.
4712         * math/gen-fromfp-tests.py: New file.
4713         * math/gen-fromfp-tests-inputs: Likewise.
4714         * math/libm-test.inc: Include <stdint.h>
4715         (check_intmax_t): New function.
4716         (check_uintmax_t): Likewise.
4717         (struct test_fiu_M_data): New type.
4718         (struct test_fiu_U_data): Likewise.
4719         (RUN_TEST_fiu_M): New macro.
4720         (RUN_TEST_LOOP_fiu_M): Likewise.
4721         (RUN_TEST_fiu_U): Likewise.
4722         (RUN_TEST_LOOP_fiu_U): Likewise.
4723         (fromfp_test_data): New array.
4724         (fromfp_test): New function.
4725         (fromfpx_test_data): New array.
4726         (fromfpx_test): New function.
4727         (ufromfp_test_data): New array.
4728         (ufromfp_test): New function.
4729         (ufromfpx_test_data): New array.
4730         (ufromfpx_test): New function.
4731         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
4732         ufromfpx_test.
4733         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
4734         characters.
4735         * math/test-tgmath-ret.c: Include <stdint.h>.
4736         (rm): New variable.
4737         (width): Likewise.
4738         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
4739         called function.
4740         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
4741         CHECK_RET_CONST_TYPE.
4742         (CHECK_RET_CONST_DOUBLE): Likewise.
4743         (CHECK_RET_CONST_LDOUBLE): Likewise.
4744         (CHECK_RET_CONST): Take extra arguments and pass them to calls
4745         macros.
4746         (fromfp): New CHECK_RET_CONST call.
4747         (ufromfp): Likewise.
4748         (fromfpx): Likewise.
4749         (ufromfpx): Likewise.
4750         (do_test): Call check_return_fromfp, check_return_ufromfp,
4751         check_return_fromfpx and check_return_ufromfpx.
4752         * math/test-tgmath.c: Include <stdint.h>
4753         (NCALLS): Increase to 138.
4754         (F(compile_test)): Initialize i.  Call fromfp functions.
4755         (F(fromfp)): New function.
4756         (F(fromfpx)): Likewise.
4757         (F(ufromfp)): Likewise.
4758         (F(ufromfpx)): Likewise.
4759         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
4760         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
4761         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
4762         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
4763         ufromfpxl.
4764         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
4765         ufromfp and ufromfpx.
4766         * math/fromfp.h: New file.
4767         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
4768         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
4769         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
4770         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
4771         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
4772         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
4773         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
4774         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
4775         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
4776         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
4777         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
4778         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
4779         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
4780         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
4781         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
4782         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
4783         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
4784         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
4785         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
4786         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
4787         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
4788         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
4789         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
4790         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
4791         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
4792         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
4793         ufromfp, fromfpx and ufromfpx.
4794         (CFLAGS-nldbl-fromfp.c): New variable.
4795         (CFLAGS-nldbl-fromfpx.c): Likewise.
4796         (CFLAGS-nldbl-ufromfp.c): Likewise.
4797         (CFLAGS-nldbl-ufromfpx.c): Likewise.
4798         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
4799         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
4800         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
4801         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
4802         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
4803         * sysdeps/nacl/libm.abilist: Update.
4804         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4805         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4806         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4807         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4808         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4809         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4810         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4811         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4812         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4813         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4814         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4815         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4817         Likewise.
4818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4819         Likewise.
4820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4821         Likewise.
4822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4823         Likewise.
4824         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4825         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4826         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4827         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4828         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4830         Likewise.
4831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4832         Likewise.
4833         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4834         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4835         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4837 2016-12-30  Florian Weimer  <fweimer@redhat.com>
4839         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
4840         compat-gethnamaddr.
4841         (CPPFLAGS): Remove.
4842         * resolv/gethnamaddr.c: Rename ...
4843         * resolv/compat-gethnamaddr.c: ... to this file.
4844         (_endhtent): Make static.
4845         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
4846         symbol.
4847         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
4848         compat symbol.
4849         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
4850         symbol.
4851         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
4852         Turn into compat symbol.
4853         * include/resolv.h (_endhtent): Remove declaration.
4855 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
4857         * bits/types.h (__intmax_t): New typedef.
4858         (__uintmax_t): Likewise.
4859         * sysdeps/generic/stdint.h: Include <bits/types.h>.
4860         (intmax_t): Define using __intmax_t.
4861         (uintmax_t): Define using __uintmax_t.
4863         * support/Makefile (tests-special): Make definition conditional on
4864         [$(run-built-tests) = yes].
4865         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
4866         on [$(run-built-tests) = yes].
4868 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4870         * Rules (tests): Add tests-printers-programs to tests to be
4871         built.
4873 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4875         * sysvipc/Makefile (tests): Add test-sysvshm.
4876         * sysvipc/test-sysvshm.c: New file.
4878         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
4879         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
4880         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
4881         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
4882         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
4883         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
4884         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
4885         Likewise.
4886         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
4887         Likewise.
4888         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
4889         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
4890         is defined.
4892         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
4893         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
4894         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
4895         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
4896         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
4897         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
4898         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
4899         Likewise.
4900         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
4901         Likewise.
4902         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
4903         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
4904         defined.
4906         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4907         oldshmctl.
4908         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
4909         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
4910         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
4911         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
4912         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
4913         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
4914         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
4915         Likewise.
4916         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
4917         Likewise.
4918         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
4919         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
4920         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
4921         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
4922         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
4923         implementation.
4924         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
4925         if it is defined.
4927         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
4928         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
4929         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
4930         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
4931         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
4932         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
4933         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
4934         Likewise.
4935         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
4936         Likewise.
4937         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
4938         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4939         Define to __NR_osf_shmat.
4940         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
4941         defined.
4943         * sysvipc/Makefile (tests): Add test-sysvsem.
4944         * sysvipc/test-sysvsem.c: New file.
4946         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
4947         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
4948         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
4949         Likewise.
4950         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
4951         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
4952         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
4953         Likewise.
4954         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
4955         Likewise.
4956         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
4957         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
4958         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
4959         add a comment about s390 syscall difference from default one.
4960         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
4961         syscall if it is defined.
4963         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
4964         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
4965         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
4966         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
4967         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
4968         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
4969         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
4970         Likewise.
4971         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
4972         Likewise.
4973         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
4974         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
4975         defined.
4977         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
4978         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
4979         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
4980         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
4981         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
4982         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
4983         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
4984         Likewise.
4985         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
4986         Likewise.
4987         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
4988         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
4989         if it is defined.
4991         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4992         oldsemctl.
4993         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
4994         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
4995         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
4996         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4997         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
4998         implementation.
4999         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
5000         syscall if it is defined.
5001         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
5002         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
5003         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
5004         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
5005         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
5006         Likewise.
5007         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
5009         * sysvipc/Makefile (tests): Add test-sysvmsg.
5010         * sysvipc/test-sysvmsg.c: New file.
5011         * support/check.h (FAIL_UNSUPPORTED): New define.
5013         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
5014         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
5015         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
5016         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
5017         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
5018         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
5019         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
5020         Likewise.
5021         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
5022         Likewise.
5023         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
5024         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
5025         define.
5027         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
5028         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
5029         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
5030         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
5031         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
5032         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
5033         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
5034         Likewise.
5035         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
5036         Likewise.
5037         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
5038         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
5039         if defined.
5041         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
5042         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
5043         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5044         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5045         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5046         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
5047         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5048         Likewise.
5049         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
5050         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
5051         Likewise.
5052         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
5053         if defined.
5054         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
5056         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5057         oldmsgctl.
5058         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
5059         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
5060         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
5061         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
5062         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5063         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5064         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5065         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5066         Likewise.
5067         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
5068         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
5069         implementation.
5070         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
5071         if defined.
5073         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
5074         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
5075         definition and define its own.
5076         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
5077         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
5078         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
5079         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
5080         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
5081         definitions to common header.
5082         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
5083         operation from ipc_ops.h.
5085         * sysdeps/unix/sysv/linux/kernel-features.h
5086         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
5087         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5088         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
5089         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5090         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5091         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5092         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5093         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5094         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5095         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5096         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5097         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5098         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5099         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5100         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5102 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5104         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
5105         overflow in pointer addition.
5107 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5109         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5110         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
5111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5112         (strchr): Add __strchr_power8 to list of strchr functions.
5113         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
5114         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
5115         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
5116         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
5117         (strchr): Add __strchr_power8 to ifunc list.
5118         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
5119         (__strchrnul): Add __strchrnul_power8 to ifunc list.
5120         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
5121         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
5123 2016-12-28  Florian Weimer  <fweimer@redhat.com>
5125         * support/Makefile (libsupport-routines): Add
5126         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
5127         (tests): Add tst-support_record_failure.
5128         (tests-special): tst-support_record_failure-2.
5129         (tst-support_record_failure-2.out): Depend on
5130         tst-support_record_failure-2.sh and tst-support_record_failure.
5131         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
5132         (support_test_verify_impl, support_record_failure)
5133         (support_report_failure, support_report_failure_reset): Declare.
5134         * support/support_test_main.c (adjust_exit_status): New function.
5135         (support_test_main): Call it to incorporate record test failures.
5136         * support/support_test_verify_impl.c: New file.
5137         * support/support_record_failure.c: Likewise.
5138         * support/tst-support_record_failure.c: Likewise.
5139         * support/tst-support_record_failure-2.sh: Likewise.
5140         * support/xunistd.h: Likewise.
5141         * support/xfork.c: Likewise.
5142         * support/xwaitpid.c: Likewise.
5144 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
5146         * scripts/check-c++-types.sh: Add comments.
5148 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
5150         [BZ #19514]
5151         * resolv/res_send.c: Fix typo in comment.
5152         * sysdeps/i386/i386-mcount.S: Likewise.
5153         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5154         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5155         * sysdeps/sparc/sparc-mcount.S: Likewise.
5157 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5159         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
5160         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
5161         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
5162         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
5163         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
5164         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
5165         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
5166         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
5168 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5170         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
5172 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5174         [BZ #17252]
5175         * posix/unistd.h (getentropy): Declare.
5177 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5179         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
5180         Remove.
5181         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
5182         (cmd): Remove spoof, nospoof, spoofalert.
5183         (parse_line): Ignore spoof-related lines.
5184         (do_init): Do not process RESOLV_SPOOF_CHECK.
5186 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5188         [BZ #20964]
5189         sunrpc: Always obtain AF_INET addresses from NSS.
5190         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
5191         * sunrpc/rpc_gethostbyname.c: New file.
5192         * sunrpc/Makefile (routines): Add it.
5193         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
5194         * sunrpc/clnt_simp.c (callrpc): Likewise.
5195         * sunrpc/getrpcport.c (getrpcport): Likewise.
5197 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5199         * sunrpc/rpcinfo.c: Remove.
5200         * sunrpc/Makefile: Remove comments referring to rpcinfo.
5202 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5204         [BZ# 19387]
5205         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
5206         addition.
5207         * string/test-memchr.c (do_test): Remove alignment limitation.
5208         (test_main): Add test that trigger BZ# 19387.
5210 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5212         [BZ #7065]
5213         Enable stack protectore if requested by ./configure.
5214         * Makeconfig (+stack-protector): New variable.
5215         (+cflags): Use it.
5217 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5219         [BZ #7065]
5220         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
5221         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
5222         (__rt_sigreturn_stub): Use inhibit_stack_protector.
5223         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5224         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
5226 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5228         [BZ #7065]
5229         * login/Makefile (pt_chown-cflags): Remove.
5230         * nscd/Makefile (CFLAGS-nscd): Likewise.
5231         * resolv/Makefile (CFLAGS-libresolv): Likewise.
5233 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5235         [BZ #7065]
5236         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
5237         non-libc-linking testcase.
5239 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5240             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5241             Florian Weimer  <fweimer@redhat.com>
5243         [BZ #7065]
5244         PLT avoidance for __stack_chk_fail*.
5245         * debug/Makefile (CFLAGS-stack_chk_fail.c)
5246         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
5247         * debug/stack_chk_fail.c (__stack_chk_fail): Add
5248         __stack_chk_fail_local alias.
5249         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
5250         (__stack_chk_fail): Turn into hidden reference to
5251         __stack_chk_fail_local.
5253 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5255         [BZ #7065]
5256         * configure.ac: Add check for unsupported stack-protection level.
5257         (libc_cv_predef_stack_protector): Remove.
5258         (no_ssp): New variable.
5259         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
5260         (stack_protector): Set to -fno-stack-protector similarly.
5261         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
5262         (libc_cv_asm_set_directive): Likewise.
5263         (libc_cv_protected_data): Likewise.
5264         (libc_cv_z_combreloc): Likewise.
5265         (libc_cv_hashstyle): Likewise.
5266         (libc_cv_has_glob_dat): Likewise.
5267         (libc_cv_output_format): Likewise.
5268         (libc_cv_output_format): Likewise.
5269         (libc_cv_ehdr_start): Likewise.
5270         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
5271         (LIBC_LINKER_FEATURE): Likewise.
5272         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
5274 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5276         [BZ #7065]
5277         * elf/Makefile (dummy-stack-chk-fail): New.
5278         (librtld.map): Use it.
5280 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5282         [BZ #7065]
5283         Compile the dynamic linker without stack protection.
5284         * elf/Makefile (elide-stack-protector): New.
5285         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
5286         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
5287         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
5288         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
5290 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5292         [BZ #7065]
5293         * config.make.in (have-ssp, no-stack-protector): New.
5294         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
5295         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
5296         (CFLAGS-sbrk.op): Likewise.
5297         (CFLAGS-brk.o): Likewise.
5298         (CFLAGS-brk.op): Likewise.
5299         * string/Makefile (CFLAGS-memcpy.c): Likewise.
5300         (CFLAGS-wordcopy.c): Likewise.
5302 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5304         [BZ #7065]
5305         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
5306         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
5307         * include/libc-symbols.h (inhibit_stack_protector): New macro.
5308         (__ifunc_resolver): Use it.
5309         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
5310         inhibit_stack_protector.
5311         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
5312         * elf/ifuncmain7.c (foo_ifunc): Likewise.
5313         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
5314         (foo_protected_ifunc): Likewise.
5315         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
5316         (foo_protected_ifunc): Likewise.
5317         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5318         * sysdeps/nacl/nacl_interface_query.c
5319         (nacl_interface_query_ifunc): Likewise.
5320         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5321         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
5322         Likewise.
5323         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
5324         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
5325         the generated vDSO syscall resolver.
5327 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5328             Florian Weimer  <fweimer@redhat.com>
5330         [BZ #7065]
5331         Initialize the stack guard earlier when linking statically.
5332         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
5333         (__pthread_initialize_minimal): Declare.
5334         * csu/libc-start.c (__pthread_initialize_minimal): Remove
5335         declaration.
5336         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
5337         stack canary and apply_irel initialization up.  Call
5338         __pthread_initialize_minimal only if linked in.
5339         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
5340         constant values.
5341         (__pthread_initialize_minimal): Remove.
5342         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
5343         (__pthread_initialize_minimal_internal): Do not call
5344         __libc_setup_tls.
5346 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5348         [BZ #7065]
5349         * configure.ac (libc_cv_ssp): Move up.
5350         (libc_cv_ssp_strong): Likewise.
5351         (libc_cv_ssp_all): New.
5352         (stack_protector): Augment, adding -fstack-protector-all.
5353         (no_stack_protector): New.
5354         (STACK_PROTECTOR_LEVEL): New.
5355         (AC_ARG_ENABLE(stack-protector)): New configure flag.
5356         * manual/install.texi (--enable-stack-protector): Document it.
5357         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
5359 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
5361         * README.pretty-printers: Must specify CPPFLAGS-* also.
5362         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
5363         (CPPFLAGS-test-mutex-printers.c): Define.
5364         (CPPFLAGS-test-condattr-printers.c): Define.
5365         (CPPFLAGS-test-cond-printers.c): Define.
5366         (CPPFLAGS-test-rwlockattr-printers.c): Define.
5367         (CPPFLAGS-test-rwlock-printers.c): Define.
5369         * nss/Makefile [ifeq (yes,$(have-thread-library))]
5370         (tests): Add tst-cancel-getpwuid_r.
5371         * nss/tst-cancel-getpwuid_r.c: New file.
5373         [BZ #11941]
5374         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
5375         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
5376         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
5377         tst-nodelete-dlclose.
5378         (modules-names): Add tst-nodelete-dlclose-dso and
5379         tst-nodelete-dlclose-plugin.
5380         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
5381         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
5382         ($(objpfx)tst-nodelete-dlclose): Define.
5383         ($(objpfx)tst-nodelete-dlclose.out): Define.
5385 2016-12-23  Florian Weimer  <fweimer@redhat.com>
5387         * scripts/test_printers_common.py: Log GDB output in case of
5388         Python detection failure.
5390 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5392         * configure.ac: Check for python3 or python.
5393         * configure: Regenerated.
5394         * config.make.in (PYTHON): New variable.
5395         * benchtests/Makefile: Don't define PYTHON.
5396         (bench): Define target only if PYTHON was defined.
5397         * Rules: Don't define PYTHON.
5398         Define pretty printer targets only if PYTHON was defined.
5399         (tests-printers): Add to tests-unsupported if PYTHON is not
5400         found.
5401         (python-flags, python-invoke): Remove.
5402         (tests-printers-out): Use PYTHON instead of python-invoke.
5404 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5406         [BZ #20978]
5407         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5408         Compare name == NULL, not name != NULL.
5410         * manual/texinfo.tex: Update to version 2016-09-18.18 with
5411         trailing whitespace removed.
5412         * scripts/config.guess: Update to version 2016-10-02.
5413         * scripts/config.sub: Update to version 2016-11-19.
5414         * scripts/install-sh: Update to version 2016-01-11.22.
5415         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
5416         * scripts/move-if-change: Update to version 2016-01-11 22:04.
5418 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
5420         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
5421         (do_one_test) Restore original string so iteration works.
5422         * string/string-inlines.c (do_test): Create better input strings.
5423         (test_main) Reduce number of testruns.
5424         * string/string-inlines.c (__old_strsep_1c): New function.
5425         (__old_strsep_2c): Likewise.
5426         (__old_strsep_3c): Likewise.
5427         * string/strsep.c (__strsep): Remove case of small delim string.
5428         Call strcspn directly rather than strpbrk.
5429         * string/bits/string2.h (__strsep): Remove define.
5430         (__strsep_1c): Remove.
5431         (__strsep_2c): Remove.
5432         (__strsep_3c): Remove.
5433         (strsep): Remove.
5434         * sysdeps/unix/sysv/linux/internal_statvfs.c
5435         (__statvfs_getflags): Rename to __strsep.
5437 2016-12-21  Florian Weimer  <fweimer@redhat.com>
5439         * csu/libc-tls.c (_dl_tls_setup): Remove.
5440         * elf/dl-tls.c (_dl_tls_setup): Likewise.
5441         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
5442         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
5444 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5446         [BZ #7065]
5447         * sysdeps/x86_64/Makefile [$(subdir) = elf]
5448         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
5450 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5451             Florian Weimer  <fweimer@redhat.com>
5453         [BZ #7065]
5454         * csu/Makefile (tests): Empty assignment and document it.
5455         (tests-static): Remove.
5456         * csu/tst-empty.c: Move to...
5457         * misc/tst-empty.c: ... here.  Switch to new test driver.
5458         * csu/tst-atomic.c: Move to...
5459         * misc/tst-atomic.c: ... here.  Switch to new test driver.
5460         * csu/tst-atomic-long.c: Move to...
5461         * misc/tst-atomic-long.c: ... here.
5462         * misc/Makefile (tests): Add tst-empty, tst-atomic,
5463         tst-atomic-long.
5464         (tests-static): Add tst-empty.
5466 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
5468         * manual/nss.texi: Change incorrect @vtable to @table.
5469         * manual/arith.texi: Convert @tables of variables to @vtables
5470         and remove unnecessary indexing.
5471         * manual/filesys.texi: Likewise.
5472         * manual/llio.texi: Likewise.
5473         * manual/memory.texi: Likewise.
5474         * manual/process.texi: Likewise.
5475         * manual/resource.texi: Likewise.
5476         * manual/search.texi: Likewise.
5477         * manual/signal.texi: Likewise.
5478         * manual/socket.texi: Likewise.
5479         * manual/stdio.texi: Likewise.
5480         * manual/sysinfo.texi: Likewise.
5481         * manual/syslog.texi: Likewise.
5482         * manual/terminal.texi: Likewise.
5483         * manual/time.texi: Likewise.
5484         * manual/users.texi: Likewise.
5486 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5488         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5489         (roundeven): New declaration.
5490         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
5491         macro.
5492         * math/Versions (roundeven): New libm symbol at version
5493         GLIBC_2.25.
5494         (roundevenf): Likewise.
5495         (roundevenl): Likewise.
5496         * math/Makefile (libm-calls): Add s_roundevenF.
5497         * math/libm-test.inc (roundeven_test_data): New array.
5498         (roundeven_test): New function.
5499         (main): Call roundeven_test.
5500         * math/test-tgmath.c (NCALLS): Increase to 134.
5501         (F(compile_test)): Call roundeven.
5502         (F(roundeven)): New function.
5503         * manual/arith.texi (Rounding Functions): Document roundeven,
5504         roundevenf and roundevenl.
5505         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
5506         * include/math.h (roundeven): Use libm_hidden_proto.
5507         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
5508         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
5509         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
5510         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
5511         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
5512         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
5513         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5514         roundeven.
5515         (CFLAGS-nldbl-roundeven.c): New variable.
5516         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
5517         * sysdeps/nacl/libm.abilist: Update.
5518         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5519         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5520         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5521         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5522         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5523         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5524         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5525         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5526         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5527         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5528         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5529         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5531         Likewise.
5532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5533         Likewise.
5534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5535         Likewise.
5536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5537         Likewise.
5538         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5539         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5540         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5541         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5542         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5544         Likewise.
5545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5546         Likewise.
5547         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5548         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5549         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5551 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5553         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
5554         preprocessor indentation inside #if.
5556 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5558         * math/libm-test.inc (fmt_ftostr): New function.
5559         (print_float, check_float_internal): Replace some uses of
5560         FTOSTR with uses of fmt_ftostr.
5561         (print_max_error, print_complex_max_error, print_function_ulps)
5562         (print_complex_function_ulps): Remove uses of the macros
5563         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
5564         * math/test-double.h (FTOSTR): Define to strfromd.
5565         (PRINTF_EXPR): Delete.
5566         (PRINTF_XEXPR): Likewise.
5567         (PRINTF_NEXPR): Likewise.
5568         * math/test-float.h (FTOSTR): Define to strfromf.
5569         (PRINTF_EXPR): Delete.
5570         (PRINTF_XEXPR): Likewise.
5571         (PRINTF_NEXPR): Likewise.
5572         * math/test-ldouble.h (FTOSTR): Define to strfroml.
5573         (PRINTF_EXPR): Delete.
5574         (PRINTF_XEXPR): Likewise.
5575         (PRINTF_NEXPR): Likewise.
5577 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5579         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5580         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
5581         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5582         (__lll_lock_elision): Decrement adapt_count while unlocking
5583         instead of before locking.
5584         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5585         (__lll_trylock_elision): Likewise.
5586         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
5587         (__lll_unlock_elision): Likewise.
5589 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5591         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
5592         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
5593         Use __libc_tbegin_retry macro.
5595 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5597         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
5598         Add -msoft-float.
5599         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
5600         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5601         Use __libc_t* transaction macros instead of __builtin_t*.
5602         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5603         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5605 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5607         * sysdeps/unix/sysv/linux/s390/elision-lock.c
5608         (__lll_lock_elision): Use atomics to load / store adapt_count.
5609         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5610         (__lll_trylock_elision): Likewise.
5612 2016-12-20  Florian Weimer  <fweimer@redhat.com>
5614         Do not require memset elimination in explicit_bzero test.
5615         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
5616         (enum test_expectation): Add NO_EXPECTATIONS.
5617         (subtests): NO_EXPECTATIONS for ordinary clear.
5618         (check_test_buffer): Handle NO_EXPECTATIONS.
5619         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
5621 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5623         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5624         (fmaxmag): New declaration.
5625         (fminmag): Likewise.
5626         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
5627         macro.
5628         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
5629         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
5630         (fmaxmagf): Likewise.
5631         (fmaxmagl): Likewise.
5632         (fminmag): Likewise.
5633         (fminmagf): Likewise.
5634         (fminmagl): Likewise.
5635         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
5636         * math/s_fmaxmag_template.c: New file.
5637         * math/s_fminmag_template.c: Likewise.
5638         * math/libm-test.inc (fmaxmag_test_data): New array.
5639         (fmaxmag_test): New function.
5640         (fminmag_test_data): New array.
5641         (fminmag_test): New function.
5642         (main): Call fmaxmag_test and fminmag_test.
5643         * math/test-tgmath.c (NCALLS): Increase to 132.
5644         (F(compile_test)): Call fmaxmag and fminmag.
5645         (F(fminmag)): New function.
5646         (F(fmaxmag)): Likewise.
5647         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
5648         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
5649         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
5650         fminmag.
5651         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
5652         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
5653         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
5654         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
5655         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
5656         and fminmag.
5657         (CFLAGS-nldbl-fmaxmag.c): New variable.
5658         (CFLAGS-nldbl-fminmag.c): Likewise.
5659         * sysdeps/nacl/libm.abilist: Update.
5660         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5661         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5662         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5663         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5664         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5665         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5666         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5667         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5668         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5669         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5670         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5671         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5673         Likewise.
5674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5675         Likewise.
5676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5677         Likewise.
5678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5679         Likewise.
5680         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5681         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5682         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5683         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5684         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5686         Likewise.
5687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5688         Likewise.
5689         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5690         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5691         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5693 2016-12-19  Torvald Riegel  <triegel@redhat.com>
5695         [BZ #20973]
5696         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
5697         wake-up in robust mutexes.
5698         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5700 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5702         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
5703         (CFLAGS-bench-fmaxf.c): New rule.
5704         (CFLAGS-bench-fminf.c): Likewise.
5705         * benchtests/fmaxf-inputs: New file.
5706         * benchtests/fminf-inputs: Likewise.
5708         * benchtests/Makefile (bench-math): Add fmin and fmax.
5709         (CFLAGS-bench-fmax.c): New rule.
5710         (CFLAGS-bench-fmin.c): Likewise.
5711         * benchtests/fmax-inputs: New file.
5712         * benchtests/fmin-inputs: Likewise.
5714         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
5715         parenthesis.
5716         (CMDLINE_PROCESS): Define using function instead of macro.
5717         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
5718         of test-skeleton.
5719         * benchtests/bench-memchr.c: Likewise.
5720         * benchtests/bench-memcmp.c: Likewise.
5721         * benchtests/bench-memcpy-large.c: Likewise.
5722         * benchtests/bench-memcpy.c: Likewise.
5723         * benchtests/bench-memmem.c: Likewise.
5724         * benchtests/bench-memmove-large.c: Likewise.
5725         * benchtests/bench-memmove.c: Likewise.
5726         * benchtests/bench-memset-large.c: Likewise.
5727         * benchtests/bench-memset.c: Likewise.
5728         * benchtests/bench-rawmemchr.c: Likewise.
5729         * benchtests/bench-strcasecmp.c: Likewise.
5730         * benchtests/bench-strcasestr.c: Likewise.
5731         * benchtests/bench-strcat.c: Likewise.
5732         * benchtests/bench-strchr.c: Likewise.
5733         * benchtests/bench-strcmp.c: Likewise.
5734         * benchtests/bench-strcpy.c: Likewise.
5735         * benchtests/bench-strcpy_chk.c: Likewise.
5736         * benchtests/bench-strlen.c: Likewise.
5737         * benchtests/bench-strncasecmp.c: Likewise.
5738         * benchtests/bench-strncmp.c: Likewise.
5739         * benchtests/bench-strncpy.c: Likewise.
5740         * benchtests/bench-strnlen.c: Likewise.
5741         * benchtests/bench-strpbrk.c: Likewise.
5742         * benchtests/bench-strrchr.c: Likewise.
5743         * benchtests/bench-strsep.c: Likewise.
5744         * benchtests/bench-strspn.c: Likewise.
5745         * benchtests/bench-strstr.c: Likewise.
5746         * benchtests/bench-strtok.c: Likewise.
5748 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5750         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
5751         stepping identification.
5752         (init_cpu_features): Add handle of Haswell.
5754 2016-11-25  Jim Meyering  <meyering@fb.com>
5756         [BZ #20386]
5757         Let gcc detect assert(a = 1) errors.
5758         * assert/assert.h (assert): Rewrite, retaining the old definintion
5759         when required, but otherwise putting the expression as-is in an "if"
5760         expression (hence, with no added parentheses) within a statement
5761         expression.
5763 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5765         * benchtests/Makefile (binaries-benchset): Depend on libsupport
5766         DSO.
5768 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
5770         * Rules (python-flags, python-invoke): New.
5771         ($(test-printers-out)): Use $(python-flags).
5773 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5775         * manual/arith.texi (Math Error Reporting): Document that sNaN
5776         arguments are not considered domain errors.
5778 2016-12-16  Zack Weinberg <zackw@panix.com>
5779             Florian Weimer <fweimer@redhat.com>
5780             Nick Mathewson <nickm@torproject.org>
5782         * string/explicit_bzero.c: New routine.
5783         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
5784         * string/Makefile (routines, strop-tests, tests): Add them.
5785         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
5786         * string/string.h [__USE_MISC]: Declare explicit_bzero.
5788         * debug/explicit_bzero_chk.c: New routine.
5789         * debug/Makefile (routines): Add it.
5790         * debug/tst-chk1.c: Test fortification of explicit_bzero.
5791         * string/bits/string3.h: Fortify explicit_bzero.
5793         * manual/string.texi: Document explicit_bzero.
5794         * NEWS: Mention addition of explicit_bzero.
5796         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
5797         data before returning, using explicit_bzero.
5798         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
5799         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5800         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5802         * include/string.h: Redirect internal uses of explicit_bzero
5803         to __explicit_bzero_chk[_internal].
5804         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
5805         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
5806         * sysdeps/arm/nacl/libc.abilist
5807         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5808         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5809         * sysdeps/unix/sysv/linux/arm/libc.abilist
5810         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5811         * sysdeps/unix/sysv/linux/i386/libc.abilist
5812         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5813         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5814         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5815         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5816         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5817         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5818         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5819         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5820         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5825         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5826         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5827         * sysdeps/unix/sysv/linux/sh/libc.abilist
5828         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5829         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5832         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5833         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5834         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5835         Add entries for explicit_bzero and __explicit_bzero_chk.
5837 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5839         * math/fenv.h
5840         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
5841         (FE_SNANS_ALWAYS_SIGNAL): New macro.
5842         * math/test-fe-snans-always-signal.c: New file.
5843         * math/Makefile (tests): Add test-fe-snans-always-signal.
5844         (CFLAGS-test-fe-snans-always-signal.c): New variable.
5845         * manual/arith.texi (Infinity and NaN): Document
5846         FE_SNANS_ALWAYS_SIGNAL.
5848 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5850         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
5851         bracket.
5853 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5855         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
5856         before calling execv.
5858 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5860         [BZ# 20971]
5861         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
5862         overflow in pointer addition.
5863         * string/test-memchr.c (do_test): Add an argument to pass as
5864         the size on memchr.
5865         (test_main): Add check for SIZE_MAX.
5867 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5869         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
5870         (libm-calls): Add w_scalblnF.
5871         * math/w_scalbln.c: Remove.
5872         * math/w_scalblnf.c: Likewise.
5873         * math/w_scalblnl.c: Likewise.
5874         * math/w_scalbln_template.c: New file with type-generic
5875         implementation based on math/w_scalbln.c.
5876         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
5877         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
5879 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5881         [BZ #20947]
5882         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
5883         either is a signaling NaN.
5884         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
5885         follow fmaxl more closely.
5886         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
5887         when either is a signaling NaN.
5888         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
5889         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
5890         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
5891         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
5892         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
5893         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
5894         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
5895         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
5896         (fmin_test_data): Likewise.
5898 2016-12-15  Andreas Schwab  <schwab@suse.de>
5900         * support/support_test_main.c (support_test_main): Don't shadow
5901         file-local variable test_pid.
5903 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5905         [BZ #20947]
5906         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
5907         either is a signaling NaN.
5908         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
5910 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5912         [BZ #20947]
5913         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
5914         when either is a signaling NaN.
5915         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
5917         * bits/long-double.h: New file.
5918         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
5919         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
5920         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
5921         * sysdeps/mips/bits/long-double.h: Likewise.
5922         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
5923         * math/Makefile (headers): Add bits/long-double.h.
5924         * misc/sys/cdefs.h: Include <bits/long-double.h>.
5925         * stdlib/strtold.c: Include <bits/long-double.h> instead of
5926         <bits/wordsize.h>.
5927         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
5928         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
5929         * math/math.h: Do not include <bits/mathdef.h>.
5930         * sysdeps/aarch64/bits/mathdef.h: Remove file.
5931         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
5932         inclusion.
5933         * sysdeps/ia64/bits/mathdef.h: Remove file.
5934         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
5935         * sysdeps/mips/bits/mathdef.h: Likewise.
5936         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5937         * sysdeps/s390/bits/mathdef.h: Likewise.
5938         * sysdeps/sparc/bits/mathdef.h: Likewise.
5939         * sysdeps/x86/bits/mathdef.h: Likewise.
5940         * sysdeps/s390/s390-32/bits/wordsize.h
5941         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
5942         conditional code.
5943         * sysdeps/s390/s390-64/bits/wordsize.h
5944         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5945         Likewise.
5946         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
5947         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5948         Likewise.
5949         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
5950         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5951         Likewise.
5952         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
5953         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5954         Likewise.
5956         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
5957         <linux/falloc.h>.
5958         (FALLOC_FL_KEEP_SIZE): Remove.
5959         (FALLOC_FL_PUNCH_HOLE): Likewise.
5960         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
5961         (FALLOC_FL_ZERO_RANGE): Likewise.
5963 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5965         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
5967 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5969         * sysdeps/unix/sysv/linux/renameat.c: New file.
5970         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
5972         * sysdeps/unix/sysv/linux/rename.c: New file.
5973         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
5975 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5977         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
5978         * string/strtok.c (strtok): Change to tailcall __strtok_r.
5979         * string/strtok_r.c (__strtok_r): Optimize for performance.
5980         * string/string-inlines.c (__old_strtok_r_1c): New function.
5981         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
5983 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5985         * math/Makefile (gen-libm-calls): Add w_log1pF.
5986         (libm-calls): Remove w_log1pF.
5987         * math/w_log1p.c: Remove.
5988         * math/w_log1pf.c: Likewise.
5989         * math/w_log1pl.c: Likewise.
5990         * math/w_log1p_template.c: New file with type-generic
5991         implementation based on math/w_log1p.c.
5992         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
5993         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
5995 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5997         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
5999 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6001         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6002         kernel version to 4.9.
6004 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
6006         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
6007         ($(inst_libdir)/libm.a): Fix rule to create the target only.
6009 2016-12-13  Andreas Schwab  <schwab@suse.de>
6011         * sysdeps/powerpc/dl-procinfo.c: Don't define
6012         _dl_powerpc_platforms.
6013         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
6014         constants instead of referencing _dl_powerpc_platforms.
6015         (_dl_platform_string): Remove.
6017 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6019         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
6021 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6023         * Rules (binaries-shared-tests, binaries-pie-tests)
6024         (binaries-static-tests): Link with $(link-extra-libs-tests).
6025         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
6026         Remove $(link-extra-libs-tests).
6028 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6030         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6031         (sysdep_routines): Add strncmp_power9.
6032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6033         (strncmp): Add __strncmp_power9 to list of strncmp functions.
6034         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
6035         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6036         (strncmp): Add __strncmp_power9 to ifunc list.
6037         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
6039 2016-12-12  Florian Weimer  <fweimer@redhat.com>
6041         [BZ #17252]
6042         Add getentropy, getrandom.
6043         * stdlib/sys/random.h: New file.
6044         (headers): Add it.
6045         * stdlib/Makefile (routines): Add getentropy, getrandom.
6046         (tests): Add tst-getrandom.
6047         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
6048         * stdlib/getentropy.c: New file.
6049         * stdlib/getrandom.c: Likewise.
6050         * stdlib/tst-getrandom.c: Likewise.
6051         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
6052         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
6053         * manual/crypt.texi (Unpredictable Bytes): New section.
6054         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
6055         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
6056         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6057         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6058         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6059         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6060         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6061         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6062         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6063         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6064         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6065         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6066         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6067         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6068         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6069         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6071         Likewise.
6072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6073         Likewise.
6074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6076         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6077         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6078         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6079         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6080         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6083         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6084         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6085         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6087 2016-12-10  Florian Weimer  <fweimer@redhat.com>
6089         [BZ #20956]
6090         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
6091         as additional compiler barriers.
6092         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
6093         (fn2, do_test): Declare with external linkage.
6094         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
6095         (do_test): Declare with external linkage.
6096         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
6097         (do_test): Declare with external linkage.
6098         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
6099         (do_test): Declare with external linkage.
6101 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
6103         * support/support_test_main.c (support_test_main): Use correct
6104         timeout.
6106 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
6107             Florian Weimer  <fweimer@redhat.com>
6109         [BZ #16421]
6110         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
6111         and __u6_addr32 members.
6112         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
6113         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
6114         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
6115         Use __u6_addr32.
6116         * inet/tst-checks.c: Use <support/test-driver.c>
6117         * inet/tst-checks-posix.c: New file.
6118         * inet/Makefile (tests): Add it.
6119         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
6121 2016-12-09  Florian Weimer  <fweimer@redhat.com>
6123         New subdirectory support for build and test infrastructure.
6124         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
6125         setting install-lib.
6126         * Makeconfig (link-extra-libs-tests): Define.
6127         (+link-pie-tests, +link-static-tests, +link-tests): Use
6128         link-extra-libs-tests.
6129         (rpath-dirs, all-subdirs): Add support.
6130         (built-modules): Add libsupport.
6131         (libsupport): Define.
6132         * support: New directory.
6133         * support/Makefile: New file.
6134         * support/check.c: Likewise.
6135         * support/check.h: Likewise.
6136         * support/delayed_exit.c: Likewise.
6137         * support/ignore_stderr.c: Likewise.
6138         * support/oom_error.c: Likewise.
6139         * support/set_fortify_handler.c: Likewise.
6140         * support/support.h: Likewise.
6141         * support/temp_file-internal.h: Likewise.
6142         * support/temp_file.c: Likewise.
6143         * support/test-driver.c: Likewise.
6144         * support/test-driver.h: Likewise.
6145         * support/test_main.c: Likewise.
6146         * support/write_message.c: Likewise.
6147         * support/xasprintf.c: Likewise.
6148         * support/xcalloc.c: Likewise.
6149         * support/xmalloc.c: Likewise.
6150         * support/xpthread_barrier_destroy.c: Likewise.
6151         * support/xpthread_barrier_init.c: Likewise.
6152         * support/xpthread_barrier_wait.c: Likewise.
6153         * support/xpthread_cancel.c: Likewise.
6154         * support/xpthread_check_return.c: Likewise.
6155         * support/xpthread_cond_wait.c: Likewise.
6156         * support/xpthread_create.c: Likewise.
6157         * support/xpthread_detach.c: Likewise.
6158         * support/xpthread_join.c: Likewise.
6159         * support/xpthread_mutex_lock.c: Likewise.
6160         * support/xpthread_mutex_unlock.c: Likewise.
6161         * support/xpthread_sigmask.c: Likewise.
6162         * support/xpthread_spin_lock.c: Likewise.
6163         * support/xpthread_spin_unlock.c: Likewise.
6164         * support/xrealloc.c: Likewise.
6165         * support/xsignal.h: Likewise.
6166         * support/xthread.h: Likewise.
6167         * support_tempfile.h: Likewise.
6168         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
6169         (TEST_DATA_LIMIT): Remove unused macro.
6170         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
6171         <support/check.h>.
6172         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
6173         (ignore_stderr, set_fortify_handler): Remove.  Now in
6174         <support/support.h>.
6175         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
6176         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
6177         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
6178         (xpthread_join): Remove.  Now in <support/xthread.h>.
6179         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
6180         Introduce legacy wrappers.
6181         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
6182         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
6183         (write_message): Remove.
6184         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
6185         test-skeleton.c.
6186         * io/test-open-tmpfile: Likewise.
6187         * io/tst-posix_fallocate-common.c: Likewise.
6188         * libio/tst-fseek.c: Likewise.
6189         * malloc/tst-malloc-backtrace.c: Likewise.
6190         * malloc/tst-malloc-fork-deadlock.c: Likewise.
6191         * malloc/tst-malloc-thread-exit.c: Likewise.
6192         * nptl/tst-cancel7.c: Likewise.
6193         * nptl/tst-cleanup0.c: Likewise.
6194         * posix/tst-posix_fadvise-common.c: Likewise.
6195         * rt/tst-shm.c: Likewise.
6196         * time/bug-getdate1.c: Likewise.
6197         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6198         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
6199         * elf/Makefile (tst-piemod1.so): Link against libsupport.
6201 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
6203         * Rules [$(run-built-tests) != no] (tests-expected): Add
6204         $(tests-printers).
6205         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
6207 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
6209         [BZ #20539]
6210         * math/Makefile (install-lib-ldscripts): Add libm.a.
6211         (install_subdir): Remove.
6212         (install-others): Add.
6213         ($(inst_libdir)/libm.a): Add rule for installation as
6214         linker script.
6215         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
6217 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
6219         * INSTALL: Regenerated.
6220         * Makeconfig: Add comments and whitespace to make the control flow
6221         clearer.
6222         (+link-printers-tests, +link-pie-printers-tests,
6223         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
6224         built-rtld-LDFLAGS, link-libc-rpath,
6225         link-libc-tests-after-rpath-link,
6226         link-libc-printers-tests): New.
6227         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
6228         link-libc-tests): Use the new variables as required.
6229         * Makerules ($(py-const)): New rule.
6230         generated: Add $(py-const).
6231         * README.pretty-printers: New file.
6232         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
6233         (others): Depend on $(py-const).
6234         (tests): Depend on $(tests-printers-programs) or
6235         $(tests-printers-out),
6236         as required.  Pass $(tests-printers) to merge-test-results.sh.
6237         * manual/install.texi: Add requirements for testing the pretty
6238         printers.
6239         * nptl/Makefile (gen-py-const-headers, pretty-printers,
6240         tests-printers, CFLAGS-test-mutexattr-printers.c
6241         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
6242         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
6243         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
6244         * nptl/nptl-printers.py: New file.
6245         * nptl/nptl_lock_constants.pysym: Likewise.
6246         * nptl/test-cond-printers.c: Likewise.
6247         * nptl/test-cond-printers.py: Likewise.
6248         * nptl/test-condattr-printers.c: Likewise.
6249         * nptl/test-condattr-printers.py: Likewise.
6250         * nptl/test-mutex-printers.c: Likewise.
6251         * nptl/test-mutex-printers.py: Likewise.
6252         * nptl/test-mutexattr-printers.c: Likewise.
6253         * nptl/test-mutexattr-printers.py: Likewise.
6254         * nptl/test-rwlock-printers.c: Likewise.
6255         * nptl/test-rwlock-printers.py: Likewise.
6256         * nptl/test-rwlockattr-printers.c: Likewise.
6257         * nptl/test-rwlockattr-printers.py: Likewise.
6258         * scripts/gen-py-const.awk: Likewise.
6259         * scripts/test_printers_common.py: Likewise.
6260         * scripts/test_printers_exceptions.py: Likewise.
6262 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
6264         * scripts/build-many-glibcs.py (Context.__init__): Take strip
6265         argument.
6266         (Glibc.build_glibc): Strip installed shared libraries if
6267         requested.
6268         (get_parser): Add --strip option.
6269         (main): Update Context call.
6271 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6272             Dominik Vogt  <vogt@linux.vnet.ibm.com>
6274         [BZ #20847]
6275         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6276         array bounds for else branch.
6277         (__execvpe): Style fixes.
6278         * posix/tst-vfork3.c (run_script): New function.
6279         (create_script): Likewise.
6280         (do_test): Use run_script internal function.
6281         (do_prepare): Use create_script internal function.
6283 2016-12-07  Andreas Schwab  <schwab@suse.de>
6285         * sysdeps/unix/sysv/linux/x86/elision-conf.h
6286         (__elision_available): Don't declare.
6287         * sysdeps/unix/sysv/linux/x86/elision-conf.c
6288         (__elision_available): Don't define.
6289         (elision_init): Don't set __elision_available.
6291 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
6293         [BZ #20940]
6294         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
6295         return Inf for arguments Inf and sNaN.
6296         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
6297         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6298         Likewise.
6299         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6300         Likewise.
6301         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6302         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
6303         for arguments Inf and sNaN.  When returning a NaN, compute it by
6304         arithmetic on the arguments.
6305         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
6306         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
6307         arguments.
6309 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
6311         [BZ #20916]
6312         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
6313         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
6314         to compute result.
6315         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6316         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
6318 2016-12-05  Torvald Riegel  <triegel@redhat.com>
6320         * include/atomic.h (__atomic_check_size_ls): New.
6321         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
6322         atomic_store_release): Use it.
6323         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
6324         (elision_adapt, ELIDE_LOCK): Use atomics.
6325         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
6326         atomics and improve code comments.
6327         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
6328         (__lll_trylock_elision): Likewise.
6330 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6332         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
6333         programs.
6335 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6337         [BZ #20916]
6338         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
6339         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
6340         arguments to compute result.
6341         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
6342         1 for arguments (sNaN, 0) or (1, sNaN).
6343         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6344         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6346         [BZ #20919]
6347         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
6348         NaN first argument when raised to power 0.
6349         * math/w_pow.c (__pow): Do not check for NaN or zero results from
6350         raising to power zero.
6351         * math/w_powf.c (__powf): Likewise.
6352         * math/w_powl.c (__powl): Likewise.
6353         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
6354         pow (0, 0) or pow (NaN, 0).
6356 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
6358         [BZ #20918]
6359         * configure.ac: Test for static NSS cryptographic libraries and set
6360         libc_cv_static_nss_crypt.
6361         * configure: Regenerate.
6362         * config.make.in (static-nss-crypt): Define.
6363         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
6364         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
6365         (CFLAGS-tst-linkall-static.c): Define.
6366         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
6367         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
6368         ($(objpfx)tst-linkall-static): Define.
6369         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
6370         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
6372 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6374         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
6375         (one-hundred, tst-tls-many-dynamic-modules): Define.
6376         (modules-names): Add $(tst-tls-many-dynamic-modules).
6377         (tst-tls-manydynamic%mod.os): Build with special preprocessor
6378         macros.
6379         (tst-tls-manydynamic): Link against libdl, libpthread.
6380         (tst-tls-manydynamic.out): The test needs the test modules at run
6381         time.
6382         * elf/tst-tls-manydynamic.c: New file.
6383         * elf/tst-tls-manydynamic.h: Likewise.
6384         * elf/tst-tls-manydynamicmod.c: Likewise.
6386 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6388         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
6389         (TLS_DTV_UNALLOCATED): Add.
6390         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
6391         offsets.
6393 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6395         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6397 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6399         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
6400         Add -fno-optimize-sibling-calls.
6402 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6404         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
6405         New declaration.
6406         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
6407         macro.
6408         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
6409         New macro.
6410         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
6411         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
6412         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
6413         (llogbf): Likewise.
6414         (llogbl): Likewise.
6415         * math/Makefile (gen-libm-calls): Add w_llogbF.
6416         (tests): Add test-fp-llogb-constants.
6417         * math/w_llogb_template.c: New file.  Based on
6418         math/w_ilogb_template.c.
6419         * math/libm-test.inc (llogb_test_data): New array.
6420         (llogb_test): New function.
6421         (main): Call llogb_test.
6422         * math/test-fp-llogb-constants.c: New file.  Based on
6423         math/test-fp-ilogb-constants.c.
6424         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
6425         (do_test): Call check_return_llogb.
6426         * math/test-tgmath.c (NCALLS): Increase to 126.
6427         (F(compile_test)): Call llogb.
6428         (F(llogb)): New function.
6429         * manual/math.texi (Exponents and Logarithms): Document llogb,
6430         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
6431         * manual/libm-err-tab.pl (@all_functions): Add llogb.
6432         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
6433         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
6434         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
6435         (CFLAGS-nldbl-llogb.c): New variable.
6436         * sysdeps/nacl/libm.abilist: Update.
6437         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6438         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6439         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6440         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6441         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6442         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6443         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6444         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6445         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6446         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6447         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6448         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6450         Likewise.
6451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6452         Likewise.
6453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6454         Likewise.
6455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6456         Likewise.
6457         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6458         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6459         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6460         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6461         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6463         Likewise.
6464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6465         Likewise.
6466         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6467         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6468         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6470 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6472         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
6473         _Float128 instead of long double.
6474         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
6476         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
6477         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
6478         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
6479         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
6480         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
6481         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
6482         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
6483         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
6484         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
6485         Likewise.
6487 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6489         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
6490         Remove redirection to __strrchr_ppc.
6492 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6494         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6495         (sysdep_routines): Add strcmp_power9.
6496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6497         (strcmp): Add __strcmp_power9 to list of strcmp functions.
6498         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
6499         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6500         (strcmp): Add __strcmp_power9 to ifunc list.
6501         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
6503 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6505         * bits/fp-logb.h: New file.
6506         * sysdeps/ia64/bits/fp-logb.h: Likewise.
6507         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
6508         * sysdeps/x86/bits/fp-logb.h: Likewise.
6509         * math/Makefile (headers): Add bits/fp-logb.h.
6510         * math/math.h: Include <bits/fp-logb.h>.
6511         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
6512         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
6513         * bits/mathdef.h (FP_ILOGB0): Remove.
6514         (FP_ILOGBNAN): Likewise.
6515         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
6516         (FP_ILOGBNAN): Likewise.
6517         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
6518         (FP_ILOGBNAN): Likewise.
6519         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
6520         (FP_ILOGBNAN): Likewise.
6521         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
6522         (FP_ILOGBNAN): Likewise.
6523         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
6524         (FP_ILOGBNAN): Likewise.
6525         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
6526         (FP_ILOGBNAN): Likewise.
6527         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
6528         (FP_ILOGBNAN): Likewise.
6529         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
6530         (FP_ILOGBNAN): Likewise.
6531         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
6532         (FP_ILOGBNAN): Likewise.
6534         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
6535         time module.
6536         (Context.__init__): Initialize self.logsdir_old.
6537         (Context.run_builds): Handle bot action.
6538         (Context.bot_cycle): Copy logs directory before running builds.
6539         (Context.bot_run_self): Take argument for whether to check
6540         subprocess result.  Flush stdout before running subprocess.
6541         (Context.bot): New function.
6542         (get_parser): Allow bot action.
6544 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
6546         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
6547         Import email.mime.text, email.utils and smtplib modules.
6548         (Context.__init__): Initialize self.bot_config_json.
6549         (Context.run_builds): Handle bot-cycle action.
6550         (Context.load_bot_config_json): New function.
6551         (Context.part_build_old): Likewise.
6552         (Context.bot_cycle): Likewise.
6553         (Context.bot_build_mail): Likewise.
6554         (Context.bot_run_self): Likewise.
6555         (get_parser): Allow bot-cycle action.
6557 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6559         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
6560         Remove redirection to __stpcpy_ppc.
6562 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6564         Remove __libc_memalign from ld.so because it is unused.
6565         * elf/dl-minimal.c: Update comment on the malloc implementation.
6566         (malloc): Renamed from __libc_memalign, replacing the original
6567         malloc implementation.  Replace the align parameter with
6568         MALLOC_ALIGNMENT.
6569         * elf/Versions (ld): Update comment and remove __libc_memalign.
6570         * sysdeps/nacl/ld.abilist: Likewise.
6571         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
6572         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
6573         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
6574         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
6575         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
6576         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
6577         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
6578         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
6579         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
6580         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
6581         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
6582         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
6583         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
6584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
6585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6587         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
6588         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
6589         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
6590         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
6591         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
6592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
6593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
6594         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
6595         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
6596         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
6597         * sysdeps/generic/localplt.data (ld.so): Likewise.
6598         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6599         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6600         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6601         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6602         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6603         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6604         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6605         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
6606         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6608         (ld.so): Likewise.
6609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6610         (ld.so): Likewise.
6611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6612         Likewise.
6613         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6614         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6615         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
6616         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
6617         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6619 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6621         [BZ #16628]
6622         Implement _dl_catch_error, _dl_signal_error in libc.so.
6623         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
6624         (catch_hook): Define as thread-local or regular variable,
6625         depending on DL_ERROR_BOOTSTRAP.
6626         (CATCH_HOOK): Remove.
6627         (dl_signal_error, _dl_catch_error): Use
6628         catch_hook.  Add hidden definition for libc.
6629         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
6630         for DL_ERROR_BOOTSTRAP only.
6631         * elf/dl-error.c: New file.
6632         * elf/dl-error-minimal.c: Likewise.
6633         * elf/tst-latepthread.c: Likewise.
6634         * elf/tst-latepthreadmod.c: Likewise.
6635         * elf/Makefile (routines): Add dl-error.
6636         (dl-routines): Remove dl-error.
6637         (rtld-routines): Add dl-error-minimal.
6638         [build-shared] (tests): Add tst-latepthread.
6639         (module-names): Add tst-latepthreadmod.
6640         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
6641         symbol.
6642         (tst-latepthreadmod.so): Link against libpthread.
6643         (tst-latepthread): Link against libdbl.
6644         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
6645         _dl_catch_error.
6646         [ld] (GLIBC_PRIVATE): Likewise.
6647         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
6648         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
6649         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
6650         directly.
6651         * elf/dl-tsd.c: Remove file.
6652         * elf/rtld.c (_rtld_global_ro): Remove initializers for
6653         _dl_catch_error, _dl_signal_error.
6654         (_dl_initial_error_catch_tsd): Remove definition.
6655         (do_preload): Remove initialization of dl_error_catch_tsd.
6656         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
6657         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
6658         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6659         * dlfcn/dlopen.c (dlopen_doit): Likewise.
6660         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
6661         set dl_error_catch_tsd.
6662         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
6663         _dl_error_catch_tsd member.
6664         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
6665         members.
6666         (_dl_initial_error_catch_tsd): Remove declaration.
6667         (_dl_dprintf): Provide definition for use outside of ld.so.
6668         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
6669         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
6670         prototype for libc.
6671         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
6672         _dl_catch_error.
6673         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6674         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6675         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6676         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6677         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6678         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6679         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6680         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6681         Likewise.
6682         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6684         (ld.so): Likewise.
6685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6686         (ld.so): Likewise.
6687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6688         Likewise.
6689         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6690         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6691         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6692         Likewise.
6693         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6694         Likewise.
6695         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6697 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6699         [BZ #4099]
6700         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
6701         _IO_BUFSIZ (8192).
6703 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
6705         * PROJECTS: Remove file.
6707 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6709         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
6711 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
6712             Steve Ellcey  <sellcey@caviumnetworks.com>
6714         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
6715         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
6716         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
6717         fxstatat.
6718         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
6719         lxstat.
6720         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
6721         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
6722         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
6723         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
6724         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
6725         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
6726         __xstat.
6728 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6730         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
6731         Define.
6732         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
6733         definition.
6735 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6737         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
6738         version and turn into strong alias.  Remove compat symbol.
6740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6741         (__longjmp): Remove.
6743 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
6745         * bits/fp-fast.h: New file.
6746         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
6747         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
6748         * math/Makefile (headers): Add bits/fp-fast.h.
6749         * math/math.h: Include <bits/fp-fast.h>.
6750         * bits/mathdef.h (FP_FAST_FMA): Remove.
6751         (FP_FAST_FMAF): Likewise.
6752         (FP_FAST_FMAL): Likewise.
6753         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
6754         (FP_FAST_FMAF): Likewise.
6755         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
6756         (FP_FAST_FMAF): Likewise.
6757         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
6758         (FP_FAST_FMAF): Likewise.
6759         (FP_FAST_FMAL): Likewise.
6760         * sysdeps/arm/bits/mathdef.h: Remove file.
6761         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
6762         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6763         * sysdeps/tile/bits/mathdef.h: Likewise.
6765 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6767         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
6768         * math/w_ilogb.c: Remove.
6769         * math/w_ilogbf.c: Likewise.
6770         * math/w_ilogbl.c: Likewise.
6771         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
6772         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
6773         * math/Makefile (gen-libm-calls): Add w_ilogbF.
6774         (libm-calls): Remove w_ilogbF.
6775         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
6776         (LDOUBLE_ilogbl_libm_version): New macro.
6778         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
6780         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
6781         [!__STRICT_ANSI__ && !__cplusplus].
6783 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
6785         [BZ #20750]
6786         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
6787         of PIC.
6789 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
6790             Yury Norov  <ynorov@caviumnetworks.com>
6791             Steve Ellcey  <sellcey@caviumnetworks.com>
6793         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
6794         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
6795         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
6796         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
6797         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
6798         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
6799         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
6800         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
6801         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
6802         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
6803         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
6804         to get correct reg name for ILP32.
6805         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
6806         (RELA_SIZE): New Macro.
6807         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
6808         to support ILP32.
6809         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
6810         cast for ILP32 mode.
6811         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
6812         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
6813         * sysdeps/aarch64/memset.S (__memset): Ditto.
6814         * sysdeps/aarch64/strchr.S (strchr): Ditto.
6815         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
6816         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
6817         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
6818         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
6819         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
6820         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
6821         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
6822         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
6823         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
6824         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
6825         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
6826         change PTR_MANGLE call to use register numbers instead of names.
6827         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
6828         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
6829         ILP32 mode, change PTR_MANGLE calls to use register numbers.
6830         * sysdeps/aarch64/start.S (_start): Ditto.
6831         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
6832         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
6833         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
6834         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
6835         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
6836         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
6837         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
6838         Make defined values dependent on __ILP32__.
6839         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
6840         (sem_t): Change __align type.
6841         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
6842         PTR_SIZE): New Macros.
6843         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
6844         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
6845         Set when in ILP32 mode.
6846         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
6847         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
6848         Set elf flags for ILP32.
6849         (add_system_dir): Set ILP32 library directories.
6850         * sysdeps/unix/sysv/linux/aarch64/init-first.c
6851         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
6852         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
6853         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
6854         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
6855         New Macros.
6856         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
6858 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
6860         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
6861         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
6862         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
6864 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6866         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
6867         <asm/cachectl.h>.
6869 2016-11-27  Zack Weinberg  <zackw@panix.com>
6871         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
6872         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
6874 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6876         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
6877         error_t to fix usage in C++ programs.
6879 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
6881         * scripts/build-many-glibcs.py: Import datetime module.
6882         (Context.__init__): Load JSON build state.  Initialize list of
6883         status logs.
6884         (Context.run_builds): Update saved build state.
6885         (Context.add_makefile_cmdlist): Update list of status logs.
6886         (Context.load_build_state_json): New function.
6887         (Context.store_build_state_json): Likewise.
6888         (Context.clear_last_build_state): Likewise.
6889         (Context.update_build_state): Likewise.
6890         (CommandList.status_logs): Likewise.
6892 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
6894         * scripts/build-many-glibcs.py (Context.__init__): Save text of
6895         script being executed.
6896         (Context.get_script_text): New function.
6897         (Context.exec_self): Likewise.
6898         (Context.checkout): Re-exec script if changed by checkout process.
6900 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6902         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6903         (setpayloadsig): New declaration.
6904         * math/Versions (setpayloadsig): New libm symbol at version
6905         GLIBC_2.25.
6906         (setpayloadsigf): Likewise.
6907         (setpayloadsigl): Likewise.
6908         * math/Makefile (libm-calls): Add s_setpayloadsigF.
6909         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
6910         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
6911         (setpayloadsig_test_data): New array.
6912         (setpayloadsig_test): New function.
6913         (main): Call setpayloadsig_test.
6914         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
6915         setpayloadsigf and setpayloadsigl.
6916         * manual/libm-err-tab.pl: Update comment on interfaces without
6917         ulps tabulated.
6918         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
6919         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
6920         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
6921         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
6922         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
6923         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
6924         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6925         setpayloadsig.
6926         (CFLAGS-nldbl-setpayloadsig.c): New variable.
6927         * sysdeps/nacl/libm.abilist: Update.
6928         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6929         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6930         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6931         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6932         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6933         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6934         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6935         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6936         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6937         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6938         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6939         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6941         Likewise.
6942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6943         Likewise.
6944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6945         Likewise.
6946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6947         Likewise.
6948         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6949         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6950         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6951         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6952         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6954         Likewise.
6955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6956         Likewise.
6957         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6958         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6959         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6961         * scripts/build-many-glibcs.py: Import json module.
6962         (Context.__init__): Take replace_sources argument.  Load
6963         versions.json.
6964         (Context.load_versions_json): New function.
6965         (Context.store_json): Likewise.
6966         (Context.store_versions_json): Likewise.
6967         (Context.set_component_version): Likewise.
6968         (Context.checkout): Update versions.json.  Check for and handle
6969         changes of version.  Prefer previously explicitly specified
6970         version to default version.
6971         (Context.checkout_vcs): Return a revision identifier.
6972         (Context.git_checkout): Likewise.
6973         (Context.gcc_checkout): Likewise.
6974         (get_parser): Add --replace-sources option.
6975         (main): Pass replace_sources argument to Context call.
6977 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6979         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
6980         * nptl/allocatestack.c (allocate_stack): Likewise.
6981         (__reclaim_stacks): Likewise.
6982         (setxid_signal_thread): Obtain pid through syscall.
6983         * nptl/nptl-init.c (sigcancel_handler): Likewise.
6984         (sighandle_setxid): Likewise.
6985         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
6986         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6987         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6988         Likewise.
6989         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6990         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
6991         comment.
6992         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
6993         * nptl/descr.h (struct pthread): Change comment about pid value.
6994         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
6995         pid assert.
6996         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
6997         Do not set pid value.
6998         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
6999         pid cache check.
7000         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
7001         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
7002         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
7003         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
7004         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
7005         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7006         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
7007         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
7008         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
7009         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
7010         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
7011         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7012         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
7013         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7014         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
7015         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
7016         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7017         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
7018         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
7019         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
7020         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
7021         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7022         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
7023         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
7024         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
7025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7027         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7028         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7029         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7030         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
7031         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7032         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
7033         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7034         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
7035         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7036         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
7037         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7038         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
7039         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
7040         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7041         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
7042         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
7043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7045         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7046         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7047         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7048         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7049         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7050         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
7051         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7052         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
7053         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
7054         struct access.
7055         (clone_test): Remove function.
7056         (do_test): Rewrite to take in consideration pid is not cached anymore.
7058 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7060         * bits/flt-eval-method.h: New file.
7061         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
7062         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
7063         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
7064         * math/Makefile (headers): Add bits/flt-eval-method.h.
7065         * math/math.h: Include <bits/flt-eval-method.h>.
7066         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
7067         [__USE_ISOC99] (double_t): Likewise.
7068         * bits/mathdef.h (float_t): Remove.
7069         (double_t): Likewise.
7070         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
7071         (double_t): Likewise.
7072         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
7073         (double_t): Likewise.
7074         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
7075         (double_t): Likewise.
7076         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
7077         (double_t): Likewise.
7078         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
7079         (double_t): Likewise.
7080         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
7081         (double_t): Likewise.
7082         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
7083         (double_t): Likewise.
7084         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
7085         (double_t): Likewise.
7086         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
7087         (double_t): Likewise.
7088         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
7089         (double_t): Likewise.
7090         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
7091         (double_t): Likewise.
7092         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
7093         (double_t): Likewise.
7094         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
7095         (double_t): Likewise.
7097 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
7099         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
7100         instead of PIC.
7102 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7104         [BZ #20859]
7105         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
7106         (-0x7fffffff) instead of 0x80000001.
7107         * math/test-fp-ilogb-constants.c: New file.
7108         * math/Makefile (tests): Add test-fp-ilogb-constants.
7110 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
7112         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
7113         (_init): Use it in place of hardcoded R_MIPS_JALR.
7114         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
7115         (_init): Use it in place of hardcoded R_MIPS_JALR.
7116         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
7117         (_init): Use it in place of hardcoded R_MIPS_JALR.
7119 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7121         [BZ #20787]
7122         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
7123         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
7124         (double_t): Do not define to double if [__x86_64__] when
7125         __FLT_EVAL_METHOD__ is nonzero.
7126         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
7127         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
7128         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7129         test-flt-eval-method-387 and test-flt-eval-method-sse.
7130         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
7131         variable.
7132         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
7134 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
7136         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
7137         use of -fno-isolate-erroneous-paths options for tilepro.
7139 2016-11-23  Florian Weimer  <fweimer@redhat.com>
7141         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
7142         structure initialization is no longer needed.
7144 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7146         [BZ #20855]
7147         * bits/mathdef.h (float_t): Define to float.
7148         * math/test-flt-eval-method.c: New file.
7149         * math/Makefile (tests): Add test-flt-eval-method.
7150         (CFLAGS-test-flt-eval-method.c): New variable.
7152 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
7154         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
7155         and __fstatfs.  Make them aliases of __fstatfs64 if
7156         STATFS_IS_STATFS64 is set to non-zero.
7157         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
7158         and __statfs64.
7159         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
7160         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
7161         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
7162         for __statfs and statfs.
7163         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
7164         to 0.
7165         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
7166         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
7167         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
7168         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
7169         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
7170         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
7171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
7172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
7173         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
7174         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
7175         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
7176         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
7178 2016-11-22  Andreas Schwab  <schwab@suse.de>
7180         * misc/mkstemp.c: Include <fcntl.h>.
7181         * misc/mkstemps.c: Likewise.
7182         * misc/mkostemp.c: Likewise.
7183         * misc/mkostemps.c: Likewise.
7185 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
7187         [BZ #20847]
7188         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7189         array bounds.
7190         (__execvpe): Likewise.
7192 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
7194         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
7195         -fno-isolate-erroneous-paths options for tilepro.
7197 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
7199         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
7200         to 0 when in 32 bit mode.
7201         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
7202         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
7203         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
7204         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
7205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
7206         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
7207         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
7208         XSTAT_IS_XSTAT64 test.
7209         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
7210         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
7211         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
7212         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
7213         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
7214         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
7215         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
7216         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
7217         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
7218         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
7219         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
7221 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
7223         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7224         (setpayload): New declaration.
7225         * math/Versions (setpayload): New libm symbol at version
7226         GLIBC_2.25.
7227         (setpayloadf): Likewise.
7228         (setpayloadl): Likewise.
7229         * math/Makefile (libm-calls): Add s_setpayloadF.
7230         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
7231         test_Ff_b1_data.
7232         (RUN_TEST_Ff_b1): New macro.
7233         (RUN_TEST_LOOP_Ff_b1): Likewise.
7234         (canonicalize_test_data): Update type.
7235         (setpayload_test_data): New array.
7236         (setpayload_test): New function.
7237         (main): Call setpayload_test.
7238         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
7239         setpayloadf and setpayloadl.
7240         * manual/libm-err-tab.pl: Update comment on interfaces without
7241         ulps tabulated.
7242         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
7243         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
7244         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
7245         Likewise.
7246         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
7247         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
7248         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
7249         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
7250         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
7251         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
7252         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
7253         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
7254         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
7255         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7256         setpayload.
7257         (CFLAGS-nldbl-setpayload.c): New variable.
7258         * sysdeps/nacl/libm.abilist: Update.
7259         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7260         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7261         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7262         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7263         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7264         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7265         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7266         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7267         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7268         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7269         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7270         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7272         Likewise.
7273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7274         Likewise.
7275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7276         Likewise.
7277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7278         Likewise.
7279         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7280         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7281         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7282         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7283         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7285         Likewise.
7286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7287         Likewise.
7288         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7289         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7290         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7292 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7294         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
7295         * include/unistd.h: Extend comment about __access_noerrno return
7296         semantics.
7297         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
7298         (access_common): Correct typo for EACCES.
7300 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
7302         * sysdeps/tile/math-tests.h: New file.
7304         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
7305         (__old_set_dataplane): Rename from set_dataplane and make a
7306         compatibility symbol.
7307         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
7308         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
7309         sys/dataplane.h.
7311 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
7313         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
7314         script quote words in command output to log suitably for input to
7315         the shell.
7317 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
7318             Maciej W. Rozycki  <macro@imgtec.com>
7320         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
7321         `.Lno_weak_fn' label.
7322         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
7323         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
7325 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7326             Yury Norov  <ynorov@caviumnetworks.com>
7328         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
7329         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
7330         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7331         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
7332         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7333         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
7334         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7335         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7336         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7337         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
7338         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7339         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
7340         (sysdep_routines): Remove oldgetrlimit64.
7341         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
7342         (sysdep_routines): Likewise.
7343         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
7344         (sysdep_routines): Likewise.
7345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7346         [$(subdir) = resource] (sysdep_routines): Likewise.
7347         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
7348         [$(subdir) = resource] (sysdep_routines): Likewise.
7349         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
7350         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
7351         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
7352         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
7353         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
7354         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7355         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
7356         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
7357         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
7358         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
7359         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
7360         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
7361         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
7362         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
7363         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
7364         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
7365         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
7366         setrlimit and getrlimit.
7367         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7368         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7369         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
7370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
7372         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7373         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
7374         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7375         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7376         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
7377         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
7378         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
7379         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
7380         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
7381         (__old_getrlimit64): Add compatibility symbol.
7382         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
7384 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
7386         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
7387         newly built gmp, mpfr and mpc.
7389         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
7391 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7393         * conform/Makefile (linknamespace-libs): Rename to
7394         linknamespace-libs-thr.
7395         (linknamespace-libs-posix): New variable.
7396         (linknamespace-libs-xsi): Likewise.
7397         (linknamespace-libs-XPG3): Include libcrypt.a.
7398         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
7399         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
7400         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
7401         (linknamespace-libs-XOPEN2K): Likewise.
7402         (linknamespace-libs-XOPEN2K8): Likewise.
7403         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
7405         [BZ #20829]
7406         * stdio-common/Versions (__snprintf): Add to version
7407         GLIBC_PRIVATE.
7408         * include/stdio.h (__snprintf): Use libc_hidden_proto.
7409         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
7410         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
7411         of snprintf.
7412         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7414 2016-11-16  Zack Weinberg  <zackw@panix.com>
7416         * string/string.h: Remove obsolete comment stating that
7417         strcoll_l and strxfrm_l have not yet been standardized.
7419 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7421         * hurd/hurd.h (__hurd_fail_noerrno): New function.
7422         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
7423         __access_noerrno.
7424         * io/access.c (__access_noerrno): New function.
7425         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
7426         (hurd_fail_seterrno): Likewise.
7427         (access_common): Likewise.
7428         (__access_noerrno): Likewise.
7429         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
7430         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
7431         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
7432         macro.
7434 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7436         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
7437         Only declare fpregs if [__SH_FPU_ANY__].
7439 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
7441         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
7442         Make code unconditional.
7443         [!(__SH4__ || __SH4A__)]: Remove conditional code.
7445 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
7447         * manual/sysinfo.texi (S_APPEND): Delete.
7448         (S_IMMUTABLE): Likewise.
7450 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
7451             Magnus Granberg  <zorry@gentoo.org>
7452             Mike Frysinger  <vapier@gentoo.org>
7454         [BZ #20662]
7455         * configure.ac (libc_cv_predef_stack_protector): Also check for
7456         __stack_chk_fail_local symbols.
7457         * configure: Regenerated.
7459 2016-11-15  Florian Weimer  <fweimer@redhat.com>
7461         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7462         (libc_hidden_def): Remove redefinition.
7463         (__sigsetjmp): Add hidden definition.
7464         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7465         (libc_hidden_def): Remove redefinition.
7466         (__sigsetjmp): Add hidden definition.
7468 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
7470         * scripts/build-many-glibcs.py (os.path): Do not import.
7471         (Context): Inherit explicitly from object.  Remove blank line
7472         between class and docstring.
7473         (Config): Likewise.
7474         (Glibc): Likewise.
7475         (Command): Likewise.
7476         (CommandList): Likewise.
7477         (Context.write_files): Store chmod mode in a variable.
7479         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
7480         LIBC_SLIBDIR_RTLDDIR for tilegx32.
7481         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
7483 2016-11-14  Zack Weinberg  <zackw@panix.com>
7485         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
7486         creating or re-creating it.
7488         * string/bits/string2.h: Fix typo in comment.
7490 2016-11-14  Zack Weinberg  <zackw@panix.com>
7492         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
7493         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
7494         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
7495         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
7496         of redirected function names.
7498         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
7499         as well.  Document that MESSAGE must be a single string literal.
7501 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
7503         * scripts/build-many-glibcs.py: New file.
7505         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
7506         (do_test): Disable -Wmaybe-uninitialized around uses of
7507         except_mask.
7509         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
7511 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
7513         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
7514         (atomic_store_release): Provide tilepro-specific implementations.
7516 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
7518         * math/math.h (__MATH_TG): New macro.
7519         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
7520         [__USE_ISOC99] (signbit): Likewise.
7521         [__USE_ISOC99] (isfinite): Likewise.
7522         [__USE_ISOC99] (isnan): Likewise.
7523         [__USE_ISOC99] (isinf): Likewise.
7524         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
7525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
7526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
7527         __MATH_TG and __MATH_EVAL_FMT2.
7528         * sysdeps/generic/math_private.h (fabs_tg): Define using
7529         __MATH_TG.
7530         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7531         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
7532         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
7533         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
7534         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
7535         macro.
7536         (__iscanonical): Likewise.
7537         (iscanonical): Define using __MATH_TG.
7539 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7541         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
7542         guards.
7544         * sysdeps/unix/sysv/linux/access.c: New file.
7545         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
7547 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
7549         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
7550         and __WORDSIZE32_PTRDIFF_LONG.
7552 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7554         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7556 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7558         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
7559         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
7560         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
7561         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
7562         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
7563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
7564         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
7565         * sysdeps/unix/sysv/linux/truncate.c: New file.
7566         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
7567         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7568         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
7569         Remove.
7570         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
7571         Likewise.
7573         * posix/tst-truncate-common.c: New file.
7574         * posix/tst-truncate.c: Use tst-truncate-common.c.
7575         * posix/tst-truncate64.c: Likewise and add LFS tests.
7576         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
7577         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
7578         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
7579         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
7580         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
7581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
7582         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
7583         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
7584         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
7585         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7586         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
7587         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
7588         Remove.
7589         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
7590         Likewise.
7592 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
7594         [BZ #20790]
7595         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
7596         to MAXLINESIZE.
7597         * sunrpc/bug20790.x: New file.
7598         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
7599         variable.
7600         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
7601         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
7603         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
7605         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
7607         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
7608         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
7609         calloc, realloc, free, memalign and __libc_memalign rather than
7610         making them optional.
7612         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
7613         for libc.so.
7615 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7617         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
7618         ptw-lseek64.
7619         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
7620         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
7621         Likewise.
7622         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
7623         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
7624         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
7625         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
7626         * sysdeps/unix/sysv/linux/lseek.c: New file.
7627         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
7628         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
7629         __libc_lseek64 from auto-generation.
7630         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7631         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
7633 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7635         * nptl/tst-basic1.c (tf, do_test): Use write_message.
7636         * nptl/tst-cleanup1.c (do_test): Likewise.
7637         * nptl/tst-cleanup3.c (do_test): Likewise.
7638         * nptl/tst-key1.c (do_test): Likewise.
7639         * nptl/tst-key2.c (tf, do_test): Likewise.
7640         * nptl/tst-key3.c (tf, do_test): Likewise.
7641         * nptl/tst-stdio1.c (do_test): Likewise.
7642         * nptl/tst-stdio2.c (do_test): Likewise.
7644         * nptl/tst-kill3.c (handler): Use write_message in place of write.
7645         * nptl/tst-kill6.c (handler): Likewise.
7646         * nptl/tst-tls2.c (CB): Likewise.
7647         * nptl/tst-tls3.c (CB): Likewise.
7649 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
7651         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
7653 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
7654             Steve Ellcey  <sellcey@caviumnetworks.com>
7656         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
7657           __ASSUME_ST_INO_64_BIT as 0
7658         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
7659         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
7660           over the code where __ASSUME_ST_INO_64_BIT is used.
7661         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7662         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7663         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7665 2016-11-07  Florian Weimer  <fweimer@redhat.com>
7667         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7668         Document ABI exposure of the __kind offset.
7669         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7670         Mention reason for the __kind offset exposure in the ABI.
7671         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7672         Likewise.
7673         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7674         Likewise.
7675         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7676         Likewise.
7677         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
7678         (struct __pthread_mutex_s): Likewise.
7679         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7680         Likewise.
7681         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7682         Likewise.
7683         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7684         Likewise.
7685         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7686         Likewise.
7687         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7688         Likewise.
7689         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7690         Likewise.
7691         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7692         (struct __pthread_mutex_s): Likewise.
7693         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7694         (struct __pthread_mutex_s): Likewise.
7695         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
7696         Likewise.
7698 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
7700         * test-skeleton.c: Document do_test usage.
7702 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
7704         * iconv/gconv.h (__gconv_info): Define __data element using a
7705         zero-length array.
7707 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
7709         * math/test-tgmath2.c: Split up test function.
7711 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7713         * Rules (tests-expected): New variable, depending on
7714         $(run-built-tests).
7715         (tests): Pass $(tests-expected) to merge-test-results.sh, not
7716         $(tests).
7718         * Rules [$(run-built-tests) = no] (tests): Do not depend on
7719         $(tests-unsupported).
7721 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7723         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7724         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
7726 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7728         [BZ #20768]
7729         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
7730         __fegetenv instead of fegetenv.
7732         [BZ #14139]
7733         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
7734         (find_files): Obtain platform name from libm-test-ulps-name and
7735         store in %pplatforms.
7736         (canonicalize_platform): Remove.
7737         (print_platforms): Use $pplatforms directly.
7738         (by_platforms): Do not allow for platforms missing from
7739         %pplatforms.
7740         * sysdeps/aarch64/libm-test-ulps-name: New file.
7741         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
7742         * sysdeps/arm/libm-test-ulps-name: Likewise.
7743         * sysdeps/generic/libm-test-ulps-name: Likewise.
7744         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
7745         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
7746         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
7747         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
7748         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
7749         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
7750         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
7751         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
7752         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
7753         * sysdeps/nios2/libm-test-ulps-name: Likewise.
7754         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
7755         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
7756         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
7757         * sysdeps/sh/libm-test-ulps-name: Likewise.
7758         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
7759         * sysdeps/tile/libm-test-ulps-name: Likewise.
7760         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
7762         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
7764         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
7765         (test-xfail-check-execstack): New variable.
7767         * sysdeps/mips/localplt.data: New file.
7769 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
7770             Steve Ellcey  <sellcey@caviumnetworks.com>
7772         * bits/wordsize.h: Add documentation.
7773         * sysdeps/aarch64/bits/wordsize.h : New file
7774         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
7775         definitions.
7776         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
7777         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
7778         with #if instead of #ifdef.
7779         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
7780         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
7781         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
7782         Add or change defines.
7783         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
7784         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7785         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
7786         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
7787         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7788         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7789         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
7790         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
7791         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
7792         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7793         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
7794         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
7795         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
7796         * sysdeps/x86/bits/wordsize.h: Likewise.
7798 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
7799             Kevin Petit  <kevin.petit@arm.com>
7801         * sysdeps/aarch64/memchr.S (__memchr): New file.
7803 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7805         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
7807 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
7809         [BZ #19398]
7810         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
7811         $(linknamespace-symlists-tests).
7813 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
7815         * time/tst-strptime2.c: Ignore -Wformat-length warning.
7817 2016-11-02  Florian Weimer  <fweimer@redhat.com>
7818             Carlos O'Donell  <carlos@redhat.com>
7820         [Bug #20729]
7821         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
7822         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
7823         for -Os related change.
7825 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
7827         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
7829 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
7831         [BZ #19673]
7832         * manual/math.texi (Exponents and Logarithms): Correct description
7833         of clog10.
7835 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
7837         [Bz #20729]
7838         * locale/weight.h: Include libc-internal.h.
7839         * locale/weightwc.h: Likewise.
7840         * nptl/nptl_dbP.h: Likewise.
7842 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
7844         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
7845         when it is MACH_PORT_NULL.
7847 2016-10-31  Andreas Schwab  <schwab@suse.de>
7849         [BZ #20707]
7850         * posix/glob.c (glob): Initialize pglob before checking for
7851         GLOB_BRACE.  Don't call glob recursively if pattern contains no
7852         valid brace expression despite GLOB_BRACE.
7853         * posix/globtest.sh: Test it.
7855 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7857         [BZ #20729]
7858         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
7859         Define.
7860         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
7861         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
7862         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
7863         for seq2.back_us and seq1.back_us only for -Os compiles.
7864         * locale/weightwc.h (findix): Likewise.
7865         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
7866         DB_GET_FIELD_ADDRESS only for -Os compiles.
7867         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
7868         for slen only for -Os compiles.
7869         * string/strcoll_l.c (get_next_seq): Ignore
7870         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
7871         for -Os compiles.
7873         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
7874         * include/crypt.h: New file.
7876 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7878         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
7879         from test-skeleton.c.
7880         (statclass): Replace calls to write with calls to write_message.
7882 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7884         * math/math.h
7885         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
7886         New macro.
7887         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
7888         Likewise.
7889         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
7890         Likewise.
7891         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
7892         SNANL.
7893         * math/test-double.h (snan_value_MACRO): New macro.
7894         * math/test-float.h (snan_value_MACRO): Likewise.
7895         * math/test-ldouble.h (snan_value_MACRO): Likewise.
7896         * math/libm-test.inc (issignaling_test_data): Add tests of
7897         snan_value_MACRO.
7899 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7901         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
7902         behavior when eliding a lock not held by the current thread.
7903         * sysdeps/powerpc/nptl/elide.h: Likewise.
7905 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7907         [BZ #20728]
7908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
7909         branch to _exit() by a function call.
7911 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7913         * malloc/malloc.c: Update chunk layout comments.
7914         (chunk_main_arena): Update comment.
7916 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7918         * crypt/sha256.c, crypt/sha256-block.c,
7919         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
7920         sha256_process_block to __sha256_process_block.
7921         * crypt/sha512.c, crypt/sha512-block.c,
7922         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
7923         sha512_process_block to __sha512_process_block.
7925 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7927         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
7929         * math/test-nan-overflow.c: Include stdlib.h for malloc.
7931 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
7933         [BZ #20019]
7934         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
7935         definition in unrelocated shared library.
7936         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7938 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7940         [BZ #20729]
7941         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
7942         * sysdeps/unix/sysv/linux/i386/Makefile
7943         (uses-6-syscall-arguments): Define.
7944         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
7945         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
7946         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
7947         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
7948         Likewise.
7949         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
7950         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
7951         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
7952         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
7953         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
7954         (CFLAGS-fallocate64.os): Likewise.
7955         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
7956         (CFLAGS-pthread_rwlock_timedrdlock.os)
7957         (CFLAGS-pthread_rwlock_timedwrlock.o)
7958         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
7959         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
7960         (CFLAGS-sem_timedwait.os): Likewise.
7962 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7964         * elf/tst-linkall-static.c: New file.
7965         * elf/Makefile (tests-static): Add tst-linkall-static.
7966         (tst-linkall-static): Link against static libraries.
7968 2016-10-27  Florian Weimer  <fweimer@redhat.com>
7970         * malloc/malloc.c (sysmalloc): Initialize previous size field of
7971         mmaped chunks.
7973 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7975         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
7976         members to mchunk_prev_size, mchunk_size.
7977         (chunk_main_arena): Reverse sense and rename from
7978         chunk_non_main_arena.
7979         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
7980         mchunk_size instead of size.
7981         (set_non_main_arena): Define.
7982         (chunksize): Use chunksize_nomask instead of direct member access.
7983         (chunksize_nomask): Define.
7984         (next_chunk): Use chunksize instead of direct member access.
7985         (prev_size, set_prev_size): Define.
7986         (prev_chunk): Use prev_size instead of direct member access.
7987         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
7988         (inuse_bit_at_offset, set_inuse_bit_at_offset)
7989         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
7990         (mchunk_prev_size, mchunk_size): Poison tokens.
7991         (unlink): Use chunksize_nomask, prev_size accessors.
7992         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
7993         (do_check_free_chunk): Use prev_size accessor.
7994         (sysmalloc): Use set_prev_size, set_head accessors.
7995         (munmap_chunk, mremap_chunk): Use prev_size accessor.
7996         (__libc_free): Use chunksize_nomask accessor.
7997         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
7998         chunk_main_arena accessors.
7999         (_int_free): Use chunksize_nomask, prev_size accessors.
8000         (malloc_consolidate): Use chunksize, prev_size accessors.
8001         (_int_realloc): Use chunksize_nomask accessor.
8002         (_int_memalign): Use set_prev_size accessor.
8003         (__malloc_info): Use chunksize_nomask accessor.
8004         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
8005         accessors.
8006         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
8007         (heap_trim): Use chunksize_nomask, prev_size accessors.
8009 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8011         [BZ #19380]
8012         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
8013         for inexact results.
8014         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
8015         of inexact result where mpfr_subnormalize is the only inexact
8016         step.
8017         * stdlib/tst-strtod-round-data.h: Regenerated.
8018         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
8019         Define to 0.
8020         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
8022 2016-10-27  David S. Miller  <davem@davemloft.net>
8024         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
8026 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8028         * malloc/malloc.c (do_set_mallopt_check): New function.
8029         (do_set_mmap_threshold): Likewise.
8030         (do_set_mmaps_max): Likewise.
8031         (do_set_top_pad): Likewise.
8032         (do_set_perturb_byte): Likewise.
8033         (do_set_trim_threshold): Likewise.
8034         (do_set_arena_max): Likewise.
8035         (do_set_arena_test): Likewise.
8036         (__libc_mallopt): Use them.
8038 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
8040         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8041         (canonicalize): New declaration.
8042         * math/Versions (canonicalize): New libm symbol at version
8043         GLIBC_2.25.
8044         (canonicalizef): Likewise.
8045         (canonicalizel): Likewise.
8046         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
8047         * math/s_canonicalize_template.c: New file.
8048         * math/libm-test.inc: Update comment on functions tested and
8049         testing of NaN payloads.
8050         (TEST_NAN_PAYLOAD): New macro.
8051         (NO_TEST_INLINE): Update value.
8052         (XFAIL_TEST): Likewise.
8053         (ERRNO_UNCHANGED): Likewise.
8054         (ERRNO_EDOM): Likewise.
8055         (ERRNO_ERANGE): Likewise.
8056         (IGNORE_RESULT): Likewise.
8057         (NON_FINITE): Likewise.
8058         (TEST_SNAN): Likewise.
8059         (NO_TEST_MATHVEC): Likewise.
8060         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
8061         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
8062         (struct test_Ffp_b1_data): New type.
8063         (RUN_TEST_Ffp_b1): New macro.
8064         (RUN_TEST_LOOP_Ffp_b1): Likewise.
8065         (canonicalize_test_data): New array.
8066         (canonicalize_test): New function.
8067         (main): Call canonicalize_test.
8068         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
8069         canonicalizef and canonicalizel.
8070         * manual/libm-err-tab.pl: Update comment on interfaces without
8071         ulps tabulated.
8072         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
8073         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
8074         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8075         canonicalize.
8076         (CFLAGS-nldbl-canonicalize.c): New variable.
8077         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
8078         to ...
8079         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
8080         ... here.
8081         (do_test): Also test canonicalizel.
8082         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
8083         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
8084         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
8085         file.
8086         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
8087         Use libm_hidden_def.
8088         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
8089         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
8090         (do_test): Also test canonicalizel.
8091         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
8092         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
8093         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
8094         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
8095         libm_hidden_def.
8096         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
8097         macro.
8098         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
8099         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
8100         * sysdeps/nacl/libm.abilist: Update.
8101         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8102         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8103         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8104         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8105         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8106         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8107         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8108         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8109         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8110         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8111         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8112         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8114         Likewise.
8115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8116         Likewise.
8117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8118         Likewise.
8119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8120         Likewise.
8121         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8122         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8123         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8124         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8125         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8127         Likewise.
8128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8129         Likewise.
8130         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8131         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8132         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8134         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
8135         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8136         getpayload.
8137         (CFLAGS-nldbl-getpayload.c): New variable.
8139 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8141         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
8142         integer from the format string.
8144 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8146         [BZ #19473]
8147         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
8148         declarations.
8149         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
8150         weak aliases.
8151         * malloc/hooks.c (__malloc_get_state): Remove definition.
8152         (malloc_get_state): New stub implementation as
8153         compatibility symbol.
8154         (malloc_set_state): Rename from __malloc_set_state.  Turn into
8155         compat symbol.
8156         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
8157         malloc_set_state.
8158         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
8160 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8162         * iconvdata/iso646.c (enum variant): Drop illegal_var.
8163         (names): Turn into concatenation of strings.
8164         (gconv_init): Adapt iteration over names.
8166 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8168         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
8169         make const.
8170         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
8171         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
8172         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
8173         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
8174         character in sbconv.
8175         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
8176         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
8177         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
8179 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8181         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
8183         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
8184         (M_TRIM_THRESHOLD): Likewise.
8186         * manual/memory.texi (M_ARENA_TEST): Add documentation.
8187         (M_ARENA_MAX): Likewise.
8188         * malloc/malloc.c: Remove obsolete comment.
8190         * manual/memory.texi: Add environment variable alternatives to
8191         setting mallopt parameters.
8193 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
8195         * include/atomic.h
8196         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
8197         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
8199 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8201         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
8202         * stdlib/tst-strfrom.h: New file.
8203         * stdlib/tst-strfrom.c: New file.
8204         * stdlib/tst-strfrom-locale.c: New file.
8206         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
8207         * stdlib/bug-strtod2.c: Likewise.
8208         * stdlib/tst-strtod-round-skeleton.c: Likewise.
8209         * stdlib/tst-strtod6.c: Likewise.
8210         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
8212 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8214         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
8215         * manual/arith.texi: Document strfromd, strfromf, strfroml.
8216         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
8217         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
8218         * stdlib/stdlib.h (strfromd): New declaration.
8219         (strfromf): Likewise.
8220         (strfroml): Likewise.
8221         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
8222         strfrom.
8223         * stdlib/strfromd.c: New file.
8224         * stdlib/strfromf.c: Likewise.
8225         * stdlib/strfroml.c: Likewise.
8226         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
8227         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
8228         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
8229         * sysdeps/arm/nacl/libc.abilist: Update.
8230         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8231         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8232         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8233         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8234         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8235         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8236         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8237         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8238         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8239         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8240         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8241         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8242         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8243         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
8245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8248         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8249         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8250         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8251         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8252         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8255         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8256         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8257         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8259 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
8261         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
8262         instead of cmpli.
8263         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
8264         instead of cmpli.
8266 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
8268         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
8269         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
8270         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
8271         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8272         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8273         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8275 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8277         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
8278         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8279         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
8280         SYSCALL_LL64_PRW.
8281         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8282         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
8283         __ASSUME_PRW_DUMMY_ARG.
8284         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
8285         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8286         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8287         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8288         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
8289         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
8291 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
8293         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
8295 2016-10-22  Florian Weimer  <fweimer@redhat.com>
8297         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
8298         "C++", to override a potential extern "C" directive around the
8299         header file inclusion.
8301 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
8303         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
8305 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8307         * sysdeps/powerpc/fpu/fenv_private.h:
8308         (_FPU_MASK_ALL): Rename to...
8309         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
8310         XE FPSCR bits.
8312         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
8314         (_FPU_MASK_ROUNDING): Rename to...
8315         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
8316         NI bits.
8318         (_FPU_MASK_EXCEPT_ROUND): Rename to...
8319         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
8320         bits and rounding bits.
8322         (__libc_feholdbits_ppc): New inline function to mask, set,
8323         and pontentially clear FSPCR bits, and change MSR[FE] bits.
8324         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
8325         (libc_feholdexcept_setround_ppc): Likewise.
8327         (__libc_femergeenv_ppc): New function to dynamically mask both
8328         old and new FP environments and merge.
8329         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
8330         (libc_feresetround_ppc): Likewise.
8331         (libc_feupdateenv_test_ppc): Likewise.
8332         (libc_feupdateenv_ppc): Likewise.
8334         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
8335         of ISA RN bits, and update macro names.
8336         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
8337         effectively the same as the previously mentioned function.
8339         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
8340         usage with fe_resetround_ppc.
8342         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
8343         to be used.
8344         (libc_feholdexcept_setround_ctxf): Likewise.
8345         (libc_feholdexcept_setround_ctxl): Likewise.
8347 2016-10-21  Florian Weimer  <fweimer@redhat.com>
8349         [BZ #20715]
8350         * math/math.h [__cplusplus] (iszero): Define as function template.
8351         * math/Makefile [CXX] (tests): Add test-math-iszero.
8352         (CFLAGS-test-math-iszero.cc): Set.
8353         * math/test-math-iszero.cc: New file.
8355 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
8357         [BZ #20660]
8358         * sysdeps/arm/e_sqrt.c: New file.
8359         * sysdeps/arm/e_sqrtf.c: Likewise.
8361 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
8363         [BZ #20718]
8364         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
8365         not use floating-point comparisons to test sign.
8366         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
8367         Likewise.
8369         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8370         (getpayload): New declaration.
8371         * math/Versions (getpayload): New libm symbol at version
8372         GLIBC_2.25.
8373         (getpayloadf): Likewise.
8374         (getpayloadl): Likewise.
8375         * math/Makefile (libm-calls): Add s_getpayloadF.
8376         * math/libm-test.inc: Include <nan-high-order-bit.h>.
8377         (struct test_f_f_data): Add comment.
8378         (RUN_TEST_fp_f): New macro.
8379         (RUN_TEST_LOOP_fp_f): Likewise.
8380         (getpayload_test_data): New array.
8381         (getpayload_test): New function.
8382         (main): Call getpayload_test.
8383         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
8384         descriptor.
8385         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
8386         getpayloadf and getpayloadl.
8387         * manual/libm-err-tab.pl: Update comment on interfaces without
8388         ulps tabulated.
8389         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
8390         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
8391         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
8392         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
8393         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
8394         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
8395         * sysdeps/nacl/libm.abilist: Update.
8396         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8397         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8398         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8399         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8400         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8401         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8402         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8403         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8404         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8405         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8406         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8407         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8409         Likewise.
8410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8411         Likewise.
8412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8413         Likewise.
8414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8415         Likewise.
8416         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8417         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8418         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8419         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8420         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8422         Likewise.
8423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8424         Likewise.
8425         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8426         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8427         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8429 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8431         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
8432         tst-fallocate{64}.
8433         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
8434         on syscall return.
8436 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
8438         [BZ #20689]
8439         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
8440         usable.
8442 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
8444         * sysdeps/generic/nan-high-order-bit.h: New file.
8445         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
8446         * sysdeps/mips/nan-high-order-bit.h: Likewise.
8447         * sysdeps/hppa/math_private.h: Remove file.
8448         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
8449         not define here.
8450         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
8451         <nan-high-order-bit.h>.
8452         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8453         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
8454         <nan-high-order-bit.h>.
8455         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8456         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
8457         <nan-high-order-bit.h>.
8458         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8459         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
8460         <nan-high-order-bit.h>.
8461         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8462         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
8463         <nan-high-order-bit.h>.
8464         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8465         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
8466         <nan-high-order-bit.h>.
8467         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8468         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
8469         <nan-high-order-bit.h>.
8470         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8471         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
8472         <nan-high-order-bit.h>.
8473         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8474         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
8475         <nan-high-order-bit.h>.
8476         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8477         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
8478         <nan-high-order-bit.h>.
8479         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8480         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8481         <nan-high-order-bit.h>.
8482         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8483         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8484         <nan-high-order-bit.h>.
8485         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8486         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
8487         <nan-high-order-bit.h>.
8488         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8489         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
8490         <nan-high-order-bit.h>.
8491         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8492         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
8493         <nan-high-order-bit.h>.
8494         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8495         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
8496         <nan-high-order-bit.h>.
8497         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8498         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
8499         <nan-high-order-bit.h>.
8500         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8501         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
8502         <nan-high-order-bit.h>.
8503         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8505 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8507         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
8509 2016-09-22  John David Anglin  <dave.anglin@bell.net>
8511         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
8512         abort-instr.h.
8513         (EFAULT): Remove conditional define.
8514         (ENOSYS): Likewise.
8515         (atomic_compare_and_exchange_val_acq): Use instruction nullification
8516         instead of conditional branch instructions.
8518 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
8520         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8521         (totalordermag): New declaration.
8522         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
8523         New macro.
8524         * math/Versions (totalordermag): New libm symbol at version
8525         GLIBC_2.25.
8526         (totalordermagf): Likewise.
8527         (totalordermagl): Likewise.
8528         * math/Makefile (libm-calls): Add s_totalordermagF.
8529         * math/libm-test.inc (totalordermag_test_data): New array.
8530         (totalordermag_test): New function.
8531         (main): Call totalordermag_test.
8532         * math/test-tgmath.c (NCALLS): Increase to 125.
8533         (F(compile_test)): Call totalordermag.
8534         (F(totalordermag)): New function.
8535         * manual/arith.texi (FP Comparison Functions): Document
8536         totalordermag, totalordermagf and totalordermagl.
8537         * manual/libm-err-tab.pl: Update comment on interfaces without
8538         ulps tabulated.
8539         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
8540         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
8541         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
8542         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
8543         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
8544         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
8545         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
8546         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8547         totalordermag.
8548         (CFLAGS-nldbl-totalordermag.c): New variable.
8549         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
8550         (do_test): Also test totalordermagl.
8551         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
8552         Likewise.
8553         * sysdeps/nacl/libm.abilist: Update.
8554         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8555         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8556         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8557         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8558         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8559         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8560         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8561         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8562         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8563         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8564         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8565         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8567         Likewise.
8568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8569         Likewise.
8570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8571         Likewise.
8572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8573         Likewise.
8574         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8575         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8576         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8577         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8578         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8580         Likewise.
8581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8582         Likewise.
8583         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8584         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8585         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8587 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
8589         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
8590         boolean.
8592 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
8594         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
8595         raising FE_INVALID with feraisexcept in case where part of
8596         argument is infinite, subtract that part of argument from itself.
8597         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
8598         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
8599         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8601 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8603         * math/libm-test.inc (totalorder_test_data): Add more tests.
8605 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
8607         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
8608         Undefine weak_alias and add a comment why mips64 require
8609         versioning.
8611 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
8613         [BZ #20647]
8614         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
8615         maximum CPUID level is less than 2.
8617 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8619         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8620         (totalorder): New declaration.
8621         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
8622         New macro.
8623         * math/Versions (totalorder): New libm symbol at version
8624         GLIBC_2.25.
8625         (totalorderf): Likewise.
8626         (totalorderl): Likewise.
8627         * math/Makefile (libm-calls): Add s_totalorderF.
8628         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
8629         string.
8630         * math/libm-test.inc (PAYLOAD_DIG): New macro.
8631         (qnan_value_pl): Likewise.
8632         (snan_value_pl): Likewise.
8633         (qnan_value): Define using qnan_value_pl.
8634         (snan_value): Define using snan_value_pl.
8635         (struct test_ff_i_data): Add comment about which tests use this
8636         structure.
8637         (RUN_TEST_ff_b): New macro.
8638         (RUN_TEST_LOOP_ff_b): Likewise.
8639         (totalorder_test_data): New array.
8640         (totalorder_test): New function.
8641         (main): Call totalorder_test.
8642         * math/test-tgmath.c (NCALLS): Increase to 122.
8643         (F(compile_test)): Call totalorder.
8644         (F(totalorder)): New function.
8645         * manual/arith.texi (FP Comparison Functions): Document
8646         totalorder, totalorderf and totalorderl.
8647         * manual/libm-err-tab.pl: Update comment on interfaces without
8648         ulps tabulated.
8649         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
8650         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
8651         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
8652         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
8653         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
8654         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
8655         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
8656         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8657         totalorder.
8658         (CFLAGS-nldbl-totalorder.c): New variable.
8659         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
8660         file.
8661         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8662         Add test-totalorderl-ldbl-128ibm.
8663         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
8664         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
8665         test-totalorderl-ldbl-96.
8666         * sysdeps/nacl/libm.abilist: Update.
8667         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8668         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8669         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8670         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8671         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8672         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8673         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8674         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8675         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8676         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8677         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8678         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8680         Likewise.
8681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8682         Likewise.
8683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8684         Likewise.
8685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8686         Likewise.
8687         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8688         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8689         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8690         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8691         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8693         Likewise.
8694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8695         Likewise.
8696         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8697         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8698         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8700 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8702         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
8703         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
8704         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
8705         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
8706         remove ENOSYS implementation.
8707         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
8708         Consolidate all Linux implementations.
8710 2016-10-11  Florian Weimer  <fweimer@redhat.com>
8712         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
8713         * resolv/herror.c (herror): Cast away const-ness.
8714         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
8715         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
8717 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
8719         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
8720         instead of M_NAN + M_NAN.
8721         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8723 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8725         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
8726         unused variable 'p'.
8728 2016-10-09  Alan Modra  <amodra@gmail.com>
8729             Andreas Schwab  <schwab@linux-m68k.org>
8731         [BZ #20554]
8732         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
8733         [PIC && !SHARED]: Set up PIC register for PLT call.
8735 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
8737         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
8738         conditional on value of [__FLT_EVAL_METHOD__].
8739         * math/test-iseqsig-excess-precision.c: New file.
8740         * math/Makefile (tests): Add test-iseqsig-excess-precision.
8742 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8744         * math/s_iseqsig_template.c: Include math-private.h.
8746         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
8747         * posix/tst-posix_fadvise.c: New file.
8748         * posix/tst-posix_fadvise64.c: Likewise.
8749         * posix/tst-posix_fadvise-common.c: Likewise.
8750         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8751         (__ASSUME_FADVISE64_64_6ARG): Define.
8752         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8753         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
8754         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8755         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
8756         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
8757         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
8758         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
8759         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8760         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
8761         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
8762         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
8763         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
8764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
8765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
8766         Likewise.
8767         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
8768         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
8769         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
8770         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8771         Alias to __posix_fadvise64_l32.
8772         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
8773         Add compat definition to posix_fadvise64.
8774         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8775         Add versioned definition to posix_fadvise64.
8776         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
8777         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
8778         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
8779         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
8780         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
8782         * io/Makefile (tests): Add tst-posix_fallocate and
8783         tst-posix_fallocate64.
8784         * io/tst-posix_fallocate-common.c: New file.
8785         * io/tst-posix_fallocate.c: Likewise.
8786         * io/tst-posix_fallocate64.c: Likewise.
8787         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
8788         file.
8789         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
8790         Likewise.
8791         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
8792         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
8793         Likewise.
8794         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
8795         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
8796         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
8797         SYSCALL_LL to pass both offset and len arguments.
8798         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
8799         Likewise.
8800         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
8801         __libc_pwrite64 alias used by posix_fallocate64.
8803         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8804         tst-fallocate64.
8805         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8806         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8807         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8808         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8809         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8810         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8811         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8812         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8813         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8814         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8815         macro on offset argument.
8816         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8817         SYSCALL_LL64 on offset argument.
8819         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8820         tst-fallocate64.
8821         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8822         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8823         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8824         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8825         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8826         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8827         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8828         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8829         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8830         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8831         macro on offset argument.
8832         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8833         SYSCALL_LL64 on offset argument.
8834         * test-skeleton.c (FAIL_RET): Add macro.
8835         (FAIL_EXIT): Likewise.
8836         (FAIL_EXIT1): Likewise.
8837         (_FAIL): Likewise.
8839 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8841         [BZ #20629]
8842         resolv: Remove RES_USEBSTRING and its implementation.
8843         * resolv/resolv.h (RES_USEBSTRING): Remove.
8844         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
8845         (digitvalue, encode_bitstring, decode_bitstring): Remove.
8846         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
8847         (labellen): Remove extended label types support.
8848         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
8849         * resolv/res_init.c (res_setoptions): Likewise.
8850         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8852 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8854         resolv: Remove RES_NOIP6DOTINT and its implementation.
8855         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
8856         (RES_NOIP6DOTINT): Remove.
8857         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
8858         handling.
8859         * resolv/res_debug.c (p_option): Likewise.
8860         * resolv/res_init.c (res_setoptions): Likewise.
8861         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8863 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8865         resolv: Deprecate unimplemented flags.
8866         * misc/sys/cdefs.h (__glibc_macro_warning1)
8867         (__glibc_macro_warning): Define.
8868         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
8869         (RES_KEEPTSIG): Mark as deprecated.
8870         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
8871         RES_NOCHECKNAME, RES_KEEPTSIG.
8872         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
8874 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8876         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
8877         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
8878         Use strong_alias to create symbols for glibc verison 2.19.
8880 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8882         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
8884 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8886         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
8888 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8890         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
8892 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8894         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8895         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
8896         in header for using it as type for ifunc function because __GI_* symbols
8897         for ppc32 do not target the ifunc symbols.
8898         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8900 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8902         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
8903         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
8904         libc_ifunc_hidden_def.
8905         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
8906         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
8907         Redirect ifunced function in header for using it as type of ifunc'ed
8908         function. Redefine libc_hidden_def to use fallback non ifunc'ed
8909         function for __GI_* symbol.
8910         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
8911         * include/libc-symbols.h
8912         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
8914 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8916         [BZ #20478]
8917         * sysdeps/s390/multiarch/ifunc-resolve.h
8918         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
8919         to create ifunc symbols.
8920         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
8921         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
8922         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
8923         for using it as type for ifunc function.
8924         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8925         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8926         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8927         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8928         * sysdeps/s390/multiarch/strcat.c: Likewise.
8929         * sysdeps/s390/multiarch/strchr.c: Likewise.
8930         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8931         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8932         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8933         * sysdeps/s390/multiarch/strlen.c: Likewise.
8934         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8935         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8936         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8937         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8938         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8939         * sysdeps/s390/multiarch/strspn.c: Likewise.
8940         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8941         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8942         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8943         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8944         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8945         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8946         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8947         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
8948         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
8949         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8950         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
8951         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
8953 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8955         * include/libc-symbols.h (__ifunc_resolver):
8956         New macro is used by __ifunc* macros.
8957         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
8958         depending on HAVE_GCC_IFUNC.
8959         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
8960         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
8961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8962         Redirect ifunced function in header for using as type for ifunc function.
8963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
8964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
8965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
8966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
8967         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8968         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8969         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8970         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8971         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8972         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8973         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8974         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8975         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8976         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
8979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
8981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8982         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8983         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8984         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8985         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8986         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8987         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8988         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8989         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8990         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8991         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8992         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8993         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8994         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
8995         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
8997         Add libc_hidden_def() and use libc_ifunc_hidden() macro
8998         instead of libc_ifunc() macro.
8999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
9000         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9002 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9004         * config.h.in (HAVE_GCC_IFUNC): New undef.
9005         * configure.ac: Add check if gcc supports attribute ifunc feature.
9006         * configure: Regenerated.
9007         * manual/install.texi: Add recommendation for gcc with
9008         indirect-function support.
9009         * INSTALL: Regenerated.
9011 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
9013         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
9014         macro.
9015         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9016         (__iseqsig): New declaration.
9017         * math/s_iseqsig_template.c: New file.
9018         * math/Versions (__iseqsigf): New libm symbol at version
9019         GLIBC_2.25.
9020         (__iseqsig): Likewise.
9021         (__iseqsigl): Likewise.
9022         * math/libm-test.inc (iseqsig_test_data): New array.
9023         (iseqsig_test): New function.
9024         (main): Call iseqsig_test.
9025         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
9026         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
9027         * manual/libm-err-tab.pl: Update comment on interfaces without
9028         ulps tabulated.
9029         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
9030         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
9031         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
9032         * sysdeps/nacl/libm.abilist: Update.
9033         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9034         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9035         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9036         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9037         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9038         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9039         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9040         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9041         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9042         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9043         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9044         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9046         Likewise.
9047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9048         Likewise.
9049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9050         Likewise.
9051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9052         Likewise.
9053         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9054         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9055         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9056         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9057         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9059         Likewise.
9060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9061         Likewise.
9062         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9063         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9064         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9066 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9068         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
9069         do_sincos_2, sloww, sloww1): Update comments.
9071         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
9072         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
9074         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
9075         K boolean and rename it.
9076         (__sin): Adjust.
9077         (__cos): Adjust.
9079 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9080             Siddhesh Poyarekar  <siddhesh@sourceware.org>
9082         * manual/nss.texi: Fix typos in the manual.
9084 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9086         * manual/contrib.texi: Fix typos in the manual.
9088         * manual/maint.texi: Fix typos in the manual.
9090         * manual/install.texi: Fix typos in the manual.
9091         * INSTALL: Regenerated.
9093         * manual/lang.texi: Fix typos in the manual.
9095         * manual/probes.texi: Fix typos in the manual.
9097         * manual/threads.texi: Fix typos in the manual.
9099         * manual/debug.texi: Fix typos in the manual.
9101         * manual/crypt.texi: Fix typos in the manual.
9103         * manual/conf.texi: Fix typos in the manual.
9105         * manual/sysinfo.texi: Fix typos in the manual.
9107         * manual/users.texi: Fix typos in the manual.
9109         * manual/job.texi: Fix typos in the manual.
9111         * manual/process.texi: Fix typos in the manual.
9113         * manual/argp.texi: Fix typos in the manual.
9114         * manual/getopt.texi: Likewise.
9115         * manual/startup.texi: Likewise.
9117         * manual/signal.texi: Fix typos in the manual.
9119         * manual/setjmp.texi: Fix typos in the manual.
9121         * manual/resource.texi: Fix typos in the manual.
9123         * manual/time.texi: Fix typos in the manual.
9125         * manual/arith.texi: Fix typos in the manual.
9127         * manual/math.texi: Fix typos in the manual.
9129         * manual/syslog.texi: Fix typos in the manual.
9131         * manual/terminal.texi: Fix typos in the manual.
9133         * manual/socket.texi: Fix typos in the manual.
9135         * manual/filesys.texi: Fix typos in the manual.
9137         * manual/llio.texi: Fix typos in the manual.
9139         * manual/stdio.text: Fix typos in the manual.
9141 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9143         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
9144         instead of K1.
9146         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
9147         SHIFT_QUADRANT and make it bool.
9148         (do_sincos_2): Likewise.
9149         (sloww): Likewise.
9150         (sloww1): Likewise.
9151         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
9152         (__cos): Likewise.
9154 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9156         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9158 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
9160         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
9161         Define to __WORDSIZE, not conditional on [LONG_MAX ==
9162         0x7fffffffL].
9163         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9165 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9167         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
9168         inline by __inline__.
9169         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
9170         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
9171         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
9172         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
9173         sigset_t from signal.h.
9174         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
9175         which is already required.
9177 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
9179         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9181 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
9183         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
9184         (struct tcp_repair_window): New type.
9186 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9188         * libio/tst-memstream3.c: Include string.h.
9190 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9192         [BZ #18241]
9193         [BZ #20181]
9194         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
9195         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
9196         write position is at the end the buffer.
9197         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
9198         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
9199         (_IO_str_seekoff): Set correct offset from negative displacement and
9200         set EINVAL for invalid ones.
9201         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
9202         buffer length.
9203         (_IO_wstr_switch_to_get_mode): New function.
9204         (_IO_wstr_seekoff): Set correct offset from negative displacement and
9205         set EINVAL for invalid ones.
9206         * libio/tst-memstream3.c: New file.
9207         * libio/tst-wmemstream3.c: Likewise.
9208         * manual/examples/memstrm.c: Remove warning when priting size_t.
9210 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
9212         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
9213         macro to use __builtin_fma.
9214         * sysdeps/x86_64/fpu/dla.h: Remove file.
9216         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
9217         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
9218         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
9220 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
9222         [BZ #20292]
9223         * elf/Makefile (routines): Add dl-addr-obj.
9224         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
9225         tst-_dl_addr_inside_object.
9226         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
9227         [ifeq (yesyes,$(have-fpie)$(build-shared))]
9228         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
9229         [ifeq (yesyes,$(have-fpie)$(build-shared))]
9230         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
9231         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
9232         * elf/dl-open.c: Likewise.
9233         * elf/dl-addr-obj.c: New file.
9234         * elf/tst-_dl_addr_inside_object.c: New file.
9236 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
9238         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
9239         <bits/iscanonical.h>.
9240         * bits/iscanonical.h: New file.
9241         * math/s_iscanonicall.c: Likewise.
9242         * math/Versions (__iscanonicall): New libm symbol at version
9243         GLIBC_2.25.
9244         * math/libm-test.inc (iscanonical_test_data): New array.
9245         (iscanonical_test): New function.
9246         (main): Call iscanonical_test.
9247         * math/Makefile (headers): Add bits/iscanonical.h.
9248         (type-ldouble-routines): Add s_iscanonicall.
9249         * manual/arith.texi (Floating Point Classes): Document
9250         iscanonical.
9251         * manual/libm-err-tab.pl: Update comment on interfaces without
9252         ulps tabulated.
9253         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
9254         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
9255         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
9256         Likewise.
9257         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
9258         test-iscanonical-ldbl-128ibm.
9259         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
9260         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
9261         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
9262         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
9263         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9264         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9265         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9267         Likewise.
9268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9269         Likewise.
9270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9271         Likewise.
9272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9273         Likewise.
9274         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9275         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9277 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9279         * string/bits/string3.h: Remove C++ style comments.
9281 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9283         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
9284         instead of ternary condition.
9285         (do_sincos_2): Likewise.
9286         (__sin): Likewise.
9287         (__cos): Likewise.
9288         (slow): Likewise.
9289         (sloww): Likewise.
9290         (sloww1): Likewise.
9291         (bsloww): Likewise.
9292         (bsloww1): Likewise.
9294         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
9295         instead of ternary condition.
9296         (do_sin_slow): Likewise.
9297         (do_sincos_1): Likewise.
9298         (do_sincos_2): Likewise.
9299         (__cos): Likewise.
9300         (sloww): Likewise.
9301         (sloww1): Likewise.
9302         (sloww2): Likewise.
9303         (bsloww): Likewise.
9304         (bsloww1): Likewise.
9305         (bsloww2): Likewise.
9307         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
9308         check from here...
9309         (slow2): ... and here...
9310         (__sin): ... to here.
9312 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
9314         * math/math.h
9315         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
9316         Cast argument to its own type.
9317         * math/test-iszero-excess-precision.c: New file.
9318         * math/Makefile (tests): Add test-iszero-excess-precision.
9319         (CFLAGS-test-iszero-excess-precision.c): New variable.
9321 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
9323         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
9324         field, add err field.
9325         (__spawni_child): Report error through err member instead of pipe.
9326         (__spawnix): Likewise.
9328 2016-09-28  Zack Weinberg  <zackw@panix.com>
9330         * scripts/check-installed-headers.sh: Generalize treatment of
9331         sys/elf.h to all target architectures.
9333         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
9334         deleted typedef ucontext_t.
9336 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9338         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
9339         (__INTERNAL_SYSCALL1): Likewise.
9340         (__INTERNAL_SYSCALL2): Likewise.
9341         (__INTERNAL_SYSCALL3): Likewise.
9342         (__INTERNAL_SYSCALL4): Likewise.
9343         (__INTERNAL_SYSCALL5): Likewise.
9344         (__INTERNAL_SYSCALL6): Likewise.
9345         (__INTERNAL_SYSCALL7): Likewise.
9346         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
9347         (__INTERNAL_SYSCALL_NARGS): Likewise.
9348         (__INTERNAL_SYSCALL_DISP): Likewise.
9349         (INTERNAL_SYSCALL_CALL): Likewise.
9350         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
9351         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
9352         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
9353         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
9354         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
9355         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
9356         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
9357         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
9358         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
9359         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
9360         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
9361         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
9362         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
9364 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
9366         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
9367         macro.
9368         * math/libm-test.inc (iszero_test_data): New array.
9369         (iszero_test): New function.
9370         (main): Call iszero_test.
9371         * manual/arith.texi (Floating Point Classes): Document iszero.
9372         * manual/libm-err-tab.pl: Update comment on interfaces without
9373         ulps tabulated.
9375 2016-09-23  Zack Weinberg  <zackw@panix.com>
9377         * scripts/check-installed-headers.sh: New script.
9378         * Rules: In each directory that defines header files to be installed,
9379         run check-installed-headers.sh on them as a special test.
9380         * Makefile: Likewise for the headers installed at top level.
9382         * include/aliases.h, include/alloca.h, include/argz.h
9383         * include/arpa/nameser.h, include/arpa/nameser_compat.h
9384         * include/elf.h, include/envz.h, include/err.h
9385         * include/execinfo.h, include/fpu_control.h, include/getopt.h
9386         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
9387         * include/link.h, include/malloc.h, include/mcheck.h
9388         * include/mntent.h, include/netinet/ether.h
9389         * include/nss.h, include/obstack.h, include/printf.h
9390         * include/pty.h, include/resolv.h, include/rpc/auth.h
9391         * include/rpc/auth_des.h, include/rpc/auth_unix.h
9392         * include/rpc/clnt.h, include/rpc/des_crypt.h
9393         * include/rpc/key_prot.h, include/rpc/netdb.h
9394         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
9395         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
9396         * include/rpc/rpc_msg.h, include/rpc/svc.h
9397         * include/rpc/svc_auth.h, include/rpc/xdr.h
9398         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
9399         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
9400         * include/rpcsvc/ypupd.h, include/shadow.h
9401         * include/stdio_ext.h, include/sys/epoll.h
9402         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
9403         * include/sys/prctl.h, include/sys/profil.h
9404         * include/sys/statfs.h, include/sys/sysctl.h
9405         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
9406         * sysdeps/arm/nacl/include/bits/setjmp.h
9407         * sysdeps/mips/include/sys/asm.h
9408         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
9409         * sysdeps/unix/sysv/linux/include/sys/timex.h
9410         * sysdeps/x86/fpu/include/bits/fenv.h:
9411         Add #ifndef _ISOMAC guard around internal declarations.
9412         Add multiple-inclusion guard if not already present.
9414 2016-09-23  Zack Weinberg  <zackw@panix.com>
9416         * sysdeps/generic/sys/ucontext.h
9417         * sysdeps/arm/sys/ucontext.h
9418         * sysdeps/i386/sys/ucontext.h
9419         * sysdeps/m68k/sys/ucontext.h
9420         * sysdeps/mips/sys/ucontext.h
9421         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
9422         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
9423         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
9424         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
9425         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
9426         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
9427         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
9428         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
9429         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
9430         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
9431         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
9432         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
9433         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
9434         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
9435         Include both bits/sigcontext.h and bits/sigstack.h.
9436         Fix grammar error in comment, if present.
9438         * bits/sigstack.h
9439         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
9440         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
9441         * sysdeps/unix/sysv/linux/bits/sigstack.h
9442         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
9443         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
9444         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
9445         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
9446         * bits/sigcontext.h
9447         * sysdeps/mach/hurd/i386/bits/sigcontext.h
9448         * sysdeps/unix/sysv/linux/bits/sigcontext.h
9449         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
9450         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
9451         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
9452         as well as signal.h, if this was not already allowed.  Request
9453         definition of size_t if necessary.  Minimize semantically-null
9454         differences across files.
9456 2016-09-23  Zack Weinberg  <zackw@panix.com>
9458         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
9459         Remove all logic conditional on __need macros.  Move all the
9460         conditionally defined types to their own headers...
9461         * time/bits/types/clock_t.h: Define clock_t here.
9462         * time/bits/types/clockid_t.h: Define clockid_t here.
9463         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
9464         * time/bits/types/struct_timespec.h: Define struct timespec here.
9465         * time/bits/types/struct_timeval.h: Define struct timeval here.
9466         * time/bits/types/struct_tm.h: Define struct tm here.
9467         * time/bits/types/time_t.h: Define time_t here.
9468         * time/bits/types/timer_t.h: Define timer_t here.
9469         * time/Makefile: Install the new headers.
9471         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
9472         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
9473         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
9474         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
9475         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
9476         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
9477         * sysdeps/unix/sysv/linux/bits/resource.h
9478         * sysdeps/unix/sysv/linux/bits/timex.h
9479         * sysdeps/unix/sysv/linux/mips/bits/resource.h
9480         * sysdeps/unix/sysv/linux/net/ppp_defs.h
9481         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
9482         * sysdeps/unix/sysv/linux/sys/acct.h
9483         * sysdeps/unix/sysv/linux/sys/timerfd.h
9484         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
9485         * time/sys/time.h, time/sys/timeb.h
9486         Use the new bits/types headers.
9488         * include/time.h: Remove __need logic.
9489         * include/bits/time.h
9490         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
9491         * include/bits/types/time_t.h, include/bits/types/timer_t.h
9492         * include/bits/types/struct_itimerspec.h
9493         * include/bits/types/struct_timespec.h
9494         * include/bits/types/struct_timeval.h
9495         * include/bits/types/struct_tm.h:
9496         New wrapper headers.
9498 2016-09-23  Zack Weinberg  <zackw@panix.com>
9500         * sysdeps/mach/hurd/net/if_ppp.h
9501         * sysdeps/unix/sysv/linux/net/if_ppp.h:
9502         Only define struct ifpppstatsreq and struct ifpppcstatsreq
9503         if __USE_MISC is defined, to ensure struct ifreq is declared.
9505         * inet/netinet/ether.h: Condition all function prototypes
9506         on __USE_MISC, to ensure struct ether_addr is declared.
9508         * socket/bits/types/struct_osockaddr.h: New header.
9509         * include/bits/types/struct_osockaddr.h: New wrapper.
9510         * socket/Makefile: Install the new header.
9511         * socket/sys/socket.h, inet/protocols/talkd.h:
9512         Refer to bits/types/struct_osockaddr.h for the definition of
9513         struct osockaddr.
9515 2016-09-23  Zack Weinberg  <zackw@panix.com>
9517         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
9518         * inet/protocols/routed.h, inet/protocols/talkd.h
9519         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
9520         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
9521         * sysdeps/generic/netinet/if_ether.h
9522         * sysdeps/generic/netinet/in_systm.h
9523         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
9524         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9525         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
9526         * sysdeps/mach/hurd/net/if_arp.h
9527         * sysdeps/mach/hurd/net/if_ppp.h
9528         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
9529         * sysdeps/unix/sysv/linux/bits/in.h
9530         * sysdeps/unix/sysv/linux/net/ethernet.h
9531         * sysdeps/unix/sysv/linux/net/if_arp.h
9532         * sysdeps/unix/sysv/linux/net/if_ppp.h
9533         * sysdeps/unix/sysv/linux/net/if_shaper.h
9534         * sysdeps/unix/sysv/linux/net/route.h
9535         * sysdeps/unix/sysv/linux/netinet/if_ether.h
9536         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9537         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9538         * sysdeps/unix/sysv/linux/netipx/ipx.h
9539         * sysdeps/unix/sysv/linux/sys/acct.h
9540         * include/arpa/nameser.h, include/resolv.h:
9541         Change all uses of u_char to unsigned char,
9542         u_short and ushort to unsigned short, u_int and uint to unsigned int,
9543         u_long and ulong to unsigned long, u_int8_t to uint8_t,
9544         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
9545         and u_int64_t and u_quad_t to uint64_t.
9547         * mach/sys/reboot.h: Remove two casts of integer literals
9548         to the types they already have.
9550         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
9551         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
9552         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
9553         from referring to 'unsigned char' to 'uint8_t' for consistency with
9554         the macro definition below.
9556         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
9557         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
9558         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
9559         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
9560         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
9561         * sysdeps/unix/sysv/linux/sys/acct.h
9562         * include/arpa/nameser.h, include/resolv.h:
9563         Fix indentation disrupted by mechanical edits.
9565         * inet/protocols/talkd.h, resolv/arpa/nameser.h
9566         * sysdeps/generic/netinet/in_systm.h
9567         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9568         * sysdeps/gnu/netinet/udp.h
9569         * sysdeps/unix/sysv/linux/net/ethernet.h
9570         * sysdeps/unix/sysv/linux/net/if_arp.h
9571         * sysdeps/unix/sysv/linux/net/if_ppp.h
9572         * sysdeps/unix/sysv/linux/net/if_shaper.h
9573         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9574         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9575         * sysdeps/unix/sysv/linux/netipx/ipx.h
9576         * sysdeps/unix/sysv/linux/sys/acct.h
9577         Include stdint.h for uintNN_t definitions.
9578         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
9580 2016-09-23  Zack Weinberg  <zackw@panix.com>
9582         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
9583         * sysdeps/unix/sysv/linux/netrose/rose.h:
9584         Include sys/socket.h and netax25/ax25.h.
9586         * inet/netinet/icmp6.h, inet/netinet/ip6.h
9587         * resolv/arpa/nameser_compat.h:
9588         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
9590         * sysdeps/unix/sysv/linux/sys/quota.h:
9591         Use __caddr_t instead of caddr_t.
9592         * sysdeps/unix/sysv/linux/sys/timerfd.h:
9593         Use __clockid_t instead of clockid_t.
9595         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
9597         * argp/argp.h: Check whether _LIBC is defined before expanding it.
9598         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
9599         expanding it.
9601         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
9602         Define __glibc_c99_flexarr_available to 1 when the compiler
9603         supports C99-compatible flexible array members, 0 otherwise.
9604         * sysdeps/unix/sysv/linux/bits/socket.h
9605         * sysdeps/mach/hurd/bits/socket.h
9606         * bits/socket.h: Use __glibc_c99_flexarr_available in
9607         definitions of struct cmsghdr and CMSG_DATA.
9609 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9611         * manual/nss.texi (NSS Modules Interface): Adjust function return
9612         type to enum nss_status.  Document errnop argument.  Clarify
9613         h_errnop semantics.  Fix cross-reference formatting.
9614         (NSS Module Function Internals): Mention that *errnop needs to be
9615         set on failure, but not to zero.
9617 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9619         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
9620         (get_random_name): New functions.
9621         (check_wrapper_flags_mode): Use linkat to give the new file a name
9622         determined by get_random_name.
9623         (do_test): Add calls to test open64 and openat64.
9625 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9627         * test-skeleton.c: Remove #include <stdarg.h>.
9629 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
9631         [BZ #19826]
9632         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
9633         initialization of static TLS entries.
9634         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
9635         * nptl/allocatestack.c (init_one_static_tls): Likewise.
9637 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9639         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
9640         _hurd_malloc_fork_prepare.
9641         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
9642         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
9643         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
9644         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
9645         (_hurd_fork_child_hook): Drop malloc_fork_child.
9646         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
9647         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
9648         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
9649         after locking locks (notably hurd_dtable_lock). Call
9650         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
9651         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
9652         __malloc_fork_unlock_child.
9653         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
9655 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
9657         * soft-fp/extendhftf2.c: New.
9658         * soft-fp/fixhfti.c: Likewise.
9659         * soft-fp/fixunshfti.c: Likewise.
9660         * soft-fp/floattihf.c: Likewise.
9661         * soft-fp/floatuntihf.c: Likewise.
9662         * soft-fp/half.h: Likewise.
9663         * soft-fp/trunctfhf2.c: Likewise.
9665 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
9667         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
9668         macro.
9669         * math/libm-test.inc (issubnormal_test_data): New array.
9670         (issubnormal_test): New function.
9671         * manual/arith.texi (Floating Point Classes): Document
9672         issubnormal.
9673         * manual/libm-err-tab.pl: Update comment on interfaces without
9674         ulps tabulated.
9676         * sysdeps/generic/stdint.h: Define
9677         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9678         <bits/libc-header-start.h> instead of including <features.h>.
9679         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
9680         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
9681         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
9682         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
9683         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
9684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
9685         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
9686         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
9687         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
9688         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
9689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
9690         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
9691         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
9692         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
9693         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
9694         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
9695         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
9696         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
9697         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
9698         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
9699         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
9700         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
9701         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
9702         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
9703         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
9704         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
9705         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
9706         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
9707         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
9708         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
9709         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
9710         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
9711         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
9712         * manual/arith.texi (Integers): Document these macros for types
9713         specified by width properties.
9714         * manual/lang.texi (Width of Type): Document these macros for
9715         other standard typedefs.
9716         * stdlib/tst-width-stdint.c: New file.
9717         * stdlib/Makefile (tests): Add tst-width-stdint.
9719 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9721         [BZ #20016]
9722         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
9723         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
9724         Move ...
9725         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
9726         ... here, as compatibility symbols in a new file.
9727         * resolv/Makefile (libresolv-routines): Add compat-hooks.
9728         * resolv/res_init.c (__res_vinit): Adjust member names.
9729         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
9730         * resolv/resolv.h (res_sendhookact, res_send_qhook)
9731         (res_send_rhook): Remove.
9732         (struct __res_state): Rename qhook, rhook members.
9734 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9736         malloc: Use __libc_lock wrappers.
9737         * malloc/arena.c (list_lock, free_list_lock): Define using
9738         __libc_lock_define_initialized.
9739         (arena_lock): Adjust formatting.
9740         * malloc/malloc.c (struct malloc_state): Define mutex using
9741         __libc_lock_define.
9742         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
9743         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
9744         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
9745         (mutex_unlock, mutex_trylock): Remove.
9746         (__pthread_initialize): Remove unused macro.
9747         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
9748         (mutex_unlock, mutex_trylock): Remove.
9750 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9752         [BZ #20592]
9753         Remove RR type classification macros.
9754         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
9755         (ns_t_udp_p, ns_t_xfr_p): Remove.
9757 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9759         Remove misleading version information.
9760         * resolv/arpa/nameser.h (__NAMESER): Remove.
9761         * resolv/arpa/nameser_compat.h (__BIND): Remove.
9763 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9765         Remove the always-defined BIND_4_COMPAT macro.
9766         * resolv/arpa/nameser.h: Unconditionally include
9767         <arpa/nameser_compat.h>.
9768         (BIND_4_COMPAT): Remove.
9769         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
9771 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9773         [BZ #20591]
9774         Remove obsolete DNSSEC support.
9775         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
9776         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
9777         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
9778         (ns_verify_tcp, ns_verify_tcp_init): Remove.
9779         (ns_cert_types): Add comment.
9780         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
9781         separately.
9782         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
9783         (dst_s_dns_key_id): Remove.
9784         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
9785         variables.
9787 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9789         [BZ #20524]
9790         * manual/string.texi (String/Array Comparison): Clarify the
9791         strverscmp behavior.
9793 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9795         * test-skeleton.c (xasprintf): Add function.
9796         * io/tst-open-tmpfile.c: New test.
9797         * io/Makefile (tests): Add it.
9799 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9801         Avoid running $(CXX) during build to obtain header file paths.
9802         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
9803         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
9804         * Makerules (cstdlib, cmath): Remove variables.  Use
9805         $(c++-cstdlib-header), $(c++-cmath-header) instead.
9806         * configure: Regenerate.
9808 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9810         * Makeconfig (all-object-suffixes): Include .op only if
9811         $(build-profile).
9813 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9815         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
9816         conditionals.  Do not define PATH_MAX.
9818 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9820         * posix/Makefile (tests): Add tst-spawn3.
9821         * posix/tst-spawn3.c: New file.
9822         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
9823         if it is already opened for open action.
9825         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
9826         all signals when executing the clone vfork child.
9827         (SIGALL_SET): Remove macro.
9829         * nptl/Makefile (tests): Add tst-exec5.
9830         * nptl/tst-exec5.c: New file.
9831         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
9832         asynchronous cancellation.
9834 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9836         * hurd/exc2signal.c: #include <hurd/signal.h>
9837         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
9838         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
9839         accordingly.
9840         * mach/mach_error.c (mach_error): Fix old-style function definition.
9841         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
9843 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9845         * math/Makefile (libm-calls): Remove s_nanF.
9846         (gen-libm-calls): Add s_nanF.
9848         * math/s_nan.c: Refactor into ...
9849         * math/s_nan_template.c: New file.
9851         * math/s_nanf.c: Removed.
9852         * math/s_nanl.c: Removed.
9853         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
9854         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
9856         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9857         (LDOUBLE_nanl_libm_version): New macro.
9859         * sysdeps/generic/math-type-macros-double.h:
9860         (M_STRTO_NAN): New macro.
9861         * sysdeps/generic/math-type-macros-float.h: Likewise.
9862         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9864         * sysdeps/generic/math-type-macros.h: Document
9865         M_STRTO_NAN.
9867 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9869         * math/s_nanf.c: Remove __nanf undef.
9870         * math/s_nan.c: Remove __nan undef.
9871         * math/s_nanl.c: Remove __nanl undef.
9873         * sysdeps/generic/math_private.h (__nan): Remove macro
9874         override.
9875         (__nanf): Likewise.
9876         (__nanl): Likewise.
9878 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9880         * math/Makefile (gen-all-calls): New variable.
9881         (generated): Replace gen-libm-calls with gen-all-calls.
9882         (gen-libm-templates.stmp): Likewise.  Also, ensure
9883         the output directory exists or is created and add
9884         dependency on the Makefile.
9885         (calls): Move s_ldexpF into gen-calls.
9886         (gen-calls): New variable.
9888         * math/s_ldexpf.c: Removed.
9889         * math/s_ldexpl.c: Removed.
9890         * math/s_ldexp.c: Refactored into ...
9891         * math/s_ldexp_template.c: New file.
9893         * sysdeps/generic/math-type-macros-double.h: Remove
9894         redundant fall-through definition of declare_mgen_alias.
9895         (declare_mgen_alias_2): New macro.
9897         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
9898         New macro for function aliased to two exported symbols.
9900         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
9901         new template file.
9902         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9904 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9906         * Makeconfig (all-object-suffixes): Remove .og.
9907         * Makerules (elide-routines.og): Remove.
9908         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
9909         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
9910         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
9912 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9914         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
9915         .os objects.
9917 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9919         [BZ #20615]
9920         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
9921         fpu directory by non-fpu.
9922         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
9923         on non-fpu directory from a fpu directory.
9925 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
9927         * include/limits.h: Define
9928         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9929         <bits/libc-header-start.h> instead of including <features.h>.
9930         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
9931         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
9932         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
9933         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
9934         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
9935         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
9936         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
9937         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
9938         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9939         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
9940         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
9941         * manual/lang.texi (Width of Type): Document these macros.
9942         * stdlib/tst-width.c: New file.
9943         * stdlib/Makefile (tests): Add tst-width.
9945 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9947         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
9948         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
9950 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9952         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
9953         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9954         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9956 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9958         [BZ #18243]
9959         * rt/Makefile (test): Add tst-shm-cancel.
9960         * rt/tst-shm-cancel.c: New file.
9961         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
9963         [BZ #18243]
9964         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
9965         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
9966         definition.
9967         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
9968         uncontended case.
9969         * nptl/sem_wait.c (__new_sem_wait): Likewise.
9970         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
9971         (tf): Fix check for uncontended case.
9972         (do_test): Likewise.
9973         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
9974         (tf): Fix check for uncontended case.
9975         (do_test): Likewise.
9976         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
9977         (tf): Fix check for uncontended case.
9978         (do_test): Likewise.
9979         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
9980         (tf): Fix check for uncontended case.
9981         (do_test): Likewise.
9983         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
9984         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
9986         [BZ #15765]
9987         * nptl/Makefile (tests): Add tst-sem16.
9988         * nptl/tst-sem16.c: New file.
9989         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
9991         * nptl/sem_open.c (sem_open): Init pad value to 0.
9992         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9993         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9995 2016-09-15  Florian Weimer  <fweimer@redhat.com>
9997         [BZ #20611]
9998         * inet/Makefile (routines): Add inet6_scopeid_pton.
9999         (tests): Add tst-inet6_scopeid_pton.
10000         * inet/inet6_scopeid_pton.c: New file.
10001         * inet/net-internal.h: Likewise.
10002         * inet/tst-inet6_scopeid_pton.c: New test.
10003         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
10004         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
10005         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10007 2016-09-14  Florian Weimer  <fweimer@redhat.com>
10009         Remove support for compiling wrappers with PTW.
10010         * sysdeps/nptl/Makeconfig: Drop ptw- support.
10011         * nptl/Makefile (pthread-compat-wrappers): Define.
10012         (libpthread-routines): Use pthread-compat-wrappers.
10013         * sysdeps/unix/sysv/linux/alpha/Makefile
10014         (libpthread-routines, libpthread-shared-only-routines): Remove
10015         ptw- prefix.
10016         * sysdeps/s390/nptl/Makefile
10017         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10018         * sysdeps/ia64/nptl/Makefile
10019         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10020         * sysdeps/nacl/Makefile (libpthread-routines): Use
10021         pthread-compat-wrappers to filter the routines list instead of the
10022         ptw- prefix.
10024 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10026         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
10027         with L() and remove explicit suffix, convert real literals
10028         which can be equivalentally substituted with integers, and
10029         transform -L(x) to L(-x).
10031         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10032         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10033         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10034         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10035         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10036         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10037         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10038         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10039         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10040         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10041         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10042         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10043         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10044         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10045         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10046         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10047         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10048         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10049         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10050         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10051         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10052         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10053         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10054         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10055         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10056         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10057         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10058         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10059         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10060         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10061         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10062         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10063         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10064         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10065         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10066         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10067         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10068         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10069         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10070         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10071         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10072         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10073         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10074         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10075         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10076         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10077         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10078         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10079         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10080         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10082 2016-09-13  Florian Weimer  <fweimer@redhat.com>
10084         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
10086 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10088         * malloc/Makefile (tests): Remove individual static test names
10089         and just add all of tests-static.
10091         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
10093 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
10095         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
10096         file.
10098         * sysdeps/sparc/fpu/fegetmode.c: New file.
10099         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
10101         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
10102         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
10104         * sysdeps/s390/fpu/fegetmode.c: New file.
10105         * sysdeps/s390/fpu/fesetmode.c: Likewise.
10107         * sysdeps/powerpc/fpu/fegetmode.c: New file.
10108         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
10109         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
10110         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
10111         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
10112         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
10114         * sysdeps/mips/fpu/fegetmode.c: New file.
10115         * sysdeps/mips/fpu/fesetmode.c: Likewise.
10117         * sysdeps/m68k/fpu/fegetmode.c: New file.
10118         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
10120         * sysdeps/ia64/fpu/fegetmode.c: New file.
10121         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
10123         * sysdeps/hppa/fpu/fegetmode.c: New file.
10124         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
10126         * sysdeps/arm/fegetmode.c: New file.
10127         * sysdeps/arm/fesetmode.c: Likewise.
10129         * sysdeps/alpha/fpu/fegetmode.c: New file.
10130         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
10132         * sysdeps/aarch64/fpu/fegetmode.c: New file.
10133         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
10135         * math/fegetmode.c: New file.
10136         * math/fesetmode.c: Likewise.
10137         * sysdeps/i386/fpu/fegetmode.c: Likewise.
10138         * sysdeps/i386/fpu/fesetmode.c: Likewise.
10139         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
10140         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
10141         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
10142         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
10143         declaration.
10144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
10145         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
10146         typedef.
10147         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10148         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10149         (femode_t): New typedef.
10150         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10151         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10152         (femode_t): New typedef.
10153         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10154         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10155         (femode_t): New typedef.
10156         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10157         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10158         (femode_t): New typedef.
10159         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10160         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10161         (femode_t): New typedef.
10162         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10163         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10164         (femode_t): New typedef.
10165         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10166         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10167         (femode_t): New typedef.
10168         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10169         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10170         (femode_t): New typedef.
10171         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10172         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10173         (femode_t): New typedef.
10174         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10175         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10176         (femode_t): New typedef.
10177         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
10178         declaration.
10179         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10180         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10181         (femode_t): New typedef.
10182         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10183         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10184         (femode_t): New typedef.
10185         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10186         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10187         (femode_t): New typedef.
10188         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10189         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10190         (femode_t): New typedef.
10191         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10192         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10193         (femode_t): New typedef.
10194         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10195         * manual/arith.texi (FE_DFL_MODE): Document macro.
10196         (fegetmode): Document function.
10197         (fesetmode): Likewise.
10198         * math/Versions (fegetmode): New libm symbol at version
10199         GLIBC_2.25.
10200         (fesetmode): Likewise.
10201         * math/Makefile (libm-support): Add fegetmode and fesetmode.
10202         (tests): Add test-femode and test-femode-traps.
10203         * math/test-femode-traps.c: New file.
10204         * math/test-femode.c: Likewise.
10205         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
10206         alias for __fe_dfl_env.
10207         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
10208         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
10209         (__fe_dfl_mode): Likewise.
10210         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
10211         version GLIBC_2.25.
10212         * sysdeps/nacl/libm.abilist: Update.
10213         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10214         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10215         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10216         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10217         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10218         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10219         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10220         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10221         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10222         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10223         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10224         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10226         Likewise.
10227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10228         Likewise.
10229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10230         Likewise.
10231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10232         Likewise.
10233         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10234         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10235         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10236         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10237         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10239         Likewise.
10240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10241         Likewise.
10242         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10243         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10244         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10246 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10248         [BZ #20495]
10249         [BZ #20508]
10250         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
10251         processors, set Use_dl_runtime_resolve_slow and set
10252         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
10253         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
10254         New.
10255         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
10256         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
10257         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
10258         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
10259         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
10260         if Use_dl_runtime_resolve_opt is set.  Use
10261         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
10262         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
10263         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
10264         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
10265         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
10266         New.
10267         (_dl_runtime_resolve_opt): Likewise.
10268         (_dl_runtime_profile): Define only if _dl_runtime_profile is
10269         defined.
10271 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10273         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
10274         __libc_memalign with "+ RELA R_390_GLOB_DAT".
10276 2016-09-06  Florian Weimer  <fweimer@redhat.com>
10278         Convert malloc to __libc_lock.  Automated part, using this Perl
10279         s/// command:
10280           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
10281             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
10282         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
10283         conversion.
10285 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
10287         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
10288         (linknamespace-symlists-tests): Likewise.
10289         (linknamespace-header-tests): Likewise.
10291 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
10293         [BZ #19810]
10294         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
10295         * elf/tst-noload.c: New test case.
10296         * elf/Makefile (tests): Add tst-noload.
10298 2016-09-02  Roland McGrath  <roland@hack.frob.com>
10300         * sysdeps/nacl/dup.c: Add libc_hidden_def.
10302         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
10303         not any more.
10305         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
10307 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10309         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
10310         (do_cos_slow): Likewise.
10311         (do_sin): Likewise.
10312         (do_sin_slow): Likewise.
10313         (slow): Likewise.
10314         (slow1): Likewise.
10315         (slow2): Likewise.
10316         (sloww): Likewise.
10317         (sloww1): Likewise.
10318         (sloww2): Likewise.
10319         (bsloww): Likewise.
10320         (bsloww1): Likewise.
10321         (bsloww2): Likewise.
10322         (cslow2): Likewise.
10324         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
10326         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
10327         arguments.  Consolidate input partitioning from callers here.
10328         (do_cos_slow): Likewise.
10329         (do_sin): Likewise.
10330         (do_sin_slow): Likewise.
10331         (do_sincos_1): Remove the no longer necessary input partitioning.
10332         (do_sincos_2): Likewise.
10333         (__sin): Likewise.
10334         (__cos): Likewise.
10335         (slow1): Likewise.
10336         (slow2): Likewise.
10337         (sloww1): Likewise.
10338         (sloww2): Likewise.
10339         (bsloww1): Likewise.
10340         (bsloww2): Likewise.
10341         (cslow2): Likewise.
10343 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10345         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
10346         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
10347         outside of allocated array.
10349 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10351         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
10352         instead of MB_CUR_MAX to avoid variable-length array.
10354 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10356         * math/Makefile (libm-calls): Remove k_rem_pio2F.
10357         (type-double-routines): Add k_rem_pio2.
10358         (type-float-routines): Add k_rem_pio2f.
10360         * sysdeps/generic/math_private.h:
10361         (__kernel_rem_pio2l): Removed.
10363         * math/k_rem_pio2l.c: Removed.
10364         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
10365         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
10366         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
10367         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
10369 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10371         * math/Makefile (gen-libm-calls): Add s_fmin
10372         (libm-calls): Remove above.
10374         * math/s_fmin.c: Refactor into ...
10375         * math/s_fmin_template.c: New file.
10377         * math/s_fminf.c: Removed.
10378         * math/s_fminl.c: Removed.
10379         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10380         (LDOUBLE_fmin_libm_version): New macro.
10382         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
10383         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
10385 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10387         * math/Makefile: (gen-libm-calls): Add s_fmax.
10388         (libm-calls): Remove above.
10390         * math/s_fmax.c: Refactor into ...
10391         * math/s_fmax_template.c: New file.
10392         * math/s_fmaxf.c: Removed.
10393         * math/s_fmaxl.c: Removed.
10395         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10396         (LDOUBLE_fmaxl_libm_version): New macro.
10398         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
10399         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
10401         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
10402         s_fmin.c to pick the aarch64 version of the file.
10403         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
10404         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
10406 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10408         * math/Makefile: (gen-libm-calls): Add s_nextdown.
10409         (libm-calls): Remove above.
10411         * math/s_nextdown.c: Refactor into ...
10412         * math/s_nextdown_template.c: New file.
10413         * math/s_nextdownf.c: Removed.
10414         * math/s_nextdownl.c: Removed.
10416         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
10418 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10420         * math/Makefile (gen-libm-calls): Add s_fdim.
10421         (libm-calls): Move to above.
10423         * math/s_fdim.c: Renamed and refactored into to ...
10424         * math/s_fdim_template.c: New file.
10425         * math/s_fdiml.c: Removed.
10426         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
10427         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
10429         * sysdeps/generic/math-type-macros-double.h:
10430         (declare_mgen_alias): Don't declare if already declared.
10431         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
10432         Likewise.
10434         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10435         (declare_mgen_alias): Don't declare if already declared.
10436         (M_LIBM_NEED_COMPAT): Likewise.
10437         (declare_mgen_libm_compat): Likewise.
10438         (LDOUBLE_fdiml_libm_version): New macro.
10440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10441         Include math/s_fdim.c now that ldbl-opt version is not needed.
10442         (declare_mgen_alias): New macro to disable aliasing.
10444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
10445         (declare_mgen_alias): Likewise.
10446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
10447         (declare_mgen_alias): Likewise.
10448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
10449         (declare_mgen_alias): Likewise.
10450         (M_LIBM_NEED_COMPAT): Likewise.
10452 2016-09-01  Florian Weimer  <fweimer@redhat.com>
10454         [BZ #20525]
10455         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
10456         Include <linux/quota.h>.
10457         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
10458         and btodb.
10459         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
10460         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
10461         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
10462         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
10463         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
10464         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
10465         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
10466         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
10467         types.
10468         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
10469         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
10471 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10473         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
10474         (gammal_positive): Fix spacing.
10475         (__ieee754_gammal_r): Likewise.
10477 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10479         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
10480         (_Float128): Define as long double, always.
10481         (L): Apply long double type suffix, always.
10483         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
10484         _Float128, excepting comments.
10486         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10487         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10488         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10489         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10490         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10491         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10492         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10493         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10494         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10495         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
10496         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10497         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10498         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10499         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10500         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10501         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10502         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10503         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10504         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10505         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10506         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10507         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10508         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10509         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10510         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10511         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10512         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10513         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10514         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10515         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10516         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10517         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10518         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10519         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10520         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10521         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10522         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10523         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10524         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10525         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10526         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10527         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10528         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10529         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10530         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10531         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10532         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10533         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10534         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10535         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10536         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10537         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10538         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10539         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10540         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10541         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10542         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10543         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10544         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10545         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10546         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10547         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10548         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10549         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10550         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10551         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10552         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10553         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10555         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
10556         _Float128, and include math_private.h.
10557         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10559         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
10560         long double semantics.
10561         (_Float128): Likewise.
10562         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
10563         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10564         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10565         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10567 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10569         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
10570         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
10571         * sysdeps/s390/configure: Regenerated.
10572         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
10573         instruction for raising over-/underflow if z196 zarch is supported
10574         by default.
10575         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
10577 2016-08-30  Svante Signell  <svante.signell@gmail.com>
10579         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
10580         it point to a dumb buffer for RPC to fill it.
10582 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10584         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
10585         instead of if/else.
10586         (do_sin_slow): Likewise.
10587         (do_sincos_1): Use fabs instead of if/else.
10588         (do_sincos_2): Likewise.
10589         (__sin): Likewise.
10590         (__cos): Likewise.
10591         (slow2): Likewise.
10592         (sloww): Likewise.
10593         (sloww1): Likewise.  Drop argument M.
10594         (sloww2): Use fabs instead of if/else.
10595         (bsloww): Likewise.
10596         (bsloww1): Likewise.
10597         (bsloww2): Likewise.
10599         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
10600         fall through comment.
10601         (do_sincos_1): Likewise.
10603         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
10604         Consolidate switch cases 0 and 2.
10606 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10608         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
10609         (libm-calls): Remove the above.
10611         * math/s_cexp_template.c: Update using type-generic macros.
10612         * math/s_clog10_template.c: Likewise.
10613         * math/s_cpow_template.c: Likewise.
10614         * math/s_clog_template.c: Likewise.
10615         * math/s_cproj_template.c: Likewise.
10616         * math/s_csqrt_template.c: Likewise.
10618         * math/s_cexp.c: Removed.
10619         * math/s_cexpf.c: Removed.
10620         * math/s_cexpl.c: Removed.
10621         * math/s_clog10.c: Removed.
10622         * math/s_clog10f.c: Removed.
10623         * math/s_clog10l.c: Removed.
10624         * math/s_cpow.c: Removed.
10625         * math/s_cpowf.c: Removed.
10626         * math/s_cpowl.c: Removed.
10627         * math/s_clog.c: Removed.
10628         * math/s_clogf.c: Removed.
10629         * math/s_clogl.c: Removed.
10630         * math/s_cproj.c: Removed.
10631         * math/s_cprojf.c: Removed.
10632         * math/s_cprojl.c: Removed.
10633         * math/s_csqrt.c: Removed.
10634         * math/s_csqrtf.c: Removed.
10635         * math/s_csqrtl.c: Removed.
10637         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
10638         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
10639         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
10640         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
10641         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
10642         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
10644         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
10645         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
10646         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
10647         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
10648         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
10649         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
10650         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
10651         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
10652         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
10653         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
10654         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
10656         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
10657         version.
10659         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
10660         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
10661         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
10662         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
10664 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10666         * s_cexp_template.c: Copy of s_cexp.c.
10667         * s_clog_template.c: Copy of s_clog.c.
10668         * s_clog10_template.c: Copy of s_clog10.c.
10669         * s_cpow_template.c: Copy of s_cpow.c.
10670         * s_cproj_template.c: Copy of s_cproj.c.
10671         * s_csqrt_template.c: Copy of s_csqrt.c.
10673 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10675         [BZ #20517]
10676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10677         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
10678         exported.
10680 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
10682         * math/fetestexceptflag.c: New file.
10683         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
10684         Stefan Liebler.
10685         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10686         (fetestexceptflag): New function declaration.
10687         * manual/arith.texi (fetestexceptflag): Document function.
10688         * math/Versions (fetestexceptflag): New libm symbol at version
10689         GLIBC_2.25.
10690         * math/Makefile (libm-support): Add fetestexceptflag.
10691         (tests): Add test-fetestexceptflag.
10692         * math/test-fetestexceptflag.c: New file.
10693         * sysdeps/nacl/libm.abilist: Update.
10694         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10695         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10696         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10697         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10698         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10699         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10700         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10701         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10702         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10703         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10704         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10705         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10707         Likewise.
10708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10709         Likewise.
10710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10711         Likewise.
10712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10713         Likewise.
10714         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10715         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10716         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10717         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10718         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10720         Likewise.
10721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10722         Likewise.
10723         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10724         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10725         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10727 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10729         [BZ #20432]
10730         Avoid strong references to malloc-internal symbols when linking
10731         statically, to support statically interposed mallocs.
10732         * include/libc-symbols.h (call_function_static_weak): New macro.
10733         * malloc/Makefile (tests): Add tst-interpose-nothread,
10734         tst-interpose-thread, tst-interpose-static-nothread,
10735         tst-interpose-static-thread.
10736         (tests-static): Add tst-interpose-static-nothread,
10737         tst-interpose-static-thread.
10738         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
10739         tst-interpose-aux-thread.o.
10740         (test-extras): Add tst-interpose-aux-nothread,
10741         tst-interpose-aux-thread.
10742         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
10743         tst-interpose-aux-nothread.o.
10744         (tst-interpose-thread, tst-interpose-static-thread): Link with
10745         tst-interpose-aux-thread.o and libthread.
10746         * malloc/tst-interpose-aux-nothread.c: New file.
10747         * malloc/tst-interpose-aux-thread.c: Likewise.
10748         * malloc/tst-interpose-aux.c: Likewise.
10749         * malloc/tst-interpose-aux.h: Likewise.
10750         * malloc/tst-interpose-nothread.c: Likewise.
10751         * malloc/tst-interpose-skeleton.c: Likewise.
10752         * malloc/tst-interpose-static-nothread.c: Likewise.
10753         * malloc/tst-interpose-static-thread.c: Likewise.
10754         * malloc/tst-interpose-thread.c: Likewise.
10755         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
10756         * sysdeps/mach/hurd/fork.c (__fork): Only call
10757         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
10758         __malloc_fork_unlock_child if defined.
10759         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10761 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10763         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
10764         timespec C99 designated initialization.
10766 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10768         [BZ #19946]
10769         Avoid expected SIGALRM signals.
10770         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
10771         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
10772         (xpthread_create, xpthread_detach, xpthread_join)
10773         (delayed_exit_thread, delayed_exit): New functions.
10774         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
10775         (tf): Use xpthread_cond_wait.
10776         (do_test): Likewise.  Replace alarm with delayed_exit.
10777         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10778         (do_test): Call delayed_exit.  Report failure.
10779         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10780         (do_test): Call delayed_exit.
10781         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10782         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
10783         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10784         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
10785         error.
10786         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10787         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
10788         error.
10789         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
10790         (do_test): Call delayed_exit.
10791         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
10792         (do_test): Call delayed_exit.
10793         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
10794         (do_test): Call delayed_exit instead of alarm.  Use
10795         xpthread_mutex_lock.
10796         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
10797         (do_test): Call delayed_exit instead of alarm.  Use
10798         xpthread_mutex_lock.
10799         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
10800         (do_test): Call delayed_exit instead of alarm.
10801         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
10802         (do_test): Call delayed_exit instead of alarm.  Use
10803         xpthread_spin_lock.
10804         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
10805         (do_test): Call delayed_exit instead of alarm.  Use
10806         xpthread_join.
10808 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10810         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
10811         adjust CFA when allocating register save area on re-aligned
10812         stack.
10814 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10816         * string/tst-cmp.c: New test.
10817         * string/Makefile (tests): Add it.
10819 2016-08-25  Mark Wielaard  <mark@klomp.org>
10821         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
10822         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
10823         (check_tree_recurse): Use newly defined accessors.
10824         (check_tree): Likewise.
10825         (maybe_split_for_insert): Likewise.
10826         (__tfind): Likewise.
10827         (__tdelete): Likewise.
10828         (trecurse): Likewise.
10829         (tdestroy_recurse): Likewise.
10830         (__tsearch): Likewise. And add asserts for malloc alignment.
10831         (__twalk): Cast root to node in case CHECK_TREE is defined.
10833 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10835         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
10837 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10839         * math/Makefile (libm-gen-calls): Add
10840         catan, catanh, ctan, ctanh.
10841         (libm-calls): Remove the above.
10843         * math/s_catan_template.c: Update using type-generic macros.
10844         * math/s_catanh_template.c: Likewise.
10845         * math/s_ctan_template.c: Likewise.
10846         * math/s_ctanh_template.c: Likewise.
10848         * math/s_catanf.c: Removed.
10849         * math/s_catan.c: Removed.
10850         * math/s_catanl.c: Removed.
10851         * math/s_catanhf.c: Removed.
10852         * math/s_catanh.c: Removed.
10853         * math/s_catanhl.c: Removed.
10854         * math/s_ctanf.c: Removed.
10855         * math/s_ctan.c: Removed.
10856         * math/s_ctanl.c: Removed.
10857         * math/s_ctanhf.c: Removed.
10858         * math/s_ctanh.c: Removed.
10859         * math/s_ctanhl.c: Removed.
10861         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
10862         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
10863         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
10864         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
10865         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
10866         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
10868         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
10869         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
10870         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
10871         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
10873 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10875         * s_catan_template.c: Copy of s_catan.c.
10876         * s_catanh_template.c: Copy of s_catanh.c.
10877         * s_ctan_template.c: Copy of s_ctan.c.
10878         * s_ctanh_template.c: Copy of s_ctanh.c.
10880 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10882         * math/Makefile (gen-libm-calls): Move
10883         casin, casinh, csin, csinh here.
10884         (libm-calls): Remove the above.
10886         * math/s_casin_template.c: Update using type-generic macros.
10887         * math/s_casinh_template.c: Likewise.
10888         * math/s_csin_template.c: Likewise.
10889         * math/s_csinh_template.c: Likewise.
10890         * math/k_casinh_template.c: Likewise.
10892         * math/s_casinf.c: Removed.
10893         * math/s_casin.c: Removed.
10894         * math/s_casinl.c: Removed.
10895         * math/s_casinh.c: Removed.
10896         * math/s_casinhf.c: Removed.
10897         * math/s_casinhl.c: Removed.
10898         * math/s_csin.c: Removed.
10899         * math/s_csinf.c: Removed.
10900         * math/s_csinl.c: Removed.
10901         * math/s_csinh.c: Removed.
10902         * math/s_csinhf.c: Removed.
10903         * math/s_csinhl.c: Removed.
10904         * math/k_casinh.c: Removed.
10905         * math/k_casinhf.c: Removed.
10906         * math/k_casinhl.c: Removed.
10908         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
10909         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
10910         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
10911         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
10913         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
10914         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
10915         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
10916         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
10917         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
10918         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
10919         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
10920         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
10922         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
10923         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
10924         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
10925         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
10927         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
10928         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
10929         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
10930         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
10932 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10934         * s_casin_template.c: Copy of s_casin.c.
10935         * s_casinh_template.c: Copy of s_casinh.c.
10936         * s_csin_template.c: Copy of s_csin.c.
10937         * s_csinh_template.c: Copy of s_csinh.c.
10938         * k_casinh_template.c: Copy of k_casinh.c.
10940 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10942         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
10944 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10946         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
10947         (mul_split) Remove, rename as mul_splitl, remove
10948         redundant float.h include, and include via mul_splitl.h
10950         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10951         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10952         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10953         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10954         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10956         * math/mul_splitl.h: New file.
10958         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
10959         Move into mul_split.h, and remove redundant float.h include.
10961         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10962         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10963         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10964         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
10966         * math/mul_split.h: New file.
10968 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10970         * math/Makefile (libm-gen-calls): Move
10971         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
10972         (libm-calls): Remove above.
10974         * math/s_cacos_template.c: Update using type-generic macros.
10975         * math/s_cacosh_template.c: Likewise.
10976         * math/s_ccos_template.c: Likewise.
10977         * math/s_ccosh_template.c: Likewise.
10979         * math/s_cacosf.c: Removed.
10980         * math/s_cacos.c: Removed.
10981         * math/s_cacosl.c: Removed.
10982         * math/s_cacoshf.c: Removed.
10983         * math/s_cacosh.c: Removed.
10984         * math/s_cacoshl.c: Removed.
10985         * math/s_ccosf.c: Removed.
10986         * math/s_ccos.c: Removed.
10987         * math/s_ccosl.c: Removed.
10988         * math/s_ccoshf.c: Removed.
10989         * math/s_ccosh.c: Removed.
10990         * math/s_ccoshl.c: Removed.
10992         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
10993         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
10994         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
10995         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
10996         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
10997         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
10999         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
11000         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
11001         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
11002         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
11004         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
11005         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
11006         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
11007         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
11009 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11011         * s_cacos_template.c: Copy of s_cacos.c.
11012         * s_cacosh_template.c: Copy of s_cacosh.c.
11013         * s_ccos_template.c: Copy of s_ccos.c.
11014         * s_ccosh_template.c: Copy of s_ccosh.c.
11016 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11018         * stdlib/tst-strtod-round-skeleton.c:
11019         Refactored from tst-strtod-round.c.
11021         (L_): New macro to apply literal modifier.
11022         (FNPFX): New macro to select str or wcs prefix.
11023         (CHAR): New macro to choose wchar_t or char.
11024         (STRM): New macro to choose printf for tested character type.
11026         (STRTO): New macro to choose appropriate string -> real function.
11027         (FNPFXS): Stringitized version of FNPFX.
11028         (STR): Support for above macro.
11029         (STRX): Likewise.
11031         (TEST): Update with above macros.
11032         (test): Likewise.
11033         (GEN_ONE_TEST): Likewise.
11034         (test_in_one_mode): Likewise.
11036         * stdlib/tst-strtod-round.c: New file.
11037         * wcsmbs/tst-wcstod-round.c: New file.
11039         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
11040         (tst-wcstod-round): Add libm depencency for fesetround.
11042 2016-08-19  Zack Weinberg  <zackw@panix.com>
11044         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
11046 2016-08-18  Torvald Riegel  <triegel@redhat.com>
11048         [BZ #20477]
11049         * resolv/res_hconf.c (do_init): Use atomic access.
11050         * resolv/res_hconf.h: Add comments.
11051         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
11052         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
11053         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11055 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11057         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11058         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
11059         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11060         Likewise.
11062 2016-08-18  Florian Weimer  <fweimer@redhat.com>
11064         [BZ #16907]
11065         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
11066         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
11067         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
11068         (__attribute__): Remove definition.
11070 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11072         * sysdeps/ieee754/ldbl-128/e_asinl.c:
11073         Remove unused sqrtl declaration.
11075 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11077         * math/Makefile: (gen-libm-templates.stmp): New rule.
11078         (libm-calls): Move carg conj cimag and cabs into ...
11079         (gen-libm-calls): New variable.
11080         (generated): Inform Make objects from gen-libm-calls
11081         may be generated.
11083         * sysdeps/generic/math-type-macros.h: New file.
11084         * sysdeps/generic/math-type-macros-float.h: Likewise.
11085         * sysdeps/generic/math-type-macros-double.h: Likewise.
11086         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
11087         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
11088         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
11090         * math/cabs.c: Refactor into
11091         * math/cabs_template.c: new file.
11092         * math/cabsf.c: Removed.
11093         * math/cabsl.c: Removed.
11094         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
11095         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
11097         * math/carg.c: Refactor into
11098         * math/carg_template.c: new file.
11099         * math/cargf.c: Removed.
11100         * math/cargl.c: Removed.
11101         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
11102         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
11104         * math/conj.c: Refactor into
11105         * math/conj_template.c: new file.
11106         * math/conjf.c: Removed.
11107         * math/conjl.c: Removed.
11108         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
11109         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
11111         * math/cimag.c: Refactor into
11112         * math/cimag_template.c: new file.
11113         * math/cimagf.c: Removed.
11114         * math/cimagl.c: Removed.
11115         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11116         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11118         * math/cimag.c: Refactor into
11119         * math/cimag_template.c: new file.
11120         * math/cimagf.c: Removed.
11121         * math/cimagl.c: Removed.
11122         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11123         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11125 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11127         Reduce time to expected nptl/tst-once5 failure.
11128         * nptl/tst-once5.cc (TIMEOUT): Define.
11130 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11132         [BZ #20452]
11133         Avoid additional copies of objects in libc.a in static libraries.
11134         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
11135         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
11136         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
11137         rt-sysdep.
11138         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
11139         Add nptl-sysdep.
11140         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
11141         Add ptw-sysdep.
11142         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
11143         rt-sysdep.
11144         * sysdeps/unix/sysv/linux/alpha/Makefile
11145         (libpthread-shared-only-routines): Add ptw-sysdep,
11146         ptw-sigprocmask, ptw-rt_sigaction.
11147         * sysdeps/unix/sysv/linux/ia64/Makefile
11148         (librt-shared-only-routines): Add rt-sysdep.
11149         * sysdeps/unix/sysv/linux/i386/Makefile
11150         (libpthread-shared-only-routines): Add libc-do-syscall.
11151         * sysdeps/unix/sysv/linux/microblaze/Makefile
11152         (libpthread-shared-only-routines): Add sysdep.
11153         * sysdeps/unix/sysv/linux/powerpc/Makefile
11154         (librt-shared-only-routines): Add rt-sysdep.
11155         (libpthread-shared-only-routines): Add sysdep.
11156         * sysdeps/unix/sysv/linux/s390/Makefile
11157         (librt-shared-only-routines): Add rt-sysdep.
11158         * sysdeps/unix/sysv/linux/sparc/Makefile
11159         (librt-shared-only-routines): Add rt-sysdep.
11160         (libpthread-shared-only-routines): Add sysdep.
11161         * sysdeps/unix/sysv/linux/tile/Makefile
11162         (libpthread-shared-only-routines): Likewise.
11164 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
11166         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
11167         Mask implicit bit out of unpacked value.
11168         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
11169         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
11170         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
11172         * sysdeps/sparc/fpu/fesetexcept.c: New file.
11174         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
11176         * sysdeps/s390/fpu/fesetexcept.c: New file.
11178         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
11179         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
11180         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
11182         * sysdeps/mips/fpu/fesetexcept.c: New file.
11184         * sysdeps/m68k/fpu/fesetexcept.c: New file.
11186         * sysdeps/ia64/fpu/fesetexcept.c: New file.
11188         * sysdeps/hppa/fpu/fesetexcept.c: New file.
11190         * sysdeps/arm/fesetexcept.c: New file.
11192         * sysdeps/alpha/fpu/fesetexcept.c: New file.
11194         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
11196         * math/fesetexcept.c: New file.
11197         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
11198         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
11199         * math/fenv.h: Define
11200         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11201         <bits/libc-header-start.h> instead of including <features.h>.
11202         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
11203         declaration.
11204         * manual/arith.texi (fesetexcept): Document function.
11205         * math/Versions (fesetexcept): New libm symbol at version
11206         GLIBC_2.25.
11207         * math/Makefile (libm-support): Add fesetexcept.
11208         (tests): Add test-fesetexcept and test-fesetexcept-traps.
11209         * math/test-fesetexcept.c: New file.
11210         * math/test-fesetexcept-traps.c: Likewise.
11211         * sysdeps/nacl/libm.abilist: Update.
11212         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11213         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11214         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11215         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11216         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11217         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11218         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11219         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11220         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11221         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11222         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11223         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11225         Likewise.
11226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11227         Likewise.
11228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11229         Likewise.
11230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11231         Likewise.
11232         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11233         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11234         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11235         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11236         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11238         Likewise.
11239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11240         Likewise.
11241         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11242         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11243         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11245 2016-08-16  Florian Weimer  <fweimer@redhat.com>
11247         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
11248         New.
11249         (do_test): Apply default_stack_size_in_mb if not set.
11250         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
11252 2016-08-15  Andreas Schwab  <schwab@suse.de>
11254         [BZ #20435]
11255         CVE-2016-6323
11256         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
11257         as .cantunwind.
11259 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
11261         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
11262         comment from fraiseexcpt.c.
11264         * math/test-fexcept.c (feraiseexcept_exact): New function.
11265         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
11266         (test_except): Likewise.
11268 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
11270         [BZ #20455]
11271         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
11272         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
11273         to be restored.
11275         * math/test-fexcept-traps.c: New file.
11276         * math/test-fexcept.c: Likewise.
11277         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
11278         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
11279         macro.
11280         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
11281         (EXCEPTION_SET_FORCES_TRAP): Likewise.
11283 2016-08-09  Torvald Riegel  <triegel@redhat.com>
11285         * include/atomic.h (atomic_fetch_and_relaxed,
11286         atomic_fetch_and_release, atomic_fetch_or_release,
11287         atomic_fetch_xor_release): New.
11289 2016-08-06  Christian Seiler  <christian@iwakd.de>
11291         [BZ #20444]
11292         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
11293         MACH_PORT_NULL.
11295 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11297         * math/s_fdim.c: Avoid alias renamed.
11298         * math/s_fdimf.c: Likewise.
11299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11300         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11301         Add s_fdimf-vis3, s_fdim-vis3.
11302         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11303         (CFLAGS-s_fdim-vis3.c): Likewise.
11304         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
11305         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
11307 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11310         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11311         Remove s_fdimf-vis3, s_fdim-vis3.
11312         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
11313         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
11314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
11315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
11316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
11317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
11318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
11319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
11320         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
11321         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
11323 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11325         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
11326         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
11327         -Wa,-Av9a -mvis.
11329 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11331         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
11332         LIT() to individual constants in simple expressions
11333         after splitting on spaces.
11334         (_apply_lit): Rename replaced version, and use it to
11335         apply to what appears to be a token.
11337         * math/libm-test.inc: Fix many, many issues with
11338         spacing.
11340 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
11342         * math/math.h: Move comment about <bits/mathdef.h> definitions
11343         above inclusion of <bits/mathdef.h>.  Do not mention
11344         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
11346 2016-08-05  Torvald Riegel  <triegel@redhat.com>
11348         * include/atomic.h (atomic_exchange_relaxed): New.
11350 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
11352         * math/e_scalb.c: Do not include <fenv.h>.
11353         (invalid_fn): Do calculation resulting in NaN instead of raising
11354         FE_INVALID and returning a NaN explicitly.
11355         * math/e_scalbf.c: Do not include <fenv.h>.
11356         (invalid_fn): Do calculation resulting in NaN instead of raising
11357         FE_INVALID and returning a NaN explicitly.
11358         * math/e_scalbl.c: Do not include <fenv.h>.
11359         (invalid_fn): Do calculation resulting in NaN instead of raising
11360         FE_INVALID and returning a NaN explicitly.
11362 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
11364         * po/de.po: Updated from Translation Project.
11365         * po/fi.po: Likewise.
11366         * po/sv.po: Likewise.
11368 2016-08-04  Florian Weimer  <fweimer@redhat.com>
11370         [BZ #20452]
11371         Use sysdep.o from libc.a in static libraries.
11372         * sysdeps/unix/sysv/linux/i386/Makefile
11373         (libpthread-shared-only-routines): Add sysdep.
11374         (librt-shared-only-routines): Likewise.
11376 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11378         * math/tgmath.h (nextdown): Define if
11379         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
11380         (nextup): Likewise.
11382         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
11383         macro.
11384         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11385         Document.
11386         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11387         Document macro.
11388         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
11389         (exp10f): Likewise.
11390         (exp10l): Likewise.
11391         * math/bits/mathcalls.h (exp10): Declare if
11392         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
11394         * manual/arith.texi (nextup): Fix typo in last change.
11396 2016-08-03  Zack Weinberg  <zackw@panix.com>
11398         [BZ #19239]
11399         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
11400         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
11401         define major, minor, and makedev to issue deprecation warnings on use.
11402         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
11403         previously-activated deprecation warnings for these macros and prevent
11404         subsequent inclusions of this header from having any effect.
11405         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
11406         including <sys/sysmacros.h>, and undefine it again afterward.
11408 2016-08-03  Zack Weinberg  <zackw@panix.com>
11410         * sysdeps/generic/sys/sysmacros.h: Delete file.
11411         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
11412         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
11413         * bits/sysmacros.h: ... here; this encoding is now the generic
11414         encoding.  Now defines only the following macros:
11415         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
11416         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
11417         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
11419         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
11420         bits/sysmacros.h and the above new macros to generate the
11421         public implementations of major, minor, and makedev.
11422         * misc/tst-makedev.c: New test.
11423         * include/sys/sysmacros.h: New wrapper.
11425         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
11426         (routines): Add makedev.
11427         (tests): Add tst-makedev.
11428         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
11429         gnu_dev_makedev.
11430         * posix/Makefile (headers): Remove sys/sysmacros.h.
11431         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
11433         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
11434         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
11435         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11436         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11437         * sysdeps/unix/sysv/linux/arm/libc.abilist
11438         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11439         * sysdeps/unix/sysv/linux/i386/libc.abilist
11440         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11441         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11442         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11443         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11444         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11445         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11446         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11447         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11448         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11453         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11454         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11455         * sysdeps/unix/sysv/linux/sh/libc.abilist
11456         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11457         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11460         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11461         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11462         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11463         Add GLIBC_2.25.
11465         * include/features.h (__glibc_clang_prereq): New macro.
11466         * misc/sys/cdefs.h (__glibc_clang_has_extension)
11467         (__attribute_deprecated_msg__): New macros.
11469 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11471         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
11472         macro.
11473         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
11474         * manual/arith.texi (issignaling): Document as ISO from TS
11475         18661-1:2014.
11476         (nextup): Likewise.
11477         (nextupf): Likewise.
11478         (nextupl): Likewise.
11479         (nextdown): Likewise.
11480         (nextdownf): Likewise.
11481         (nextdownl): Likewise.
11482         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
11483         macro.
11484         * math/math.h: Define
11485         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11486         <bits/libc-header-start.h> instead of including <features.h>.
11487         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
11488         [__USE_GNU].
11489         * math/bits/mathcalls.h (nextdown): Declare if
11490         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
11491         (nextup): Likewise.
11492         (__issignaling): Likewise.
11494 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11496         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
11497         check, and remove __glibc_likely hint
11498         from FP_INFINITE check.
11499         * s_csinhf.c (__csinhf): Likewise.
11501         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
11502         hint from FP_INFINITE check.
11503         * s_csinhl.c (__csinhl): Likewise.
11505 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11507         * math/Makefile (libm-calls): Insert F placeholder into
11508         object names.  Move w_lgamma_compat* routines into
11509         (libm-compat-calls): New variable.
11510         (libm-compat-calls-ldouble-yes): New variable.
11511         (calls): Insert F placeholder.
11512         (generated): Redefine using new type-foreach macro call.
11513         (routines): Likewise.
11515         (types): New variable to hold a list of symbolic names
11516         for each type supported by the target machine.
11517         (libm-routines): Redefine using new types variable.
11518         (type-foreach): macro to replace fooF with the
11519         appropriately suffixed foo for each types.
11521         (type-ldouble-suffix): New variable.
11522         (type-ldouble-routines): Likewise.
11523         (type-ldouble-yes): Likewise.
11524         (type-double-suffix): Likewise.
11525         (type-double-routines): Likewise.
11526         (type-float-suffix): Likewise.
11527         (type-float-routines): Likewise.
11529         (dbl-only-routines): Remove.
11530         (long-c-yes): Likewise.
11531         (long-m-routines): Likewise.
11532         (long-m-support): Likewise.
11533         (long-m-yes): Likewise.
11534         (test-longdouble-yes): Likewise.
11536         (test-float.o): Simplify by increasing the scope of the
11537         recipe which adds libm-test.stmp to the vector types.
11538         (test-ifloat.o): Likewise.
11539         (test-float-finite.o): Likewise.
11540         (test-double.o): Likewise
11541         (test-idouble.o): Likewise.
11542         (test-double-finite.o): Likewise.
11543         (test-ldouble.o): Likewise
11544         (test-ildoubl.o): Likewise.
11545         (test-ldouble-finite.o): Likewise.
11547         (libm-tests): Redefine type tests using foreach and the
11548         list of types in types.
11550         (CPPFLAGS-test-ildoubl.c): Rename to
11551         (CPPFLAGS-test-ildouble.c): New variable
11553         * math/test-ildoubl.c: Rename to
11554         * math/test-ildouble.c: New file.
11556 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11558         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
11559         Use fabsl instead of fabs.
11560         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
11561         Likewise.
11562         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
11563         Add long double suffix to constant to ensure proper
11564         promotion to long double.
11566 2016-08-03  Tom Tromey  <tom@tromey.com>
11568         [BZ #20311]
11569         * nptl_db/Makefile (headers): Add proc_service.h.
11570         * nptl_db/proc_service.h: Add include guard.  Use
11571         __BEGIN/__END_DECLS.
11572         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
11573         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
11574         arguments.
11577 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11579         [BZ #17730]
11580         Avoid using memalign for TCB allocations.
11581         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
11582         (_dl_allocate_tls_storage): Use malloc and manual alignment.
11583         Avoid alignment gap in the TLS_DTV_AT_TP case.
11584         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
11585         determine the pointer to free.
11586         * nptl/tst-tls3-malloc.c: New test.
11587         * nptl/Makefile (tests): Add it.
11588         (tst-tls3-malloc): Link with libdl, libpthread.
11589         (LDFLAGS-tst-tls3-malloc): Set.
11590         (tst-tls3-malloc.out): Depend on DSO used in test.
11592 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11594         [BZ #17730]
11595         Avoid using memalign for TLS allocations.
11596         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
11597         is_static member with to_free member.
11598         (union dtv): Use struct dtv_pointer.
11599         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
11600         dtv_pointer instead of is_static.
11601         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
11602         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
11603         instead of val.
11604         (allocate_dtv_entry): New function.
11605         (allocate_and_init): Return struct dtv_pointer.  Call
11606         allocate_dtv_entry instead of __libc_memalign.
11607         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
11608         instead of val.
11609         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
11610         instead of is_static.  Adjust call to allocate_and_init.
11611         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
11612         struct dtv_pointer instead of val.
11614 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11616         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
11617         (MALLOC_ALIGN_MASK): Move ...
11618         * malloc/malloc-internal.h: ... to here.
11619         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
11621 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11623         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
11624         (UDP_ENCAP_GTP1U): Likewise.
11626         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
11627         (PF_MAX): Update value.
11628         (AF_QIPCRTR): New macro.
11630 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11632         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
11633         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11634         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11635         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
11636         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11637         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11638         s_truncf-vis3, s_trunc-vis3.
11639         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11640         (CFLAGS-s_ceil-vis3.c): Likewise.
11641         (CFLAGS-s_floorf-vis3.c): Likewise.
11642         (CFLAGS-s_floor-vis3.c): Likewise.
11643         (CFLAGS-s_truncf-vis3.c): Likewise.
11644         (CFLAGS-s_trunc-vis3.c): Likewise.
11645         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
11646         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11647         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
11648         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11649         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
11650         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11651         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
11652         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11653         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
11654         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11655         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
11656         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11658 2016-08-02  David S. Miller  <davem@davemloft.net>
11660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11661         (__nearbyint_vis3): Don't check for sNaN before float register is
11662         loaded with the incoming argument.
11663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11664         (__nearbyintf_vis3): Likewise.
11665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
11666         Likewise.
11667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
11668         Likewise.
11670         * string/test-strncmp.c (do_test_limit): Make sure the test data
11671         stream is aligned as required for the type "CHAR".
11672         (do_test): Likewise.
11674 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11676         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
11677         by beq instructions jumping to the end of the function.
11678         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
11679         clobber list. Use "i" constraint instead of "X".
11680         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
11681         of "X".
11683 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
11685         * bits/libc-header-start.h: New file.
11686         * Makefile (headers): Add bits/libc-header-start.h.
11687         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
11688         (__GLIBC_USE): New macro.
11689         * libio/stdio.h: Define
11690         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11691         <bits/libc-header-start.h> instead of including <features.h>.
11692         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
11693         (open_memstream): Likewise.
11694         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
11695         (__asprintf): Likewise.
11696         (asprintf): Likewise.
11697         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
11698         (getdelim): Likewise.
11699         (getline): Likewise.
11700         * string/string.h: Define
11701         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11702         <bits/libc-header-start.h> instead of including <features.h>.
11703         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
11704         (strndup): Likewise.
11705         * wcsmbs/wchar.h: Define
11706         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11707         <bits/libc-header-start.h> instead of including <features.h>.
11708         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
11709         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
11711 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11713         Support linking against compatibility symbols, for use in tests.
11714         * include/libc-symbols.h (symbol_version_reference): New macro.
11715         (symbol_version): Use it.
11716         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
11717         (compat_symbol): Use compat_symbol_reference.
11718         (compat_symbol_1, compat_symbol_2): Remove.
11719         (compat_symbol_reference, compat_symbol_reference_1)
11720         (compat_symbol_reference_2): New macro.  Use
11721         symbol_version_reference.
11723 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11725         [BZ #19469]
11726         * malloc/Makefile (CPPFLAGS): Compile tests with
11727         -DTEST_NO_MALLOPT.
11728         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
11730 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
11732         [BZ #20033]
11733         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
11734         finite version.
11735         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
11736         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
11737         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
11738         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
11739         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
11740         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
11741         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
11742         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
11743         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
11744         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
11745         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
11746         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
11747         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
11748         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
11749         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
11750         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
11751         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
11752         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
11753         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
11754         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
11755         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
11756         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
11757         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
11758         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
11759         in zero power.
11761 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11763         [BZ #20370]
11764         * malloc/arena.c (get_free_list): Update comment.  Assert that
11765         arenas on the free list have no attached threads.
11766         (remove_from_free_list): New function.
11767         (reused_arena): Call it.
11769 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
11771         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
11772         when it is a NaN.
11773         [_IEEE_FP_INEXACT] Remove.
11774         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
11775         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
11776         when it is a NaN.
11777         [_IEEE_FP_INEXACT] Remove.
11778         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
11779         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
11780         when it is a NaN.
11781         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
11782         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
11783         when its absolute value is greater than 0x1.0p52.
11784         [_IEEE_FP_INEXACT] Remove.
11785         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
11786         when its absolute value is greater than 0x1.0p23.
11787         [_IEEE_FP_INEXACT] Remove.
11789 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
11791         * version.h (RELEASE): Set to "development"
11792         (VERSION): Set to 2.24.90.
11793         * NEWS: Add 2.25 section.
11795         * version.h (RELEASE): Set to "stable"
11796         (VERSION): Set to 2.24.
11797         * include/features.h (__GLIBC_MINOR__): Set to 24.
11799         * NEWS: Add 2.24 fixed bugs.
11800         * po/libc.pot: Regenerate.
11802 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
11804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11805         [$(subdir) = math] (libm-sysdep_routines): Remove.
11806         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11807         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11808         s_truncf-vis3, s_trunc-vis3.
11809         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
11811         file.
11812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
11813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
11814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
11818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
11819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
11821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
11822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
11823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
11824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
11825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
11826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
11827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
11831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
11832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
11833         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
11834         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11835         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11836         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11837         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11838         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11839         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
11840         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11841         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11842         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
11843         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11844         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11845         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
11846         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
11847         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
11848         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
11849         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11850         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11851         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
11852         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
11853         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
11854         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
11856 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
11858         [BZ #20384]
11859         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
11860         test-double-libmvec-sincos-avx-main.o,
11861         test-double-libmvec-sincos-avx2-main.o,
11862         test-double-libmvec-sincos-main.o,
11863         test-float-libmvec-sincosf-avx-main.o,
11864         test-float-libmvec-sincosf-avx2-main.o and
11865         test-float-libmvec-sincosf-main.o.
11866         test-float-libmvec-sincosf-avx512-main.o.
11867         ($(objpfx)test-double-libmvec-sincos): Also link with
11868         $(objpfx)test-double-libmvec-sincos-main.o.
11869         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
11870         $(objpfx)test-double-libmvec-sincos-avx-main.o.
11871         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
11872         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
11873         ($(objpfx)test-float-libmvec-sincosf): Also link with
11874         $(objpfx)test-float-libmvec-sincosf-main.o.
11875         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
11876         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
11877         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
11878         test-double-libmvec-sincos-avx512-main.o and
11879         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
11880         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
11881         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
11882         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
11883         (CFLAGS-test-double-libmvec-sincos.c): Removed.
11884         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
11885         (CFLAGS-test-double-libmvec-sincos-main.c): New.
11886         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
11887         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
11888         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
11889         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
11890         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
11891         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
11892         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
11893         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
11894         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
11895         -DREQUIRE_AVX2.
11896         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
11897         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
11898         -DREQUIRE_AVX512F.
11899         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
11900         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
11901         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11902         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
11903         file.
11904         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
11905         Likewise.
11906         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
11907         Likewise.
11908         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
11909         Likewise.
11910         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
11911         Likewise.
11912         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
11913         Likewise.
11914         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
11915         Likewise.
11916         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
11917         Likewise.
11919 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
11921         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
11923 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
11925         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
11926         and typo in a comment about AT_HWCAP entry.
11928 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11930         * sysdeps/aarch64/libm-test-ulps: Updated.
11932 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11934         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
11935         of r13 as it is not restored in mvcle case.
11937 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
11939         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
11940         Rename "ret" to "__ret".
11941         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
11942         inline_syscall5, inline_syscall6): Likewise.
11944 2016-07-19   Will Newton  <will.newton@gmail.com>
11946         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
11947         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
11948         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
11949         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
11950         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
11952 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
11954         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
11955         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
11956         -mfpmath=387 with $(rtld-CFLAGS).
11957         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
11958         $(rtld-CFLAGS).
11960 2016-07-18   Ross Burton  <ross.burton@intel.com>
11961              Khem Raj  <raj.khem@gmail.com>
11963         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
11964         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
11965         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
11966         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
11967         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
11968         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
11969         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
11970         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
11971         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
11972         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
11973         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
11974         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
11975         R_METAG_TLS_DTPOFF): New.
11977 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11978             Matt Clay  <mclay@lycos.com>
11980         [BZ #20357]
11981         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
11982         to call __mpsin/__mpcos and to negate values.
11983         * math/auto-libm-test-in: Add test.
11984         * math/auto-libm-test-out: Regenerate.
11986 2016-07-18  Zack Weinberg  <zackw@panix.com>
11988         * grp/Makefile: Don't install the internal header grp-merge.h.
11990 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11992         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11994 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11996         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
11998 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12000         [BZ #15368]
12001         * sysdeps/unix/sysv/linux/nptl-signals.h
12002         (__nptl_clear_internal_signals): New function.
12003         (__libc_signal_block_all): Likewise.
12004         (__libc_signal_block_app): Likewise.
12005         (__libc_signal_restore_set): Likewise.
12006         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
12007         implementation.
12008         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
12009         the cached pid/tid value in pthread structure.
12011 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
12013         [BZ #20347]
12014         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12016 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12018         [BZ #20348]
12019         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
12020         preadv64, pwrite64 and pwritev64.
12022 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12024         [BZ #20350]
12025         * posix/tst-preadwrite.c: Renamed to ...
12026         * posix/tst-preadwrite-common.c: This.
12027         (PREAD): Removed.
12028         (PWRITE): Likewise.
12029         (STRINGIFY): Likewise.
12030         (STRINGIFY2): Likewise.
12031         (do_prepare): Make it static and remove function arguments.
12032         (do_test): Likewise.
12033         (PREPARE): Updated.
12034         (TEST_FUNCTION): New.
12035         (name): Make it static.
12036         (fd): Likewise.
12037         (do_prepare): Use create_temp_file.
12038         (do_test): Renamed to ...
12039         (do_test_with_offset): This.  Make it static and accept offset.
12040         Properly check return value of PWRITE and PREAD.  Return bytes
12041         read.  Don't close fd nor unlink name.
12042         * posix/tst-preadwrite.c: Rewrite.
12043         * posix/tst-preadwrite64.c: Likewise.
12045 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12047         [BZ #20309]
12048         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
12049         -mtls-dialect=gnu2 works.
12050         * configure: Regenerated.
12051         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
12052         (tests): Add tst-gnu2-tls1.
12053         (modules-names): Add tst-gnu2-tls1mod.
12054         ($(objpfx)tst-gnu2-tls1): New.
12055         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
12056         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
12057         * elf/tst-gnu2-tls1.c: New file.
12058         * elf/tst-gnu2-tls1mod.c: Likewise.
12059         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
12060         bytes for push in the PLT entry to align the stack.
12062 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12064         [BZ #20349]
12065         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
12067 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12069         [BZ #18707]
12070         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
12071         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
12073 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12075         * sysdeps/unix/sysv/linux/sysdep.h
12076         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
12077         guards.
12078         * misc/tst-preadvwritev-common.c: New file.
12079         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
12080         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
12081         a check for files larger than 2GB.
12083         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12084         (__ASSUME_OFF_DIFF_OFF64): Remove define.
12085         * sysdeps/unix/sysv/linux/pread.c
12086         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
12087         __OFF_T_MATCHES_OFF64_T.
12088         * sysdeps/unix/sysv/linux/pread64.c
12089         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
12090         * sysdeps/unix/sysv/linux/preadv.c
12091         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
12092         * sysdeps/unix/sysv/linux/preadv64.c
12093         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
12094         * sysdeps/unix/sysv/linux/pwrite.c
12095         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
12096         * sysdeps/unix/sysv/linux/pwrite64.c
12097         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
12098         * sysdeps/unix/sysv/linux/pwritev.c
12099         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
12100         * sysdeps/unix/sysv/linux/pwritev64.c
12101         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
12103 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
12105         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12106         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
12108 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12110         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
12112 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12114         [BZ #20240]
12115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
12116         (CFLAGS-s_modf-ppc32.c): New variable.
12117         (CFLAGS-s_modff-ppc32.c): Likewise.
12118         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12119         (CFLAGS-s_modf-ppc64.c): Likewise.
12120         (CFLAGS-s_modff-ppc64.c): Likewise.
12122 2016-07-07  Andreas Schwab  <schwab@suse.de>
12124         [BZ #20263]
12125         * nptl/tst-robust10.c: New test.
12126         * nptl/Makefile (tests): Add tst-robust10.
12128 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
12130         [BZ #20263]
12131         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
12133 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12135         * sysdeps/s390/linkmap.h (struct link_map_machine):
12136         Remove member gotplt and add member jmprel.
12137         * sysdeps/s390/s390-32/dl-machine.h
12138         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
12139         instead of gotplt with &got[3].
12140         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
12141         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12143 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
12145         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
12147 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12149         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
12150         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
12151         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12152         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
12153         * libio/vtables.c (_IO_vtable_check)
12154         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12155         * libio/libioP.h (IO_set_accept_foreign_vtables)
12156         [!PTR_MANGLE]: Do not call PTR_MANGLE.
12158 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
12160         [BZ #20314]
12161         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
12162         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
12163         $(common-objpfx)cmath.
12164         ($(common-objpfx)cstdlib): New target.
12165         ($(common-objpfx)cmath): Likewise.
12167 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
12169         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
12171 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12173         [BZ #20327]
12174         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
12175         are not part of the string.
12177 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12179         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
12180         * nptl/tst-cancel4-common.h (fifoname): New variable.
12181         (fifofd): Likewise.
12182         (cl_fifo): New function.
12183         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
12184         SIGINT.
12185         (tf_open): Add early cancel test.
12187 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
12189         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
12191 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
12193         * sysdeps/generic/ldsodefs.h
12194         (dl_symbol_visibility_binds_local_p): New inline function.
12195         * elf/dl-addr.c (determine_info): Treat hidden and internal
12196         symbols as local.
12197         * elf/dl-lookup.c (do_lookup_x): Likewise.
12198         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
12200 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
12202         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
12203         invalid exception for a sNaN input.
12204         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12205         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12206         (__nearbyint_vis3): Likewise
12207         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12208         (__nearbyintf_vis3): Likewise
12209         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
12210         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12211         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
12212         Likewise.
12213         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
12214         Likewise.
12216 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
12218         [BZ #20139]
12219         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
12220         (HAVE_AVX512DQ_ASM_SUPPORT): This.
12221         * sysdeps/x86_64/configure.ac: Require assembler from binutils
12222         2.24 or above.
12223         (HAVE_AVX512_ASM_SUPPORT): Removed.
12224         (HAVE_AVX512DQ_ASM_SUPPORT): New.
12225         * sysdeps/x86_64/configure: Regenerated.
12226         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
12227         check unconditional.
12228         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12229         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12230         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12231         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
12232         Likewise.
12233         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12234         Likewise.
12235         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12236         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12237         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12238         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12239         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12240         Likewise.
12241         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12242         Likewise.
12243         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12244         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12245         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
12246         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
12247         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
12248         Likewise.
12249         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
12250         Likewise.
12251         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
12252         Likewise.
12253         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
12254         Likewise.
12255         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
12256         Likewise.
12257         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
12258         Likewise.
12259         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
12260         Likewise.
12261         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
12262         Likewise.
12263         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
12264         Likewise.
12265         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
12266         Likewise.
12267         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
12268         Likewise.
12270 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
12272         [BZ #20024]
12273         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
12274         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
12275         of this implementation of vector function.
12276         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12277         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12278         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
12279         Likewise.
12280         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12281         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12282         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
12283         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
12284         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
12285         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
12286         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
12287         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
12288         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
12289         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
12290         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
12291         for testing vector sincos with fixed ABI.
12292         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12293         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12294         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12295         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12296         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12297         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12298         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12299         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
12300         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
12301         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
12302         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
12303         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
12304         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
12305         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
12306         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12307         * sysdeps/x86_64/fpu/Makefile: Added new tests.
12309 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12311         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
12313 2016-06-30  Anton Blanchard  <anton@samba.org>
12315         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12316         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
12317         s_sinf-ppc64.
12318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
12319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12321         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12323 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12326         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12327         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
12328         e_expf-ppc64.
12329         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
12330         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
12331         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
12332         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
12334 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
12336         [BZ #20277]
12337         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
12338         when SHARED is defined.
12340 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
12342         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
12343         (index_arch_Prefer_ERMS): Likewise.
12344         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
12345         __memcpy_erms for Prefer_ERMS.
12346         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12347         (__memmove_erms): Enabled for libc.a.
12348         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
12349         __memmove_erms or Prefer_ERMS.
12350         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
12351         __mempcpy_erms for Prefer_ERMS.
12352         * sysdeps/x86_64/multiarch/memset.S (memset): Return
12353         __memset_erms for Prefer_ERMS.
12355 2016-06-30  Andreas Schwab  <schwab@suse.de>
12357         [BZ #20262]
12358         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
12359         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
12360         of memory.
12362 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
12364         [BZ #18645]
12365         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
12366         (test-extras): Add tst-cleanupx4aux.
12367         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
12368         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
12369         tst-cleanupx4aux.o.
12370         * nptl/tst-cleanupx4aux.c: New file.
12372 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12374         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12376 2016-06-29  Andreas Schwab  <schwab@suse.de>
12378         [BZ #20260]
12379         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
12380         address before the beginning of the string as an integer to avoid
12381         array-bounds warning.
12383 2016-06-28  Richard Henderson  <rth@redhat.com>
12385         * elf/elf.h (EM_BPF): New.
12386         (EM_NUM): Update.
12387         (R_BPF_NONE, R_BPF_MAP_FD): New.
12389         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
12390         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
12391         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
12392         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
12393         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
12394         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
12395         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
12396         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
12397         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
12398         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
12399         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
12400         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
12401         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
12402         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
12403         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
12404         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
12405         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
12406         (EM_NUM): Update.
12408 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
12410         [BZ #18960]
12411         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
12412         Set _nl_current_LC_CATEGORY_used to two instead of one.
12414 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
12416         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
12417         (do_test): ... this.
12418         (TEST_FUNCTION): New macro.
12419          Include test-skeleton.c.
12420         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
12421         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
12423 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
12425         [BZ #15479]
12426         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
12427         floating-point environment rather than just control word.
12428         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12429         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
12430         floating-point environment, with "invalid" exceptions merged in,
12431         rather than just control word.
12432         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
12433         * math/libm-test.inc (trunc_test_data): Do not allow spurious
12434         "inexact" exceptions.
12436         [BZ #15479]
12437         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
12438         floating-point environment rather than just control word.
12439         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12440         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
12441         floating-point environment, with "invalid" exceptions merged in,
12442         rather than just control word.
12443         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
12444         * math/libm-test.inc (floor_test_data): Do not allow spurious
12445         "inexact" exceptions.
12447         [BZ #15479]
12448         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
12449         floating-point environment rather than just control word.
12450         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12451         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
12452         floating-point environment, with "invalid" exceptions merged in,
12453         rather than just control word.
12454         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
12455         * math/libm-test.inc (ceil_test_data): Do not allow spurious
12456         "inexact" exceptions.
12458 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
12460         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
12461         __libc_vfork.
12462         (__vfork) [IS_IN (libc)]: Remove alias.
12463         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
12464         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12465         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12467 2016-06-24  Torvald Riegel  <triegel@redhat.com>
12469         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
12470         of atomic_compare_and_exchange_bool_rel.
12471         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12472         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
12473         catomic_compare_and_exchange_bool_rel): Remove.
12474         * sysdeps/aarch64/atomic-machine.h
12475         (atomic_compare_and_exchange_bool_rel): Likewise.
12476         * sysdeps/alpha/atomic-machine.h
12477         (atomic_compare_and_exchange_bool_rel): Likewise.
12478         * sysdeps/arm/atomic-machine.h
12479         (atomic_compare_and_exchange_bool_rel): Likewise.
12480         * sysdeps/mips/atomic-machine.h
12481         (atomic_compare_and_exchange_bool_rel): Likewise.
12482         * sysdeps/microblaze/atomic-machine.h
12483         ( __arch_compare_and_exchange_bool_8_rel,
12484         __arch_compare_and_exchange_bool_16_rel): Likewise.
12485         * sysdeps/powerpc/atomic-machine.h
12486         ( __arch_compare_and_exchange_bool_8_rel,
12487         __arch_compare_and_exchange_bool_16_rel): Likewise.
12488         * sysdeps/powerpc/powerpc32/atomic-machine.h
12489         ( __arch_compare_and_exchange_bool_32_rel,
12490         __arch_compare_and_exchange_bool_64_rel): Likewise.
12491         * sysdeps/powerpc/powerpc64/atomic-machine.h
12492         ( __arch_compare_and_exchange_bool_32_rel,
12493         __arch_compare_and_exchange_bool_64_rel): Likewise.
12494         * sysdeps/tile/atomic-machine.h
12495         (atomic_compare_and_exchange_bool_rel): Likewise.
12497 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
12499         [BZ #20296]
12500         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
12501         when either argument is a NaN.
12502         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12503         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
12505         * math/libm-test.inc (snan_value_ld): New macro.
12506         (isgreater_test_data): Add sNaN tests.
12507         (isgreaterequal_test_data): Likewise.
12508         (isless_test_data): Likewise.
12509         (islessequal_test_data): Likewise.
12510         (islessgreater_test_data): Likewise.
12511         (isunordered_test_data): Likewise.
12512         (nextafter_test_data): Likewise.
12513         (nexttoward_test_data): Likewise.
12514         (remainder_test_data): Likewise.
12515         (remquo_test_data): Likewise.
12516         (significand_test_data): Likewise.
12517         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
12519 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12521         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
12522         environment macros are defined.
12523         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
12525 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12527         [BZ #20191]
12528         Implement vtable verification in libio.
12529         * Makerules (shlib.lds): Place __libc_IO_vtables section.
12530         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
12531         * debug/vdprintf_chk.c (__vdprintf_chk): Call
12532         _IO_new_file_init_internal instead of _IO_file_init.
12533         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
12534         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
12535         * libio/Makefile (routines): Add vtables.
12536         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
12537         (_IO_init): Remove, not for internal use.
12538         (_IO_init_internal): Declare, internal replacement for _IO_init.
12539         (_IO_file_init): Remove, not for internal use.
12540         (_IO_new_file_init): Remove, not for internal use.
12541         (_IO_new_file_init_internal): Declare, internal replacement for
12542         _IO_new_file_init.
12543         (_IO_old_file_init): Remove, not for internal use.
12544         (_IO_old_file_init_internal): Declare, internal replacement for
12545         _IO_old_file_init.
12546         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
12547         internal use.
12548         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
12549         Declare.
12550         (libio_vtable): New macro.
12551         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
12552         functions.
12553         * libio/fileops.c (_IO_new_file_init_internal): Rename from
12554         _IO_new_file_init.
12555         (_IO_new_file_init): New externally visible wrapper which disables
12556         vtable verification.
12557         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
12558         Define as vtables.
12559         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
12560         (_IO_init): New externally visible wrapper which disables
12561         vtable verification.
12562         * libio/iofdopen.c (_IO_new_fdopen): Call
12563         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
12564         comment.
12565         * libio/iofopen.c (__fopen_internal): Call
12566         _IO_new_file_init_internal instead of _IO_file_init.
12567         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
12568         Define as vtables.
12569         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
12570         _IO_new_file_init_internal instead of _IO_file_init.
12571         * libio/iopopen.c (_IO_new_popen): Likewise.
12572         (_IO_proc_jumps): Define as vtable.
12573         * libio/iovdprintf.c (_IO_vdprintf): Call
12574         _IO_new_file_init_internal instead of _IO_file_init.
12575         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
12576         (__open_memstream): Call _IO_init_internal instead of _IO_init.
12577         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
12578         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
12579         _IO_old_file_init.
12580         (_IO_old_file_init): New externally visible wrapper which disables
12581         vtable verification.
12582         (_IO_old_file_jumps): Define as vtable.
12583         * libio/oldiofdopen.c (_IO_old_fdopen): Call
12584         _IO_old_file_init_internal instead of _IO_old_file_init.
12585         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12586         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12587         (_IO_old_proc_jumps): Define as vtable.
12588         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
12589         Define as vtables.
12590         * libio/vtables.c: New file.
12591         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
12592         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
12593         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
12594         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
12595         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
12596         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
12597         instead of _IO_init.
12599 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12601         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
12603 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12605         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
12606         potentially unused.
12608 2016-06-22  Florian Weimer  <fweimer@redhat.com>
12610         * test-skeleton.c (write_message): New function.
12611         * malloc/tst-mallocfork2.c (write_message): Remove.
12612         * debug/tst-longjmp_chk2.c (write_indented): New function.
12613         (write_message): Remove.
12614         (stackoverflow_handler): Call write_indented.
12616 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
12618         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
12619         "inexact" exceptions after fnstenv.
12620         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12621         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12622         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12624 2015-06-22  Zack Weinberg  <zackw@panix.com>
12626         * sysdeps/generic/bits/hwcap.h: Moved to ...
12627         * bits/hwcap.h: Here.
12629 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
12631         * sysdeps/aarch64/memcpy.S (memcpy):
12632         Further tuning for performance.
12634 2016-06-21  Florian Weimer  <fweimer@redhat.com>
12636         [BZ #20284]
12637         * malloc/arena.c (reused_arena): Do not return NULL if we start
12638         out with a non-corrupted arena.
12640 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12642         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
12643         * misc/tst-preadvwritev.c: New file.
12644         * misc/tst-preadvwritev64.c: Likewise.
12645         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
12646         usage.
12647         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
12648         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
12649         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
12650         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
12652 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
12654         [BZ #19654]
12655         * sysdeps/x86_64/fpu/Makefile: Added new tests.
12656         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
12657         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
12658         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
12659         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
12660         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
12661         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
12662         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
12663         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
12664         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
12665         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
12666         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
12667         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
12668         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
12669         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
12670         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
12671         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
12672         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
12673         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
12674         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
12675         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
12676         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
12677         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
12678         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
12679         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
12680         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
12682 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12684         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
12685         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
12687 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12689         * sysdeps/aarch64/memcpy.S (memcpy):
12690         Rewrite of optimized memcpy and memmove.
12691         * sysdeps/aarch64/memmove.S (memmove): Remove
12692         memmove code (merged into memcpy.S).
12694 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12696         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
12697         * sysdeps/generic/dl-dtv.h: New file.
12698         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12699         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
12700         (dtv_t): Remove.
12701         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12702         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
12703         (dtv_t): Remove.
12704         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12705         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
12706         (dtv_t): Remove.
12707         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12708         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
12709         (dtv_t): Remove.
12710         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12711         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
12712         (dtv_t): Remove.
12713         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12714         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
12715         (dtv_t): Remove.
12716         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12717         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
12718         (dtv_t): Remove.
12719         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
12720         (dtv_t): Remove.
12721         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12722         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
12723         (dtv_t): Remove.
12724         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12725         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
12726         (dtv_t): Remove.
12727         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12728         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
12729         (dtv_t): Remove.
12730         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12731         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
12732         (dtv_t): Remove.
12733         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12734         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
12735         (dtv_t): Remove.
12736         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12737         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
12738         (dtv_t): Remove.
12739         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12740         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
12741         (dtv_t): Remove.
12742         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12743         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
12744         (dtv_t): Remove.
12746 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12748         Revert symbol poisoning of  __malloc_initialize_hook.
12749         * include/stdc-predef.h (__malloc_initialize_hook): Remove
12750         poisoning.
12751         * malloc/Makefile: Remove un-poisoning.
12752         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
12753         instead of old__malloc_initialize_hook.
12754         * malloc/malloc-hooks.h: Likewise.
12755         * malloc/malloc.c: Likewise.
12756         * malloc/mcheck-init.c: Likewise.
12758 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
12760         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
12762 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
12764         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
12765         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
12766         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12767         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12769 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12771         * NEWS: Mention addition of nextup and nextdown.
12772         * manual/arith.texi: Document nextup and nextdown.
12773         * manual/libm-err-tab.pl: Add nextup and nextdown.
12774         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
12775         * math/Versions (libm): Add GLIBC_2.24.
12776         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
12777         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12778         Add new test.
12779         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
12780         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
12781         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
12782         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
12783         (nextup_test_data): Likewise.
12784         (nextdown_test_data): Likewise.
12785         * math/s_nextdown.c: New file.
12786         * math/s_nextdownf.c: Likewise.
12787         * math/s_nextdownl.c: Likewise.
12788         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
12789         F(nextup): New function.
12790         F(nextdown): Likewise.
12791         * math/tgmath.h: Add nextup and nextdown.
12792         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
12793         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
12794         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12795         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12796         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12797         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
12798         Add nextup and nextdown.
12799         (CFLAGS-nldbl-nextup.c): New variable.
12800         (CFLAGS-nldbl-nextdown.c): Likewise.
12801         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
12802         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
12803         * sysdeps/nacl/libm.abilist: Update.
12804         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12805         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12806         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12807         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12808         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12809         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12810         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12811         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12812         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12813         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12814         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12815         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12818         Likewise.
12819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12821         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12822         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12823         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12824         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12825         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
12827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
12828         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12829         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12830         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12831         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12833 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12835         * manual/pattern.texi: Fix typos & grammar errors.
12837 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12839         * manual/search.texi: Fix typos & grammar errors.
12841 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12843         * manual/message.texi: Fix typos & grammar errors.
12845 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
12847         * manual/contrib.texi: Fix spelling typos.
12848         * manual/crypt.texi: Likewise.
12849         * manual/filesys.texi: Likewise.
12850         * manual/locale.texi: Likewise.
12851         * manual/message.texi: Likewise.
12852         * manual/nss.texi: Likewise.
12853         * manual/string.texi: Likewise.
12855 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12857         * manual/locale.texi: Fix typos & grammar errors.
12859 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12861         * manual/charset.texi: Fix typos & grammar errors.
12863 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12865         * manual/string.texi: Fix typos.
12867 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12869         * manual/ctype.texi: Fix typos.
12871 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12873         * manual/memory.texi: Fix various typos & grammar errors.
12875 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
12877         [BZ #20255]
12878         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
12879         * math/libm-test.inc (fdim_test_data): Add another test.
12881         [BZ #6796]
12882         [BZ #20255]
12883         [BZ #20256]
12884         * math/s_fdim.c: Include <math_private.h>.
12885         (__fdim): Use math_narrow_eval on result.
12886         * math/s_fdimf.c: Include <math_private.h>.
12887         (__fdimf): Use math_narrow_eval on result.
12888         * sysdeps/i386/fpu/s_fdim.S: Remove file.
12889         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
12890         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
12891         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
12892         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
12893         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
12894         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
12895         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
12896         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
12897         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
12898         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
12899         * math/libm-test.inc (fdim_test_data): Expect errno setting on
12900         overflow.  Add sNaN tests.
12902         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
12903         fpclassify.
12904         * math/s_fdimf.c (__fdimf): Likewise.
12905         * math/s_fdiml.c (__fdiml): Likewise.
12907 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12909         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12910         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
12911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12912         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12913         ifunc'ed strcasecmp/strncasecmp.
12914         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
12915         [EALIGN]: Removed.
12916         [END]: Likewise.
12917         [__strcasecmp]: Define instead of the above to control symbol name.
12918         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
12919         for __strcasecmp_power8.
12920         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
12921         for __strncasecmp_power8.
12922         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
12923         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
12924         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
12925         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
12926         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
12927         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
12929 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
12931         [BZ #20252]
12932         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
12933         arguments when second argument is a NaN.
12934         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
12935         qNaN tests.
12937         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
12938         (conj_test_data): Likewise.
12939         (copysign_test_data): Likewise.
12940         (creal_test_data): Likewise.
12941         (fma_test_data): Likewise.
12942         (fmod_test_data): Likewise.
12944         [BZ #20250]
12945         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
12946         itself.
12947         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
12948         zero input to itself.
12949         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
12950         Likewise.
12951         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
12952         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
12953         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12954         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
12955         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
12957 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12959         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
12960         * nptl/tst-cancel4-common.c: New file.
12961         * nptl/tst-cancel4-common.h: Likewise.
12962         * nptl/tst-cancel4.c: Move common definitions to
12963         tst-cancel4-common.{c,h} file.
12964         * nptl/tst-cancel4_1.c: New test.
12965         * nptl/tst-cancel4_2.c: New test.
12967 2016-06-13  Florian Weimer  <fweimer@redhat.com>
12969         [BZ #20248]
12970         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
12971         (write_message): New function.
12972         (stackoverflow_handler): Call it instead of printf, to avoid
12973         excessive stack usage by printf.
12974         (do_test): Restore SIGSEGV, SIGBUS default handlers.
12976 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12978         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
12979         (prio_inherit_missing): Remove define.
12980         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12981         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12982         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
12983         Likewise.
12984         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12985         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12986         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12987         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12988         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12989         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12991 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12993         [BZ #19670]
12994         [BZ #19672]
12996         * io/test-lfs.c (do_prepare): Use xmalloc.
12997         * io/tst-fcntl.c (do_prepare): Likewise.
12998         * libio/tst-fopenloc.c (do_bz17916): Likewise.
12999         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
13000         * login/tst-utmp.c (do_prepare): Likewise.
13001         * posix/tst-exec.c (do_prepare): Likewise.
13002         * posix/tst-pathconf.c (prepare): Likewise.
13003         * posix/tst-spawn.c (do_prepare): Likewise.
13004         * posix/tst-truncate.c (do_prepare): Likewise.
13005         * rt/tst-aio.c (do_prepare): Likewise.
13006         * rt/tst-aio64.c (do_prepare): Likewise.
13008 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13010         [BZ #20237]
13011         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
13012         (get*ent): Set entidx to NULL during initialization.  If entidx is
13013         NULL, start iteration from the beginning.
13015 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13017         * malloc/malloc.c (musable): Return correct size for dumped fake
13018         mmapped chunk.
13020 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13022         [BZ #20222]
13023         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
13024         (_IO_cookie_write): Likewise.
13025         (_IO_cookie_seek): Likewise.
13026         (_IO_cookie_close): Likewise.
13027         (_IO_old_cookie_seek): Likewise.
13028         (set_callbacks): New function.
13029         (_IO_cookie_init): Call set_callbacks to copy callbacks.
13031 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
13033         * locale/programs/localedef.c (oldstyle_tables): Remove.
13034         * locale/programs/localedef.h (oldstyle_tables): Likewise.
13036 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
13038         [BZ #20240]
13039         * math/Makefile (CFLAGS-s_modf.c): New variable.
13040         (CFLAGS-s_modff.c): Likewise.
13041         (CFLAGS-s_modfl.c): Likewise.
13042         * math/libm-test.inc (modf_test_data): Add sNaN tests.
13044 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
13046         [BZ #20215]
13047         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
13048         [!__GNUC_PREREQ (3,2)]: Likewise.
13050 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
13052         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
13053         (msghdr.msg_controllen): Likewise.
13054         (cmsghdr.cmsg_len): Likewise.
13055         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
13056         ptw-oldsendmsg.
13057         (CFLAGS-oldrecvmsg.c): Remove rule.
13058         (CFLAGS-oldsendmsg.c): Likewise.
13059         (CFLAGS-recvmsg.c): Add rule.
13060         (CFLAGS-sendmsg.c): Likewise.
13061         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
13062         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
13063         (CFLAGS-recvmsg.c): Remove rule.
13064         (CFLAGS-sendmsg.c): Likewise.
13065         (CFLAGS-oldrecvmsg.c): Likewise.
13066         (CFLAGS-oldsendmsg.c): Likewise.
13067         (CFLAGS-recvmmsg.c): Likewise.
13068         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
13069         to kernel defined interfaces.
13070         (msghdr.msg_controllen): Likewise.
13071         (cmsghdr.cmsg_len): Likewise.
13072         (msghdr.__glibc_reserved1): Remove member.
13073         (msghdr.__glibc_reserved2): Likewise.
13074         (cmsghdr.__glibc_reserved1): Likewise.
13075         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
13076         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
13077         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13078         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13079         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
13080         version.
13081         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13082         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
13083         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13084         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
13085         Remove recvmsg and sendmsg.
13086         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
13087         Likewise.
13088         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13089         Likewise.
13090         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13091         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13092         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13093         Likewise.
13094         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13095         Likewise.
13096         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
13097         [libc] (GLIBC_2.24): Likewise.
13098         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13099         Likewise.
13100         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13101         Likewise.
13102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13103         [libc] (GLIBC_2.24): Likewise.
13104         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13105         Likewise.
13106         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13107         Likewise.
13108         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13109         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13110         Likewise.
13111         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13112         Likewise.
13113         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13114         Likewise.
13115         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
13116         Likewise.
13117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
13118         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
13119         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
13120         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
13121         version for {recv,send,recm,sendm}msg.
13122         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13123         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13124         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13125         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13126         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13127         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13128         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13129         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13130         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13131         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13132         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13133         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13135         Likewise.
13136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13137         Likewise.
13138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13140         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13141         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13142         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13143         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13144         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13145         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13148         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13149         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13150         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13152 2016-06-10  Florian Weimer  <fweimer@redhat.com>
13154         [BZ #19564]
13155         Remove __malloc_initialize_hook from the API.
13156         * malloc/malloc.h (__malloc_initialize_hook): Remove.
13157         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
13158         #pragma GCC poison.
13159         * malloc/malloc-hooks.h: New file.
13160         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
13161         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
13162         (old__malloc_initialize_hook): Rename from
13163         __malloc_initialize_hook to evade poisoning.  Turn into compat
13164         symbol.
13165         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
13166         __malloc_initialize_hook.
13167         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
13168         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
13169         * manual/memory.texi (Hooks for Malloc): Remove
13170         __malloc_initialize_hook.  Adjust hook example.
13172 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
13174         [BZ #20235]
13175         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
13176         itself.
13177         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13178         * math/libm-test.inc (log2_test_data): Add sNaN tests.
13180         [BZ #20234]
13181         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
13182         infinity or NaN input to itself.
13184         [BZ #20233]
13185         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
13186         to itself.
13188         [BZ #20232]
13189         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
13190         itself.
13192 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
13194         * sysdeps/x86_64/start.S (_start): Always indirect branch to
13195         __libc_start_main via GOT.
13197 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
13199         * sysdeps/x86_64/memcopy.h: New file.
13200         * sysdeps/x86_64/wordcopy.c: Likewise.
13202 2016-06-09  Florian Weimer  <fweimer@redhat.com>
13204         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
13205         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
13206         <cstdlib>.
13207         (optimization_barrier): New.
13208         (do_test): Use it.  Call quick_exit in the global namespace.
13209         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
13210         instead of <cstdlib>, <thread>.
13211         (optimization_barrier): New.
13212         (non_main_thread): Adjust declaration.  Call optimization_barrier.
13213         Call quick_exit in the global namespace.
13214         (do_test): Call optimization_barrier.  Use pthread_create,
13215         pthread_join instead of std::thread.
13217 2016-06-09  Andreas Schwab  <schwab@suse.de>
13219         [BZ #19755]
13220         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
13221         new entries in auto-propagate mode.
13222         * nscd/grpcache.c (cache_addgr): Likewise.
13224 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13226         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
13227         New functions.
13228         (add_temp_file): Use them.
13230 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
13232         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
13234 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
13236         [BZ #20229]
13237         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
13238         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
13239         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
13241         [BZ #20228]
13242         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
13243         itself.
13244         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13245         * math/libm-test.inc (log10_test_data): Add sNaN tests.
13247         [BZ #20227]
13248         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
13249         itself.
13250         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13251         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13252         * math/libm-test.inc (log_test_data): Add sNaN tests.
13254         [BZ #20226]
13255         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
13256         itself.
13257         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13258         * math/libm-test.inc (exp_test_data): Add sNaN tests.
13259         (exp10_test_data): Likewise.
13260         (expm1_test_data): Likewise.
13262         [BZ #20225]
13263         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
13264         itself.
13265         * math/s_ldexpf.c (__ldexpf): Likewise.
13266         * math/s_ldexpl.c (__ldexpl): Likewise.
13267         * math/w_scalbln.c (__w_scalbln): Likewise.
13268         * math/w_scalblnf.c (__w_scalblnf): Likewise.
13269         * math/w_scalblnl.c (__w_scalblnl): Likewise.
13270         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
13271         (scalbln_test_data): Likewise.
13273         [BZ #20224]
13274         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
13275         argument to itself.
13276         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
13278 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13280         [BZ #19776]
13281         * sysdeps/x86_64/memcpy.S: Make it dummy.
13282         * sysdeps/x86_64/mempcpy.S: Likewise.
13283         * sysdeps/x86_64/memmove.S: New file.
13284         * sysdeps/x86_64/memmove_chk.S: Likewise.
13285         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13286         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13287         * sysdeps/x86_64/memmove.c: Removed.
13288         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13289         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13290         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
13291         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
13292         Likewise.
13293         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13294         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13295         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13296         memcpy-sse2-unaligned, memmove-avx-unaligned,
13297         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
13298         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13299         (__libc_ifunc_impl_list): Replace
13300         __memmove_chk_avx512_unaligned_2 with
13301         __memmove_chk_avx512_unaligned.  Remove
13302         __memmove_chk_avx_unaligned_2.  Replace
13303         __memmove_chk_sse2_unaligned_2 with
13304         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
13305         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
13306         with __memmove_avx512_unaligned.  Replace
13307         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
13308         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
13309         with __memcpy_chk_avx512_unaligned.  Remove
13310         __memcpy_chk_avx_unaligned_2.  Replace
13311         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
13312         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
13313         Replace __memcpy_avx512_unaligned_2 with
13314         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
13315         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
13316         with __mempcpy_chk_avx512_unaligned.  Remove
13317         __mempcpy_chk_avx_unaligned_2.  Replace
13318         __mempcpy_chk_sse2_unaligned_2 with
13319         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
13320         Replace __mempcpy_avx512_unaligned_2 with
13321         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
13322         Replace __mempcpy_sse2_unaligned_2 with
13323         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
13324         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
13325         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
13326         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
13327         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
13328         (ENTRY): Removed.
13329         (END): Likewise.
13330         (ENTRY_CHK): Likewise.
13331         (libc_hidden_builtin_def): Likewise.
13332         Don't include ../memcpy.S.
13333         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
13334         __memcpy_chk_avx512_unaligned_erms and
13335         __memcpy_chk_avx512_unaligned.  Use
13336         __memcpy_chk_avx_unaligned_erms and
13337         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13338         Default to __memcpy_chk_sse2_unaligned.
13339         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13340         Change function suffix from unaligned_2 to unaligned.
13341         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
13342         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
13343         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
13344         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
13345         (ENTRY): Removed.
13346         (END): Likewise.
13347         (ENTRY_CHK): Likewise.
13348         (libc_hidden_builtin_def): Likewise.
13349         Don't include ../mempcpy.S.
13350         (mempcpy): New.  Add a weak alias.
13351         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
13352         __mempcpy_chk_avx512_unaligned_erms and
13353         __mempcpy_chk_avx512_unaligned.  Use
13354         __mempcpy_chk_avx_unaligned_erms and
13355         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13356         Default to __mempcpy_chk_sse2_unaligned.
13358 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13360         [BZ #19881]
13361         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
13362         into ...
13363         * sysdeps/x86_64/memset.S: This.
13364         (__bzero): Removed.
13365         (__memset_tail): Likewise.
13366         (__memset_chk): Likewise.
13367         (memset): Likewise.
13368         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
13369         defined.
13370         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
13371         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
13372         (__memset_zero_constant_len_parameter): Check SHARED instead of
13373         PIC.
13374         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13375         memset-avx2 and memset-sse2-unaligned-erms.
13376         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13377         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
13378         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
13379         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13380         (__bzero): Enabled.
13381         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
13382         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
13383         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
13384         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
13385         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13386         (memset): Removed.
13387         (__memset_chk): Likewise.
13388         (MEMSET_SYMBOL): New.
13389         (libc_hidden_builtin_def): Replace __memset_sse2 with
13390         __memset_sse2_unaligned.
13391         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
13392         __memset_chk_sse2 and __memset_chk_avx2 with
13393         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
13394         Use __memset_chk_sse2_unaligned_erms or
13395         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
13396         __memset_chk_avx512_unaligned_erms and
13397         __memset_chk_avx512_unaligned.
13399 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13401         * math/gen-auto-libm-test.c (fp_format_desc): remove
13402         suffix member.
13403         (output_generic_value): Remove usage of suffix member,
13404         and the resulting unuse of the fp_format argument.
13405         (output_for_one_input_case): Remove unused fp_format
13406         parameter.
13408         * math/auto-libm-test-out: Regenerate.
13410         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
13411         usage with TEST_COND_ibm128.
13412         (TEST_COND_flt_32): Remove.
13413         (TEST_COND_dbl_64): Remove.
13414         (TEST_COND_ldbl_96_intel): Remove.
13415         (TEST_COND_ldbl_96_m68k): Remove.
13416         (TEST_COND_ldbl_128): Remove.
13418 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13420         * auto-libm-test-in:
13421         Replace flt-32 usage with binary32.
13422         Replace dbl-64 usage with binary64.
13423         Replace ldbl-intel-96 usage with intel96.
13424         Replace ldbl-m68k-96 usage with m68k96.
13425         Replace ldbl-128ibm usage with ibm128.
13426         Replace ldbl-128 usage with binary128.
13428         * auto-libm-test-out: Regenerate.
13430 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13432         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
13433         (parse_ulps): Dynamically generate type name matching
13434         string from all_floats.
13435         (get_ulps): Generate the ulps as an array instead.
13436         (output_ulps): Dynamically compose the type based
13437         on the number of supported formats, and print
13438         the indices as type specific helper macros.
13440         * math/libm-test.inc: Remove comment about CHOOSE.
13441         (ulp_data): Generate the type in libm-test-ulps.h.
13442         (ULP_IDX): New macro.
13443         (find_ulps): Update usage of max_ulp.
13445         * math/test-double-vlen2.h (CHOOSE): Remove.
13446         * math/test-double-vlen4.h (CHOOSE): Likewise.
13447         * math/test-double-vlen8.h (CHOOSE): Likewise.
13448         * math/test-float.c (CHOOSE): Likewise.
13449         * math/test-float-finite.c (CHOOSE): Likewise.
13450         * math/test-double.c (CHOOSE): Likewise.
13451         * math/test-double-finite.c (CHOOSE): Likewise.
13452         * math/test-idouble.c (CHOOSE): Likewise.
13453         * math/test-ifloat.c (CHOOSE): Likewise.
13454         * math/test-ildoubl.c (CHOOSE): Likewise.
13455         * math/test-ldouble-finite.c (CHOOSE): Likewise.
13456         * math/test-ldouble.c (CHOOSE): Likewise.
13458         * math/test-float.h (TEST_FLOAT): Remove.
13459         * math/test-double.h (TEST_DOUBLE): Likewise.
13460         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
13462 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13464         * math/gen-libm-test.pl: (apply_lit): New subroutine.
13465         (parse_args): Strip C suffix from floating point literals
13466         typed with 'f' and wrap them with LIT().
13468         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
13469         (test_ff_f_data_nexttoward): Rename to
13470         (test_fj_f_data): New struct.
13471         (nexttoward_test_data): Relabel tests as
13472         TEST_fj_f instead of TEST_ff_f.
13474 2016-06-08  Florian Weimer  <fweimer@redhat.com>
13476         Emacs bug 23726.
13477         * malloc/malloc.c (dumped_main_arena_start): Update comment.
13478         (__libc_realloc): Correct size computation for dumped fake mmapped
13479         chunks.
13481 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
13483         [BZ #20219]
13484         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
13485         to itself.
13486         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
13488         [BZ #20218]
13489         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
13490         to itself.
13491         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
13493 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
13495         [BZ #20195]
13496         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
13497         check to ...
13498         (init_cpu_features): Here.
13500 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
13502         [BZ #20214]
13503         * sysdeps/unix/sysv/linux/bits/in.h
13504         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13505          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
13506         Define to 1.
13507         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13508          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
13509         Define to 0.
13510         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
13511         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
13513 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
13515         [BZ #20198]
13516         * stdlib/Makefile (tests): Add tst-quick_exit, and
13517         tst-thread-quick_exit.
13518         [ifeq ($(have-cxx-thread_local),yes)]
13519         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
13520         (CFLAGS-tst-thread-quick_exit.o): Likewise.
13521         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
13522         (LDLIBS-tst-thread-quick_exit): Likewise.
13523         [ifneq ($(have-cxx-thread_local),yes)]
13524         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
13525         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
13526         If run_dtors is true call __call_tls_dtors.
13527         (exit): Call __run_exit_handlers with run_dtors set to true.
13528         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
13529         definition.
13530         * stdlib/quick_exit.c (quick_exit): Remove function.
13531         (__new_quick_exit): New function.
13532         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
13533         function.
13534         * stdlib/tst-quick_exit.cc: New file.
13535         * stdlib/tst-thread-quick_exit.cc: New file.
13536         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
13537         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
13538         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
13539         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
13540         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
13541         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
13542         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
13543         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
13544         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
13545         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
13546         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
13547         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
13548         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
13549         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
13550         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
13551         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
13553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
13554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
13555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
13556         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
13557         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
13558         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
13559         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
13560         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
13561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
13562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
13563         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
13564         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
13565         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
13567 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
13569         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
13570         a typo in comments.
13572 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13574         [BZ #20213]
13575         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
13576         argument to itself.
13577         * math/libm-test.inc (asin_test_data): Add sNaN tests.
13579 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13581         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
13582         required flags.
13583         (CFLAGS-pwritev64.c): Likewise.
13584         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
13585         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13586         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
13587         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13588         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
13589         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
13590         syscall from auto-generation.
13591         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
13592         [WORDSIZE == 64] (pwritev64): Remove macro.
13593         [!PWRITEV] (PWRITEV): Likewise.
13594         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13595         [!PWRITEV] (PWRITE): Likewise.
13596         [!PWRITEV] (OFF_T): Likewise.
13597         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13598         (LO_HI_LONG): Remove macro.
13599         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
13600         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
13601         (PWRITEV): Remove macro.
13602         (PWRITEV_REPLACEMENTE): Likewise.
13603         (PWRITE): Likewise.
13604         (OFF_T): Likewise.
13605         (pwritev64): New function.
13606         * nptl/tst-cancel4.c (tf_writev): Add test.
13608         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
13609         required flags.
13610         (CFLAGS-preadv64.c): Likewise.
13611         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
13612         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13613         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
13614         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
13615         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
13616         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
13617         syscall from auto-generation.
13618         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
13619         [WORDSIZE == 64] (preadv64): Remove macro.
13620         [!PREADV] (PREADV): Likewise.
13621         [!PREADV] (PREADV_REPLACEMENT): Likewise.
13622         [!PREADV] (PREAD): Likewise.
13623         [!PREADV] (OFF_T): Likewise.
13624         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
13625         (LO_HI_LONG): Remove macro.
13626         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
13627         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
13628         (PREADV): Remove macro.
13629         (PREADV_REPLACEMENTE): Likewise.
13630         (PREAD): Likewise.
13631         (OFF_T): Likewise.
13632         (preadv64): New function.
13633         * nptl/tst-cancel4.c (tf_preadv): Add test.
13635 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13637         [BZ #20212]
13638         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
13639         argument to itself.
13640         * math/libm-test.inc (acos_test_data): Add sNaN tests.
13642 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13644         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
13645         New symbol defined as libc_hidden_def.
13646         (strcasestr): Became a weak alias to __strcasestr.
13647         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
13648         according to multi-arch support.  Move __stpncpy hidden
13649         definition from here to...
13650         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
13651         symbol stpncpy.
13652         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
13653         libc_hidden_builtin_def.
13654         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
13655         memset symbol to use when multi-arch support is available.
13657 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13659         * dlfcn/tst-rec-dlopen.c: Include string.h.
13661 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13663         * manual/install.texi: Remove mention of --without-tls
13664         * INSTALL: Regenerate.
13666 2016-06-05  Florian Weimer  <fweimer@redhat.com>
13668         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
13669         Remove.
13670         (call_function, interposed_malloc_called): New variables.
13671         (malloc): New function.
13672         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
13673         and clear call_function as needed.
13675 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
13677         * include/wchar.h (__wmemset): Use __typeof.
13679 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
13681         * include/wchar.h (__wmemset): Declare function without typeof.
13683 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
13685         [BZ #20205]
13686         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
13687         exponent when incrementing negative subnormal with low mantissa
13688         word zero.
13689         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13690         Add another test.
13692 2016-06-03  Florian Weimer  <fweimer@redhat.com>
13694         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
13695         __wmemset instead of wmemset.
13697 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
13699         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
13700         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
13701         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
13702         __USE_KERNEL_IPV6_DEFS to 0.
13703         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
13704         Update comment.
13706 2016-06-01  Florian Weimer  <fweimer@redhat.com>
13708         [BZ #19861]
13709         Do not use IFUNC resolver with potentially unrelocated symbol.
13710         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
13711         (DEFINE_FORK): Remove macro and inline definition.
13712         (fork_alias): Renamed from fork_ifunc.
13713         (__fork_alias): Renamed from __fork_ifunc.
13715 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
13717         [BZ 19653]
13718         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
13719         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
13721 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13723         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
13724         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
13725         i386-linux-gnu).
13726         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
13727         Set to no.
13728         * sysdeps/mach/hurd/configure: Refresh.
13730 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13732         [BZ #20178]
13733         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
13734         on failure instead of exit.
13736 2016-05-30  Roland McGrath  <roland@hack.frob.com>
13738         [BZ #3629]
13739         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
13740         of POSIX.1-2008.
13742 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13744         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
13745           Use PLT entry for calling _hurd_self_sigstate.
13747 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
13749         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
13750         available logical processors with SMT level type sharing L2
13751         cache for Intel processors.
13753 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13755         [BZ #20160]
13756         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
13757         argument to itself before returning the result.
13758         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13759         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13760         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13761         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13762         Likewise.
13763         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13764         Likewise.
13765         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
13766         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
13767         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13768         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13769         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13770         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13772         [BZ #20160]
13773         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
13774         argument to itself before returning the result.
13775         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13776         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13777         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13778         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
13779         Likewise.
13780         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13781         Likewise.
13782         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
13783         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
13784         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
13785         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13786         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13787         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13789 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13791         * libm-test.inc: Replace usage of M_El with
13792         (lit_e): New macro.
13794 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13796         * libm-test.inc: Replace usage of M_PI_4l with
13797         (lit_pi_4_d): New macro.
13799 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13801         * libm-test.inc: Replace usage of M_PIl with
13802         (lit_pi): New macro.
13804 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13806         * libm-test.inc: Replace usage of M_PI2l with
13807         (lit_pi_2_d): New macro.
13809         * math/test-double.h (LITM): New macro.
13810         * math/test-float.h (LITM): Likewise.
13811         * math/test-ldouble.h (LITM): Likewise.
13813 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13815         * libm-test.inc (M_PI_34l): Rename to
13816         (lit_pi_3_m_4_d): New Macro.
13817         (M_PI_34_LOG10El): Rename to
13818         (lit_pi_3_m_4_ln10_m_d): New Macro.
13819         (M_PI2_LOG10El): Rename to
13820         (lit_pi_2_ln10_m_d):  New Macro.
13821         (M_PI4_LOG10El): Rename to
13822         (lit_pi_4_ln10_m_d):  New Macro.
13823         (M_PI_LOG10El): Rename to
13824         (lit_pi_ln10_d):  New Macro.
13826 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13828         [BZ #20157]
13829         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
13830         determine whether to negate low half if [_ARCH_PPCGR], and integer
13831         comparison otherwise.
13832         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
13833         determine whether to negate low half.
13835         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
13836         (NO_TEST_INLINE_DOUBLE): Likewise.
13837         (TEST_COND_x86_64): Likewise.
13838         (TEST_COND_x86): Likewise.
13839         (M_PI_6l): Likewise.
13841 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13843         * math/libm-test.inc:
13844         (TEST_FLOAT): Change usage to TEST_COND_binary32.
13845         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
13846         (TEST_LDOUBLE): Update usage to evaluate as true if
13847         the guarded tests match the property being tested.
13848         (LDBL_MAX_EXP): Change to MAX_EXP.
13849         (LDBL_MIN_EXP): Change to MIN_EXP.
13850         (LDBL_MANT_DIG): Change to MANT_DIG, except for
13851         nexttoward tests.
13853 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13855         * math/libm-test.inc:
13856         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
13857         (TYPE_MIN): Likewise.
13858         (TYPE_TRUE_MIN): Likewise.
13859         (TYPE_MAX): Likewise.
13860         (MIN_EXP): Likewise.
13861         (MAX_EXP): Likewise.
13862         (MANT_DIG): Likewise.
13864         (FSTR_MAX): New macro.
13865         (__CONCATX): Likewise.
13866         (QTYPE_STR): Likewise.
13867         (TEST_COND_binary32): Likewise.
13868         (TEST_COND_binary64): Likewise.
13869         (TEST_COND_binary128): Likewise.
13870         (TEST_COND_ibm128): Likewise.
13871         (TEST_COND_intel96): Likewise.
13872         (TEST_COND_m68k96): Likewise.
13874         (TEST_COND_flt_32): Redefine as equivalent format test macro.
13875         (TEST_COND_dbl_64): Likewise.
13876         (TEST_COND_ldbl_96_intel): Likewise.
13877         (TEST_COND_ldbl_96_m68k): Likewise.
13878         (TEST_COND_ldbl_128): Likewise.
13879         (TEST_COND_ldbl_128ibm): Likewise.
13881         (plus_zero): Redefine using LIT macro.
13882         (minus_zero): Likewise.
13883         (plus_infty): Redefine as (INF).
13884         (minux_infty): Redefine as (-INF).
13885         (max_value): Redefine as TYPE_MAX.
13886         (min_value): Redefine as TYPE_MIN.
13887         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
13889         (print_float): Refactor to use snprintf to convert FLOAT values
13890         to string. This brings it closer to dropin replacement of strtof
13891         for the TS 18661 defined types.
13892         (update_stats): Likewise.
13893         (print_complex_function_ulps): Likewise.
13894         (print_max_error): Likewise.
13895         (print_complex_max_error): Likewise.
13896         (check_float_internal): Likewise.
13898         * math/test-float.h (PREFIX): New macro.
13899         (LIT): Likewise.
13900         (TYPE_STR): Likewise.
13901         (FTOSTR): Likewise.
13903         * math/test-double.h (PREFIX): New macro.
13904         (LIT): Likewise.
13905         (TYPE_STR): Likewise.
13906         (FTOSTR): Likewise.
13908         * math/test-ldouble.h (PREFIX): New macro.
13909         (LIT): Likewise.
13910         (TYPE_STR): Likewise.
13911         (FTOSTR): Likewise.
13913 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13915         [BZ #20156]
13916         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
13917         to itself when zero or not finite.
13918         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
13919         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13920         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
13921         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13923 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
13925         [BZ #20153]
13926         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
13927         x * x + x for infinities and NaNs.
13929         [BZ #20151]
13930         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
13931         argument to itself before returning result.
13932         (__ieee754_y0l): Likewise.
13933         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13934         (__ieee754_y1l).
13936         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
13937         (atan_test_data): Likewise.
13938         (ceil_test_data): Likewise.
13939         (cos_test_data): Likewise.
13940         (cosh_test_data): Likewise.
13941         (erf_test_data): Likewise.
13942         (exp2_test_data): Likewise.
13943         (fabs_test_data): Likewise.
13944         (floor_test_data): Likewise.
13945         (ilogb_test_data): Likewise.
13946         (j0_test_data): Likewise.
13947         (j1_test_data): Likewise.
13948         (jn_test_data): Likewise.
13949         (lgamma_test_data): Likewise.
13950         (lrint_test_data): Likewise.
13951         (llrint_test_data): Likewise.
13952         (logb_test_data): Likewise.
13953         (lround_test_data): Likewise.
13954         (llround_test_data): Likewise.
13955         (nearbyint_test_data): Likewise.
13956         (rint_test_data): Likewise.
13957         (round_test_data): Likewise.
13958         (sin_test_data): Likewise.
13959         (sincos_test_data): Likewise.
13960         (sinh_test_data): Likewise.
13961         (sqrt_test_data): Likewise.
13962         (tan_test_data): Likewise.
13963         (tanh_test_data): Likewise.
13964         (tgamma_test_data): Likewise.
13965         (trunc_test_data): Likewise.
13966         (y0_test_data): Likewise.
13967         (y1_test_data): Likewise.
13968         (yn_test_data): Likewise.
13970         * math/libm-test.inc: Update comment about NaN testing.
13971         (TEST_SNAN): New macro.
13972         (snan_value): Likewise.
13973         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
13974         (fpclassify_test_data): Add sNaN tests.
13975         (isfinite_test_data): Likewise.
13976         (isinf_test_data): Likewise.
13977         (isnan_test_data): Likewise.
13978         (isnormal_test_data): Likewise.
13979         (issignaling_test_data): Likewise.
13980         (signbit_test_data): Likewise.
13981         * math/gen-libm-test.pl (%beautify): Add snan_value.
13982         (show_exceptions): Add argument $test_snan.
13983         (parse_args): Handle snan_value as non-finite.  Update call to
13984         show_exceptions.
13985         * math/Makefile (libm-test-no-inline-cflags): Add
13986         -fsignaling-nans.
13988 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13990         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
13991         (CFLAGS-oldsendmsg.c): Add rule.
13992         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13993         Correct recvmsg symbol name.
13994         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
13995         Likewise.
13997 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13999         * sysdeps/unix/sysv/linux/Makefile
14000         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
14001         oldsendmmsg.
14002         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
14003         sendmmsg.
14004         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14005         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14006         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14007         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14009         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14010         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14012         Likewise.
14013         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14014         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
14015         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14016         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
14017         iovlen and controllen fields to adjust to POSIX specification.
14018         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14020         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
14021         and change to correct expected type.
14022         (msghdr.msg_controllen): Likewise.
14023         (cmsghdr.cmsg_len): Likewise.
14024         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
14025         expected POSIX assumption about the size.
14026         (msghdr.msg_controllen): Likewise.
14027         (msghdr.__glibc_reserved1): Likewise.
14028         (msghdr.__glibc_reserved2): Likewise.
14029         (cmsghdr.cmsg_len): Likewise.
14030         (cmsghdr.__glibc_reserved1): Likewise.
14031         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
14032         Add ptw-oldrecvmsg and ptw-oldsendmsg.
14033         (CFLAGS-sendmsg.c): Remove rule.
14034         (CFLAGS-recvmsg.c): Likewise.
14035         (CFLAGS-oldsendmsg.c): Add rule.
14036         (CFLAGS-oldrecvmsg.c): Likewise.
14037         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
14038         recvmsg and sendmsg.
14039         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
14040         Likewise.
14041         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
14042         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
14043         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14044         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
14045         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14046         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14047         Likewise.
14048         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14049         Likewise.
14050         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
14051         Likewise.
14052         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
14053         Likewise.
14054         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14055         Likewise.
14056         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14057         Likewise.
14058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
14059         (GLIBC_2.24): Likewise.
14060         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14061         Likewise.
14062         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14063         Likewise.
14064         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14065         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14066         Likewise.
14067         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14068         Likewise.
14069         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14070         Likewise.
14071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
14072         (GLIBC_2.24): Likewise.
14073         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
14074         Likewise.
14075         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
14076         Likewise.
14077         * sysdeps/unix/sysv/linux/Makefile
14078         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
14079         (CFLAGS-sendmsg.c): Add rule.
14080         (CFLAGS-recvmsg.c): Likewise.
14081         (CFLAGS-oldsendmsg.c): Likewise.
14082         (CFLAGS-oldrecvmsg.c): Likewise.
14083         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
14084         initialization.
14085         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
14086         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
14087         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
14088         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14089         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
14090         iovlen and controllen fields to adjust to POSIX specification.
14091         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
14092         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
14093         added recvmsg and sendmsg.
14094         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14095         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14096         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14097         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14098         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14099         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14100         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14101         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14102         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14103         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14104         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14105         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14107         Likewise.
14108         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
14109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14110         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14111         Likewise.
14112         Likewise.
14113         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14114         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14115         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14116         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14117         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14118         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14120         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14122         Likewise.
14123         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14124         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14126         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
14127         from auto-generation.
14128         (sendmsg): Likewise.
14129         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
14130         (sendmsg): Likewise.
14131         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
14132         (sendmsg): Likewise.
14133         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
14134         (sendmsg): Likewise.
14135         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
14136         (sendmsg): Likewise.
14137         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
14138         (sendmsg): Likewise.
14139         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
14140         Likewise.
14141         (sendmsg): Likewise.
14142         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
14143         (sendmsg): Likewise.
14144         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14145         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14146         Remove.
14147         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14148         Likewise.
14149         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14150         Undefine.
14151         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14152         Likewise.
14153         * sysdeps/unix/sysv/linux/kernel-features.h
14154         (__ASSUME_SENDMSG_SYSCALL): Define.
14155         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14156         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14157         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14158         Remove.
14159         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14160         Likewise.
14161         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14162         Undefine.
14163         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14164         Likewise.
14165         * sysdeps/unix/sysv/linux/s390/kernel-features.h
14166         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14167         Remove.
14168         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14169         Likewise.
14170         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14171         Undefine.
14172         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14173         Likewise.
14174         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14175         (__ASSUME_SENDMSG_SYSCALL): Undefine.
14176         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14177         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14178         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14179         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14180         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14181         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14182         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14184 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14186         * stdlib/gen-tst-strtod-round.c: Add backslash to
14187         compile command in comment.
14188         (printfp): Remove the literal suffix, and define an infinite
14189         value as INF to avoid expansion clash with INFINITY.
14190         (round_str): Remove the literal suffix.
14191         (round_for_all): Likewise, remove the now duplicate ldbl-64
14192         entry, and remove some magic constants.
14194         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
14195         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
14196         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
14197         (_CONCAT): New macro.
14198         (CONCAT): Likewise.
14199         (CHOOSE_ld): Likewise.
14200         (CHOOSE_f): Likewise.
14201         (CHOOSE_d): Likewise.
14202         (FTYPE_MEMBER): Likewise.
14203         (BOOL_MEMBER): Likewise.
14204         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
14205         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
14206         (_XNTRY): Likewise.
14207         (XNTRY): Likewise.
14208         (_ENTRY): Likewise.
14209         (ENTRY): Likewise.
14210         (test_exactness): Generate members via macro.
14211         (test_results): Likewise.
14212         (test): Update members.
14213         (TEST): Redefine using new macros.
14214         (INF): New macro.
14215         (fetestmodes): New structure.
14216         (do_test): Refactor to be type generic.
14217         (test_in_one_mode): Refactor duplicate code into
14218         (GEN_ONE_TEST): New macro.
14220         * stdlib/tst-strtod-round-data.h: Regenerate.
14222         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
14223         Extend to pass additional arbitrary parameters to
14224         generators.
14226 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
14228         [BZ #15479]
14229         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
14230         floating-point state after first floating-point operation on
14231         input.  Restore full floating-point state instead of just rounding
14232         mode.
14233         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14234         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14235         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14236         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14237         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14239         [BZ #15479]
14240         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
14241         floating-point state after first floating-point operation on
14242         input.  Restore full floating-point state instead of just rounding
14243         mode.
14244         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14245         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14246         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14247         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14248         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14250 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14252         [BZ #19727]
14253         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
14254         valid high surrogate.
14255         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
14256         of an utf16 surrogate.
14257         * iconv/gconv_simple.c (BODY): Likewise.
14258         * iconvdata/bug-iconv12.c: New file.
14259         * iconvdata/Makefile (tests): Add bug-iconv12.
14261 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14263         [BZ #19726]
14264         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
14265         outptrp in case of an illegal input.
14266         * iconv/tst-iconv6.c: New file.
14267         * iconv/Makefile (tests): Add tst-iconv6.
14269 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14271         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
14272         an error in case of a value in range of an utf16 low surrogate.
14274 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14276         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
14277         an error in case of a value in range of an utf16 low surrogate.
14279 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14281         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
14282         Move to ...
14283         * sysdeps/s390/Makefile: ... here.
14284         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
14285         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
14286         (BRANCH_ON_COUNT): New define.
14287         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
14288         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
14289         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
14290         run on s390-32, too.
14291         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
14292         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
14293         run on s390-32, too.
14294         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
14295         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
14296         run on s390-32, too.
14298 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14300         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
14301         etf3eh or new vector loop-variant.
14303 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14305         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
14306         etf3eh or new vector loop-variant.
14308 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14310         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
14311         or new vector loop-variant.
14313 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14315         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
14316         Rename to TR_LOOP and usage of tr instead of troo instruction.
14318 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14320         * sysdeps/s390/multiarch/gconv_simple.c: New File.
14321         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
14323 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14325         * sysdeps/s390/multiarch/8bit-generic.c: New File.
14326         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
14327         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
14328         New override define.
14329         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
14331 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14333         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
14334         * sysdeps/s390/configure.ac: Add test for S390 vector register
14335         support in gcc.
14336         * sysdeps/s390/configure: Regenerated.
14338 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14340         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
14341         Install file from $(objpfx)gconv-modules.
14342         ($(objpfx)gconv-modules): Concatenate architecture specific file
14343         in variable sysdeps-gconv-modules and gconv-modules in src dir.
14344         * sysdeps/s390/gconv-modules: New file.
14345         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
14346         Deleted.
14347         ($(objpfx)gconv-modules-s390): Deleted.
14348         (sysdeps-gconv-modules): New variable.
14350 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14352         [BZ #15479]
14353         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
14354         of immediate operand to rounding instruction.
14355         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
14356         Likewise.
14357         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
14358         Likewise.
14359         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
14360         Likewise.
14362 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14364         * math/libm-test.inc (MIN_EXP): Directly define as
14365         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
14367 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14369         * math/libm-test.inc (MANT_DIG): Directly define as
14370         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
14372 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14374         * stdlib/gen-tst-strtod-round.c (main):
14375           Change usage to more closely match the generated
14376           output.  Add usage and compilation instructions.
14377           (string_to_fp): Add and use FILE* parameter as
14378           output target.
14379           (print_fp): Likewise.
14380           (round_str): Likewise.
14381           (round_for_all): Likewise.
14382         * stdlib/tst-strtod-round.c (tests): Move into
14383         * stdlib/tst-strtod-round-data.h: New file.
14385 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14387         [BZ #15479]
14388         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
14389         (__round): Do not force "inexact" exception.
14390         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
14391         variable.
14392         (__round): Do not force "inexact" exception.
14393         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
14394         (__roundf): Do not force "inexact" exception.
14395         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
14396         (__roundl): Do not force "inexact" exception.
14397         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
14398         (__roundl): Do not force "inexact" exception.
14399         * math/libm-test.inc (round_test_data): Do not allow spurious
14400         "inexact" exceptions.
14402         [BZ #15479]
14403         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
14404         exception in comment.
14405         (huge): Remove variable.
14406         (__floor): Do not force "inexact" exception.
14407         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
14408         "inexact" exception in comment.
14409         (huge): Remove variable.
14410         (__floor): Do not force "inexact" exception.
14411         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
14412         exception in comment.
14413         (huge): Remove variable.
14414         (__floorf): Do not force "inexact" exception.
14415         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
14416         exception in comment.
14417         (huge): Remove variable.
14418         (__floorl): Do not force "inexact" exception.
14420         [BZ #15479]
14421         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
14422         exception in comment.
14423         (huge): Remove variable.
14424         (__ceil): Do not force "inexact" exception.
14425         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
14426         "inexact" exception in comment.
14427         (huge): Remove variable.
14428         (__ceil): Do not force "inexact" exception.
14429         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
14430         (__ceilf): Do not force "inexact" exception.
14431         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
14432         exception in comment.
14433         (huge): Remove variable.
14434         (__ceill): Do not force "inexact" exception.
14436 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
14438         * config.h.in (BIND_NOW): New.
14439         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
14440         * configure: Regenerated.
14441         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
14442         indirect branch via the GOT slot.
14444 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14446         [BZ #19765]
14447         * sysdeps/s390/mempcpy.S: New File.
14448         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14449         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
14450         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14451         Add mempcpy variants.
14452         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
14453         (memcpy): Adjust to be usable from mempcpy entry point.
14454         (__memcpy_mvcle): Likewise.
14455         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14456         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
14457         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
14458         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
14459         (__memcpy_z10): Likewise.
14460         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14462 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14464         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
14465         Remove __GI_ symbol.
14466         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
14467         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
14468         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
14469         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14470         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
14471         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
14473 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14475         * sysdeps/s390/s390-64/memcpy.S (memcpy):
14476         Use cghi instead of chi to compare 64bit value.
14478 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14480         * sysdeps/s390/s390-32/memcpy.S (memcpy):
14481         Jump to 1MB check before executing mvc-loop.
14483 2016-05-24  Florian Weimer  <fweimer@redhat.com>
14485         [BZ #6527]
14486         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
14487         unconditionally.
14488         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
14490 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14492         * stdlib/tst-strtod6.c (do_test): Use new type generic
14493         invocation of the test function.
14494         (test): Refactor into ...
14495         (TEST_STRTOD): New macro base function.
14497 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14499         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
14500         (TEST_STRTOD): New macro.
14501         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
14503 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14505         * stdlib/tst-strtod6.c (do_test): Use new type generic
14506         invocation of the test function.
14507         (test): Refactor into ...
14508         (TEST_STRTOD): New macro base function.
14510 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14512         CVE-2016-4429
14513         [BZ #20112]
14514         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
14515         payload.
14517 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14519         [BZ #20111]
14520         * bits/sockaddr.h (_SS_SIZE): Define.
14521         * bits/socket.h (_SS_SIZE): Remove.
14522         (_SS_PADSIZE): Adjust to account for all padding.
14523         (struct sockaddr_storage): Update comment.  Avoid implicit
14524         padding.
14525         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
14526         (_SS_PADSIZE): Adjust to account for all padding.
14527         (struct sockaddr_storage): Update comment.  Avoid implicit
14528         padding.
14529         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
14530         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
14531         (_SS_PADSIZE): Adjust to account for all padding.
14532         (struct sockaddr_storage): Update comment.  Avoid implicit
14533         padding.
14534         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
14535         __SS_SIZE is 126 in this version.
14536         * inet/tst-sockaddr.c: New file.
14537         * inet/Makefile (tests): Add tst-sockaddr.c
14538         (tst-sockaddr.c): Compile with non-strict aliasing.
14540 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
14542         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
14543         [XPG3 || XPG4].
14544         (NL_ARGMAX): Also expect for [XPG3].
14545         (NL_LANGMAX): Likewise.
14546         (NL_MSGMAX): Likewise.
14547         (NL_NMAX): Likewise.
14548         (NL_SETMAX): Likewise.
14549         (NL_TEXTMAX): Likewise.
14550         (NZERO): Likewise.
14551         (TMP_MAX): Likewise.
14552         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
14553         variable.
14555         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
14556         (PF_MAX): Update value.
14557         (AF_KCM): New macro.
14558         (SOL_NETBEUI): Likewise.
14559         (SOL_LLC): Likewise.
14560         (SOL_DCCP): Likewise.
14561         (SOL_NETLINK): Likewise.
14562         (SOL_TIPC): Likewise.
14563         (SOL_RXRPC): Likewise.
14564         (SOL_PPPOL2TP): Likewise.
14565         (SOL_BLUETOOTH): Likewise.
14566         (SOL_PNPIPE): Likewise.
14567         (SOL_RDS): Likewise.
14568         (SOL_IUCV): Likewise.
14569         (SOL_CAIF): Likewise.
14570         (SOL_ALG): Likewise.
14571         (SOL_NFC): Likewise.
14572         (SOL_KCM): Likewise.
14573         (MSG_BATCH): New enum value and macro.
14575 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
14577         [BZ #18185]
14578         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
14579         sharing L2 cache to 2 for Knights Landing.
14581 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
14583         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
14584         (FTW_DP): Do not expect for [XPG3 || XPG4].
14585         (FTW_SL): Do not expect for [XPG3].
14586         (FTW_SLN): Likewise.
14587         (FTW_PHYS): Likewise.
14588         (FTW_MOUNT): Likewise.
14589         (FTW_DEPTH): Likewise.
14590         (FTW_CHDIR): Likewise.
14591         (nftw): Likewise.
14592         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
14593         variable.
14595 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14597         * manual/errno.texi: Fix various typos & grammar errors.
14599 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14601         * manual/intro.texi: Fix duplicated typo.
14603 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14605         [BZ #13304]
14606         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
14607         <float.h>, <math_private.h> and <stdlib.h>.
14608         (add_split): New function.
14609         (mul_split): Likewise.
14610         (ext_val): New typedef.
14611         (store_ext_val): New function.
14612         (mul_ext_val): New function.
14613         (compare): New function.
14614         (add_split_ext): New function.
14615         (__fmal): After checking for Inf, NaN and zero, compute result as
14616         an exact sum of scaled double values in round-to-nearest before
14617         adding those up and adjusting for other rounding modes.
14618         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
14619         tests of fma.
14620         * math/auto-libm-test-out: Regenerated.
14622 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14624         [BZ #20119]
14625         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
14626         processor level type mask for CPUID with EAX == 11.
14628 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14630         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
14631         logical threads if the HTT bit is 0.
14632         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
14633         (index_cpu_HTT): Likewise.
14634         (reg_HTT): Likewise.
14636 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14638         [BZ #20115]
14639         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
14640         Remove alignments on jump targets.
14642 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14644         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
14645         (getpwent): Likewise.
14646         (setpwent): Likewise.
14647         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
14648         variable.
14650         * conform/data/search.h-data (insque): Do not expect for [XPG3].
14651         (remque): Likewise.
14652         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
14653         variable.
14655 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14657         * math/libm-test.inc: Update comment not to refer to signs of NaNs
14658         not being tested.
14660 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14662         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14663         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
14664         call.
14665         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14666         (__condvar_cleanup1): Likewise.
14668 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14670         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
14671         New
14672         (__pthread_unwind): Renamed to ...
14673         (PTHREAD_UNWIND): This.
14674         (__pthread_enable_asynccancel): Replace
14675         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
14677 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14679         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
14680         (CLONE_NEWCGROUP): New macro.
14682         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
14683         (Q_GETNEXTQUOTA): New macro.
14685 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14687         [BZ #19907]
14688         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
14689         buffer updated by the previous run.
14690         * string/test-memcpy.c (do_one_test): Likewise.
14691         * benchtests/bench-memmove.c (do_one_test): Add a comment.
14692         * string/test-memmove.c (do_one_test): Likewise.
14694 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
14696         [BZ #20094]
14697         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
14698         not [__USE_XOPEN].
14699         (unlockpt): Likewise.
14700         (ptsname): Likewise.
14701         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
14702         variable.
14704         [BZ #20076]
14705         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
14706         instead of [__USE_UNIX98].
14707         (S_ISSOCK): Likewise.
14708         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
14709         variable.
14711         [BZ #20074]
14712         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
14713         [__USE_POSIX].
14714         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
14715         variable.
14717         [BZ #20051]
14718         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
14719         (ttyslot): Do not declare.
14720         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
14721         (ttyslot): New prototype.
14722         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
14723         variable.
14724         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14726 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14728         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
14730 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14732         Fix race condition in tst-mallocfork2, use fewer resources.
14733         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
14734         to current process group.
14735         (signal_sender): Yield in the non-sleeping case.
14737 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
14739         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
14740         (ecvt): Likewise.
14741         (fcvt): Likewise.
14742         (gcvt): Likewise.
14743         (getsubopt): Likewise.
14744         (grantpt): Likewise.
14745         (initstate): Likewise.
14746         (l64a): Likewise.
14747         (mktemp): Likewise.
14748         (mkstemp): Likewise.
14749         (ptsname): Likewise.
14750         (random): Likewise.
14751         (realpath): Likewise.
14752         (setstate): Likewise.
14753         (srandom): Likewise.
14754         (ttyslot): Likewise.
14755         (unlockpt): Likewise.
14756         (valloc): Likewise.
14758         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
14759         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
14760         variable.
14762 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14764         [BZ #20072]
14765         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
14766         init_cpu_features only if SHARED is defined.
14767         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
14769 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14771         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
14772         non-inclusive caches on Intel processors.
14774 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14776         * malloc/malloc.c (dumped_main_arena_start)
14777         (dumped_main_arena_end): New variables.
14778         (DUMPED_MAIN_ARENA_CHUNK): New macro.
14779         (do_check_chunk): Skip dumped fake mmapped chunks.
14780         (munmap_chunk): Likewise.
14781         (__libc_free): Do not adjust statistics for fake mmapped chunks.
14782         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
14783         mmapped chunks.
14784         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
14785         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
14786         and dumped_main_arena_end to cover the dumped heap.
14788 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
14790         * conform/data/time.h-data (getdate_err): Do not expect for
14791         [XPG3].
14792         (getdate): Likewise.
14793         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
14794         variable.
14796         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
14797         (F_ULOCK): Likewise.
14798         (F_TEST): Likewise.
14799         (F_TLOCK): Likewise.
14800         (useconds_t): Likewise.
14801         (intptr_t): Do not expect for [XPG3] or [XPG4].
14802         (brk): Do not expect for [XPG3]
14803         (fchown): Likewise.
14804         (fchdir): Likewise.
14805         (ftruncate): Likewise.
14806         (getdtablesize): Likewise.
14807         (gethostid): Likewise.
14808         (getpagesize): Likewise.
14809         (getpgid): Likewise.
14810         (getsid): Likewise.
14811         (getwd): Likewise.
14812         (lchown): Likewise.
14813         (lockf): Likewise.
14814         (readlink): Likewise.
14815         (sbrk): Likewise.
14816         (setpgrp): Likewise.
14817         (setregid): Likewise.
14818         (setreuid): Likewise.
14819         (symlink): Likewise.
14820         (sync): Likewise.
14821         (truncate): Likewise.
14822         (ualarm): Likewise.
14823         (usleep): Likewise.
14824         (vfork): Likewise.
14825         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
14826         variable.
14828         [BZ #20054]
14829         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
14830         not [__USE_UNIX98].
14831         * conform/data/unistd.h-data (gethostname): Do not expect for
14832         [XPG3].
14834         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
14835         [!POSIX] (S_IFBLK): Likewise.
14836         [!POSIX] (S_IFCHR): Likewise.
14837         [!POSIX] (S_IFIFO): Likewise.
14838         [!POSIX] (S_IFREG): Likewise.
14839         [!POSIX] (S_IFDIR): Likewise.
14840         [!POSIX] (S_IFLNK): Likewise.
14841         [!POSIX] (S_IFSOCK): Likewise.
14842         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
14843         variable.
14844         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14846 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
14848         * sysdeps/aarch64/memset.S (__memset):
14849         Rewrite of optimized memset.
14851 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14853         [BZ #19703]
14854         Partially async-signal-safe fork for single-threaded processes.
14855         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
14856         variable.  Do not acquire and reset/release malloc and libio locks
14857         in single-threaded processes.
14858         * malloc/tst-mallocfork2.c: New file.
14859         * malloc/Makefile (tests): Add it.
14861 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14863         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
14864         argument.  Use scratch buffer instead of extend_alloca.
14865         (gethosts): Use scratch buffer instead of extend_alloca.
14866         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
14867         extend_alloca.
14868         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
14870 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
14872         [BZ #20055]
14873         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
14874         instead of [__USE_UNIX98].
14875         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
14876         [__USE_UNIX98].
14877         * conform/data/termios.h-data (tcgetsid): Do not expect for
14878         [XPG3].
14879         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
14880         variable.
14881         (test-xfail-XPG4/termios.h/conform): Likewise.
14883 2016-05-11  Florian Weimer  <fweimer@redhat.com>
14885         Do not use mcheck in localedef.
14886         * locale/programs/localedef.c (turn_on_mcheck)
14887         (__malloc_initialize_hook): Remove.
14889 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14891         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
14892         * sysdeps/s390/s390-64/Makefile: Likewise.
14894 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14896         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
14897         Remove ifunc-defines.sym.
14898         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
14899         Likewise.
14900         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
14901         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14902         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
14903         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
14904         rtld-global-offsets.sym.
14905         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
14906         * sysdeps/x86/cpu-features-offsets.sym: This.
14907         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
14908         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
14910 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
14912         [BZ #20073]
14913         * io/sys/stat.h (fchmod): Declare for
14914         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
14915         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
14916         variable.
14918         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
14919         [XPG3] (S_IFSOCK): Likewise.
14920         [XPG3] (S_ISVTX): Likewise.
14921         [XPG3] (S_ISLNK): Likewise.
14922         [XPG3] (S_ISSOCK): Likewise.
14923         [XPG3] (fchmod): Likewise.
14924         [XPG3] (lstat): Likewise.
14925         [XPG3] (mknod): Likewise.
14927         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
14928         [XPG3].  Expect type long and XFAIL for [XPG4].
14929         (st_blocks): Likewise.
14931         [BZ #20044]
14932         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
14933         (pthread_atfork): New prototype.
14934         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
14935         variable.
14937         [BZ #20043]
14938         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
14939         prototype.
14941 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14943         [BZ #20017]
14944         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
14945         gmtime.
14947 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14949         [BZ #19994]
14950         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
14951         flag in _res.options.
14953 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
14955         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
14956         [XPG3 || XPG4].
14957         (blksize_t): Likewise.
14958         (clockid_t): Likewise.
14959         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
14960         variable.
14961         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14963 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
14965         * sysdeps/unix/sysv/linux/s390/init-first.c:
14966         Add VDSO_SYMBOL(getcpu).
14967         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
14968         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
14969         Add VDSO_SYMBOL(getcpu).
14970         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
14971         New define HAVE_GETCPU_VSYSCALL.
14972         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14974 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14976         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
14977         instead of <sysdeps/x86_64/cacheinfo.c>.
14978         * sysdeps/x86_64/cacheinfo.c: Moved to ...
14979         * sysdeps/x86/cacheinfo.c: Here.
14981 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14983         * malloc/malloc-internal.h: Adjust header file guard.
14985 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14987         [BZ #19787]
14988         * inet/getnameinfo.c (check_sprintf_result): New function.
14989         (CHECKED_SNPRINTF): New macro.
14990         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
14991         to the host buffer.
14992         (gni_host_local): Use checked_copy to copy the host name.
14993         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
14994         (gni_serv_local): Use checked_copy to copy the service name.
14995         (getnameinfo): Remove unnecessary truncation of result buffers.
14997 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14999         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
15000         in case of inet_ntop failure.
15002 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15004         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
15005         avoid long lines.
15006         (gni_host_inet_numeric): Likewise.  Reduce scope of local
15007         variables.
15008         (gni_host_inet, gni_host_local): Add comment.
15009         (gni_host): Add comment.  Use temporary to avoid long lines.
15011 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15013         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
15014         registers specifiers where general purpose registers specifiers should
15015         have been used.
15017 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15019         [BZ #19779]
15020         CVE-2016-1234
15021         Avoid copying names of directory entries.
15022         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
15023         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
15024         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
15025         (struct readdir_result): New type.
15026         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
15027         (GL_READDIR): New macros.
15028         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
15029         (convert_dirent, convert_dirent64): New functions.
15030         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
15031         convert_dirent64.  Adjust references to the readdir result.
15032         * sysdeps/unix/sysv/linux/i386/glob64.c:
15033         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
15034         * posix/bug-glob2.c (LONG_NAME): Define.
15035         (filesystem): Add LONG_NAME.
15036         (my_DIR): Increase the size of room_for_dirent.
15038 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
15040         [BZ #20041]
15041         * misc/sys/select.h (__need_timespec): Only define if
15042         [__USE_XOPEN2K].
15043         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
15044         variable.
15045         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15046         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15047         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15049 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15050             Segher Boessenkool  <segher@gcc.gnu.org>
15052         [BZ #20004]
15053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
15054         (__novec_swapcontext): Add missing load.
15056 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
15058         [BZ #20023]
15059         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
15060         <time.h>.
15061         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
15062         variable.
15063         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15065 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
15068         flags CLONE_VM compare.
15070 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15072         [BZ #20031]
15073         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
15074         completely empty.
15076 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15078         [BZ #19573]
15079         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
15080         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
15081         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
15082         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
15083         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
15084         (hesiod_free_list): Mark as hidden.
15085         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
15086         res_set, res_get.
15087         * hesiod/hesiod.c: Remove unnecessary forward declarations.
15088         (init, __hesiod_res_get, __hesiod_res_set): Remove.
15089         (hesiod_init): Remove obsolete res_ninit call.
15090         (hesiod_end): Do not free resolver state.  Do not invoke callback.
15091         (hesiod_bind): Do not call init.
15092         (get_txt_records): Use res_mkquery, res_send instead of
15093         res_nmkquery, res_nsend.
15094         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
15095         instead of _nss_hesiod_init.
15096         (_nss_hesiod_initgroups_dyn): Likewise.
15097         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
15098         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
15099         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
15101 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15103         * hesiod/hesiod_p.h (DEF_RHS): Remove.
15104         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
15106 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15108         * hesiod/hesiod.h: Remove RCS keyword.
15109         * hesiod/hesiod_p.h: Likewise.
15111         * hesiod/hesiod.c: Likewise.
15113 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
15115         [BZ #12450]
15116         * locale/iso-639.def: Add Samogitian/sgs.
15118 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
15120         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
15122         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
15124 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
15125             Carlos O'Donell  <carlos@redhat.com>
15127         [BZ #19072]
15128         * grp/Makefile (headers): Add grp-merge.h
15129         (routines): Add grp-merge.
15130         * grp/getgrgid_r.c: Include grp-merge.h.
15131         (DEEPCOPY_FN): Define.
15132         (MERGE_FN): Define.
15133         * grp/getgrname_r.c: Include grp-merge.h.
15134         (DEEPCOPY_FN): Define.
15135         (MERGE_FN): Define.
15136         * grp/grp-merge.c: New file.
15137         * grp/grp-merge.h: New file.
15138         * include/grp-merge.h: New file.
15139         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
15140         __copy_grp@GLIBC_PRIVATE.
15141         * manual/nss.texi (Actions in the NSS configuration): Describe
15142         return, continue, and merge.
15143         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
15144         (DEEPCOPY_FN): Define.
15145         (MERGE_FN): Define.
15146         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
15147         (DEEPCOPY_FN): Define.
15148         (MERGE_FN): Define.
15149         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
15150         [!MERGE_FN]: Define __merge_einval.
15151         (CHECK_MERGE): Define.
15152         (REENTRANT_NAME): Process merge if do_merge is true.
15153         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
15154         (__nss_getent_r): Likewise.
15155         * nss/nsswitch.c (nss_parse_service_list): Likewise.
15156         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
15158 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15160         [BZ #20012]
15161         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
15162         length to calculate the buffer to read.
15163         (fmemopen_write): Set the buffer position based on bytes written.
15164         (fmemopen_seek): Return EINVAL for invalid whence modes.
15166         [BZ #19957]
15167         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
15168         tst-getpid2.
15169         (test): Add tst-clone2.
15170         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
15171         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
15172         pid/tid fields for CLONE_VM.
15173         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
15174         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
15175         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
15176         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
15177         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
15178         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
15179         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
15180         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
15181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
15182         Likewise.
15183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15184         Likewise.
15185         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
15186         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
15187         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
15188         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
15189         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
15190         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
15191         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
15192         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
15194 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15196         [BZ #19642]
15197         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
15198         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
15199         (gni_serv_local, gni_serv): New functions extracted from
15200         getnameinfo.
15201         (getnameinfo): Call gni_host and gni_serv to perform the
15202         processing.  Always free scratch buffer.
15204 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15206         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
15207         remaining bytes in the dest string, with zeros.
15209 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15211         [BZ #20010]
15212         CVE-2016-3706
15213         * sysdeps/posix/getaddrinfo.c
15214         (convert_hostent_to_gaih_addrtuple): New function.
15215         (gethosts): Call convert_hostent_to_gaih_addrtuple.
15216         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
15217         AF_INET data.
15219 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15221         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
15222         callback function gl_readdir.
15223         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
15224         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
15225         (glob_in_dir): Remove len.  Use strdup instead of malloc and
15226         memcpy to copy the name.
15227         * manual/pattern.texi (Calling Glob): Document requirements for
15228         implementations of the gl_readdir callback function.
15229         * manual/examples/mkdirent.c: New example.
15230         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
15231         per the manual guidance.
15232         * posix/tst-gnuglob.c (my_readdir): Likewise.
15234 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
15236         [BZ #20014]
15237         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
15238         not [__USE_POSIX].
15239         (getchar_unlocked): Likewise.
15240         (putc_unlocked): Likewise.
15241         (putchar_unlocked): Likewise.
15242         (flockfile): Likewise.
15243         (ftrylockfile): Likewise.
15244         (funlockfile): Likewise.
15245         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
15246         variable.
15247         (test-xfail-XPG4/stdio.h/conform): Likewise.
15249         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
15250         Expect constant.
15251         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
15252         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
15253         variable.
15254         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15255         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15257         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
15258         [__USE_LARGEFILE64] (off64_t): Likewise.
15259         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
15260         variable.
15262 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15264         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
15266 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15268         * resolv/inet_addr.c: Reindent preprocessor conditionals.
15269         * resolv/res_init.c: Likewise.
15270         * resolv/res_mkquery.c: Likewise.
15272 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15274         * resolv/res_init.c (isascii): Do not define.  Use definition in
15275         <ctype.h>.
15276         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
15277         (LOG_AUTH): Remove.
15278         (SPRINTF): Remove, adjust caller.
15279         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
15281 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15283         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
15284         SUNSECURITY conditional.
15285         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
15287 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15289         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
15290         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
15291         Remove BSD-related preprocessor conditionals.
15292         * conf/portability.h: Remove.
15294 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15296         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
15297         * resolv/res_data.c: Likewise.
15299 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15301         * resolv/res_comp.c: Remove code conditional on __ultrix__.
15302         * resolv/res_data.c: Remove code conditional on ultrix.
15304 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15306         * resolv/res_init.c (RFC1535): Do not define.  Remove
15307         RFC1535 preprocessor conditionals.
15308         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
15309         because there configuration options which make the resolver
15310         behavior different.
15312 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15314         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
15315         RESOLVSORT preprocessor conditionals.
15316         * resolv/nss_dns/dns-host.c: Likewise.
15317         * resolv/res_init.c: Likewise.
15319 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15321         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
15322         is never defined.
15324 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15326         * inet/inet_lnaof.c: Remove SCSS keyword.
15327         * inet/inet_mkadr.c: Likewise.
15328         * inet/inet_net.c: Likewise.
15329         * inet/inet_netof.c: Likewise.
15330         * inet/rcmd.c: Likewise.
15331         * inet/rexec.c: Likewise.
15332         * inet/ruserpass.c: Likewise.
15334 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15336         * resolv/inet_addr.c: Remove _LIBC conditionals.
15337         * resolv/res_data.c: Likewise.
15338         * resolv/res_init.c: Likewise.
15339         * resolv/res_mkquery.c: Likewise.
15340         * resolv/res_libc.c: Update comment.
15341         * resolv/README: Update.
15343 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15345         * resolv/gethnamaddr.c: Remove SCSS keyword.
15346         * resolv/herror.c: Likewise.
15347         * resolv/inet_addr.c: Likewise.
15348         * resolv/inet_net_ntop.c: Likewise.
15349         * resolv/inet_net_pton.c: Likewise.
15350         * resolv/inet_neta.c: Likewise.
15351         * resolv/inet_ntop.c: Likewise.
15352         * resolv/inet_pton.c: Likewise.
15353         * resolv/ns_date.c: Remove RCS keyword.
15354         * resolv/ns_name.c: Likewise.
15355         * resolv/ns_netint.c: Likewise.
15356         * resolv/ns_parse.c: Likewise.
15357         * resolv/ns_print.c: Likewise.
15358         * resolv/ns_samedomain.c: Likewise.
15359         * resolv/ns_ttl.c: Likewise.
15360         * resolv/nsap_addr.c: Likewise.
15361         * resolv/res_comp.c: Remove SCSS and RCS keyword.
15362         * resolv/res_data.c: Remove RCS keyword.
15363         * resolv/res_debug.c: Remove SCSS and RCS keyword.
15364         * resolv/res_init.c: Likewise.
15365         * resolv/res_mkquery.c: Likewise.
15366         * resolv/res_query.c: Likewise.
15367         * resolv/res_send.c: Likewise.
15369 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15371         * conform/data/stdio.h-data (fdopen): Expect also for
15372         [XPG3 || XPG4].
15374         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
15375         (fseeko): Likewise.
15376         (ftello): Likewise.
15377         (ftrylockfile): Likewise.
15378         (funlockfile): Likewise.
15379         (getc_unlocked): Likewise.
15380         (getchar_unlocked): Likewise.
15381         (putc_unlocked): Likewise.
15382         (putchar_unlocked): Likewise.
15384 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15386         [BZ #19868]
15387         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
15388         DNS packet syntax checks (which were not needed before).  Skip
15389         over non-PTR records.
15391 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15393         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
15394         definition.  Include <stddef.h> instead.
15396 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15398         [BZ #19831]
15399         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
15400         function.
15401         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
15402         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
15404 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15406         [BZ #19862]
15407         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
15408         (getanswer_r): Do not call syslog.
15409         (gaih_getanswer_slice): Likewise.
15410         * resolv/gethnamaddr.c (AskedForGot): Remove.
15411         (getanswer): Do not call syslog.
15412         (gethostbyaddr): Likewise.
15414 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15416         * conform/data/signal.h-data (union sigval): Expect also if
15417         [XOPEN2K].
15418         (struct sigevent): Likewise.
15419         (SIGEV_NONE): Likewise.
15420         (SIGEV_SIGNAL): Likewise.
15421         (SIGEV_THREAD): Likewise.
15422         (SIGRTMIN): Likewise.
15423         (SIGRTMAX): Likewise.
15424         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
15425         variable.
15426         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15428 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15430         [BZ #19830]
15431         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
15432         (gaih_getanswer_slice): Likewise.
15433         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
15434         Also check for availability of RR metadata.
15436 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15438         [BZ #19825]
15439         * resolv/res_send.c (send_vc): Remove early *resplen2
15440         initialization.  Set *resplen2 on socket error.  Call
15441         close_and_return_error for other errors.
15443 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15445         * sysdeps/unix/sysv/linux/netiucv/iucv.h
15446         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
15447         (SCM_IUCV_TRGCLS): New define.
15449 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15451         [BZ #20005]
15452         * libio/fmemopen.c (fmemopen_write): Update internal position after
15453         write.
15454         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
15455         * stdio-common/tst-fmemopen4.c: New file..
15457 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
15459         [BZ #19996]
15460         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
15461         not [__USE_XOPEN2K].
15462         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
15463         variable.
15465         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
15466         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
15467         variable.
15469         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
15470         [__USE_XOPEN2K8].
15471         [__USE_LARGEFILE64] (off64_t): Likewise.
15472         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
15473         variable.
15475 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
15477         [BZ #19989]
15478         * libio/stdio.h (cuserid): Do not declare if
15479         [__USE_XOPEN2K && !__USE_GNU].
15480         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
15481         variable.
15483 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15485         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15486         (sysdep_routines): Add P8 and PPC64 strcspn targets.
15487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15488         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15489         ifunc'ed strcspn.
15490         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15491         [EALIGN]: Removed.
15492         [END]: Likewise
15493         [STRSPN]: Define instead of the above to control symbol name.
15494         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
15495         New file.
15496         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
15497         Likewise.
15498         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
15499         Likewise.
15500         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
15501         Likewise.
15502         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15503         [INITIAL_MASK]: New macro.
15504         [STRCSPN]: Likewise.
15505         [UPDATE_MASK]: Likewise.
15506         [USE_AS_STRCSPN]: Likewise.
15508 2016-04-25  Florian Weimer  <fweimer@redhat.com>
15510         [BZ #19931]
15511         * stdio-common/tst-vfprintf-width-prec.c: New file.
15512         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
15513         (tests-special): Add tst-vfprintf-width-prec-mem.out.
15514         (generated): Add mtrace-related files.
15515         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
15516         (tst-%-mem.out): New pattern rule, replaces
15517         tst-printf-bz18872-mem.out.
15518         * stdio-common/vfprintf.c (vfprintf): When handling a precision
15519         specifier, deallocate any previously allocated work buffer.
15521 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15523         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
15524         Add nop before __startcontext, add explaining comments.
15526 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
15528         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
15529         any more. Notably since IPV6_PKTINFO has been reintroduced with a
15530         completely different API.
15532         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
15533         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
15534         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
15535         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
15536         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
15537         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
15538         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
15539         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
15540         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
15541         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
15543 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
15545         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
15547 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
15549         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
15550         when it is the default of 0.
15552 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15554         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
15555         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15556         (sysdep_routines): Add new strcasestr targets.
15557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15558         (__libc_ifunc_impl_list): Likewise.
15559         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
15560         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
15561         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
15562         * sysdeps/powerpc/powerpc64/power8/Makefile:
15563         New file to add strcasestr-ppc64 to sysdep_routines.
15564         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
15565         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
15567 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
15569         * benchtests/Makefile (wcsmbs-benchset): Include only for
15570         native builds and runs.
15571         (LOCALES): Likewise.
15572         (bench-build): Build timing-type here instead of the bench
15573         target.  Generate locale only for native builds.
15574         * benchtests/README: Add note for cross-building.
15576         * benchtests/Makefile (bench-clean): Clean up extra-objs.
15578         * benchtests/README: Update README to include instructions on
15579         using bench-build.
15581         * Makefile.in (bench-build): New target.
15582         * Rules (PHONY): Add bench-build target.
15583         * benchtests/Makefile (bench): Depend on bench-build.
15584         (bench-build): New target.
15586 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15588         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
15589         profil_reply_port.
15590         (profile_waiter): Do not initialize profil_reply_port.
15591         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
15592         frequency instead of tick length in us.
15594 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
15596         [BZ #18712]
15597         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
15598         (__old_mempcpy_small): Likewise.
15599         (__old_strcpy_small): Likewise.
15600         (__old_stpcpy_small): Likewise.
15601         (__old_strpbrk_c2): Fix compat symbol name.
15602         (__old_strpbrk_c3): Likewise.
15603         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
15604         (__mempcpy_small): Remove.
15605         (__strcpy_small): Remove.
15606         (__stpcpy_small): Remove.
15608 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
15610         [BZ #19400]
15611         * locale/iso-639.def: Add the Talossan/tzl language.
15613 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15615         [BZ #16983]
15616         * locale/programs/ld-address.c (address_finish): Update postal_fmt
15617         comment.  Add "ln" to strchr check on postal_fmt.
15619 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15621         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
15622         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
15623         tel_dom_fmt.
15625 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15627         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15628         (sysdep_routines): Added __strlen_power8.
15629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
15630         __strlen_power8 entry.
15631         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
15632         Implementation for POWER8.
15633         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
15634         for __strlen_power8.
15635         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
15636         Implementation for POWER8.
15638 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
15640         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
15642 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
15644         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
15645         Goldmont and Airmont processors.
15647 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
15649         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
15650         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
15651         (__STRING2_SMALL_GET32): Remove.
15652         (memset): Remove.
15653         (__memset_1): Remove.
15654         (__memset_gc): Remove.
15655         (__mempcpy): Remove.
15656         (mempcpy): Remove.
15657         (__mempcpy_args): Remove.
15658         (strchr): Remove.
15659         (strcpy): Remove.
15660         (strcpy_args): Remove.
15661         (__stpcpy_args): Remove.
15662         (__strcmp_cc): Remove.
15663         (__strcmp_gc): Remove.
15664         (strstr): Remove.
15666 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
15668         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
15669         * nis/nis_call.c (nis_server_cache_add): Likewise.
15671 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15673         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
15675 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15677         * malloc/arena.c (__malloc_fork_lock_parent)
15678         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
15679         internal_function attribute.
15681 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
15683         * stdio-common/printf_fp.c (__printf_fp_l):
15684         Rename ___printf_fp_l to __printf_fp_l and
15685         remove strong alias. Use libc_hidden_def instead
15686         of ldbl_hidden_def macro.
15688 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15690         Remove malloc hooks from fork handler.  They are no longer needed
15691         because malloc runs right before fork, and no malloc calls from
15692         other fork handlers are not possible anymore.
15693         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
15694         declarations.
15695         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
15696         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
15697         (atfork_recursive_cntr): Remove.
15698         (__malloc_fork_lock_parent): Do not override malloc hooks and
15699         thread_arena.
15700         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
15701         thread_arena.
15702         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
15703         thread_arena instead of save_arena.
15705 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15707         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
15708         (thread_atfork, thread_atfork_static): Remove.
15709         * sysdeps/mach/hurd/malloc-machine.h:
15710         (thread_atfork, thread_atfork_static): Remove.
15712 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15714         [BZ #19431]
15715         Run the malloc fork handler as late as possible to avoid deadlocks.
15716         * malloc/malloc-internal.h: New file.
15717         * malloc/malloc.c: Include it.
15718         * malloc/arena.c (ATFORK_MEM): Remove.
15719         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
15720         Update comment.
15721         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
15722         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
15723         Remove outdated comment.
15724         (ptmalloc_init): Do not call thread_atfork.  Remove
15725         thread_atfork_static.
15726         * malloc/tst-malloc-fork-deadlock.c: New file.
15727         * Makefile (tests): Add tst-malloc-fork-deadlock.
15728         (tst-malloc-fork-deadlock): Link against libpthread.
15729         * manual/memory.texi (Aligned Memory Blocks): Update safety
15730         annotation comments.
15731         * sysdeps/nptl/fork.c (__libc_fork): Call
15732         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
15733         __malloc_fork_unlock_child.
15734         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
15736 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15738         [BZ #19613]
15739         Remove union wait.
15740         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
15741         (w_stopsig, w_stopval): Remove.
15742         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
15743         stat_loc argument.
15744         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
15745         (__WAIT_STATUS_DEFN): Remove.
15746         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15747         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
15748         (wait, wait3, wait4): Use int * for the stat_loc argument.
15749         * posix/wait.c (__wait): Likewise.
15750         * posix/wait3.c (__wait3): Likewise.
15751         * posix/wait4.c (__wait4): Likewise.
15752         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
15753         (__WAIT_STATUS_DEFN): Remove.
15754         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15755         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
15756         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
15757         argument.
15758         * sysdeps/posix/wait.c (__libc_wait): Likewise.
15759         * sysdeps/posix/wait3.c (__wait3): Likewise.
15760         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
15761         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15762         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
15763         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
15764         stat_loc argument.
15765         * manual/process.texi (BSD Wait Functions): Remove union wait.
15767 2016-04-13  Andreas Schwab  <schwab@suse.de>
15769         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
15770         (test-extras): Add tst-tlsalign-vars.
15771         * math/Makefile: Wrap long lines.
15772         (libm-vec-test-wrappers): Define.
15773         (test-extras): Add $(libm-vec-test-wrappers).
15774         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
15775         * nss/Makefile (extra-test-objs): Add nss_test1.os.
15776         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
15777         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
15778         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
15779         (extra-test-objs): Add corresponding objects.
15781 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
15783         [BZ #19928]
15784         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
15785         New.
15786         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
15787         times of shared cache size.
15788         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
15789         (VMOVNT): New.
15790         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
15791         (VMOVNT): Likewise.
15792         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
15793         (VMOVNT): Likewise.
15794         (VMOVU): Changed to movups for smaller code sizes.
15795         (VMOVA): Changed to movaps for smaller code sizes.
15796         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
15797         comments.
15798         (PREFETCH): New.
15799         (PREFETCH_SIZE): Likewise.
15800         (PREFETCHED_LOAD_SIZE): Likewise.
15801         (PREFETCH_ONE_SET): Likewise.
15802         Rewrite to use forward and backward loops, which move 4 vector
15803         registers at a time, to support overlapping addresses and use
15804         non temporal store if size is above the threshold and there is
15805         no overlap between destination and source.
15807 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
15809         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
15810         Include dl-vdso.
15811         * sysdeps/unix/sysv/linux/mips/Versions: Add
15812         __vdso_clock_gettime.
15813         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
15814         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
15815         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
15816         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
15817         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
15818         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
15819         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15820         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
15821         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
15823 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15825         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
15826         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
15827         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15828         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15829         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15830         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15833         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
15834         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
15835         syscalls generation.
15836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15837         [__NR_pwrite64] (__NR_write): Remove define.
15838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15839         [__NR_pwrite64] (__NR_write): Remove define.
15840         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
15841         Remove define.
15842         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
15843         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
15844         Remove define.
15845         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
15846         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
15847         Linux implementation as base.
15848         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15850         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
15851         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
15852         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15853         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
15855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15856         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
15857         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
15858         syscall generation.
15859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15860         [__NR_pread64] (__NR_pread): Remove define.
15861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15862         [__NR_pread64] (__NR_pread): Likewise.
15863         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
15864         define.
15865         (__libc_pread): Use SYSCALL_LL macro on offset argument.
15866         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
15867         Remove define.
15868         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
15869         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
15870         Linux implementation as base.
15871         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15872         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15873         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15875         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
15876         definition.
15877         (__ALIGNMENT_COUNT): Likewise.
15878         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
15879         (__ALIGNMENT_COUNT): Likewise.
15880         (SYSCALL_LL): New define.
15881         (SYSCALL_LL64): Likewise.
15882         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
15883         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
15884         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
15885         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
15887         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15888         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
15889         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15890         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15891         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15892         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15894 2016-04-11  Florian Weimer  <fweimer@redhat.com>
15896         [BZ #19865]
15897         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
15898         original buffer before retry.
15900 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15902         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
15903         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
15904         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
15905         GLRO(dl_auxv) list.
15906         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
15907         including <ldsodefs.h>.
15908         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
15910 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
15912         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
15913         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
15914         $(CPPFLAGS).
15916 2016-04-09  Khem Raj  <raj.khem@gmail.com>
15918         [BZ #17950]
15919         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
15920         Add -mfpmath=387.
15922 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
15924         * sysdeps/i386/configure.ac: Change == to = when calling test.
15925         * sysdeps/x86_64/configure.ac: Likewise.
15926         * sysdeps/i386/configure: Regenerated.
15927         * sysdeps/x86_64/configure: Likewise.
15929 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
15931         [BZ #16137]
15932         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
15933         * benchtests/bench-strcoll.c (input_files): Likewise.
15934         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15935         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
15936         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
15938 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
15940         [BZ #19929]
15941         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
15942         [__USE_XOPEN2K8 && !__USE_GNU].
15943         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
15944         variable.
15946         [BZ #19925]
15947         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
15948         define if [!__USE_MISC && __USE_XOPEN2K].
15949         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
15950         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
15951         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
15952         Likewise.
15953         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
15954         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
15955         variable.
15956         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15958 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15960         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15961         (sysdep_routines): Add new strspn targets.
15962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15963         (__libc_ifunc_impl_list): Add strspn.
15964         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15965         New file.
15966         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
15967         Likewise.
15968         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
15969         Likewise.
15970         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15971         Likewise.
15973 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15975         * misc/hsearch_r.c: Include <limits.h>.
15977 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15979         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
15981 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15983         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15984         (MEMCPY_SYMBOL): New.
15985         (MEMPCPY_SYMBOL): Likewise.
15986         (MEMMOVE_CHK_SYMBOL): Likewise.
15987         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
15988         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
15989         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
15990         Provide alias for memcpy in libc.a and ld.so.
15992 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15994         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15995         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
15996         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
15997         Disabled fro now.
15998         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
15999         symbols.  Properly check USE_MULTIARCH on __memset symbols.
16001 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16003         * benchtests/Makefile (string-benchset): Add memcpy-large,
16004         memmove-large and memset-large.
16005         * benchtests/bench-memcpy-large.c: New file.
16006         * benchtests/bench-memmove-large.c: Likewise.
16007         * benchtests/bench-memmove-large.c: Likewise.
16008         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
16010 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16012         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
16013         32-bit displacement to avoid long nop between instructions.
16015 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16017         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
16018         a comment on VMOVU and VMOVA.
16020 2016-04-04  Florian Weimer  <fweimer@redhat.com>
16022         [BZ #19633]
16023         Use specified locale for number formatting in strfmon_l.
16024         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
16025         (__nl_lookup_word): New inline functions.
16026         * include/printf.h (__print_fp_l): Declare.
16027         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
16028         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
16029         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
16030         (___printf_fp): New function.
16031         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
16032         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
16033         * stdlib/tst-strfmon_l.c (do_test): New test.
16034         * stdlib/Makefile (tests): Add kt.
16035         (LOCALES): Build additional locales.
16036         (tst-strfmon_l.out): Require locales.
16038 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16040         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
16041         if not in libc.
16042         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16043         Likewise.
16044         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
16045         Likewise.
16046         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16047         Likewise.
16049 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16051         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
16052         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
16053         with unaligned_erms.
16054         (__memmove_erms): Skip if source == destination.
16055         (__memmove_unaligned_erms): Don't check source == destination
16056         first.
16058 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16060         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
16061         bit_arch_Fast_Copy_Backward for Intel Core proessors.
16063 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16065         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
16066         * string/strspn.c (strspn): Likewise.
16068 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16070         * benchtests/bench-memset.c (do_test): Support 64-byte
16071         alignment.
16072         (test_main): Test 64-byte alignment.
16074 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16076         * benchtests/bench-memmove.c (test_main): Test 64-byte
16077         alignment.
16079 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16081         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
16083 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16085         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
16086         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
16087         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
16089         * string/strpbrk.c (strpbrk): Rewrite function.
16090         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
16091         (__strpbrk_c2): Likewise.
16092         (__strpbrk_c3): Likewise.
16093         * string/string-inlines.c
16094         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
16095         Likewise.
16096         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
16097         Likewise.
16099         * string/strspn.c (strcspn): Rewrite function.
16100         * string/bits/string2.h (strspn): Use __builtin_strcspn.
16101         (__strspn_c1): Remove inline function.
16102         (__strspn_c2): Likewise.
16103         (__strspn_c3): Likewise.
16104         * string/string-inlines.c
16105         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
16106         compatibility symbol.
16107         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
16108         Likewise.
16109         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
16110         Likewise.
16111         * string/string-inlines.c: Include generic version.
16113 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
16114             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16116         * string/Version (libc): Add GLIBC_2.24.
16117         * string/strcspn.c (strcspn): Rewrite function.
16118         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
16119         (__strcspn_c1): Remove inline function.
16120         (__strcspn_c2): Likewise.
16121         (__strcspn_c3): Likewise.
16122         * string/string-inline.c
16123         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
16124         compatibility symbol.
16125         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
16126         Likewise.
16127         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
16128         Likewise.
16129         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
16131 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16133         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
16134         Use ahi instead of aghi to adjust stack pointer.
16136 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16138         [BZ #19853]
16139         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
16140         TEST to take significant digits as second parameter.
16141         [TEST]: Redefine in terms of TEST_N taking 30
16142         significant digits.
16143         (do_test): Add test case to demonstrate precision
16144         failure in the ldbl-128ibm printf.
16145         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
16146         (__mpn_extract_long_double): Carry 7 extra intermediate
16147         bits of precision to aide computing difference when
16148         signs differ.
16150 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
16152         [BZ #19881]
16153         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16154         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
16155         memset-avx512-unaligned-erms.
16156         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16157         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
16158         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
16159         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
16160         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
16161         __memset_sse2_unaligned_erms, __memset_erms,
16162         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
16163         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
16164         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
16165         file.
16166         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16167         Likewise.
16168         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
16169         Likewise.
16170         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
16171         Likewise.
16173 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
16175         [BZ #19776]
16176         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16177         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
16178         memmove-avx512-unaligned-erms.
16179         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16180         (__libc_ifunc_impl_list): Test
16181         __memmove_chk_avx512_unaligned_2,
16182         __memmove_chk_avx512_unaligned_erms,
16183         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
16184         __memmove_chk_sse2_unaligned_2,
16185         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
16186         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
16187         __memmove_avx512_unaligned_erms, __memmove_erms,
16188         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
16189         __memcpy_chk_avx512_unaligned_2,
16190         __memcpy_chk_avx512_unaligned_erms,
16191         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
16192         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
16193         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
16194         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
16195         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
16196         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
16197         __mempcpy_chk_avx512_unaligned_erms,
16198         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
16199         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
16200         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
16201         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
16202         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
16203         __mempcpy_erms.
16204         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
16205         file.
16206         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16207         Likewise.
16208         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
16209         Likewise.
16210         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
16211         Likewise.
16213 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16215         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
16216         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
16217         (La_s390_64_regs): Likewise.
16218         (La_s390_32_retval): Append vector register lrv_v24.
16219         (La_s390_64_retval): Likeweise.
16220         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
16221         Handle extended structs La_s390_32_regs and La_s390_32_retval.
16222         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
16223         Handle extended structs La_s390_64_regs and La_s390_64_retval.
16225 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16227         [BZ #19916]
16228         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
16229         to create a non-vector/vector version for _dl_runtime_resolve and
16230         _dl_runtime_profile. Move implementation to ...
16231         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
16232         (_dl_runtime_resolve) Save and restore fpr/vrs.
16233         (_dl_runtime_profile) Save and restore vrs and fix some issues
16234         if _dl_call_pltexit is called.
16235         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
16236         Choose the correct resolver function if running on a machine with vx.
16237         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
16238         to create a non-vector/vector version for _dl_runtime_resolve and
16239         _dl_runtime_profile. Move implementation to ...
16240         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
16241         (_dl_runtime_resolve) Save and restore fpr/vrs.
16242         (_dl_runtime_profile) Save and restore vrs and fix some issues
16243         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
16244         Choose the correct resolver function if running on a machine with vx.
16246 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16248         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
16250 2016-03-31  Florian Weimer  <fweimer@redhat.com>
16252         [BZ #19509]
16253         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
16254         skip_map != NULL.
16255         * elf/tst-dlsym-error.c: New file.
16256         * elf/Makefile (tests): Add tst-dlsym-error.
16257         (tst-dlsym-error): Link against libdl.
16259 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
16261         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16262         (__ASSUME_FUTIMESAT): Remove macro.
16263         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
16265 2016-03-29  Florian Weimer  <fweimer@redhat.com>
16267         [BZ #19879]
16268         CVE-2016-3075
16269         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
16270         copy name.
16272 2016-03-29  Florian Weimer  <fweimer@redhat.com>
16274         [BZ #19837]
16275         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
16276         error if parse_line fails.
16278 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16280         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
16281         (index_cpu_ERMS): Likewise.
16282         (reg_ERMS): Likewise.
16284 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
16286         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
16287         PER_LINUX_FDPIC): Add.
16289 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16291         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16292         memcpy-avx512-no-vzeroupper.
16293         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
16294         to ...
16295         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
16296         (MEMCPY): Don't define.
16297         (MEMCPY_CHK): Likewise.
16298         (MEMPCPY): Likewise.
16299         (MEMPCPY_CHK): Likewise.
16300         (MEMPCPY_CHK): Renamed to ...
16301         (__mempcpy_chk_avx512_no_vzeroupper): This.
16302         (MEMPCPY_CHK): Renamed to ...
16303         (__mempcpy_chk_avx512_no_vzeroupper): This.
16304         (MEMCPY_CHK): Renamed to ...
16305         (__memmove_chk_avx512_no_vzeroupper): This.
16306         (MEMCPY): Renamed to ...
16307         (__memmove_avx512_no_vzeroupper): This.
16308         (__memcpy_avx512_no_vzeroupper): New alias.
16309         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
16311 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16313         [BZ #18858]
16314         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16315         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
16316         and mempcpy-avx512-no-vzeroupper.
16317         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
16318         New.
16319         (MEMPCPY): Likewise.
16320         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
16321         (MEMPCPY_CHK): New.
16322         (MEMPCPY): Likewise.
16323         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
16324         (MEMPCPY): Likewise.
16325         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
16326         (MEMPCPY): Likewise.
16327         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
16328         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
16329         Likewise.
16330         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
16331         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
16333 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16334              Amit Pawar  <Amit.Pawar@amd.com>
16336         [BZ #19583]
16337         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16338         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
16339         processors.  Set Fast_Copy_Backward for AMD Excavator
16340         processors.
16341         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
16342         New.
16343         (index_arch_Fast_Unaligned_Copy): Likewise.
16344         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
16345         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
16347 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16349         [BZ #19791]
16350         * resolv/res_send.c (close_and_return_error): New function.
16351         (send_dg): Initialize *resplen2 after reopen failure.  Call
16352         close_and_return_error for error returns.  On error paths without
16353         __res_iclose, initialze *resplen2 explicitly.  Update comment for
16354         successful return.
16356 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16358         [BZ# 19860]
16359         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
16360         zero if the compiler does not provide the AVX512F bit.
16362 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
16364         [BZ #19848]
16365         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
16366         from 8 to 4.
16367         (__ieee754_powl): Compare integer exponent against 4 not 8.
16368         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
16369         from 8 to 4.
16370         (__ieee754_powl): Compare integer exponent against 4 not 8.
16371         * math/auto-libm-test-in: Add more tests of pow.
16372         * math/auto-libm-test-out: Regenerated.
16373         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16376 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16378         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
16379         Make code unconditional.
16380         [!__NR_utimensat]: Remove conditional code.
16381         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
16382         Make code unconditional.
16383         [!__NR_utimensat]: Remove conditional code.
16384         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
16385         Make code unconditional.
16386         [!__NR_utimensat]: Remove conditional code.
16388 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16390         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
16391         Make code unconditional.
16393 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
16395         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
16396         call-clobbered %eax on retry path.
16397         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16399 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16401         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
16402         Don't set %rcx twice before "rep movsb".
16404 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16406         [BZ #19583]
16407         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
16408         inline.  Check family before setting family, model and
16409         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
16410         bits here.
16411         (init_cpu_features): Replace HAS_CPU_FEATURE and
16412         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
16413         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
16414         for Intel processors with usable AVX2.  Call get_common_indeces
16415         for other processors with family == NULL.
16416         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
16417         (CPU_FEATURES_ARCH_P): Likewise.
16418         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
16419         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
16421 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16423         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
16424         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
16425         $(shared-thread-library) instead of hardcoding the path to libpthread.
16427 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
16429         * sysdeps/unix/sysv/linux/kernel-features.h
16430         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
16431         * sysdeps/unix/sysv/linux/getdents.c
16432         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
16433         [!have_no_getdents64_defined]: Likewise.
16434         (__GETDENTS): Remove __have_no_getdents64 conditional.
16436 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
16438         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
16439         Remove macro.
16440         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
16441         <kernel-features.h>.
16442         (signalfd) [__NR_signalfd4]: Make code unconditional.
16443         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
16445 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16447         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
16448         style.
16450 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16452         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
16453         (__pthread_enable_asynccancel): Use JUMPTARGET to call
16454         __pthread_unwind.
16455         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16456         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
16457         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16458         (__condvar_cleanup1): Likewise.
16460 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
16462         [BZ #19822]
16463         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
16464         move it to the final $@ location.
16466 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16468         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
16469         access where posix_spawn success and pid argument is null.
16470         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
16471         success case.
16473 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
16475         * sysdeps/mach/hurd/i386/c++-types.data: New file.
16477         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
16479         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
16480         and __fcntl.
16481         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
16482         __fcntl only.
16483         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
16484         adding attribute_hidden to __open and __fcntl.
16486         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
16487         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
16488         depend on libc-modules.h,
16489         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
16491 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
16493         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
16494         Remove macro.
16495         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
16496         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
16497         entry.
16499         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
16500         Remove macro.
16501         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
16502         include <kernel-features.h>.
16503         [!__ASSUME_FALLOCATE]: Remove conditional code.
16504         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
16506 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16508         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
16509         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
16510         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
16511         (_ZGVdN4v_cos_avx2): Likewise.
16512         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
16513         (_ZGVdN4v_cos): Likewise.
16514         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
16515         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
16516         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
16517         (_ZGVdN4v_exp_avx2): Likewise.
16518         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
16519         (_ZGVdN4v_exp): Likewise.
16520         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
16521         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
16522         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
16523         (_ZGVdN4v_log_avx2): Likewise.
16524         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
16525         (_ZGVdN4v_log): Likewise.
16526         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
16527         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
16528         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
16529         (_ZGVdN4vv_pow_avx2): Likewise.
16530         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
16531         (_ZGVdN4vv_pow): Likewise.
16532         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
16533         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
16534         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
16535         (_ZGVdN4v_sin_avx2): Likewise.
16536         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
16537         (_ZGVdN4v_sin): Likewise.
16538         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
16539         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
16540         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
16541         (_ZGVdN4vvv_sincos_avx2): Likewise.
16542         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
16543         (_ZGVdN4vvv_sincos): Likewise.
16544         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
16545         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
16546         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
16547         (_ZGVbN4v_cosf_sse4): Likewise.
16548         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
16549         (_ZGVdN8v_cosf_avx2): Likewise.
16550         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
16551         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
16552         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
16553         (_ZGVbN4v_expf_sse4): Likewise.
16554         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
16555         (_ZGVdN8v_expf_avx2): Likewise.
16556         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
16557         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
16558         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
16559         (_ZGVbN4v_logf_sse4): Likewise.
16560         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
16561         (_ZGVdN8v_logf_avx2): Likewise.
16562         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
16563         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
16564         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
16565         (_ZGVbN4vv_powf_sse4): Likewise.
16566         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
16567         (_ZGVdN8vv_powf_avx2): Likewise.
16568         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16569         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
16570         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16571         (_ZGVbN4vvv_sincosf_sse4): Likewise.
16572         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16573         (_ZGVdN8vvv_sincosf_avx2): Likewise.
16574         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
16575         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
16576         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
16577         (_ZGVbN4v_sinf_sse4): Likewise.
16578         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
16579         (_ZGVdN8v_sinf_avx2): Likewise.
16580         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16581         Use JUMPTARGET to call callee.
16582         (WRAPPER_IMPL_SSE2_ff): Likewise.
16583         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16584         (WRAPPER_IMPL_AVX): Likewise.
16585         (WRAPPER_IMPL_AVX_ff): Likewise.
16586         (WRAPPER_IMPL_AVX_fFF): Likewise.
16587         (WRAPPER_IMPL_AVX512): Likewise.
16588         (WRAPPER_IMPL_AVX512_ff): Likewise.
16589         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16590         Likewise.
16591         (WRAPPER_IMPL_SSE2_ff): Likewise.
16592         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16593         (WRAPPER_IMPL_AVX): Likewise.
16594         (WRAPPER_IMPL_AVX_ff): Likewise.
16595         (WRAPPER_IMPL_AVX_fFF): Likewise.
16596         (WRAPPER_IMPL_AVX512): Likewise.
16597         (WRAPPER_IMPL_AVX512_ff): Likewise.
16598         (WRAPPER_IMPL_AVX512_fFF): Likewise.
16600 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16602         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
16603         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
16604         qualifier.
16605         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
16606         internal_function qualifiers.
16608 2016-03-15  Carlos O'Donell <carlos@redhat.com>
16610         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
16611         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
16612         * math/atest-exp.c (exp_mpn): Mark chk unused.
16613         * math/atest-exp2.c (exp_mpn): Likewise.
16614         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
16615         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
16617 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
16619         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
16620         Remove macro.
16621         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
16622         <kernel-features.h>.
16623         [__NR_ppoll]: Make code unconditional.
16624         [!__ASSUME_PPOLL]: Remove conditional code.
16626         * sysdeps/unix/sysv/linux/kernel-features.h
16627         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
16628         (__ASSUME_ACCEPT4): Likewise.
16629         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16630         Define.
16631         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
16632         Likewise.
16633         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16634         Likewise.
16635         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
16636         Likewise.
16637         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
16638         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
16639         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16640         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16641         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16642         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16643         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16644         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16645         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16646         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16647         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16648         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16649         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16650         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16651         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16652         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16653         Likewise.
16654         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16655         Likewise.
16656         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16657         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16658         0x040300].
16659         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16660         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16661         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16662         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16663         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16664         0x030300].
16665         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
16666         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16667         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16668         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16669         0x040300].
16670         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16671         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16672         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16673         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16674         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16675         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16676         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16677         0x030300].
16678         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16679         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16680         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16681         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16682         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16683         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16684         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16685         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16686         * sysdeps/unix/sysv/linux/s390/kernel-features.h
16687         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16688         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16689         0x040300].
16690         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16691         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16692         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16693         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16694         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16695         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16696         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16697         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16698         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16699         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16700         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16701         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16702         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16703         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16704         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
16705         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16706         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16707         Likewise.
16708         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16709         Likewise.
16711 2016-03-15  Andreas Schwab  <schwab@suse.de>
16713         [BZ #19257]
16714         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
16715         statp->_u._ext.nscount as loop count.
16717 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
16719         * math/test-signgam-finite-c99.c: Also #undef
16720         __LIBC_INTERNAL_MATH_INLINES.
16721         * math/test-signgam-main.c: Likewise.
16723 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
16725         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
16726         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16727         (MADV_FREE): Likewise.
16728         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
16729         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
16730         EPOLLEXCLUSIVE.
16732 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
16734         * timezone/README: Remove mention of checktab.awk. Mention wiki
16735         SharedSourceFiles.
16737 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
16739         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
16740         WUNTRACED.
16742 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16744         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
16745         order to match the type of p when calling atomic_exchange_acq().
16747 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16749         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
16750         cfi_offset calls.
16751         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
16752         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
16753         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
16754         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
16755         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
16757 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
16759         * timezone/checktab.awk: Removed.
16761 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
16763         * manual/math.texi (Errors in Math Functions): Document relaxed
16764         accuracy goals for IBM long double.
16765         * math/libm-test.inc (test_exceptions): Always allow spurious
16766         "underflow" and "inexact" exceptions for IBM long double.
16768 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
16770         [BZ #19762]
16771         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16772         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
16773         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
16774         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
16775         (bit_arch_*): This for feature array.
16776         (bit_*): Renamed to ...
16777         (bit_cpu_*): This for cpu array.
16778         (index_*): Renamed to ...
16779         (index_arch_*): This for feature array.
16780         (index_*): Renamed to ...
16781         (index_cpu_*): This for cpu array.
16782         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
16783         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
16784         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
16785         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
16786         bit_##name with index_cpu_##name and bit_cpu_##name.
16787         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
16788         bit_##name with index_arch_##name and bit_arch_##name.
16790 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
16792         [BZ #19792]
16793         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
16794         Terminate FDE before return label.
16796 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
16798         [BZ #19790]
16799         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
16800         (rintl): Define as macro.
16801         [USE_AS_NEARBYINTL] (__rintl): Likewise.
16802         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
16803         of fesetround.  Ensure results are evaluated before end of scope.
16804         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
16805         USE_AS_NEARBYINTL and include s_rintl.c.
16806         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
16807         Disable exception traps in new environment.
16808         (libc_feholdsetround_ppc_ctx): Likewise.
16810 2016-03-08  Roland McGrath  <roland@hack.frob.com>
16812         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
16813         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
16814         (tst_audit10_aux) [__AVX512F__]: ... here.
16816 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
16818         * include/sys/auxv.h: New file.
16820 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16822         [BZ #19759]
16823         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
16825 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16827         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
16828         operand modifier.
16829         (feclearexcept): Likewise.
16831 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16833         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
16834         to reflect the entire 32-bit HWCAP.
16835         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
16836         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
16838 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16840         [BZ #19783]
16841         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
16842         $(test-via-rtld-prefix).
16843         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
16845 2016-03-08  Florian Weimer  <fweimer@redhat.com>
16847         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
16848         union wait.  Report any non-zero exit status as error.
16850 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16852         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
16853         configured with --enable-hardcoded-path-in-tests.
16855 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
16857         [BZ #19677]
16858         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16859         (__ieee754_remainderl): Put zero low parts in canonical form.
16860         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
16861         file.  Based on
16862         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
16863         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
16864         with wrapper round test-fmodrem-ldbl-128ibm.c.
16865         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
16866         file.
16867         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
16868         Likewise.
16869         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16870         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
16872 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16874         [BZ #19610]
16875         * elf/ldconfig.c (opt_link): Update comment.
16876         (options): Update help string for option -X.
16877         (search_dir): Unlink stale symbolic link only if updating symbolic
16878         links.
16879         * elf/tst-ldconfig-X.sh: New file.
16880         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
16881         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
16883 2016-03-07  Andreas Schwab  <schwab@suse.de>
16885         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
16886         needed arguments.
16888 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
16890         [BZ #15333]
16891         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
16892         to lstat64.
16894 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16896         * libio/filedoalloc.c (isatty): Remove.
16897         (local_isatty): Add comment.  Call __isatty directly.
16898         (_IO_file_doallocate): Update comment.  Assume _LIBC.
16899         * libio/wfiledoalloc.c (isatty): Remove.
16900         (_IO_wfile_doallocate): Update comment.
16902 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16904         [BZ #19269]
16905         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
16906         tst-audit4-aux.o.
16907         (tst-audit10): Depend on tst-audit10-aux.o.
16908         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
16909         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
16910         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
16911         instead of inline AVX code.
16912         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
16913         instead of inline AVX512 code.
16914         * sysdeps/x86_64/tst-audit4-aux.c: New file
16915         * sysdeps/x86_64/tst-audit10-aux.c: New file
16917         [BZ #19648]
16918         * test-skeleton.c (main): Do not set RLIMIT_DATA.
16920 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16922         [BZ #14750]
16923         [BZ #10354]
16924         [BZ #18433]
16925         * include/sched.h (__clone): Add hidden prototype.
16926         (__clone2): Likewise.
16927         * include/unistd.h (__dup): Likewise.
16928         * posix/Makefile (tests): Add tst-spawn2.
16929         * posix/tst-spawn2.c: New file.
16930         * sysdeps/posix/dup.c (__dup): Add hidden definition.
16931         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
16932         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16933         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16934         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16935         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16936         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
16937         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16938         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
16939         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16940         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16942         Likewise.
16943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16944         Likewise.
16945         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16946         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16947         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16948         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16949         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16950         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16951         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16952         * sysdeps/unix/sysv/linux/nptl-signals.h
16953         (____nptl_is_internal_signal): New function.
16954         * sysdeps/unix/sysv/linux/spawni.c: New file.
16956         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
16957         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
16958         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
16959         * posix/tst-execvp2.c (do_test): Likewise.
16960         * posix/tst-execvp3.c (do_test): Likewise.
16961         * posix/tst-execvp4.c (do_test): Likewise.
16962         * posix/tst-execvpe1.c: New file.
16963         * posix/tst-execvpe2.c: Likewise.
16964         * posix/tst-execvpe3.c: Likewise.
16965         * posix/tst-execvpe4.c: Likewise.
16966         * posix/tst-execvpe5.c: Likewise.
16967         * posix/tst-execvpe6.c: Likewise.
16969         [BZ #19534]
16970         * posix/execl.c (execl): Remove dynamic memory allocation.
16971         * posix/execle.c (execle): Likewise.
16972         * posix/execlp.c (execlp): Likewise.
16974 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16976         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
16977         Replace .text with .text.avx512.
16978         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16979         Likewise.
16981 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
16983         * sysdeps/generic/libnsl.abilist: New file.
16984         * sysdeps/generic/libutil.abilist: New file.
16986 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16988         [BZ #19762]
16989         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
16990         HAS_ARCH_FEATURE with Fast_Rep_String.
16991         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
16992         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
16993         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
16994         Likewise.
16995         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
16996         Likewise.
16997         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
16998         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
16999         Likewise.
17000         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
17001         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
17002         Likewise.
17004 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17006         [BZ #19745]
17007         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17008         with *%rax in call.
17010 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17012         [BZ #19745]
17013         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
17014         with *__libc_start_main@GOTPCREL(%rip) in call.
17016 2016-03-04  Roland McGrath  <roland@hack.frob.com>
17018         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
17019         inside conditional for nonempty $(CXX).
17021         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
17022         nonempty.
17024         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
17025         to test for empty $(CXX) rather than $(CXX) of "no".
17027 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17029         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
17031 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
17032             H.J. Lu  <hongjiu.lu@intel.com>
17034         [BZ #18880]
17035         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
17036         instead of Slow_BSF, and also check for Fast_Copy_Backward to
17037         enable __memcpy_ssse3_back.
17039 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17041         [BZ #19758]
17042         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17043         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
17045 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17047         [BZ #19490]
17048         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
17049         (__fentry__): Likewise.
17051 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17053         * gmon/Makefile (noprof): Add $(sysdep_noprof).
17054         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
17056 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17058         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
17059         __mcount_internal directly.
17060         (C_LABEL(__fentry__)): Likewise.
17061         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
17062         directly.
17064 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17066         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17067         (__start_context): Call __setcontext directly.
17069 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
17071         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17072         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17073         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
17074         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17075         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17076         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17077         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
17078         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17079         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17080         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
17081         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17082         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17083         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17084         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17085         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17086         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17087         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
17088         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17089         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17090         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17091         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
17092         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17093         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17094         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17095         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
17096         Remove conditional code.
17097         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17098         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
17099         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17100         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17101         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
17102         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17103         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17104         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17105         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17106         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17107         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17108         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17110 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
17112         * NEWS (2.23): Fix typo in bug 19048 text.
17114 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
17116         [BZ #14259]
17117         * Makeconfig: Rename msgcatdir to localedir.
17118         Rename inst_msgcatdir to inst_localedir.
17119         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
17120         * config.make.in: Add localedir.
17121         * elf/Makefile ($(objpfx)sotruss): Use localedir.
17122         (ldd-rewrite): Likewise.
17123         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
17124         (install-others): Use inst_localedir.
17125         (CPPFLAGS): Use localedir.
17126         * locale/Makefile (locale-CPPFLAGS): Likewise.
17127         * po/Makefile (mo-installed): Use inst_localedir.
17129         [BZ #19575]
17130         * localedata/charmaps/GB18030: Update comments regarding PAU to
17131         non-PUA mappings.
17133 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
17135         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
17136         test for header.
17137         * sysdeps/unix/sysv/linux/configure: Regenerated.
17138         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
17139         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
17140         Remove conditional code.
17141         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
17143         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17144         Define to 3.2.0.
17145         (arch_minimum_kernel): Likewise.
17146         * sysdeps/unix/sysv/linux/configure: Regenerated.
17147         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
17148         Define to 2.6.32.
17149         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
17150         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
17151         (arch_minimum_kernel): Define to 2.6.32.
17152         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
17153         * README: Document Linux 3.2 requirement.
17154         * manual/install.texi (Linux): Document Linux 3.2 headers
17155         requirement.
17156         * INSTALL: Regenerated.
17158 2016-02-24  Andreas Schwab  <schwab@suse.de>
17160         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
17161         if !NO_LONG_DOUBLE.
17163 2016-02-22  Roland McGrath  <roland@hack.frob.com>
17165         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
17166         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
17168 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
17170         [BZ #19512]
17171         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
17173 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17175         * posix/tst-dir.c: Include libc-internal.h.
17177 2016-02-20  Florian Weimer  <fweimer@redhat.com>
17179         [BZ #19056]
17180         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
17181         * manual/filesys.texi (Reading/Closing Directory): Mention
17182         deprecaion.
17183         * posix/tst-dir.c (main): Disable deprecation warning in test.
17185 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
17187         [BZ #19679]
17188         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
17189         Renamed to ...
17190         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
17191         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17192         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
17193         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17194         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
17195         * sysdeps/x86_64/dl-trampoline.h
17196         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17197         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
17199 2016-02-19  Mark Wielaard  <mjw@redhat.com>
17201         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
17203 2016-02-19  Mark Wielaard  <mjw@redhat.com>
17205         * elf/elf.h (R_386_GOT32X): New.
17206         (R_386_NUM): Update.
17207         (R_X86_64_GOTPCRELX: New.
17208         (R_X86_64_REX_GOTPCRELX): New.
17209         (R_X86_64_NUM): Update.
17211 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
17213         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
17215 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
17217         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
17218         assign attr->stackaddr to it, and adjust it down when
17219         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
17220         [_STACK_GROWS_UP]: Delete assert.
17221         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
17222         Implement stack grows up logic.
17223         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
17224         stack grows up logic.
17226 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17228         * NEWS: Update with 2.24 template.
17230 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
17232         [BZ #19678]
17233         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17234         Ensure +0.0 is returned when taking the next value below the least
17235         positive value.
17237 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17239         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
17240         available.  Do not define NO_THREADS.
17241         * malloc/malloc.c: Do not check NO_THREADS.
17242         * malloc/arena.c: Likewise.
17244 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17246         * malloc/malloc.c (__libc_mallinfo): Update comment.
17247         (struct malloc_par): Remove max_total_mem member, it was always 0.
17248         (int_mallinfo): Store 0 into usmblks (no functional change).
17249         * malloc/hooks.c (struct malloc_state): Document that
17250         max_total_mem is always 0.
17251         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
17252         always 0.
17253         * manual/memory.texi (Statistics of Malloc): Likewise.
17255 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17257         * malloc/malloc.c (sysmalloc): Do not update arena_max.
17258         * malloc/arena.c (arena_max): Remove.
17259         (heap_trim, _int_new_arena): Do not update arena_max.
17261 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17263         * resolv/res_init.c (res_ninit): Update comment.
17265 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17267         [BZ #19505]
17268         * posix/spawn_int.h: Add headers and include guard.
17269         (__spawn_valid_fd): New function.
17270         * posix/spawn_faction_addopen.c
17271         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
17272         * posix/spawn_faction_addclose.c
17273         (posix_spawn_file_actions_addclose): Likewise.
17274         * posix/spawn_faction_adddup2.c
17275         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
17276         second file descriptor.
17277         * posix/spawn_valid_fd.c: New file.
17278         * posix/tst-posix_spawn-fd.c: New file.
17279         * posix/Makefile (routines): Add spawn_valid_fd.
17280         (tests): Add tst-posix_spawn-fd.
17282 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17284         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
17285         (do_test): Limit the number of arenas, so that we can use fewer
17286         outer threads.  Limit timeout to 3 seconds, in preparation for a
17287         larger TIMEOUT value.
17289 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
17291         [BZ #19674]
17292         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
17293         sign in overflowing and underflowing results when overflow or
17294         underflow is detected early.  Include sign in result before rather
17295         than after scaling.
17297         [BZ #19603]
17298         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17299         (__ieee754_remainderl): Adjust sign of integer version of low part
17300         when taking absolute value of high part.
17301         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17302         * math/libm-test.inc (remainder_test_data): Add another test.
17303         (remquo_test_data): Likewise.
17305 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
17307         [BZ #19602]
17308         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
17309         equal high parts and both low parts zero specially.
17310         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
17311         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
17312         Add test-fmodl-ldbl-128ibm.
17314         [BZ #19595]
17315         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
17316         common logic for all cases of shifting subnormal results.  Do not
17317         insert sign bit in shifted mantissa.  Always pass -1023 as biased
17318         exponent to ldbl_insert_mantissa in subnormal case.
17320         [BZ #19594]
17321         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
17322         on high and low parts then adjust result and use
17323         ldbl_canonicalize_int if needed.
17325         [BZ #19593]
17326         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
17327         on high part and __floor or __ceil on low part then use
17328         ldbl_canonicalize_int if needed.
17330         [BZ #19592]
17331         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
17332         high and low parts then use ldbl_canonicalize_int if needed.
17334         [BZ #17899]
17335         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
17336         New function.
17337         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
17338         on high and low parts then use ldbl_canonicalize_int if needed.
17340 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17342         * configure: Regenerated.
17344         * po/libc.pot: Regenerated.
17346         * po/be.po: Updated translation.
17347         * po/bg.po: Likewise.
17348         * po/ca.po: Likewise.
17349         * po/cs.po: Likewise.
17350         * po/da.po: Likewise.
17351         * po/el.po: Likewise.
17352         * po/eo.po: Likewise.
17353         * po/es.po: Likewise.
17354         * po/fi.po: Likewise.
17355         * po/fr.po: Likewise.
17356         * po/gl.po: Likewise.
17357         * po/hr.po: Likewise.
17358         * po/hu.po: Likewise.
17359         * po/ia.po: Likewise.
17360         * po/id.po: Likewise.
17361         * po/it.po: Likewise.
17362         * po/ja.po: Likewise.
17363         * po/lt.po: Likewise.
17364         * po/nb.po: Likewise.
17365         * po/nl.po: Likewise.
17366         * po/pt_BR.po: Likewise.
17367         * po/rw.po: Likewise.
17368         * po/sk.po: Likewise.
17369         * po/sl.po: Likewise.
17370         * po/sv.po: Likewise.
17371         * po/tr.po: Likewise.
17372         * po/zh_CN.po: Likewise.
17373         * po/zh_TW.po: Likewise.
17375         * version.h (RELEAES): Set to "development".
17376         (VERSION): Set to 2.23.90.
17378         * version.h (RELEASE): Set to "stable".
17379         (VERSION): Set to 2.23.
17380         * include/feature.h (__GLIBC_MINOR__): Set to 23.
17382         * NEWS: Updated fixed bugs.
17384 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
17385             Wilco Dijkstra  <wdijkstr@arm.com>
17387         [BZ #19462]
17388         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
17389         (_STRING_INLINE_unaligned): This.
17390         * include/string.h: Include <string_private.h>.
17391         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
17392         _STRING_INLINE_unaligned.
17393         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
17394         (_STRING_INLINE_unaligned): New.
17395         * sysdeps/aarch64/string_private.h: New file.
17396         * sysdeps/generic/string_private.h: Likewise.
17397         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
17398         * sysdeps/s390/string_private.h: Likewise.
17399         * sysdeps/x86/string_private.h: Likewise.
17400         * sysdeps/m68k/m680x0/m68020/bits/string.h
17401         (_STRING_ARCH_unaligned): Renamed to ...
17402         (_STRING_INLINE_unaligned): This.
17403         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
17404         to ...
17405         (_STRING_INLINE_unaligned): This.
17406         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
17407         to ...
17408         (_STRING_INLINE_unaligned): This.
17409         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
17410         to ...
17411         (_STRING_INLINE_unaligned): This.
17413 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17414             H.J. Lu  <hongjiu.lu@intel.com>
17416         [BZ #19590]
17417         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
17418         relocation.
17420 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
17422         [BZ #18665]
17423         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
17424         *herrno_p.
17425         (gaih_getanswer): Document functional behviour. Return tryagain
17426         if any result is tryagain.
17427         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
17428         when freed.
17429         * resolv/res_send.c: Add copyright text.
17430         (__libc_res_nsend): Document that MAXPACKET is expected.
17431         (send_vc): Document. Remove buffer reuse.
17432         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
17433         size of the buffer. Add Dprint for truncated UDP buffer.
17435 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
17437         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
17438         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
17439         * INSTALL: Regenerate.
17441 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
17442             Jonathan Wakely  <jwakely@redhat.com>
17443             Carlos O'Donell  <carlos@redhat.com>
17445         [BZ 19439]
17446         * math/Makefile (tests): Add test-math-isinff.
17447         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
17448         * math/bits/mathcalls.h [__USE_MISC]: Use
17449         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
17450         functions not in C++11 and which don't conflict e.g. isinff,
17451         isinfl etc.
17452         * math/test-math-isinff.cc: New file.
17454 2016-02-12  Florian Weimer  <fweimer@redhat.com>
17456         * misc/bug18240.c (do_test): Set RLIMIT_AS.
17458 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17460         [BZ #19529]
17461         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
17463 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17465         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17467 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
17469         [BZ #19550]
17470         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
17471         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
17472         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
17473         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
17474         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
17475         New syscall entry.
17476         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
17477         New syscall entry.
17478         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
17479         syscall entry.
17481 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
17483         [BZ #18240]
17484         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
17485         unsigned int wraparound.
17487 2016-01-27  Florian Weimer  <fweimer@redhat.com>
17489         [BZ #18240]
17490         * misc/bug18240.c: New test.
17491         * misc/Makefile (tests): Add it.
17493 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
17494             Joseph Myers  <joseph@codesourcery.com>
17496         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
17497         load in branch delay slot when less than a word of input left.
17499 2016-01-27  Andreas Schwab  <schwab@suse.de>
17501         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
17502         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
17503         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
17504         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
17506 2016-01-26  David S. Miller  <davem@davemloft.net>
17508         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
17510 2016-01-25  David S. Miller  <davem@davemloft.net>
17512         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
17513         __sqrtl_finite.
17514         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
17515         instead using versioned_symbol.
17516         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
17517         of entries.
17519         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
17520         __sqrtl_finite to GLIBC_2.23
17522 2016-01-25  Ricchard Henderson  <rth@redhat.com>
17524         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17526 2016-01-25  Andreas Schwab  <schwab@suse.de>
17528         [BZ #17514]
17529         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
17530         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
17531         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
17532         * nptl/tst-mutex-errorcheck.c: New file.
17534 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17536         [BZ #18560]
17537         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
17538         (IPCOP_semop): Likewise.
17539         (IPCOP_semget): Likewise.
17540         (IPCOP_semctl): Likewise.
17541         (IPCOP_msgsnd): Likewise.
17542         (IPCOP_msgrcv): Likewise.
17543         (IPCOP_msgget): Likewise.
17544         (IPCOP_msgctl): Likewise.
17545         (IPCOP_shmat): Likewise.
17546         (IPCOP_shmdt): Likewise.
17547         (IPCOP_shmget): Likewise.
17548         (IPCOP_shmctl): Likewise.
17550 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17552         * string/tst-endian.c: Include <libc-internal.h>.
17553         (do_test): Ignore tautological-compare warnings around
17554         "htobeXX (beXXtoh (i)) != i" and
17555         "htoleXX (leXXtoh (i)) != i" if-statements.
17557 2016-01-24  David S. Miller  <davem@davemloft.net>
17559         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
17560         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
17561         alias.
17562         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
17563         __sqrtl_finite.
17565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17567 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
17569         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
17570         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
17571         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17573 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17575         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
17576         (thread_func): Use new function to simplify barrier check.
17577         (do_test): Use new function to simplify checking barrier exit
17578         code, and actually join the child thread.
17580 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17582         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
17583         semicolon.
17584         (__libc_tend): Likewise.
17585         (__libc_tabort): Likewise.
17587 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
17589         * sysdeps/nios2/libm-test-ulps: Update.
17590         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
17591         (__gtsf2): Likewise.
17592         (__unorddf2): Likewise.
17593         (__unordsf2): Likewise.
17594         (__ledf2): Likewise.
17596 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
17598         * nis/nis_table.c (__follow_path): Disable diagnostic for
17599         uninitialized variable that is a false positive for gcc 4.7.
17600         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
17602 2016-01-20  Roland McGrath  <roland@hack.frob.com>
17604         * sysdeps/nacl/lowlevellock-futex.h
17605         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
17606         Always evaluate PRIVATE argument.
17608 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
17610         [BZ #19490]
17611         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
17612         (pthread_cond_broadcast): Use ENTRY/END
17613         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
17614         (pthread_cond_signal): Likewise.
17615         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
17616         Likewise.
17617         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
17618         Likewise.
17619         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
17620         Likewise.
17622 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
17624         * sysdeps/ieee754/dbl-64/s_finite.c
17625         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
17626         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
17627         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
17628         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
17629         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
17631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
17632         (__gtsf2): Add as optional for libc.so.
17633         (__unordsf2): Likewise.
17634         (__signbit): Remove for libc.so.
17635         (__signbitl): Likewise.
17637 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17639         * iconvdata/bug-iconv11.c (test_ibm93x):
17640         Use %zu printf format specifier for size_t argument.
17642 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
17644         * math/gen-libm-test.pl (parse_ulps): Do not reduce
17645         already-recorded ulps.
17646         * sysdeps/arm/libm-test-ulps: Regenerated.
17647         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17648         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17649         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17651 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17652             Paul Pluzhnikov  <ppluzhnikov@google.com>
17654         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
17655         assembler not supporting AVX-512.
17657 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
17659         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17661 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
17663         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17664         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17666         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17668         * sysdeps/arm/libm-test-ulps: Regenerated.
17670 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17672         [BZ #19451]
17673         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
17675 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17677         [BZ #19486]
17678         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
17679         * sysdeps/generic/fix-fp-int-convert-overflow.h
17680         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
17681         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
17682         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
17683         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
17684         Likewise.
17685         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
17686         Avoid conversions to long int where inexact exceptions
17687         could be raised.
17688         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
17689         Likewise.
17690         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
17691         Avoid conversions to long long int where inexact exceptions
17692         could be raised.
17693         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
17694         Likewise.
17696 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
17698         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
17699         * configure: Regenerated.
17701 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17703         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
17705 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
17707         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
17708         outside of comment.
17710 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17712         * nptl/tst-barrier1.c: Add description on first line.
17713         * nptl/tst-barrier2.c: Likewise.
17714         * nptl/tst-barrier3.c: Likewise.
17715         * nptl/tst-barrier4.c: Likewise.
17716         * nptl/tst-barrier5.c: Likewise.
17718 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17720         [BZ #18868]
17721         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
17723 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17725         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
17726         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17727         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
17728         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
17729         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
17730         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
17731         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17732         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17733         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17734         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17735         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17737 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17739         [BZ #13065]
17740         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
17741         new implementation.
17742         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
17743         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
17744         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
17745         (BARRIER_IN_THRESHOLD): New macro.
17746         * nptl/pthread_barrierattr_setpshared.c
17747         (pthread_barrierattr_setpshared): Clean up.
17748         * nptl/tst-barrier4.c: Correct comment.
17749         * nptl/tst-barrier5.c: New file.
17750         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
17751         (gen-as-const-headers): Remove lowlevelbarrier.sym.
17752         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
17753         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
17754         * nptl/lowlevelbarrier.sym: Remove.
17755         * nptl/DESIGN-barrier.txt: Remove.
17756         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
17757         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
17758         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
17759         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
17760         error.
17761         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
17762         implementation.
17764 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17766         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
17767         (do_child): Mask SIGRTMIN while thr is running.
17769 2016-01-15  Martin Sebor  <msebor@redhat.com>
17771         [BZ #19432]
17772         * iconvdata/Makefile: Add bug-iconv11.
17773         * iconvdata/bug-iconv11.c: New test.
17774         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
17775         * iconvdata/ibm933.c: Same.
17776         * iconvdata/ibm935.c: Same.
17777         * iconvdata/ibm937.c: Same.
17778         * iconvdata/ibm939.c: Same.
17780 2016-01-15  Martin Sebor  <msebor@redhat.com>
17782         [BZ #19443]
17783         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
17784         [DEBUG] (_ufc_set_bits): Declare used.
17785         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
17786         [DEBUG] (print_all): Declare used.
17787         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
17788         operands of the ternary ?: expression to target type.
17789         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
17790         calling the undeclared abort.
17791         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
17793 2016-01-15  Martin Sebor  <msebor@redhat.com>
17795         [BZ #18755]
17796         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
17797         warnings.
17798         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
17799         (__gai_create_helper_thread): Same.
17800         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
17801         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
17802         to suppress -Wmaybe-uninitialized warnings.
17804 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
17806         [BZ #19465]
17807         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
17808         inside if.
17809         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17810         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17811         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17813 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
17815         [BZ #19466]
17816         * time/tst-mktime2.c (time_t_max): Removed.
17817         (time_t_min): Likewise.
17818         (TYPE_SIGNED): New.
17819         (TYPE_MINIMUM): Likewise.
17820         (TYPE_MAXIMUM): Likewise.
17821         (TIME_T_MIN): Likewise.
17822         (TIME_T_MAX): Likewise.
17823         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
17824         and TIME_T_MIN.
17825         (do_test): Likewise.
17827 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
17829         [BZ #19467]
17830         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17831         index_Fast_Unaligned_Load flag for Excavator family CPUs.
17833 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
17835         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
17837 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
17839         * benchtests/Makefile (PYTHON): Define.
17840         (bench-func): Use $(PYTHON) to run python scripts.
17841         ($(objpfx)bench-%.c): Likewise.
17843 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
17845         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
17846         leading slash when `file_name' is "/".
17848 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
17850         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
17851         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
17852         Likewise.
17853         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
17854         Likewise.
17855         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
17856         Likewise.
17857         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
17858         enum constant and macro.
17859         (PTRACE_SETSIGMASK): Likewise.
17860         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17861         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17862         (PTRACE_GETSIGMASK): Likewise.
17863         (PTRACE_SETSIGMASK): Likewise.
17864         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17865         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
17866         Likewise.
17867         (PTRACE_SETSIGMASK): Likewise.
17868         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17869         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17870         (PTRACE_GETSIGMASK): Likewise.
17871         (PTRACE_SETSIGMASK): Likewise.
17872         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17873         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
17874         Likewise.
17875         (PTRACE_SETSIGMASK): Likewise.
17876         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17877         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
17878         Likewise.
17879         (PTRACE_SETSIGMASK): Likewise.
17880         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17881         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
17882         Likewise.
17883         (PTRACE_SETSIGMASK): Likewise.
17884         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17886 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
17887             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17889         [BZ #19439]
17890         * math/bits/mathcalls.h
17891         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
17892         prototype.
17893         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
17895 2016-01-11  Andreas Schwab  <schwab@suse.de>
17897         [BZ #19253]
17898         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
17899         cache when TZDEFRULES was used.
17900         * time/tst-tzname.c: New file.
17901         * time/Makefile (test): Add tst-tzname.
17902         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
17903         * timezone/Makefile (test-zones): Add $(posixrules-file).
17904         ($(testdata)/$(posixrules-file)): New rule.
17906 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
17908         Fix doc quoting problems with Texinfo 5
17909         Without this change, in the info file output, Texinfo 5 quotes code
17910         in text with undirected single quotes 'like this' and generates
17911         code examples that with many PDF readers cannot be cut out of PDFs
17912         and pasted into code.
17913         * manual/libc.texinfo: Configure the libc manual like the GNU
17914         Emacs manual, by using @documentencoding and setting
17915         txicodequoteundirected and txicodequotebacktick.  This way,
17916         Texinfo 5 quotes code in text with directed single quotes ‘like
17917         this’ and produces examples that can be cut out of PDFs.  This
17918         change causes Texinfo 5 to generate info files that contain UTF-8
17919         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
17920         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
17922 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17924         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
17925         __libc_tabort, __libc_tend): New wrappers that enforce compiler
17926         barriers to their respective compiler built-ins.
17927         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
17928         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
17929         * sysdeps/powerpc/sysdep.h: Likewise.
17930         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
17931         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
17932         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
17934 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
17936         * scripts/config.guess: Revert previous shebang change.
17937         * scripts/config.sub: Likewise.
17938         * scripts/mkinstalldirs: Likewise.
17940 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17942         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
17943         PPC_FEATURE2_HAS_IEEE128.
17944         * sysdeps/powerpc/dl-procinfo.c:
17945         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
17947 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
17949         [BZ #19415]
17950         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
17951         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
17952         (_dl_lookup_address): Rewrite using function resolver trampoline.
17953         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
17954         two bits in address.
17956 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17958         * longlong.h: Change !__SHMEDIA__ to
17959         (!defined (__SHMEDIA__) || !__SHMEDIA__).
17960         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
17962 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
17963             Joseph Myers  <joseph@codesourcery.com>
17964             Mark Shinwell  <shinwell@codesourcery.com>
17965             Andrew Stubbs  <ams@codesourcery.com>
17966             Rich Felker <dalias@libc.org>
17968         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
17970 2016-01-07  Richard Henderson  <rth@redhat.com>
17972         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
17974 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17976         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
17977         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
17978         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17979         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17980         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
17982 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
17983             Joseph Myers  <joseph@codesourcery.com>
17985         * timezone/private.h: Update from tzcode 2015g.
17986         * timezone/tzfile.h: Likewise.
17987         * timezone/tzselect.ksh: Likewise.
17988         * timezone/zdump.c: Likewise.
17989         * timezone/zic.c: Likewise.
17990         * timezone/ialloc.c: Remove file.
17991         * timezone/scheck.c: Likewise.
17992         * timezone/Makefile (extra-objs): Remove variable.
17993         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
17994         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
17995         -Wno-maybe-uninitialized.
17996         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
17997         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
17998         (CFLAGS-ialloc.c): Remove variable.
17999         (CFLAGS-scheck.c): Likewise.
18000         * timezone/README: Update list of files from tzcode.
18002 2016-01-07  Khem Raj  <raj.khem@gmail.com>
18004         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
18005         instead of __fxprintf when _LIBC is undefined.
18007 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
18009         * catgets/test-gencat.sh: Remove space after shebang.
18010         * conform/GlibcConform.pm: Likewise.
18011         * conform/check-header-lists.sh: Likewise.
18012         * conform/conformtest.pl: Likewise.
18013         * conform/linknamespace.pl: Likewise.
18014         * conform/list-header-symbols.pl: Likewise.
18015         * debug/catchsegv.sh: Likewise.
18016         * elf/genrtldtbl.awk: Likewise.
18017         * elf/tst-pathopt.sh: Likewise.
18018         * elf/tst-rtld-load-self.sh: Likewise.
18019         * grp/tst_fgetgrent.sh: Likewise.
18020         * iconvdata/gen-8bit-gap-1.sh: Likewise.
18021         * iconvdata/gen-8bit-gap.sh: Likewise.
18022         * iconvdata/gen-8bit.sh: Likewise.
18023         * iconvdata/run-iconv-test.sh: Likewise.
18024         * intl/tst-gettext.sh: Likewise.
18025         * intl/tst-gettext2.sh: Likewise.
18026         * intl/tst-gettext4.sh: Likewise.
18027         * intl/tst-gettext6.sh: Likewise.
18028         * intl/tst-translit.sh: Likewise.
18029         * io/ftwtest-sh: Likewise.
18030         * libio/test-freopen.sh: Likewise.
18031         * locale/gen-translit.pl: Likewise.
18032         * malloc/tst-mtrace.sh: Likewise.
18033         * manual/check-safety.sh: Likewise.
18034         * manual/libc-texinfo.sh: Likewise.
18035         * manual/tsort.awk: Likewise.
18036         * manual/xtract-typefun.awk: Likewise.
18037         * nptl/tst-cancel-wrappers.sh: Likewise.
18038         * nptl/tst-tls6.sh: Likewise.
18039         * posix/globtest.sh: Likewise.
18040         * posix/tst-getconf.sh: Likewise.
18041         * posix/wordexp-tst.sh: Likewise.
18042         * scripts/check-c++-types.sh: Likewise.
18043         * scripts/check-local-headers.sh: Likewise.
18044         * scripts/config.guess: Likewise.
18045         * scripts/config.sub: Likewise.
18046         * scripts/cpp: Likewise.
18047         * scripts/cross-test-ssh.sh: Likewise.
18048         * scripts/documented.sh: Likewise.
18049         * scripts/evaluate-test.sh: Likewise.
18050         * scripts/gen-libc-abis: Likewise.
18051         * scripts/gen-sorted.awk: Likewise.
18052         * scripts/list-fixed-bugs.py: Likewise.
18053         * scripts/merge-test-results.sh: Likewise.
18054         * scripts/mkinstalldirs: Likewise.
18055         * scripts/rellns-sh: Likewise.
18056         * scripts/test-installation.pl: Likewise.
18057         * scripts/update-copyrights: Likewise.
18058         * stdio-common/tst-printf.sh: Likewise.
18059         * stdio-common/tst-unbputc.sh: Likewise.
18060         * stdlib/tst-fmtmsg.sh: Likewise.
18061         * stdlib/tst-setcontext3.sh: Likewise.
18062         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
18063         * sysdeps/unix/make-syscalls.sh: Likewise.
18065 2016-01-06  John David Anglin  <dave.anglin@bell.net>
18067         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
18068         asm stw with atomic_exchange_rel.  Add explanatory comment.
18069         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18070         Likewise.
18072 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18074         [BZ #19122]
18075         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
18076         * sysdeps/generic/dl-unistd.h: New file.
18077         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
18079 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18081          [BZ #19122]
18082          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
18083          * sysdeps/generic/dl-mman.h: New file.
18084          * sysdeps/mach/hurd/dl-mman.h: Likewise.
18086 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
18088         * manual/texinfo.tex: Update to version 2016-01-04.21 with
18089         trailing whitespace removed.
18090         * scripts/config.guess: Update to version 2016-01-01.
18091         * scripts/config.sub: Update to version 2016-01-01.
18092         * scripts/move-if-change: Update from gnulib.
18094 2016-01-04  Anton Blanchard  <anton@samba.org>
18096         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
18097         for array indices.
18098         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
18100 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
18102         * NEWS: Update copyright dates.
18103         * catgets/gencat.c (print_version): Likewise.
18104         * csu/version.c (banner): Likewise.
18105         * debug/catchsegv.sh: Likewise.
18106         * debug/pcprofiledump.c (print_version): Likewise.
18107         * debug/xtrace.sh (do_version): Likewise.
18108         * elf/ldconfig.c (print_version): Likewise.
18109         * elf/ldd.bash.in: Likewise.
18110         * elf/pldd.c (print_version): Likewise.
18111         * elf/sotruss.sh: Likewise.
18112         * elf/sprof.c (print_version): Likewise.
18113         * iconv/iconv_prog.c (print_version): Likewise.
18114         * iconv/iconvconfig.c (print_version): Likewise.
18115         * locale/programs/locale.c (print_version): Likewise.
18116         * locale/programs/localedef.c (print_version): Likewise.
18117         * login/programs/pt_chown.c (print_version): Likewise.
18118         * malloc/memusage.sh (do_version): Likewise.
18119         * malloc/memusagestat.c (print_version): Likewise.
18120         * malloc/mtrace.pl: Likewise.
18121         * manual/libc.texinfo: Likewise.
18122         * nptl/version.c (banner): Likewise.
18123         * nscd/nscd.c (print_version): Likewise.
18124         * nss/getent.c (print_version): Likewise.
18125         * nss/makedb.c (print_version): Likewise.
18126         * posix/getconf.c (main): Likewise.
18127         * scripts/test-installation.pl: Likewise.
18128         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18130         * All files with FSF copyright notices: Update copyright dates
18131         using scripts/update-copyrights.
18132         * intl/plural.c: Regenerated.
18133         * locale/programs/charmap-kw.h: Likewise.
18134         * locale/programs/locfile-kw.h: Likewise.
18136 2016-01-02  Helge Deller  <deller@gmx.de>
18138         [BZ #19285]
18139         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
18140         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
18141         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
18142         (MADV_xxK_PAGES): Remove.
18144 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
18146         [BZ #15421]
18147         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
18148         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
18149         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
18150         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
18152 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
18154         [BZ #19408]
18155         * sysdeps/unix/sysv/linux/personality.c: New file.
18156         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
18157         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
18158         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
18159         (sysdep_routines): Add personality.
18160         (tests): Add tst-personality.
18161         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
18162         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
18163         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
18164         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
18165         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
18166         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
18167         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
18168         Likewise.
18169         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
18170         Likewise.
18171         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
18172         Likewise.
18173         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
18174         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
18175         Likewise.
18177 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
18179         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
18180         (PATH_ARM_SYSTYPE): Remove.
18181         (PATH_CPUINFO): Likewise.
18182         (IO_BASE_FOOTBRIDGE): Likewise.
18183         (IO_SHIFT_FOOTBRIDGE): Likewise.
18184         (struct platform): Likewise.
18185         (init_iosys): Remove compatibility code for 2.4 kernels.
18186         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
18188 2015-12-29  Florian Weimer  <fweimer@redhat.com>
18190         * malloc/tst-malloc-thread-fail.c: New file.
18191         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
18192         (tst-malloc-thread-fail): Link against libpthread.
18194 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
18196         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
18197         (get_parser): New function.
18198         (main): New function.
18200 2015-12-29  Rob Wu  <rob@robwu.nl>
18202         [BZ #19369]
18203         * resolv/res_init.c (__res_vinit): Reset defdname before use.
18205 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
18207         [BZ #19270]
18208         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18210 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
18212         [BZ #15421]
18213         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
18215 2015-12-23  Torvald Riegel  <triegel@redhat.com>
18217         [BZ #13690]
18218         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
18219         after releasing it.
18220         (__lll_robust_unlock): Likewise.
18221         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18222         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
18223         (lll_robust_unlock): Likewise.
18224         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
18225         Prevent warnings in callers.
18227 2015-12-23  Florian Weimer  <fweimer@redhat.com>
18229         * malloc/arena.c (list_lock): Update comment.
18231 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18233         * sysdeps/powerpc/hwcapinfo.c: Export symbol
18234         __parse_hwcap_and_convert_at_platform to libc.a.
18236 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18238         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
18239         platform and feature support for POWER9.
18240         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18241         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
18242         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
18243         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
18244         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
18245         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18246         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18247         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18249 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18251         Harmonize generic stdio-lock support with nptl
18253         This fixes build when _IO_funlockfile is a macro, fixes build where
18254         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
18255         stack unwind.
18257         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
18258         _IO_release_lock ): Use cleanup attribute on new
18259         _IO_acquire_lock_file variable instead of assuming that
18260         _IO_release_lock will be called.
18261         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
18262         _IO_acquire_lock_needs_exceptions_enabled.
18263         (_IO_acquire_lock_clear_flags2): New macro.
18265 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18267         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18269 2015-12-21  Florian Weimer  <fweimer@redhat.com>
18271         [BZ #19182]
18272         * malloc/arena.c (list_lock): Document lock ordering requirements.
18273         (free_list_lock): New lock.
18274         (ptmalloc_lock_all): Comment on free_list_lock.
18275         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
18276         (detach_arena): Update comment.  free_list_lock is now needed.
18277         (_int_new_arena): Use free_list_lock around detach_arena call.
18278         Acquire arena lock after list_lock.  Add comment, including FIXME
18279         about incorrect synchronization.
18280         (get_free_list): Switch to free_list_lock.
18281         (reused_arena): Acquire free_list_lock around detach_arena call
18282         and attached threads counter update.  Add two FIXMEs about
18283         incorrect synchronization.
18284         (arena_thread_freeres): Switch to free_list_lock.
18285         * malloc/malloc.c (struct malloc_state): Update comments to
18286         mention free_list_lock.
18288 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
18290         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
18291         Remove functions.
18292         (sloww, sloww1): Accept argument to offset quadrant.
18293         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
18294         quadrant.
18295         (__sin, __cos): Consolidate common code into new functions.
18296         (reduce_sincos_1, do_sincos_1): New functions.
18297         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18299         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
18300         code to new functions.
18301         (reduce_sincos_2, do_sincos_2): New functions.
18302         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18304         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
18305         common code for sincos.
18306         (__cos) [!IN_SINCOS]: Likewise.
18307         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
18308         New function.
18309         (__sincos): Use it.
18311 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
18313         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
18314         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
18315         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18317 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18319         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
18320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
18321         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18322         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
18323         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18324         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
18325         index_Prefer_No_VZEROUPPER): New feature.
18326         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
18327         Prefer_No_VZEROUPPER for Knights Landing.
18329 015-12-18  Torvald Riegel  <triegel@redhat.com>
18331         * math/atest-exp2.c (mp_exp_m1): Remove.
18333 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18335         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
18336         syscalls.
18337         (__SYSCALL0): New macro.
18338         (__SYSCALL1): Likewise.
18339         (__SYSCALL2): Likewise.
18340         (__SYSCALL3): Likewise.
18341         (__SYSCALL4): Likewise.
18342         (__SYSCALL5): Likewise.
18343         (__SYSCALL6): Likewise.
18344         (__SYSCALL_CONCAT_X): Likewise.
18345         (__SYSCALL_CONCAT): Likewise.
18346         (__SYSCALL_DIST): Likewise.
18347         (__SYSCALL_CALL): Likewise.
18349 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
18351         [BZ #19363]
18352         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
18354 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18356         [BZ #19375]
18357         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
18358         negative subnormals.
18360 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
18362         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18363         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
18364         (INTERNAL_SYSCALL_NCS): Use it.
18365         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18367 2015-12-16  Florian Weimer  <fweimer@redhat.com>
18369         [BZ #19243]
18370         * malloc/arena.c (get_free_list): Remove assert and adjust
18371         reference count handling.  Add comment about reused_arena
18372         interaction.
18373         (reused_arena): Add comments abount get_free_list interaction.
18374         * malloc/tst-malloc-thread-exit.c: New file.
18375         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
18376         (tst-malloc-thread-exit): Link against libpthread.
18378 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18380         [BZ #19367]
18381         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
18382         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
18383         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
18384         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
18385         (index_Prefer_MAP_32BIT_EXEC): Likewise.
18387 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18389         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
18390         Silvermont optimizations for Knights Landing.
18392 2015-12-15  Andreas Schwab  <schwab@suse.de>
18394         [BZ #17197]
18395         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
18396         immediately after emitting SI.
18397         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
18398         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
18399         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
18400         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
18401         * iconvdata/bug-iconv10.c: New file.
18402         * iconvdata/Makefile (tests): Add bug-iconv10.
18403         ($(objpfx)bug-iconv10.out): New rule.
18405 2015-12-15  Florian Weimer  <fweimer@redhat.com>
18407         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
18408         aliasing violation.
18410 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
18412         [BZ #18472]
18413         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
18414         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
18415         conditionals for them.
18416         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
18417         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
18418         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
18419         sys/kdaemon.h.
18420         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
18421         compat-only syscall, obsoleted in glibc 2.23.
18422         (create_module): Likewise.
18423         (get_kernel_syms): Likewise.
18424         (query_module): Likewise.
18425         (uselib): Likewise.
18426         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
18428 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
18430         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
18431         <linux/version.h>.
18432         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
18433         conditional code.
18434         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
18435         and ioshift_name initialization.
18437 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18439         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18440         Fix indentation.
18442 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18444         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
18446 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18448         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
18450 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
18451             Jakub Wilk  <jwilk@debian.org>
18453         [BZ #19347]
18454         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
18455         to change the group of the device to the tty group.
18457 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
18459         Split large string section; add truncation advice
18460         * manual/examples/strncat.c: Remove.
18461         This example was misleading, as the code would have undefined
18462         behavior if "hello" was longer than SIZE.  Anyway, the manual
18463         shouldn't encourage strncpy+strncat for this sort of thing.
18464         * manual/string.texi (Copying Strings and Arrays): Split into
18465         three sections Copying Strings and Arrays, Concatenating Strings,
18466         and Truncating Strings, as this section was way too long.  All
18467         cross-referenced changed.  Add advice about string-truncation
18468         functions.  Remove misleading strncat example.
18470 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
18472         * manual/nss.texi (NSS Modules Interface): Document
18473         NSS_STATUS_NOTFOUND and SUCCESS.
18475 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18477         [BZ 18568]
18478         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18479         201505L, for Unicode 8.
18481 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
18483         * locale/C-translit.h: Regenerate.
18485 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18487         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
18488         and U+0153.
18490 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
18492         [BZ #19351]
18493         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
18494         expanding log(1+z), compare z rather than its square with epsilon
18495         to determine when to avoid evaluating the expansion.
18497         [BZ #19350]
18498         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18499         Increase overflow threshold.
18501         [BZ #19349]
18502         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
18503         when small.
18505         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18506         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18507         New macro.
18508         [__LINUX_KERNEL_VERSION >= 0x040300]
18509         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18510         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18511         Likewise.
18512         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18513         Likewise.
18514         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18515         Likewise.
18516         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18517         Likewise.
18518         [__LINUX_KERNEL_VERSION >= 0x040300]
18519         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18520         [__LINUX_KERNEL_VERSION >= 0x040300]
18521         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18522         [__LINUX_KERNEL_VERSION >= 0x040300]
18523         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18524         [__LINUX_KERNEL_VERSION >= 0x040300]
18525         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18526         [__LINUX_KERNEL_VERSION >= 0x040300]
18527         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18528         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18529         Likewise.
18530         [__LINUX_KERNEL_VERSION >= 0x040300]
18531         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18532         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18533         Likewise.
18534         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18535         Likewise.
18536         [__LINUX_KERNEL_VERSION >= 0x040300]
18537         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18538         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18539         Likewise.
18540         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18541         Likewise.
18542         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18543         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
18544         Likewise.
18545         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
18546         Likewise.
18547         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18548         Likewise.
18549         [__LINUX_KERNEL_VERSION >= 0x040300]
18550         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18551         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18552         Likewise.
18553         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18554         Likewise.
18555         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18556         Likewise.
18557         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18558         Likewise.
18559         [__LINUX_KERNEL_VERSION >= 0x040300]
18560         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18561         [__LINUX_KERNEL_VERSION >= 0x040300]
18562         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18563         [__LINUX_KERNEL_VERSION >= 0x040300]
18564         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18565         [__LINUX_KERNEL_VERSION >= 0x040300]
18566         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18567         [__LINUX_KERNEL_VERSION >= 0x040300]
18568         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18569         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18570         Likewise.
18571         [__LINUX_KERNEL_VERSION >= 0x040300]
18572         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18573         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18574         Likewise.
18575         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18576         Likewise.
18577         [__LINUX_KERNEL_VERSION >= 0x040300]
18578         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18579         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18580         Likewise.
18581         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18582         Likewise.
18583         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18584         (__ASSUME_SOCKET_SYSCALL): Likewise.
18585         (__ASSUME_BIND_SYSCALL): Likewise.
18586         (__ASSUME_CONNECT_SYSCALL): Likewise.
18587         (__ASSUME_LISTEN_SYSCALL): Likewise.
18588         (__ASSUME_ACCEPT_SYSCALL): Likewise.
18589         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18590         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18591         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18592         (__ASSUME_SEND_SYSCALL): Likewise.
18593         (__ASSUME_SENDTO_SYSCALL): Likewise.
18594         (__ASSUME_RECV_SYSCALL): Likewise.
18595         (__ASSUME_RECVFROM_SYSCALL): Likewise.
18596         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
18597         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18598         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18599         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18600         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18601         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18602         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
18603         Likewise.
18604         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
18605         Likewise.
18606         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
18607         Likewise.
18608         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
18609         Likewise.
18610         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
18611         Likewise.
18612         [__LINUX_KERNEL_VERSION >= 0x020625]
18613         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18614         [__LINUX_KERNEL_VERSION >= 0x020625]
18615         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18616         [__LINUX_KERNEL_VERSION >= 0x020625]
18617         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18618         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
18619         Likewise.
18620         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
18621         Likewise.
18622         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
18623         Likewise.
18624         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
18625         Likewise.
18626         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
18627         Likewise.
18628         [__LINUX_KERNEL_VERSION >= 0x020625]
18629         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18630         [__LINUX_KERNEL_VERSION >= 0x020625]
18631         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18632         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
18633         Likewise.
18634         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
18635         Likewise.
18637 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18639         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
18640         record the current if the current ABI and CPU support the FP64
18641         extension.
18642         (has-modd-spreg): Define to record the current if the current ABI and
18643         CPU support 32-bit floating point values in odd FPU registers.
18644         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18645         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
18646         $(has-modd-spreg) equals yes.
18647         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
18648         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
18649         $(has-modd-spreg) equal yes.
18651 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18653         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
18654         basename.
18656 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
18658         * benchtests/Makefile (bench-math): Move ffs and ffsll...
18659         (bench-string): ... here.
18660         (bench): Add bench-string.
18661         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
18662         to *-benchset to reflect what they are.
18663         (benchset): Adjust.
18665         * benchtests/sincos-inputs: Add inputs from sin-inputs and
18666         cos-inputs.
18668 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
18670         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
18671         __attribute__ ((__simd__)) for vector math function declarations.
18673 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18675         Fix typo in strncat, wcsncat manual entries
18676         * manual/string.texi (Copying and Concatenation): Fix typos in
18677         sample implementations of strncat and wcsncat, by having them use
18678         the old value of the destination length, not the new one.
18680 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
18682         [BZ #16961]
18683         [BZ #16962]
18684         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
18685         string on the stack for strtod.
18686         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
18687         a string on the stack for strtof.
18688         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
18689         constructing a string on the stack for strtold.
18690         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
18691         __strtold_nan to GLIBC_PRIVATE.
18692         * math/test-nan-overflow.c: New file.
18693         * math/test-nan-payload.c: Likewise.
18694         * math/Makefile (tests): Add test-nan-overflow and
18695         test-nan-payload.
18697 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18699         Consistency about byte vs character in string.texi
18700         * manual/string.texi (String and Array Utilities):
18701         Distinguish more carefully among bytes, multibyte characters,
18702         and wide characters.  Use "byte" when talking about C 'char',
18703         to distinguish it more clearly from multibyte characters.
18704         Say "wide character" or "multibyte character" instead of
18705         "character", when a wide or multibyte character is intended.
18706         Similarly for "multibyte string" versus "string".
18707         Define these terms more carefully.
18709 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
18711         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
18712         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
18713         Likewise.
18714         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18715         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18716         * sysdeps/sh/math_private.h: New file.
18717         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
18718         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
18719         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
18720         long double function name.
18721         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18722         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18723         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18724         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18725         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18727         Remove __finitel, __isinfl, and __isnanl.
18728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18729         Likewise.
18730         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18732         Remove __finitel.
18733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18734         Likewise.
18735         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18737 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
18739         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
18740         installed libmvec_nonshared.a.
18742 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18744         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
18745         (sysdep_routines): Likewise.
18746         (sysdep-rtld-routines): Likewise.
18747         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
18748         [$(subdir) = nptl](tests-static): test-get_hwcap-static
18749         * sysdeps/powerpc/Versions: Added new
18750         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
18751         * sysdeps/powerpc/hwcapinfo.c: New file.
18752         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
18753         and parse hwcap, hwcap2 and platform number information.
18754         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
18755         to store HWCAP+HWCAP2 and platform number.
18756         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
18757         for HWCAP+HWCAP2 and platform number in the TCB.
18758         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
18759         the HWCAP, HWCAP2 and platform number in the TCB.
18760         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
18761         (TLS_INIT_TP): Included calls to add the hwcap and
18762         at_platform values in the TCB in TP initialization.
18763         (TLS_DEFINE_INIT_TP): Likewise.
18764         (THREAD_GET_HWCAP): New macro.
18765         (THREAD_SET_HWCAP): Likewise.
18766         (THREAD_GET_AT_PLATFORM): Likewise.
18767         (THREAD_SET_AT_PLATFORM): Likewise.
18768         * sysdeps/powerpc/powerpc32/dl-machine.h:
18769         (dl_platform_init): New function that calls
18770         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
18771         powerpc32.
18772         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
18773         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
18774         this functionality, static linking case.
18775         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
18776         linking case.
18777         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
18778         __parse_hwcap_and_convert_at_platform for the static linking case.
18779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
18780         Included the new __parse_hwcap_and_convert_at_platform symbol in the
18781         ABI list for GLIBC 2.23.
18782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
18783         Likewise.
18784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
18785         Likewise.
18787 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
18789         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
18790         * configure: Regenerate.
18791         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
18792         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
18794 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
18796         * iconvdata/ibm930.c: Add comment explaining encoding uses.
18797         * iconvdata/ibm933.c: Likewise.
18798         * iconvdata/ibm935.c: Likewise.
18799         * iconvdata/ibm937.c: Likewise.
18800         * iconvdata/ibm939.c: Likewise.
18802 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18804         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
18805         pthread_join.
18806         * nptl/tst-cancel21.c (tf): Likewise.
18808 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
18810         [BZ #19313]
18811         * bits/typesizes.h (__CPU_MASK_TYPE): New.
18812         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18813         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18814         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
18815         Likewise.
18816         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
18817         Likewise.
18818         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
18819         Likewise.
18820         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
18821         Likewise.
18822         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
18823         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
18824         unsigned long int with __CPU_MASK_TYPE.
18826 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18828         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18830 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
18832         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
18833         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
18834         t512.x.
18835         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
18837 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
18839         [BZ #19214]
18840         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
18841         argument to return extended model.  Update family and model
18842         with extended family and model when family == 0x0f.
18843         (init_cpu_features): Updated.
18845 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18847         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
18848         signed off_t, so 32bit bigger than 2GiB values are fine actually.
18850         * sysdeps/mach/hurd/mmap64.c: New file.
18852 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
18854         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
18855         rights for its main user thread in NEWTASK.
18857 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
18859         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
18860         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
18862 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
18864         [BZ #14259]
18865         * Makeconfig: Rename localedir to complocaledir.
18866         Rename inst_localedir to inst_complocaledir.
18867         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
18868         * config.make.in: Use complocaledir and libc_cv_complocaledir.
18869         * configure.ac: Use libc_cv_complocaledir.
18870         * configure: Regenerate.
18871         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
18872         -DCOMPLOCALEDIR.
18873         * locale/findlocale.c: Use COMPLOCALEDIR.
18874         * locale/loadarchive.c: Likewise.
18875         * locale/programs/locale.c: Likewise.
18876         * locale/programs/localedef.c: Likewise.
18877         * locale/programs/locarchive.c: Likewise.
18878         * localedata/Makefile: Use inst_complocaledir.
18879         * sysdeps/gnu/configure: Regenerate.
18880         * sysdeps/hppa/configure: Regenerate.
18881         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18882         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18884         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18885         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18886         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18887         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18889 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
18891         [BZ #19058]
18892         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
18893         AS_NEEDED.
18894         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
18895         workaround.
18896         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
18897         libmvec-static-only-routines): Added new file.
18898         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
18900 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18902         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
18903         of interrupted RPC instead of restoring it.
18905         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
18906         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
18907         libc_hidden_def.
18908         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
18909         into initialized data instead of common. Define rtld_hidden_data_def.
18910         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
18911         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
18912         libc_hidden_def.
18913         (if_freenameindex): Add libc_hidden_weak.
18914         (if_nameindex): Add libc_hidden_weak.
18915         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
18916         __open64.
18917         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
18918         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
18919         * sysdeps/mach/nanosleep.c: Include <time.h>
18920         (__nanosleep): Rename to __libc_nanosleep.
18921         (__nanosleep): Add weak_alias.
18922         (nanosleep): Update alias.
18924 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
18926         * stdlib/strtod_nan.c: New file.
18927         * stdlib/strtod_nan_double.h: Likewise.
18928         * stdlib/strtod_nan_float.h: Likewise.
18929         * stdlib/strtod_nan_main.c: Likewise.
18930         * stdlib/strtod_nan_narrow.h: Likewise.
18931         * stdlib/strtod_nan_wide.h: Likewise.
18932         * stdlib/strtof_nan.c: Likewise.
18933         * stdlib/strtold_nan.c: Likewise.
18934         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
18935         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
18936         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
18937         * wcsmbs/wcstod_nan.c: Likewise.
18938         * wcsmbs/wcstof_nan.c: Likewise.
18939         * wcsmbs/wcstold_nan.c: Likewise.
18940         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
18941         strtold_nan.
18942         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
18943         wcstof_nan.
18944         * include/stdlib.h (__strtof_nan): Declare and use
18945         libc_hidden_proto.
18946         (__strtod_nan): Likewise.
18947         (__strtold_nan): Likewise.
18948         (__wcstof_nan): Likewise.
18949         (__wcstod_nan): Likewise.
18950         (__wcstold_nan): Likewise.
18951         * include/wchar.h (____wcstoull_l_internal): Declare.
18952         * stdlib/strtod_l.c: Do not include <ieee754.h>.
18953         (____strtoull_l_internal): Remove declaration.
18954         (STRTOF_NAN): Define macro.
18955         (SET_MANTISSA): Remove macro.
18956         (STRTOULL): Likewise.
18957         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
18958         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
18959         (STRTOF_NAN): Define macro.
18960         (SET_MANTISSA): Remove macro.
18961         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
18962         (SET_MANTISSA): Remove macro.
18963         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
18964         macro.
18965         (SET_MANTISSA): Remove macro.
18966         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
18967         macro.
18968         (SET_MANTISSA): Remove macro.
18969         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
18970         (SET_MANTISSA): Remove macro.
18971         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
18972         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
18973         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
18975         [BZ #19266]
18976         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
18977         upper case and lower case letters inside NAN(), not using TOLOWER.
18978         * stdlib/tst-strtod-nan-locale-main.c: New file.
18979         * stdlib/tst-strtod-nan-locale.c: Likewise.
18980         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
18981         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
18982         Depend on $(gen-locales).
18983         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
18984         * wcsmbs/tst-wcstod-nan-locale.c: New file.
18985         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
18986         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
18987         Depend on $(gen-locales).
18988         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
18990 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
18992         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
18994         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
18996         __finitel, __isinfl, and __isnanl.
18997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18998         Likewise.
18999         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
19001         __finitel.
19002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19003         Likewise.
19004         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19006 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19008         * malloc/memusage.c (me): Remove redundant getenv call.
19010 2015-10-24  Florian Weimer  <fweimer@redhat.com>
19012         [BZ #19143]
19013         [BZ #19164]
19014         * nptl/check-cpuset.h: Remove.
19015         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
19016         Remove CPU set size check.
19017         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
19018         Likewise.
19019         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
19020         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19021         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
19022         (__pthread_setaffinity_new): Remove CPU set size check.
19023         * sysdeps/unix/sysv/linux/sched_setaffinity.c
19024         (__kernel_cpumask_size): Remove.
19025         (__sched_setaffinity_new): Remove CPU set size check.
19026         * manual/threads.texi (Default Thread Attributes): Remove stale
19027         reference to check_cpuset_attr, determine_cpumask_size in comment.
19028         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
19029         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
19030         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
19031         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
19032         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
19033         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
19034         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
19035         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
19036         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
19037         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
19038         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
19039         skeleton test file.
19040         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
19041         tst-affinity-pid.
19043 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19045         * scripts/update-abilist.sh: New file.
19046         * Makefile (+subdir_targets): Add subdir_update-all-abi.
19047         * Makerules (update-all-abi-%, update-all-abi)
19048         (subdir_update-all-abi): New targets.
19049         * elf/Makefile (update-all-abi): New target.
19051 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19053         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
19054         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
19055         (__libc_lock_define_initialized): Use it.
19056         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
19057         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
19058         * malloc/malloc.c (main_arena): Likewise.
19059         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19060         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19062 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
19064         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19065         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
19066         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19067         (PTRACE_O_MASK): Update value.
19068         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
19069         New value in enum __ptrace_setoptions.
19070         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19071         (PTRACE_O_MASK): Update value.
19072         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19073         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19074         (PTRACE_O_MASK): Update value.
19075         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
19076         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19077         (PTRACE_O_MASK): Update value.
19078         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
19079         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19080         (PTRACE_O_MASK): Update value.
19081         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
19082         New value in enum __ptrace_setoptions.
19083         (PTRACE_O_MASK): Update value.
19084         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
19085         New value in enum __ptrace_setoptions.
19086         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19087         (PTRACE_O_MASK): Update value.
19089         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
19090         New macro.
19091         (PACKET_AUXDATA): Likewise.
19092         (PACKET_ORIGDEV): Likewise.
19093         (PACKET_VERSION): Likewise.
19094         (PACKET_HDRLEN): Likewise.
19095         (PACKET_RESERVE): Likewise.
19096         (PACKET_TX_RING): Likewise.
19097         (PACKET_LOSS): Likewise.
19098         (PACKET_VNET_HDR): Likewise.
19099         (PACKET_TX_TIMESTAMP): Likewise.
19100         (PACKET_TIMESTAMP): Likewise.
19101         (PACKET_FANOUT): Likewise.
19102         (PACKET_TX_HAS_OFF): Likewise.
19103         (PACKET_QDISC_BYPASS): Likewise.
19104         (PACKET_ROLLOVER_STATS): Likewise.
19105         (PACKET_FANOUT_DATA): Likewise.
19106         (PACKET_MR_UNICAST): Likewise.
19108         [BZ #19242]
19109         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
19110         (TOUPPER): Likewise.
19111         * stdlib/tst-strtol-locale-main.c: New file.
19112         * stdlib/tst-strtol-locale.c: Likewise.
19113         * stdlib/Makefile (tests): Add tst-strtol-locale.
19114         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
19115         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
19116         Depend on $(gen-locales).
19117         * wcsmbs/tst-wcstol-locale.c: New file.
19118         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
19119         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
19120         tr_TR.ISO-8859-9.
19121         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
19122         Depend on $(gen-locales).
19124 2015-11-20  Roland McGrath  <roland@hack.frob.com>
19126         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
19127         __glibc_likely instead of __builtin_expect.  After falling back to
19128         dyncode_create in a non-ET_DYN case, use the allocate_code_data
19129         system interface to register the code pages as occupied.
19131 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
19133         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19134         [!ARM_MATH_PRIVATE_H].
19135         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
19136         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19137         [!HPPA_MATH_PRIVATE_H].
19138         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
19139         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
19140         to [!I386_MATH_PRIVATE_H].
19141         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
19142         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
19143         Change guard to [!M68K_MATH_PRIVATE_H].
19144         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
19145         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
19146         guard to [!MICROBLAZE_MATH_PRIVATE_H].
19147         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
19148         macro.
19149         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19150         [!MIPS_MATH_PRIVATE_H].
19151         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
19152         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19153         [!NIO2_MATH_PRIVATE_H].
19154         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
19155         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19156         [!TILE_MATH_PRIVATE_H].
19157         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
19159         [BZ #15421]
19160         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
19161         initialize with 0 and define as weak alias of __signgam.
19162         * include/math.h [!_ISOMAC] (__signgam): Declare.
19163         * math/Makefile (libm-calls): Add w_lgamma_compat.
19164         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
19165         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
19166         test-signgam-ullong-init.
19167         (tests-static): Add test-signgam-uchar-static,
19168         test-signgam-uchar-init-static, test-signgam-uint-static,
19169         test-signgam-uint-init-static, test-signgam-ullong-static and
19170         test-signgam-ullong-init-static.
19171         (CFLAGS-test-signgam-uchar.c): New variable.
19172         (CFLAGS-test-signgam-uchar-init.c): Likewise.
19173         (CFLAGS-test-signgam-uchar-static.c): Likewise.
19174         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19175         (CFLAGS-test-signgam-uint.c): Likewise.
19176         (CFLAGS-test-signgam-uint-init.c): Likewise.
19177         (CFLAGS-test-signgam-uint-static.c): Likewise.
19178         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19179         (CFLAGS-test-signgam-ullong.c): Likewise.
19180         (CFLAGS-test-signgam-ullong-init.c): Likewise.
19181         (CFLAGS-test-signgam-ullong-static.c): Likewise.
19182         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19183         * math/Versions (libm): Add GLIBC_2.23.
19184         * math/lgamma-compat.h: New file.
19185         * math/test-signgam-main.c: Likewise.
19186         * math/test-signgam-uchar-init-static.c: Likewise.
19187         * math/test-signgam-uchar-init.c: Likewise.
19188         * math/test-signgam-uchar-static.c: Likewise.
19189         * math/test-signgam-uchar.c: Likewise.
19190         * math/test-signgam-uint-init-static.c: Likewise.
19191         * math/test-signgam-uint-init.c: Likewise.
19192         * math/test-signgam-uint-static.c: Likewise.
19193         * math/test-signgam-uint.c: Likewise.
19194         * math/test-signgam-ullong-init-static.c: Likewise.
19195         * math/test-signgam-ullong-init.c: Likewise.
19196         * math/test-signgam-ullong-static.c: Likewise.
19197         * math/test-signgam-ullong.c: Likewise.
19198         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
19199         wrapper of w_lgamma_main.c.
19200         * math/w_lgamma_compat.c: New file.
19201         * math/w_lgamma_compatf.c: Likewise.
19202         * math/w_lgamma_compatl.c: Likewise.
19203         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
19204         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19205         defining compatibility symbols.
19206         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
19207         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
19208         wrapper of w_lgammaf_main.c.
19209         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
19210         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19211         defining compatibility symbols.
19212         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
19213         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
19214         wrapper of w_lgammal_main.c.
19215         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
19216         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19217         defining compatibility symbols.
19218         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
19219         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
19220         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
19221         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
19222         <lgamma-compat.h>.
19223         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
19224         (__ieee754_gamma): Define as alias.
19225         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
19226         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
19227         <lgamma-compat.h>.
19228         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
19229         (__ieee754_gammaf): Define as alias.
19230         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
19231         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
19232         <lgamma-compat.h>.
19233         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
19234         (__ieee754_gammal): Define as alias.
19235         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
19236         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
19237         <math/w_lgamma_compat.c>.
19238         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
19239         Define as alias of __lgamma_compat and use in defining lgammal.
19240         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
19241         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
19242         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
19243         (USE_AS_COMPAT): New macro.
19244         (LGAMMA_OLD_VER): Undefine and redefine.
19245         (lgammal): Do not define here.
19246         (gammal): Only define here if [GAMMA_ALIAS].
19247         * conform/linknamespace.pl (@whitelist): Remove signgam.
19248         * sysdeps/nacl/libm.abilist: Update.
19249         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19250         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19251         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19252         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19253         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19254         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19255         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19256         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19257         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19258         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19259         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19260         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19262         Likewise.
19263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19264         Likewise.
19265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19266         Likewise.
19267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19268         Likewise.
19269         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19270         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19271         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19272         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19273         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19275         Likewise.
19276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19277         Likewise.
19278         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19279         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19280         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19282 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19284         [BZ #16364]
19285         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
19286         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
19288 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19290         * sysdeps/s390/fpu/bits/mathinline.h:
19291         Use __asm__ [__volatile__] instead of asm [volatile].
19292         * sysdeps/s390/abort-instr.h: Likewise.
19293         * sysdeps/s390/atomic-machine.h: Likewise.
19294         * sysdeps/s390/bits/string.h: Likewise.
19295         * sysdeps/s390/dl-tls.h: Likewise.
19296         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19297         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19298         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19299         * sysdeps/s390/fpu/fesetround.c: Likewise.
19300         * sysdeps/s390/fpu/fpu_control.h: Likewise.
19301         * sysdeps/s390/fpu/s_fma.c: Likewise.
19302         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
19303         * sysdeps/s390/memusage.h: Likewise.
19304         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
19305         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
19306         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
19307         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
19308         * sysdeps/s390/nptl/tls.h: Likewise.
19309         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
19310         * sysdeps/s390/s390-32/backtrace.c: Likewise.
19311         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19312         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
19313         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19314         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19315         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
19316         * sysdeps/s390/s390-64/backtrace.c: Likewise.
19317         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19318         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
19319         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
19320         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19321         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19322         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
19323         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19324         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19325         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
19326         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19327         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
19328         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19329         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
19330         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19331         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
19333 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19334             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19336         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19337         Add lwarx hint, and use macro for acquire instruction.
19338         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19339         Likewise.
19340         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
19341         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
19342         update to use new atomic macros.
19344 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19346         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19347         (__lll_trylock_elision): Fix setting of adapt_count.
19348         * sysdeps/unix/sysv/linux/powerpc/htm.h
19349         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
19350         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
19351         (_ABORT_SYSCALL): Renumber, and clarify definition.
19352         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
19354 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19356         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
19357         after system headers to prevent MIN/MAX redefinition.  Define
19358         HAVE_ALLOCA to preserve builtin alloca usage.
19360 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19362         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
19363         static and don't set or restore rounding.
19364         (__cos)[IN_SINCOS]: Likewise.
19365         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
19366         (__sincos): Set and restore rounding mode.  Remove check for infinite
19367         or NaN input.
19369         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
19371         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
19372         as used.
19374 2015-11-16  Florian Weimer  <fweimer@redhat.com>
19376         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
19378 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
19380         * config.make.in (have-glob-dat-reloc): New.
19381         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
19382         target supports GLOB_DAT relocaton. AC_SUBST.
19383         * configure: Regenerated.
19384         * elf/Makefile (tests): Add tst-prelink.
19385         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19386         (tst-prelink-ENV): New.
19387         ($(objpfx)tst-prelink-conflict.out): Likewise.
19388         ($(objpfx)tst-prelink-cmp.out): Likewise.
19389         * sysdeps/x86/tst-prelink.c: Moved to ...
19390         * elf/tst-prelink.c: Here.
19391         * sysdeps/x86/tst-prelink.exp: Moved to ...
19392         * elf/tst-prelink.exp: Here.
19393         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
19394         (tst-prelink-ENV): Removed.
19395         ($(objpfx)tst-prelink-conflict.out): Likewise.
19396         ($(objpfx)tst-prelink-cmp.out): Likewise.
19397         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
19399 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
19401         [BZ #14551]
19402         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
19403         (__mpn_construct_long_double): If high part overflows to infinity,
19404         set errno and recompute overflowed result of the correct sign.
19405         * sysdeps/ieee754/ldbl-128ibm/Makefile
19406         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
19407         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
19408         $(libm).
19409         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
19411 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
19413         [BZ #15479]
19414         [BZ #19238]
19415         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
19416         floating-point state after first operation on input.  Restore full
19417         state rather than just rounding mode.
19418         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19419         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19420         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19422         [BZ #19235]
19423         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
19424         add 0.5 to integer arguments.
19425         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
19426         Likewise.
19427         (.LC2): New object.
19429 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
19431         * scripts/pylintrc (reports): Set to no.
19433 2015-11-10  Roland McGrath  <roland@hack.frob.com>
19435         * elf/dl-load.c (open_verify): Take new argument FD.
19436         Skip __open call if passed FD is not -1.
19437         (_dl_map_object, open_path): Update callers.
19438         * elf/dl-sysdep-open.h: New file.
19439         * elf/dl-load.c: Include it.
19440         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
19441         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
19442         * sysdeps/nacl/dl-sysdep-open.h: New file.
19443         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
19444         from libc to rtld.
19446 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19448         [BZ #19228]
19449         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
19450         and restore full floating-point state.
19451         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19452         Likewise.
19453         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19454         Likewise.
19455         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19456         Likewise.
19457         * math/test-nearbyint-except-2.c: New file.
19458         * math/Makefile (tests): Add test-nearbyint-except-2.
19460 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
19462         [BZ #19178]
19463         * sysdeps/x86/Makefile (tests): Add tst-prelink.
19464         (tst-prelink-ENV): New.
19465         ($(objpfx)tst-prelink-conflict.out): Likewise.
19466         ($(objpfx)tst-prelink-cmp.out): Likewise.
19467         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19468         * sysdeps/x86/tst-prelink.c: New file.
19469         * sysdeps/x86/tst-prelink.exp: Likewise.
19471 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19473         * math/auto-libm-test-in: Add another test of pow.
19474         * math/auto-libm-test-out: Regenerated.
19475         * math/libm-test.inc (pow_test_data): Add another test.
19477 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19479         [BZ #19219]
19480         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
19481         weak_alias to nearbyintl.
19483 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19485         * sysdeps/aarch64/bits/string.h: New file.
19486         (_STRING_ARCH_unaligned): Define.
19488 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19490         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
19491         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19492         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19493         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
19494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
19496 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
19498         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
19499         for original name of the DSO.  Add it to the name list of the DSO
19500         if it is actually given.
19501         (_dl_map_object): Keep track of whether an audit module rewrote
19502         the file name.  If yes, pass the original name to
19503         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
19504         debugging is enabled, log the change of the file name.
19505         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
19506         _dl_map_object_from_fd.
19507         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
19508         * elf/tst-audit11.c: New file
19509         * elf/tst-auditmod11.c: New file.
19510         * elf/tst-audit11mod1.c: New file.
19511         * elf/tst-audit11mod2.c: New file.
19512         * elf/tst-audit11mod2.map: New file.
19513         * elf/tst-audit12.c: New file
19514         * elf/tst-auditmod12.c: New file.
19515         * elf/tst-audit12mod1.c: New file.
19516         * elf/tst-audit12mod2.c: New file.
19517         * elf/tst-audit12mod2.map: New file.
19518         * elf/tst-audit12mod3.c: New file.
19520 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19522         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
19523         Don't create weak aliases,
19524         because versioned symbols are created later.
19525         * sysdeps/s390/s390-32/setjmp.S
19526         (setjmp, _setjmp): Remove weak and rename to an unique name
19527         in SHARED case due to existing versioned symbols.
19528         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19529         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
19530         (getcontext): Create weak alias only in non SHARED case.
19531         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19533 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19535         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
19536         (__ASSUME_*_SYSCALL) Define new macros.
19537         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
19538         Remove socketcall syscalls.
19539         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
19540         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
19541         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
19542         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
19543         * sysdeps/unix/sysv/linux/send.c (__libc_send):
19544         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
19546 2015-11-09  Florian Weimer  <fweimer@redhat.com>
19548         [BZ #12926]
19549         Terminate process on invalid netlink response.
19550         * sysdeps/unix/sysv/linux/netlinkaccess.h
19551         (__netlink_assert_response): Declare.
19552         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
19553         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
19554         (sysdep_routines): Add netlink_assert_response.
19555         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
19556         __netlink_assert_response.
19557         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19558         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19559         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
19560         __netlink_assert_response.
19562 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19564         [BZ #19178]
19565         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
19566         (RTYPE_CLASS_PLT): Likewise.
19567         (RTYPE_CLASS_COPY): Likewise.
19568         (RTYPE_CLASS_TLS): Likewise.
19569         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
19570         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
19571         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
19572         DL_DEBUG_PRELINK.
19574 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
19576         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
19577         calls with argument -0.5.
19578         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
19580         * configure.ac (libc_cv_z_nodelete): Remove configure test.
19581         (libc_cv_z_nodlopen): Likewise.
19582         (libc_cv_z_initfirst): Likewise.
19583         * configure: Regenerated.
19585 2015-11-06  Florian Weimer  <fweimer@redhat.com>
19587         Simplify abilist format to be line-based.
19588         * scripts/abilist.awk: Collect descriptors in the descs variable.
19589         (emit): Write descs variable and sort it
19590         externally, with sort.
19591         * sysdeps/**/*.abilist: Convert to new format.
19593 2015-11-06  Mark Wielaard  <mjw@redhat.com>
19595         [BZ #11460]
19596         * io/Makefile (routines): Add fts64.
19597         (tests): Add tst-fts and tst-fts-lfs.
19598         (CFLAGS-fts64.c): New.
19599         * io/Versions (GLIBC_2.23): New.
19600         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
19601         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
19602         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
19603         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
19604         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
19605         (FTSENT64): Likewise.
19606         (fts64_children): Likewise.
19607         (fts64_close): Likewise.
19608         (fts64_open): Likewise.
19609         (fts64_read): Likewise.
19610         (fts64_set): Likewise.
19611         * io/fts64.c: New file.
19612         * io/tst-fts.c: New test.
19613         * io/tst-fts-lfs.c: Likewise.
19614         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
19615         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
19616         fts64_set.
19617         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19618         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19619         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19620         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19621         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19622         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19623         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19624         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19625         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19626         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19627         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19628         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19629         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19631         Likewise.
19632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19633         Likewise.
19634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19636         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19637         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19638         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19639         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19640         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19643         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19644         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19645         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19646         * sysdeps/wordsize-64/fts.c: New file.
19647         * sysdeps/wordsize-64/fts64.c: Likewise.
19648         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
19649         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
19650         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
19651         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
19653 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19655         * math/libm-test.inc (NON_FINITE): New macro.
19656         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
19657         * math/gen-libm-test.pl (show_exceptions): Add argument
19658         $non_finite.
19659         (parse_args): Update call to show_exceptions.
19660         * math/test-math-finite.h: New file.
19661         * math/test-math-no-finite.h: Likewise.
19662         * math/test-double-finite.c: Likewise.
19663         * math/test-float-finite.c: Likewise.
19664         * math/test-ldouble-finite.c: Likewise.
19665         * math/test-double.c: Include "test-math-no-finite.h".
19666         * math/test-float.c: Include "test-math-no-finite.h".
19667         * math/test-ldouble.c: Include "test-math-no-finite.h".
19668         * math/test-math-inline.h (TEST_FINITE): New macro.
19669         * math/test-math-vector.h (TEST_FINITE): Likewise.
19670         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
19671         (libm-tests): Add test-float-finite and test-double-finite.
19672         ($(objpfx)test-float-finite.o): New dependency on
19673         $(objpfx)libm-test.stmp.
19674         ($(objpfx)test-double-finite.o): Likewise.
19675         ($(objpfx)test-ldouble-finite.o): Likewise.
19676         (libm-test-no-inline-cflags): New variable.
19677         (libm-test-finite-cflags): Likewise.
19678         (CFLAGS-test-float-finite.c): Likewise.
19679         (CFLAGS-test-double-finite.c): Likewise.
19680         (CFLAGS-test-ldouble-finite.c): Likewise.
19681         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
19682         (CFLAGS-test-double.c): Likewise.
19683         (CFLAGS-test-ldouble.c): Likewise.
19685 2015-11-05  Roland McGrath  <roland@hack.frob.com>
19687         * io/fcntl.c (__fcntl): Add ... to prototype.
19688         * misc/ioctl.c (__ioctl): Likewise.
19689         * misc/syscall.c (syscall): Likewise.
19691 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19693         * scripts/list-fixed-bugs.py: New file.
19695         [BZ #19213]
19696         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
19697         returned for argument 1.
19698         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
19699         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
19700         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
19701         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
19702         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
19703         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
19705         [BZ #19211]
19706         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
19707         __USE_XOPEN], not if [!__USE_ISOC99].
19708         (lgammaf): Likewise.
19709         (lgammal): Likewise.
19710         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
19711         (gammaf): Likewise.
19712         (gammal): Likewise.
19713         * math/test-signgam-finite-c11.c: New file.
19714         * math/test-signgam-finite-c99.c: Likewise.
19715         * math/test-signgam-finite.c: Likewise.
19716         * math/Makefile (tests): Add test-signgam-finite,
19717         test-signgam-finite-c99 and test-signgam-finite-c11.
19718         (CFLAGS-test-signgam-finite.c): New variable.
19719         (CFLAGS-test-signgam-finite-c99.c): Likewise.
19720         (CFLAGS-test-signgam-finite-c11.c): Likewise.
19722         [BZ #19212]
19723         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
19724         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
19725         500].
19726         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
19727         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
19728         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
19729         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
19730         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
19731         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
19732         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
19733         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
19734         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
19735         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
19737         [BZ #19209]
19738         * math/bits/math-finite.h (ldexp): Remove declaration.
19739         (ldexpf): Likewise.
19740         (ldexpl): Likewise.
19742         [BZ #19205]
19743         * math/bits/math-finite.h (acosf): Condition declaration on
19744         [__USE_ISOC99].
19745         (acosl): Likewise.
19746         (acoshf): Likewise.
19747         (acoshl): Likewise.
19748         (asinf): Likewise.
19749         (asinl): Likewise.
19750         (atan2f): Likewise.
19751         (atan2l): Likewise.
19752         (atanhf): Likewise.
19753         (atanhl): Likewise.
19754         (coshf): Likewise.
19755         (coshl): Likewise.
19756         (expf): Likewise.
19757         (expl): Likewise.
19758         (fmodf): Likewise.
19759         (fmodl): Likewise.
19760         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
19761         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
19762         (j0l): Likewise.
19763         (y0f): Likewise.
19764         (y0l): Likewise.
19765         (j1f): Likewise.
19766         (j1l): Likewise.
19767         (y1f): Likewise.
19768         (y1l): Likewise.
19769         (jnf): Likewise.
19770         (jnl): Likewise.
19771         (ynf): Likewise.
19772         (ynl): Likewise.
19773         (lgammaf_r): Condition declaration on [__USE_ISOC99].
19774         (lgammal_r): Likewise.
19775         (__lgamma_r_finite): New declaration.
19776         (__lgammaf_r_finite): Likewise.
19777         (__lgammal_r_finite): Likewise.
19778         (lgamma): Use __lgamma_r_finite.
19779         (lgammaf): Condition definition on [__USE_ISOC99].  Use
19780         __lgammaf_r_finite.
19781         (lgammal): Condition definition on [__USE_ISOC99].  Use
19782         __lgammal_r_finite.
19783         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
19784         __lgamma_r_finite.
19785         (gammaf): Condition definition on [__USE_ISOC99].  Use
19786         __lgammaf_r_finite.
19787         (gammal): Condition definition on [__USE_ISOC99].  Use
19788         __lgammal_r_finite.
19789         (logf): Condition declaration on [__USE_ISOC99].
19790         (logl): Likewise.
19791         (log10f): Likewise.
19792         (log10l): Likewise.
19793         (ldexpf): Likewise.
19794         (ldexpl): Likewise.
19795         (powf): Likewise.
19796         (powl): Likewise.
19797         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
19798         __USE_ISOC99].
19799         (remainderf): Condition declaration on [__USE_ISOC99].
19800         (remainderl): Likewise.
19801         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
19802         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
19803         (scalbl): Likewise.
19804         (sinhf): Condition declaration on [__USE_ISOC99].
19805         (sinhl): Likewise.
19806         (sqrtf): Likewise.
19807         (sqrtl): Likewise.
19809 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19811         * sysdeps/arm/atomic-machine.h
19812         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19813         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19814         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
19815         Remove conditional code.
19816         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19817         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19818         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
19819         Change conditional to [__ASSEMBLER__].
19820         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19821         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
19822         [!__ASSEMBLER__].
19823         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
19824         code.
19825         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
19826         conditional macro definitions.
19827         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
19828         (__arch_compare_and_exchange_val_16_acq): Likewise.
19829         (__arch_compare_and_exchange_val_32_acq): Likewise.
19830         (atomic_exchange_and_add): Likewise.
19831         (atomic_add): Likewise.
19832         (atomic_add_negative): Likewise.
19833         (atomic_add_zero): Likewise.
19834         (atomic_bit_set): Likewise.
19835         (atomic_bit_test_set): Likewise.
19836         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
19837         code unconditional.
19838         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19840         * math/test-math-errno.h: New file.
19841         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
19842         empty.
19843         (TEST_ERRNO): New macro.
19844         (TEST_EXCEPTIONS): Likewise.
19845         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
19846         (TEST_EXCEPTIONS): Likewise.
19847         * math/test-math-vector.h (TEST_ERRNO): Likewise.
19848         * math/test-double.c: Include "test-math-errno.h".
19849         * math/test-float.c: Likewise.
19850         * math/test-ldouble.c: Likewise.
19851         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
19852         code unconditional.
19853         (test_exceptions): Only run code if TEST_EXCEPTIONS.
19854         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
19855         unconditional.
19856         (test_errno): Only run code if TEST_ERRNO.
19857         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
19859 2015-11-04  Florian Weimer  <fweimer@redhat.com>
19861         * nptl/tst-once5.cc: Remove attribution.
19863 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19865         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
19866         sqrt, tan, tanh, y0, y1 and yn.
19867         * math/auto-libm-test-out: Regenerated.
19868         * math/libm-test.inc (scalb_test_data): Add more tests.
19869         (scalbn_test_data): Likewise.
19870         (scalbln_test_data): Likewise.
19871         (signbit_test_data): Likewise.
19872         (sin_test_data): Likewise.
19873         (sincos_test_data): Likewise.
19874         (sinh_test_data): Likewise.
19875         (sqrt_test_data): Likewise.
19876         (tan_test_data): Likewise.
19877         (tanh_test_data): Likewise.
19878         (tgamma_test_data): Likewise.
19879         (y0_test_data): Likewise.
19880         (y1_test_data): Likewise.
19881         (yn_test_data): Likewise.
19882         (significand_test_data): Likewise.
19883         * sysdeps/i386/fpu/libm-test-ulps: Update.
19885 2015-11-03  David Kastrup  <dak@gnu.org>
19887         [BZ #18604]
19888         * assert/assert.h (assert): Don't macro-expand failed assertion
19889         expression in error message.
19890         * malloc/malloc.c (assert): Likewise.
19892 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
19894         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
19895         test.
19896         * configure: Regenerated.
19898 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
19900         * math/libm-test.inc (modf_test_data): Add more tests.
19901         (nearbyint_test_data): Likewise.
19902         (nextafter_test_data): Likewise.
19903         (nexttoward_test_data): Likewise.
19904         (pow_test_data): Likewise.
19905         (remainder_test_data): Likewise.
19906         (remquo_test_data): Likewise.
19907         (rint_test_data): Likewise.
19909         [BZ #19201]
19910         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19911         Check for zero remainder in case of large exponents and ensure
19912         correct sign of result in that case.
19913         * math/libm-test.inc (remainder_test_data): Add more tests.
19915         [BZ #6799]
19916         * math/s_nextafter.c: Include <errno.h>.
19917         (__nextafter): Set errno on overflow and underflow.
19918         * math/s_nexttowardf.c: Include <errno.h>.
19919         (__nexttowardf): Set errno on overflow and underflow.
19920         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
19921         (__nextafterl): Set errno on overflow and underflow.
19922         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
19923         (__nexttoward): Set errno on overflow and underflow.
19924         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
19925         (__nexttowardf): Set errno on overflow and underflow.
19926         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
19927         (__nextafterf): Set errno on overflow and underflow.
19928         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
19929         (__nextafterl): Set errno on overflow and underflow.
19930         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
19931         (__nexttoward): Set errno on overflow and underflow.
19932         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
19933         (__nexttowardf): Set errno on overflow and underflow.
19934         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
19935         (__nextafterl): Set errno on overflow and underflow.
19936         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
19937         (__nexttoward): Set errno on overflow and underflow.
19938         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
19939         (__nexttowardf): Set errno on overflow and underflow.
19940         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
19941         (__nexttoward): Set errno on overflow and underflow.
19942         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
19943         (__nexttowardf): Set errno on overflow and underflow.
19944         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
19945         (__nldbl_nexttowardf): Set errno on overflow and underflow.
19946         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
19947         (__nextafterl): Set errno on overflow and underflow.
19948         * math/libm-test.inc (nextafter_test_data): Do not allow errno
19949         setting to be missing on overflow.  Add more tests.
19950         (nexttoward_test_data): Likewise.
19952         * configure.ac (libc_cv_initfini_array): Remove configure test.
19953         * configure: Regenerated.
19955 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
19957         [BZ #19189]
19958         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
19959         non-finite argument handle arguments with negative sign.
19961         * math/libm-test.inc (j0_test_data): Do not test sign of zero
19962         result from infinite argument.
19963         (j1_test_data): Likewise.
19964         (jn_test_data): Likewise.
19965         (y0_test_data): Likewise.
19966         (y1_test_data): Likewise.
19967         (yn_test_data): Likewise.
19969         [BZ #16171]
19970         * math/w_remainder.c (drem): Define as weak alias of __remainder.
19971         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
19972         * math/w_remainderf.c (dremf): Define as weak alias of
19973         __remainderf.
19974         * math/w_remainderl.c (dreml): Define as weak alias of
19975         __remainderl.
19976         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
19977         __remainder.
19978         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
19979         __remainderf.
19980         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
19981         __remainderl.
19982         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
19983         weak alias of remainderl.
19984         * sysdeps/ieee754/ldbl-opt/w_remainder.c
19985         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
19986         alias of __remainder.
19987         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
19988         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
19989         strong alias of __remainderl.
19990         (dreml): Use long_double_symbol.
19991         * math/Makefile (libm-calls): Remove w_drem.
19992         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
19993         (CFLAGS-nldbl-drem.c): Remove variable.
19994         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
19995         * math/w_drem.c: Remove file.
19996         * math/w_dremf.c: Likewise.
19997         * math/w_dreml.c: Likewise.
19998         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
19999         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
20000         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
20002         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
20003         * sysdeps/i386/configure: Regenerated.
20004         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
20005         * sysdeps/x86_64/configure: Regenerated.
20007         * configure.ac (libc_cv_asm_protected_directive): Remove configure
20008         test.
20009         (libc_cv_visibility_attribute): Likewise.
20010         (libc_cv_protected_data): Test unconditionally.
20011         (libc_cv_broken_visibility_attribute): Remove configure test.
20012         (libc_cv_have_sdata_section): Test unconditionally.
20013         * configure: Regenerated.
20015         * include/libc-internal.h (libc_max_align_t): Remove typedef.
20016         * include/scratch_buffer.h: Include <stddef.h> instead of
20017         <libc-internal.h>.
20018         (struct scratch_buffer): Use max_align_t instead of
20019         libc_max_align_t.
20021 2015-10-29  Florian Weimer  <fweimer@redhat.com>
20023         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
20024         instead of extend_alloca.  Change control flow to avoid a goto.
20025         Remove assert which is trivially always true.
20027 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20029         [BZ #16068]
20030         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
20031         (FE_ALL_EXCEPT_X86): New macro.
20032         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20033         FE_ALL_EXCEPT.  Ensure precision control is included in
20034         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20035         handle "denormal operand exception" and clear FZ and DAZ bits.
20036         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
20037         (FE_ALL_EXCEPT_X86): New macro.
20038         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20039         FE_ALL_EXCEPT.  Ensure precision control is included in
20040         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20041         handle "denormal operand exception" and clear FZ and DAZ bits.
20042         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
20043         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
20044         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20045         test-fenv-x87 and test-fenv-sse-2.
20046         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
20048         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
20049         * math/test-double.h (BUILD_COMPLEX): New macro.
20050         * math/test-float.h (BUILD_COMPLEX): Likewise.
20051         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
20053         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
20054         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
20055         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
20056         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
20057         instead of DBL_DENORM_MIN in comment.
20058         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
20059         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20060         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
20061         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
20062         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
20063         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20065 2015-10-28  Florian Weimer  <fweimer@redhat.com>
20067         [BZ# 19048]
20068         * malloc/malloc.c (struct malloc_state): Update comment.  Add
20069         attached_threads member.
20070         (main_arena): Initialize attached_threads.
20071         * malloc/arena.c (list_lock): Update comment.
20072         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
20073         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
20074         (deattach_arena): New function.
20075         (_int_new_arena): Initialize arena reference count and deattach
20076         replaced arena.
20077         (get_free_list, reused_arena): Update reference count and deattach
20078         replaced arena.
20079         (arena_thread_freeres): Update arena reference count and only put
20080         unreferenced arenas on the free list.
20082 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20084         [BZ #19181]
20085         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
20086         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
20087         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
20088         * math/test-fenv-clear-main.c: New file.
20089         * math/test-fenv-clear.c: Likewise.
20090         * math/Makefile (tests): Add test-fenv-clear.
20091         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
20092         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20093         test-fenv-clear-sse.
20094         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
20096         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
20097         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
20098         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
20100 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20102         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
20103         static libc.
20105 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20107         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
20108         test.
20109         * sysdeps/i386/configure: Regenerated.
20110         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
20111         test.
20112         * sysdeps/x86_64/configure: Regenerated.
20113         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
20114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20115         memset-avx2 unconditionally instead of conditionally on
20116         [$(config-cflags-avx2) = yes].
20117         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20118         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
20119         unconditional.
20120         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
20121         * sysdeps/x86_64/multiarch/memset_chk.S
20122         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
20123         to [IS_IN (libc) && SHARED].
20125 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20127         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
20128         configure test.
20129         * sysdeps/arm/configure: Regenerated.
20130         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
20131         Define variable if not already defined.
20133         [BZ #17404]
20134         * sysdeps/mips/atomic-machine.h
20135         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
20136         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
20137         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20139         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
20140         unconditional.
20141         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
20142         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20143         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
20144         unconditional.
20145         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20146         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
20147         unconditional.
20148         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20149         * stdlib/setenv.c
20150         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
20151         code unconditional.
20152         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
20153         Remove conditional code.
20154         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
20155         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
20156         unconditional.
20157         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20158         code.
20159         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
20160         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
20161         unconditional.
20162         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20163         code.
20164         * sysdeps/ieee754/ldbl-128/k_tanl.c
20165         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20166         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20167         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
20168         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20169         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20170         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
20171         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
20172         unconditional.
20173         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20174         code.
20175         * sysdeps/ieee754/ldbl-96/k_tanl.c
20176         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20177         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20179         * nptl/tst-initializers1-c11.c: New file.
20180         * nptl/tst-initializers1-gnu11.c: Likewise.
20181         * nptl/Makefile (tests): Add these new tests.
20182         (CFLAGS-tst-initializers1-c11.c): New variable.
20183         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20185         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
20186         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
20187         instead of -std=gnu99.
20188         * configure.ac (systemtap): Test with -std=gnu11 instead of
20189         -std=gnu99.
20190         * configure: Regenerated.
20191         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
20192         in compilation command in comment.
20194         * sysdeps/nptl/configure.ac: Remove file.
20195         * sysdeps/nptl/configure: Remove generated file.
20196         * configure.ac (libc_cv_forced_unwind): Do not substitute.
20197         * configure: Regenerated.
20198         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
20199         * config.make.in (have-forced-unwind): Remove variable.
20200         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
20201         unconditional.
20202         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
20203         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
20204         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
20205         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
20206         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
20207         unconditional.
20209 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20211         [BZ #19174]
20212         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
20213         .skip_lock_out_of_tbegin_retries.
20214         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20215         (__lll_lock_elision): Likewise, and respect a value of
20216         try_tbegin <= 0.
20218 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20220         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
20221         statement.
20223 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20225         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
20226         variable.
20227         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20228         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20230         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
20231         of -std=c1x -D_ISOC11_SOURCE.
20233         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
20234         * configure: Regenerated.
20235         * manual/install.texi (Tools for Compilation): Document
20236         requirement for GCC 4.7 or later.
20237         * INSTALL: Regenerated.
20239 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
20241         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
20242         on CNT to a conditional jump to 'puntdata'.
20244 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20246         * configure.ac (libc_cv_gcc___thread): Remove configure test.
20247         (libc_cv_gcc_tls_model_attr): Likewise.
20248         * configure: Regenerated.
20250         * configure.ac (libc_cv_need_minus_P): Remove configure test.
20251         * configure: Regenerated.
20252         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
20254 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
20256         * configure.ac (old_glibc_headers): Remove configure test.
20257         * configure: Regenerated.
20258         * config.make.in (old-glibc-headers): Remove variable.
20259         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
20260         (install): Remove dependency on remove-old-headers.
20261         (headers2_0): Remove variable.
20262         (remove-old-headers): Remove rule.
20264         * configure.ac (libc_cv_dot_text): Remove configure test.
20265         (libc_cv_asm_set_directive): Use .text instead of
20266         ${libc_cv_dot_text} in configure test.
20267         * configure: Regenerated.
20269 2015-10-26  Florian Weimer  <fweimer@redhat.com>
20271         [BZ #19168]
20272         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20274 2015-10-26  Florian Weimer  <fweimer@redhat.com>
20276         * configure.ac (CXX): Clear the variable if the C++ toolchain does
20277         not support static linking.
20278         * configure: Regenerate.
20280 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
20282         * math/libm-test.inc (check_float_internal): Do not special-case
20283         errors up to 0.5 ulp.
20285         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20286         log2.
20287         * math/auto-libm-test-out: Regenerated.
20288         * math/libm-test.inc (MAX_EXP): New macro.
20289         (ilogb_test_data): Add more tests.
20290         (isfinite_test_data): Likewise.
20291         (isgreater_test_data): Likewise.
20292         (isgreaterequal_test_data): Likewise.
20293         (isinf_test_data): Likewise.
20294         (isless_test_data): Likewise.
20295         (islessequal_test_data): Likewise.
20296         (islessgreater_test_data): Likewise.
20297         (isnan_test_data): Likewise.
20298         (isnormal_test_data): Likewise.
20299         (issignaling_test_data): Likewise.
20300         (isunordered_test_data): Likewise.
20301         (j0_test_data): Likewise.
20302         (j1_test_data): Likewise.
20303         (jn_test_data): Likewise.
20304         (lgamma_test_data): Likewise.
20305         (log_test_data): Likewise.
20306         (log10_test_data): Likewise.
20307         (log1p_test_data): Likewise.
20308         (log2_test_data): Likewise.
20309         (logb_test_data): Likewise.
20310         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20312         [BZ #18611]
20313         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
20314         avoid excess range and precision on underflow.
20315         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20316         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20317         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20318         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
20319         underflow.
20320         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20321         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20322         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20323         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20324         * math/auto-libm-test-in: Do not allow missing errno setting for
20325         tests of j1 and jn.
20326         * math/auto-libm-test-out: Regenerated.
20328 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
20330         [BZ #15491]
20331         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
20332         floating-point environment instead of clearing all exceptions.
20333         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
20334         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
20335         merging in "invalid" exceptions from frndint.
20336         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
20337         * math/test-nearbyint-except.c: New file.
20338         * math/Makefile (tests): Add test-nearbyint-except.
20340 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
20342         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
20344         * sysdeps/tile/libm-test-ulps: Regenerated.
20346 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
20349         (__NR_sync_file_range2): Assume it is always defined.
20350         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20351         (__NR_sync_file_range): Assume it is always defined.
20353 2015-10-22  Andreas Schwab  <schwab@suse.de>
20355         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20356         INTERNAL_SYSCALL_ERRNO.
20357         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20358         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20359         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20360         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20361         Likewise.
20362         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20364 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20366         * io/tst-fcntl.c (fd): New static variable.
20367         (do_prepare): Open temporary file here....
20368         (do_test): ...not here.
20370         * io/ftwtest-sh: Also trap on exit to remove temporary files.
20372 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20374         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
20375         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20376         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20377         Moved before "#ifdef __ASSEMBLER__".
20379 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20381         [BZ #19156]
20382         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
20383         arguments very close to 0.
20385 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
20387         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
20388         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
20390 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20392         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20393         New.  Defined for GCC 5 and above when not compiling for
20394         profiling.
20395         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20397         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20398         Renamed to ...
20399         (CFLAGS-epoll_pwait.o): This.
20400         (CFLAGS-mmap.c): Renamed to ...
20401         (CFLAGS-mmap.o): This.
20402         (CFLAGS-mmap64.c): Renamed to ...
20403         (CFLAGS-mmap64.o): This.
20404         (CFLAGS-epoll_pwait.os): New.
20405         (CFLAGS-mmap.os): Likewise.
20406         (CFLAGS-mmap64.os): Likewise.
20407         (CFLAGS-semtimedop.os): Likewise.
20408         (CFLAGS-semtimedop.c): Renamed to ...
20409         (CFLAGS-semtimedop.o): This.
20411 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20413         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
20414         warning message.
20416 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20418         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
20419         * Makefile ($(objpfx)c++-types-check.out): Filter out
20420         $(+gccwarn-c) instead of -Wstrict-prototypes.
20422         * io/fts.c (fts_open): Convert to prototype-style function
20423         definition.
20424         * malloc/mcheck.c (mcheck): Likewise.
20425         (mcheck_pedantic): Likewise.
20426         * posix/regexec.c (re_search_2_stub): Likewise.  Use
20427         internal_function.
20428         (re_search_internal): Likewise.
20429         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
20430         prototype-style function definition.
20431         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20432         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
20433         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
20434         (xdr_utmpptr): Likewise.
20435         (xdr_utmparr): Likewise.
20436         (xdr_utmpidle): Likewise.
20437         (xdr_utmpidleptr): Likewise.
20438         (xdr_utmpidlearr): Likewise.
20440         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
20441         log, log10 and log2.
20442         * math/auto-libm-test-out: Regenerated.
20443         * math/libm-test.inc (fmod_test_data): Add more tests.
20444         (fpclassify_test_data): Likewise.
20445         (frexp_test_data): Likewise.
20446         (hypot_test_data): Likewise.
20447         (ilogb_test_data): Likewise.
20449 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
20451         * debug/fortify_fail.c (__fortify_fail): Convert to
20452         prototype-style function definition.  Use internal_function.
20453         * libio/genops.c (save_for_backup): Convert to prototype-style
20454         function definition.
20455         * libio/wgenops.c (save_for_wbackup): Likewise.
20456         * login/grantpt.c (grantpt): Likewise.
20457         * login/ptsname.c (ptsname): Likewise.
20458         (__ptsname_r): Likewise.
20459         * login/unlockpt.c (unlockpt): Likewise.
20460         * mach/msgserver.c (__mach_msg_server): Likewise.
20461         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
20462         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
20463         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
20464         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
20465         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
20466         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
20467         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
20468         Likewise.
20469         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
20470         internal_function.
20471         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
20472         prototype-style function definition.
20473         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
20474         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
20475         (__pthread_create_2_0): Likewise.
20476         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
20477         * nptl/register-atfork.c (__register_atfork): Likewise.
20478         * posix/glob.c (glob): Likewise.
20479         * posix/regcomp.c (re_comp): Likewise.
20480         * posix/regexec.c (re_exec): Likewise.
20481         * stdlib/add_n.c [__STDC__]: Make code unconditional.
20482         [!__STDC__]: Remove conditional code.
20483         * stdlib/cmp.c [__STDC__]: Make code unconditional.
20484         [!__STDC__]: Remove conditional code.
20485         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
20486         [!__STDC__]: Remove conditional code.
20487         * stdlib/divrem.c [__STDC__]: Make code unconditional.
20488         [!__STDC__]: Remove conditional code.
20489         * stdlib/lshift.c [__STDC__]: Make code unconditional.
20490         [!__STDC__]: Remove conditional code.
20491         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
20492         [!__STDC__]: Remove conditional code.
20493         * stdlib/mul.c [__STDC__]: Make code unconditional.
20494         [!__STDC__]: Remove conditional code.
20495         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
20496         [!__STDC__]: Remove conditional code.
20497         * stdlib/rshift.c [__STDC__]: Make code unconditional.
20498         [!__STDC__]: Remove conditional code.
20499         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
20500         function definition.
20501         (STRTOF): Likewise.
20502         * stdlib/strtod_l.c (__STRTOF): Likewise.
20503         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
20504         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
20505         (__strtol_l): Likewise.
20506         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
20507         [!__STDC__]: Remove conditional code.
20508         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
20509         definition.
20510         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20511         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20512         type.
20513         (__strcasecmp): Convert to prototype-style function definition.
20514         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
20515         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20516         type.
20517         (__strncasecmp): Convert to prototype-style function definition.
20518         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
20519         * sunrpc/xdr.c (xdr_union): Likewise.
20520         * sunrpc/xdr_array.c (xdr_array): Likewise.
20521         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
20522         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
20523         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
20524         Likewise.
20525         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
20526         Likewise.
20527         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
20528         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20529         Likewise.
20530         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
20531         (LOCALE_PARAM_PROTO): Likewise.
20532         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
20533         argument type.
20534         (ut_argument_spec): Remove macro.
20535         (ut_argument_spec_iso): Rename to ut_argument_spec.
20536         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
20537         prototype-style function definition.
20538         (memcpy_uppcase): Likewise.
20539         (__strftime_internal): Likewise.
20540         (my_strftime): Likewise.
20541         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
20542         (LOCALE_PARAM_DECL): Likewise.
20543         [_LIBC] (LOCALE_PARAM): Include argument type.
20544         (__strptime_internal): Convert to prototype-style function
20545         definition.
20546         (strptime): Likewise.
20547         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20548         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20549         type.
20550         (__wcscasecmp): Convert to prototype-style function definition.
20551         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
20552         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20553         type.
20554         (__wcsncasecmp): Convert to prototype-style function definition.
20556         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
20557         function definition.
20558         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20559         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20560         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
20561         * elf/dl-minimal.c (_itoa): Likewise.
20562         * hurd/hurdmalloc.c (malloc): Likewise.
20563         (free): Likewise.
20564         (realloc): Likewise.
20565         * inet/inet6_option.c (inet6_option_space): Likewise.
20566         (inet6_option_init): Likewise.
20567         (inet6_option_append): Likewise.
20568         (inet6_option_alloc): Likewise.
20569         (inet6_option_next): Likewise.
20570         (inet6_option_find): Likewise.
20571         * io/ftw.c (FTW_NAME): Likewise.
20572         (NFTW_NAME): Likewise.
20573         (NFTW_NEW_NAME): Likewise.
20574         (NFTW_OLD_NAME): Likewise.
20575         * libio/iofwide.c (_IO_fwide): Likewise.
20576         * libio/strops.c (_IO_str_init_static_internal): Likewise.
20577         (_IO_str_init_static): Likewise.
20578         (_IO_str_init_readonly): Likewise.
20579         (_IO_str_overflow): Likewise.
20580         (_IO_str_underflow): Likewise.
20581         (_IO_str_count): Likewise.
20582         (_IO_str_seekoff): Likewise.
20583         (_IO_str_pbackfail): Likewise.
20584         (_IO_str_finish): Likewise.
20585         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
20586         (_IO_wstr_overflow): Likewise.
20587         (_IO_wstr_underflow): Likewise.
20588         (_IO_wstr_count): Likewise.
20589         (_IO_wstr_seekoff): Likewise.
20590         (_IO_wstr_pbackfail): Likewise.
20591         (_IO_wstr_finish): Likewise.
20592         * locale/programs/localedef.c (normalize_codeset): Likewise.
20593         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20594         (add_locales_to_archive): Likewise.
20595         (delete_locales_from_archive): Likewise.
20596         * malloc/malloc.c (__libc_mallinfo): Likewise.
20597         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
20598         * misc/tsearch.c (__tfind): Likewise.
20599         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
20600         * nptl/pthread_attr_getdetachstate.c
20601         (__pthread_attr_getdetachstate): Likewise.
20602         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
20603         Likewise.
20604         * nptl/pthread_attr_getinheritsched.c
20605         (__pthread_attr_getinheritsched): Likewise.
20606         * nptl/pthread_attr_getschedparam.c
20607         (__pthread_attr_getschedparam): Likewise.
20608         * nptl/pthread_attr_getschedpolicy.c
20609         (__pthread_attr_getschedpolicy): Likewise.
20610         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
20611         Likewise.
20612         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
20613         Likewise.
20614         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
20615         Likewise.
20616         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
20617         Likewise.
20618         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
20619         (__pthread_attr_init_2_0): Likewise.
20620         * nptl/pthread_attr_setdetachstate.c
20621         (__pthread_attr_setdetachstate): Likewise.
20622         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
20623         Likewise.
20624         * nptl/pthread_attr_setinheritsched.c
20625         (__pthread_attr_setinheritsched): Likewise.
20626         * nptl/pthread_attr_setschedparam.c
20627         (__pthread_attr_setschedparam): Likewise.
20628         * nptl/pthread_attr_setschedpolicy.c
20629         (__pthread_attr_setschedpolicy): Likewise.
20630         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
20631         Likewise.
20632         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
20633         Likewise.
20634         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
20635         Likewise.
20636         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
20637         Likewise.
20638         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
20639         Likewise.
20640         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
20641         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20642         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
20643         use internal_function.
20644         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
20645         prototype-style function definition.
20646         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
20647         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
20648         internal_function.
20649         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
20650         Convert to prototype-style function definition.
20651         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20652         Likewise.
20653         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
20654         Likewise.
20655         (__pthread_mutex_unlock): Likewise.
20656         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
20657         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
20658         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
20659         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
20660         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
20661         * nss/makedb.c (process_input): Likewise.
20662         * posix/fnmatch.c (__strchrnul): Likewise.
20663         (__wcschrnul): Likewise.
20664         (fnmatch): Likewise.
20665         * posix/fnmatch_loop.c (FCT): Likewise.
20666         * posix/glob.c (globfree): Likewise.
20667         (__glob_pattern_type): Likewise.
20668         (__glob_pattern_p): Likewise.
20669         * posix/regcomp.c (re_compile_pattern): Likewise.
20670         (re_set_syntax): Likewise.
20671         (re_compile_fastmap): Likewise.
20672         (regcomp): Likewise.
20673         (regerror): Likewise.
20674         (regfree): Likewise.
20675         * posix/regexec.c (regexec): Likewise.
20676         (re_match): Likewise.
20677         (re_search): Likewise.
20678         (re_match_2): Likewise.
20679         (re_search_2): Likewise.
20680         (re_search_stub): Likewise.  Use internal_function
20681         (re_copy_regs): Likewise.
20682         (re_set_registers): Convert to prototype-style function
20683         definition.
20684         (prune_impossible_nodes): Likewise.  Use internal_function.
20685         * resolv/inet_net_pton.c (inet_net_pton): Convert to
20686         prototype-style function definition.
20687         (inet_net_pton_ipv4): Likewise.
20688         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20689         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
20690         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
20691         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
20692         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20693         Make variadic.
20694         * time/strptime_l.c (localtime_r): Convert to prototype-style
20695         function definition.
20696         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20697         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20698         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20699         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20701         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
20702         definition.
20703         (_ufc_doit_r): Likewise.
20704         * crypt/crypt_util.c (_ufc_copymem): Likewise.
20705         (_ufc_output_conversion_r): Likewise.
20706         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
20707         * inet/rcmd.c (rcmd_af): Likewise.
20708         (rcmd): Likewise.
20709         (ruserok_af): Likewise.
20710         (ruserok): Likewise.
20711         (ruserok2_sa): Likewise.
20712         (ruserok_sa): Likewise.
20713         (iruserok_af): Likewise.
20714         (iruserok): Likewise.
20715         (__ivaliduser): Likewise.
20716         (__validuser2_sa): Likewise.
20717         * inet/rexec.c (rexec_af): Likewise.
20718         (rexec): Likewise.
20719         * inet/ruserpass.c (ruserpass): Likewise.
20720         * locale/programs/xmalloc.c (xcalloc): Likewise.
20721         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
20722         * math/w_drem.c (__drem): Likewise.
20723         * math/w_dremf.c (__dremf): Likewise.
20724         * math/w_dreml.c (__dreml): Likewise.
20725         * misc/daemon.c (daemon): Likewise.
20726         * resolv/res_debug.c (p_fqnname): Likewise.
20727         * stdlib/div.c (div): Likewise.
20728         * string/memcmp.c (memcmp_bytes): Likewise.
20729         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
20730         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
20732         * crypt/cert.c (main): Convert to prototype-style function
20733         definition.
20734         * io/pipe.c (__pipe): Likewise.
20735         * io/pipe2.c (__pipe2): Likewise.
20736         * misc/futimesat.c (futimesat): Likewise.
20737         * misc/utimes.c (__utimes): Likewise.
20738         * posix/execve.c (__execve): Likewise.
20739         * posix/execvp.c (execvp): Likewise.
20740         * posix/execvpe.c (__execvpe): Likewise.
20741         * posix/fexecve.c (fexecve): Likewise.
20742         * socket/socketpair.c (socketpair): Likewise.
20743         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20744         * stdlib/erand48.c (erand48): Likewise.
20745         * stdlib/erand48_r.c (__erand48_r): Likewise.
20746         * stdlib/jrand48.c (jrand48): Likewise.
20747         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
20748         * stdlib/lcong48.c (lcong48): Likewise.
20749         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
20750         * stdlib/nrand48.c (nrand48): Likewise.
20751         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
20752         * stdlib/seed48.c (seed48): Likewise.
20753         * stdlib/seed48_r.c (__seed48_r): Likewise.
20754         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
20755         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
20756         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
20758 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20760         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
20761         * configure: Regenerated.
20762         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
20763         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
20764         unconditional.
20765         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20766         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20767         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20768         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
20769         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
20770         unconditional.
20771         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20773         * posix/Makefile (CFLAGS-regex.c): Remove variable.
20774         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
20776         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
20777         function definition.
20778         * crypt/crypt_util.c (__encrypt_r): Likewise.
20779         * libio/genops.c (_IO_no_init): Likewise.
20780         * libio/iofopncook.c (_IO_fopencookie): Likewise.
20781         (_IO_old_fopencookie): Likewise.
20782         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20783         * libio/iogetline.c (_IO_getline): Likewise.
20784         (_IO_getline_info): Likewise.
20785         * libio/iogetwline.c (_IO_getwline): Likewise.
20786         (_IO_getwline_info): Likewise.
20787         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
20788         * libio/vswprintf.c (_IO_vswprintf): Likewise.
20789         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
20790         (find_entry): Likewise.
20791         (iterate_table): Likewise.
20792         (lookup): Likewise.
20793         * login/forkpty.c (forkpty): Likewise.
20794         * misc/hsearch_r.c (__hsearch_r): Likewise.
20795         * misc/select.c (__select): Likewise.
20796         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
20797         Likewise.
20798         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
20799         Likewise.
20800         * nptl/old_pthread_cond_timedwait.c
20801         (__pthread_cond_timedwait_2_0): Likewise.
20802         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
20803         * nptl/pthread_barrierattr_getpshared.c
20804         (pthread_barrierattr_getpshared): Likewise.
20805         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
20806         Likewise.
20807         * nptl/pthread_mutex_setprioceiling.c
20808         (pthread_mutex_setprioceiling): Likewise.
20809         * nptl/pthread_mutexattr_getprioceiling.c
20810         (pthread_mutexattr_getprioceiling): Likewise.
20811         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
20812         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20813         Likewise.
20814         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20815         Likewise.
20816         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
20817         Likewise.
20818         * socket/recvfrom.c (__recvfrom): Likewise.
20819         * socket/sendto.c (__sendto): Likewise.
20820         * socket/setsockopt.c (__setsockopt): Likewise.
20821         * stdio-common/_itoa.c (_itoa): Likewise.
20822         * stdio-common/_itowa.c (_itowa): Likewise.
20823         * stdio-common/reg-printf.c (__register_printf_specifier):
20824         Likewise.
20825         (__register_printf_function): Likewise.
20826         * stdio-common/tempname.c (__path_search): Likewise.
20827         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
20828         * stdlib/mul_1.c (mpn_mul_1): Likewise.
20829         * stdlib/random_r.c (__initstate_r): Likewise.
20830         * stdlib/setenv.c (__add_to_environ): Likewise.
20831         * stdlib/submul_1.c (mpn_submul_1): Likewise.
20832         * streams/getpmsg.c (getpmsg): Likewise.
20833         * streams/putmsg.c (putmsg): Likewise.
20834         * streams/putpmsg.c (putpmsg): Likewise.
20835         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
20836         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
20837         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
20838         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
20839         * sunrpc/pm_getport.c (pmap_getport): Likewise.
20840         * sunrpc/svc_udp.c (cache_get): Likewise.
20841         * sunrpc/xdr_array.c (xdr_vector): Likewise.
20842         * sysdeps/mach/hurd/getcwd.c
20843         (__canonicalize_directory_name_internal): Likewise.
20844         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
20845         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
20846         * sysdeps/mach/hurd/select.c (__select): Likewise.
20847         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
20848         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
20849         * sysdeps/sparc/nptl/pthread_barrier_init.c
20850         (__pthread_barrier_init): Likewise.
20851         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
20852         (__pthread_cond_timedwait): Likewise.
20853         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
20854         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
20855         Likewise.
20856         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
20857         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
20858         Likewise.
20859         * sysvipc/semtimedop.c (semtimedop): Likewise.
20860         * time/setitimer.c (__setitimer): Likewise.
20861         * time/strftime_l.c (emacs_strftime): Likewise.
20863 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20865         * config.make.in (have-ssp): Delete.
20866         (stack-protector): New variable.
20867         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
20868         cache test for -fstack-protector-strong.  Export stack_protector to
20869         the best ssp flag.
20870         * configure: Regenerated.
20871         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
20872         * nscd/Makefile (CFLAGS-nscd): Likewise.
20873         * resolv/Makefile (CFLAGS-libresolv): Likewise.
20875 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
20877         [BZ #19122]
20878         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
20879         attribute_hidden.
20881 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20883         [BZ #18743]
20884         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
20885         code to...
20886         (ELIDE_LOCK): ...here.
20887         (__get_new_count): New function with part of the code from
20888         __elide_lock that updates the value of adapt_count after a
20889         transaction abort.
20890         (__elided_trylock): Moved this code to...
20891         (ELIDE_TRYLOCK): ...here.
20893 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20895         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
20896         * configure: Regenerate.
20897         * INSTALL: Regenerate.
20898         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
20899         and tweak grammar.
20901 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
20903         * login/programs/pt_chown.c: Include signal.h
20904         (main): Clear any signal mask from the parent process.
20906 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20908         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
20909         * configure: Regenerated.
20910         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
20911         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
20912         $(gnu89-inline-CFLAGS).
20914         * configure.ac (libc_cv_asm_weak_directive): Remove configure
20915         test.
20916         (libc_cv_asm_weakext_directive): Likewise.
20917         * configure: Regenerated.
20918         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
20919         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
20920         * include/libc-symbols.h
20921         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
20922         #error.
20923         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
20924         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
20926         * sysdeps/arm/backtrace.c (__backtrace): Convert to
20927         prototype-style function definition.
20928         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20929         * sysdeps/i386/ffs.c (__ffs): Likewise.
20930         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20931         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
20932         Likewise.
20933         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20934         Likewise.
20935         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
20936         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20937         Likewise.
20938         * sysdeps/m68k/ffs.c (__ffs): Likewise.
20939         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
20940         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
20941         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
20942         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
20943         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
20944         * sysdeps/mach/hurd/access.c (__access): Likewise.
20945         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
20946         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
20947         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
20948         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
20949         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
20950         (cthread_getspecific): Likewise.
20951         (cthread_setspecific): Likewise.
20952         (__libc_getspecific): Likewise.
20953         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
20954         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
20955         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
20956         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
20957         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
20958         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
20959         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
20960         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
20961         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
20962         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
20963         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
20964         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
20965         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
20966         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
20967         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
20968         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
20969         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
20970         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
20971         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
20972         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
20973         * sysdeps/mach/hurd/link.c (__link): Likewise.
20974         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
20975         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
20976         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
20977         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
20978         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20979         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
20980         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
20981         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
20982         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20983         * sysdeps/mach/hurd/rename.c (rename): Likewise.
20984         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
20985         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
20986         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
20987         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
20988         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
20989         * sysdeps/mach/hurd/send.c (__send): Likewise.
20990         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
20991         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
20992         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
20993         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
20994         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
20995         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
20996         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
20997         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
20998         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
20999         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
21000         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
21001         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
21002         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
21003         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
21004         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
21005         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
21006         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
21007         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
21008         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
21009         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21010         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
21011         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
21012         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
21013         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
21014         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
21015         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
21016         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
21017         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
21018         * sysdeps/posix/alarm.c (alarm): Likewise.
21019         * sysdeps/posix/cuserid.c (cuserid): Likewise.
21020         * sysdeps/posix/dirfd.c (dirfd): Likewise.
21021         * sysdeps/posix/dup.c (__dup): Likewise.
21022         * sysdeps/posix/dup2.c (__dup2): Likewise.
21023         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
21024         (main): Likewise.
21025         * sysdeps/posix/flock.c (__flock): Likewise.
21026         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
21027         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
21028         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
21029         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
21030         * sysdeps/posix/isatty.c (__isatty): Likewise.
21031         * sysdeps/posix/killpg.c (killpg): Likewise.
21032         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21033         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
21034         * sysdeps/posix/raise.c (raise): Likewise.
21035         * sysdeps/posix/remove.c (remove): Likewise.
21036         * sysdeps/posix/rename.c (rename): Likewise.
21037         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
21038         * sysdeps/posix/seekdir.c (seekdir): Likewise.
21039         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
21040         * sysdeps/posix/sigignore.c (sigignore): Likewise.
21041         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
21042         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
21043         * sysdeps/posix/sigset.c (sigset): Likewise.
21044         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
21045         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
21046         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
21047         * sysdeps/posix/time.c (time): Likewise.
21048         * sysdeps/posix/ttyname.c (getttyname): Likewise.
21049         (ttyname): Likewise.
21050         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
21051         * sysdeps/posix/utime.c (utime): Likewise.
21052         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
21053         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
21054         Likewise.
21055         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
21056         (pthread_spin_trylock): Likewise.
21057         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
21058         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
21059         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
21060         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
21061         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
21062         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
21063         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
21064         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
21065         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
21066         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
21067         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
21068         * sysdeps/s390/ffs.c (__ffs): Likewise.
21069         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
21070         Likewise.
21071         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21072         Likewise.
21073         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
21074         Likewise.
21075         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
21076         (pthread_barrier_destroy): Likewise.
21077         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21078         (__pthread_barrier_wait): Likewise.
21079         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
21080         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21081         (__pthread_barrier_wait): Likewise.
21082         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
21083         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
21084         (memcmp_not_common_alignment): Likewise.
21085         (MEMCMP): Likewise.
21086         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
21087         (_wordcopy_fwd_dest_aligned): Likewise.
21088         (_wordcopy_bwd_aligned): Likewise.
21089         (_wordcopy_bwd_dest_aligned): Likewise.
21090         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
21091         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
21092         * sysdeps/unix/bsd/stty.c (stty): Likewise.
21093         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
21094         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
21095         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
21096         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
21097         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
21098         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
21099         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
21100         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
21101         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21102         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
21103         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
21104         * sysdeps/unix/stime.c (stime): Likewise.
21105         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
21106         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
21107         Likewise.  Use internal_function.
21108         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
21109         Convert to prototype-style function definition.
21110         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21111         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21112         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
21113         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21114         Likewise.  Use internal_function.
21115         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
21116         prototype-style function definition
21117         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21118         Likewise.
21119         (__getlogin_r): Likewise.
21120         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
21121         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
21122         (__pthread_cond_broadcast): Likewise.
21123         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
21124         (__pthread_cond_destroy): Likewise.
21125         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
21126         (__pthread_cond_init): Likewise.
21127         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
21128         (__pthread_cond_signal): Likewise.
21129         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
21130         (__pthread_cond_wait): Likewise.
21131         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
21132         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
21133         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
21134         Likewise.
21135         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
21136         Likewise.
21137         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
21138         Likewise.
21139         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
21140         Likewise.
21141         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
21142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
21143         (__ftruncate64): Likewise.
21144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
21145         (truncate64): Likewise.
21146         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
21147         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
21148         (pthread_getcpuclockid): Likewise.
21149         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
21150         Likewise.
21151         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
21152         Likewise.
21153         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
21154         Likewise.
21155         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
21156         Likewise.
21157         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
21158         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
21159         (__libc_sigaction): Likewise.
21160         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
21161         Likewise.
21162         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
21163         (__sigprocmask): Likewise.
21164         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
21165         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
21166         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
21167         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
21168         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21169         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
21170         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21171         Likewise.
21172         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
21173         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
21174         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21175         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
21176         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
21177         Likewise.
21178         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
21179         (__sigprocmask): Likewise.
21180         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
21181         (cfgetispeed): Likewise.
21182         (cfsetospeed): Likewise.
21183         (cfsetispeed): Likewise.
21184         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
21185         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
21186         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21187         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
21188         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
21189         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
21190         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
21191         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
21192         Likewise.
21193         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
21194         Likewise.
21195         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
21196         Likewise.
21197         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
21198         Likewise.
21199         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21201 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21203         sunrpc: Rewrite with explicit TLS access using __thread.
21204         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
21205         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
21206         directly.
21207         (__rpc_thread_variables): Access thread_rpc_vars directly.
21208         Eliminate redundant assignment of the tvp variable.
21210 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21212         malloc: Rewrite with explicit TLS access using __thread.
21213         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
21214         (tsd_setspecific, tsd_getspecific): Remove.
21215         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
21216         (tsd_setspecific, tsd_getspecific): Likewise.
21217         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
21218         (tsd_setspecific, tsd_getspecific): Likewise.
21219         * malloc/arena.c (thread_arena): New TLS variable.
21220         (arena_key): Remove variable.
21221         (arena_get): Use thread_arena.
21222         (arena_lookup): Remove macro.
21223         (malloc_atfork, free_atfork, ptmalloc_lock_all)
21224         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
21225         (_int_new_arena, get_free_list, reused_arena)
21226         (arena_thread_freeres): Use thread_arena.
21227         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
21228         tsd_getspecific, tsd_setspecific from safety annotations.
21229         (Allocating Cleared Space): Remove arena_lookup from safety
21230         annotations.
21232 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21234         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
21235         struct scratch_buffer instead of extend_alloca.
21237 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21239         * sysdeps/unix/sysv/linux/kernel-features.h
21240         (__ASSUME_SOCK_CLOEXEC): Remove.
21241         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
21242         (__have_paccept): Remove unused macro.
21243         * include/unistd.h (__have_sock_cloexec): Remove declaration.
21244         * misc/syslog.c (openlog_internal): Remove fallback code for
21245         !__ASSUME_SOCK_CLOEXEC.
21246         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
21247         missing SOCK_CLOEXEC.
21248         * nscd/connections.c (have_sock_cloexec): Remove definition.
21249         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
21250         * nscd/nscd_helper.c (open_socket): Remove fallback code for
21251         !__ASSUME_SOCK_CLOEXEC.
21252         * resolv/res_send.c (__have_o_nonblock): Remove definition.
21253         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
21254         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
21255         definition.
21256         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
21257         code for !__ASSUME_SOCK_CLOEXEC.
21259 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21261         [BZ #18982]
21262         * manual/stdio.texi (Variable Arguments Output): Add portability
21263         note, explaining that vfprintf clobbers the va_list pointer.
21265 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
21267         * math/libm-test.inc (fabs_test_data): Add more tests.
21268         (fdim_test_data): Likewise.
21269         (fma_test_data): Likewise.
21270         (fmax_test_data): Likewise.
21271         (fmin_test_data): Likewise.
21272         (fmod_test_data): Likewise.
21274 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
21276         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
21277         data.
21279 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
21281         * math/libm-test.inc (ceil_test_data): Add more tests and more
21282         expectations for "inexact".
21283         (floor_test_data): Add more tests.
21284         (round_test_data): Likewise.
21285         (trunc_test_data): Likewise.
21287         * crypt/cert.c (good_bye): Convert to prototype-style function
21288         definition.
21289         (get8): Likewise.
21290         (put8): Likewise.
21291         * crypt/crypt-entry.c (crypt): Likewise.
21292         (__fcrypt): Likewise.
21293         * crypt/crypt_util.c (_ufc_prbits): Likewise.
21294         (_ufc_set_bits): Likewise.
21295         (_ufc_clearmem): Likewise.
21296         (__init_des_r): Likewise.
21297         (shuffle_sb): Likewise.
21298         (shuffle_sb): Likewise.
21299         (_ufc_setup_salt_r): Likewise.
21300         (_ufc_mk_keytab_r): Likewise.
21301         (_ufc_dofinalperm_r): Likewise.
21302         (encrypt): Likewise.
21303         (__setkey_r): Likewise.
21304         (setkey): Likewise.
21305         * crypt/md5.c (md5_init_ctx): Likewise.
21306         (md5_read_ctx): Likewise.
21307         (md5_finish_ctx): Likewise.
21308         (md5_stream): Likewise.
21309         (md5_buffer): Likewise.
21310         (md5_process_bytes): Likewise.
21311         * crypt/sha256.c (__sha256_init_ctx): Likewise.
21312         (__sha256_finish_ctx): Likewise.
21313         (__sha256_process_bytes): Likewise.
21314         * crypt/sha512.c (__sha512_init_ctx): Likewise.
21315         (__sha512_finish_ctx): Likewise.
21316         (__sha512_process_bytes): Likewise.
21317         * ctype/isctype.c (__isctype): Likewise.
21318         * debug/backtrace.c (__backtrace): Likewise.
21319         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
21320         * debug/fgets_chk.c (__fgets_chk): Likewise.
21321         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
21322         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
21323         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21324         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21325         * debug/memset_chk.c (__memset_chk): Likewise.
21326         * debug/strcat_chk.c (__strcat_chk): Likewise.
21327         * debug/strncat_chk.c (__strncat_chk): Likewise.
21328         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
21329         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
21330         * dirent/dirfd.c (dirfd): Likewise.
21331         * dirent/getdents.c (__getdirentries): Likewise.
21332         * dirent/getdents64.c (getdirentries64): Likewise.
21333         * dirent/rewinddir.c (__rewinddir): Likewise.
21334         * dirent/seekdir.c (seekdir): Likewise.
21335         * dirent/telldir.c (telldir): Likewise.
21336         * elf/sln.c (makesymlinks): Likewise.
21337         (makesymlink): Likewise.
21338         * gmon/gmon.c (__moncontrol): Likewise.
21339         (__monstartup): Likewise.
21340         (write_hist): Likewise.
21341         (write_call_graph): Likewise.
21342         (write_bb_counts): Likewise.
21343         * grp/setgroups.c (setgroups): Likewise.
21344         * inet/inet_lnaof.c (inet_lnaof): Likewise.
21345         * inet/inet_net.c (inet_network): Likewise.
21346         * inet/inet_netof.c (inet_netof): Likewise.
21347         * inet/rcmd.c (rresvport_af): Likewise.
21348         (rresvport): Likewise.
21349         * io/access.c (__access): Likewise.
21350         * io/chdir.c (__chdir): Likewise.
21351         * io/chmod.c (__chmod): Likewise.
21352         * io/chown.c (__chown): Likewise.
21353         * io/close.c (__close): Likewise.
21354         * io/creat.c (creat): Likewise.
21355         * io/creat64.c (creat64): Likewise.
21356         * io/dup.c (__dup): Likewise.
21357         * io/dup2.c (__dup2): Likewise.
21358         * io/dup3.c (__dup3): Likewise.
21359         * io/euidaccess.c (__euidaccess): Likewise.
21360         * io/faccessat.c (faccessat): Likewise.
21361         * io/fchmod.c (__fchmod): Likewise.
21362         * io/fchmodat.c (fchmodat): Likewise.
21363         * io/fchown.c (__fchown): Likewise.
21364         * io/fchownat.c (fchownat): Likewise.
21365         * io/fcntl.c (__fcntl): Likewise.
21366         * io/flock.c (__flock): Likewise.
21367         * io/fts.c (fts_load): Likewise.
21368         (fts_close): Likewise.
21369         (fts_read): Likewise.
21370         (fts_set): Likewise.
21371         (fts_children): Likewise.
21372         (fts_build): Likewise.
21373         (fts_stat): Likewise.
21374         (fts_sort): Likewise.
21375         (fts_alloc): Likewise.
21376         (fts_lfree): Likewise.
21377         (fts_palloc): Likewise.
21378         (fts_padjust): Likewise.
21379         (fts_maxarglen): Likewise.
21380         (fts_safe_changedir): Likewise.
21381         * io/getwd.c (getwd): Likewise.
21382         * io/isatty.c (__isatty): Likewise.
21383         * io/lchown.c (__lchown): Likewise.
21384         * io/link.c (__link): Likewise.
21385         * io/linkat.c (linkat): Likewise.
21386         * io/lseek.c (__libc_lseek): Likewise.
21387         * io/mkdir.c (__mkdir): Likewise.
21388         * io/mkdirat.c (mkdirat): Likewise.
21389         * io/mkfifo.c (mkfifo): Likewise.
21390         * io/mkfifoat.c (mkfifoat): Likewise.
21391         * io/open.c (__libc_open): Likewise.
21392         * io/open64.c (__libc_open64): Likewise.
21393         * io/readlink.c (__readlink): Likewise.
21394         * io/readlinkat.c (readlinkat): Likewise.
21395         * io/rmdir.c (__rmdir): Likewise.
21396         * io/symlink.c (__symlink): Likewise.
21397         * io/symlinkat.c (symlinkat): Likewise.
21398         * io/ttyname.c (ttyname): Likewise.
21399         * io/ttyname_r.c (__ttyname_r): Likewise.
21400         * io/umask.c (__umask): Likewise.
21401         * io/unlink.c (__unlink): Likewise.
21402         * io/unlinkat.c (unlinkat): Likewise.
21403         * io/utime.c (utime): Likewise.
21404         * libio/clearerr.c (clearerr): Likewise.
21405         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
21406         * libio/feof.c (_IO_feof): Likewise.
21407         * libio/feof_u.c (feof_unlocked): Likewise.
21408         * libio/ferror.c (_IO_ferror): Likewise.
21409         * libio/ferror_u.c (ferror_unlocked): Likewise.
21410         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21411         * libio/fileno.c (__fileno): Likewise.
21412         * libio/fputc.c (fputc): Likewise.
21413         * libio/fputc_u.c (fputc_unlocked): Likewise.
21414         * libio/fputwc.c (fputwc): Likewise.
21415         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
21416         * libio/freopen.c (freopen): Likewise.
21417         * libio/freopen64.c (freopen64): Likewise.
21418         * libio/fseek.c (fseek): Likewise.
21419         * libio/fseeko.c (fseeko): Likewise.
21420         * libio/fseeko64.c (fseeko64): Likewise.
21421         * libio/ftello.c (__ftello): Likewise.
21422         * libio/ftello64.c (ftello64): Likewise.
21423         * libio/fwide.c (fwide): Likewise.
21424         * libio/genops.c (_IO_un_link): Likewise.
21425         (_IO_link_in): Likewise.
21426         (_IO_least_marker): Likewise.
21427         (_IO_switch_to_main_get_area): Likewise.
21428         (_IO_switch_to_backup_area): Likewise.
21429         (_IO_switch_to_get_mode): Likewise.
21430         (_IO_free_backup_area): Likewise.
21431         (_IO_switch_to_put_mode): Likewise.
21432         (__overflow): Likewise.
21433         (__underflow): Likewise.
21434         (__uflow): Likewise.
21435         (_IO_setb): Likewise.
21436         (_IO_doallocbuf): Likewise.
21437         (_IO_default_underflow): Likewise.
21438         (_IO_default_uflow): Likewise.
21439         (_IO_default_xsputn): Likewise.
21440         (_IO_sgetn): Likewise.
21441         (_IO_default_xsgetn): Likewise.
21442         (_IO_sync): Likewise.
21443         (_IO_default_setbuf): Likewise.
21444         (_IO_default_seekpos): Likewise.
21445         (_IO_default_doallocate): Likewise.
21446         (_IO_init): Likewise.
21447         (_IO_old_init): Likewise.
21448         (_IO_default_sync): Likewise.
21449         (_IO_default_finish): Likewise.
21450         (_IO_default_seekoff): Likewise.
21451         (_IO_sputbackc): Likewise.
21452         (_IO_sungetc): Likewise.
21453         (_IO_set_column): Likewise.
21454         (_IO_set_column): Likewise.
21455         (_IO_adjust_column): Likewise.
21456         (_IO_get_column): Likewise.
21457         (_IO_init_marker): Likewise.
21458         (_IO_remove_marker): Likewise.
21459         (_IO_marker_difference): Likewise.
21460         (_IO_marker_delta): Likewise.
21461         (_IO_seekmark): Likewise.
21462         (_IO_unsave_markers): Likewise.
21463         (_IO_nobackup_pbackfail): Likewise.
21464         (_IO_default_pbackfail): Likewise.
21465         (_IO_default_seek): Likewise.
21466         (_IO_default_stat): Likewise.
21467         (_IO_default_read): Likewise.
21468         (_IO_default_write): Likewise.
21469         (_IO_default_showmanyc): Likewise.
21470         (_IO_default_imbue): Likewise.
21471         (_IO_iter_next): Likewise.
21472         (_IO_iter_file): Likewise.
21473         * libio/getc.c (_IO_getc): Likewise.
21474         * libio/getwc.c (_IO_getwc): Likewise.
21475         * libio/iofclose.c (_IO_new_fclose): Likewise.
21476         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21477         * libio/iofflush.c (_IO_fflush): Likewise.
21478         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
21479         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
21480         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
21481         * libio/iofgets.c (_IO_fgets): Likewise.
21482         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
21483         * libio/iofgetws.c (fgetws): Likewise.
21484         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21485         * libio/iofopen64.c (_IO_fopen64): Likewise.
21486         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21487         (_IO_cookie_write): Likewise.
21488         (_IO_cookie_seek): Likewise.
21489         (_IO_cookie_close): Likewise.
21490         (_IO_cookie_seekoff): Likewise.
21491         (_IO_old_cookie_seek): Likewise.
21492         * libio/iofputs.c (_IO_fputs): Likewise.
21493         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
21494         * libio/iofputws.c (fputws): Likewise.
21495         * libio/iofputws_u.c (fputws_unlocked): Likewise.
21496         * libio/iofread.c (_IO_fread): Likewise.
21497         * libio/iofread_u.c (__fread_unlocked): Likewise.
21498         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
21499         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
21500         * libio/ioftell.c (_IO_ftell): Likewise.
21501         * libio/iofwrite.c (_IO_fwrite): Likewise.
21502         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21503         * libio/iogets.c (_IO_gets): Likewise.
21504         * libio/iopadn.c (_IO_padn): Likewise.
21505         * libio/iopopen.c (_IO_new_proc_open): Likewise.
21506         (_IO_new_popen): Likewise.
21507         (_IO_new_proc_close): Likewise.
21508         * libio/ioputs.c (_IO_puts): Likewise.
21509         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
21510         (_IO_seekoff): Likewise.
21511         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
21512         (_IO_seekpos): Likewise.
21513         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
21514         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
21515         * libio/ioungetc.c (_IO_ungetc): Likewise.
21516         * libio/ioungetwc.c (ungetwc): Likewise.
21517         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21518         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
21519         * libio/iowpadn.c (_IO_wpadn): Likewise.
21520         * libio/libc_fatal.c (__libc_fatal): Likewise.
21521         * libio/memstream.c (__open_memstream): Likewise.
21522         (_IO_mem_sync): Likewise.
21523         (_IO_mem_finish): Likewise.
21524         * libio/oldfileops.c (_IO_old_file_init): Likewise.
21525         (_IO_old_file_close_it): Likewise.
21526         (_IO_old_file_finish): Likewise.
21527         (_IO_old_file_fopen): Likewise.
21528         (_IO_old_file_attach): Likewise.
21529         (_IO_old_file_setbuf): Likewise.
21530         (_IO_old_do_write): Likewise.
21531         (old_do_write): Likewise.
21532         (_IO_old_file_underflow): Likewise.
21533         (_IO_old_file_overflow): Likewise.
21534         (_IO_old_file_sync): Likewise.
21535         (_IO_old_file_seekoff): Likewise.
21536         (_IO_old_file_write): Likewise.
21537         (_IO_old_file_xsputn): Likewise.
21538         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
21539         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21540         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
21541         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
21542         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21543         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
21544         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
21545         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
21546         (_IO_old_popen): Likewise.
21547         (_IO_old_proc_close): Likewise.
21548         * libio/oldpclose.c (__old_pclose): Likewise.
21549         * libio/pclose.c (__new_pclose): Likewise.
21550         * libio/peekc.c (_IO_peekc_locked): Likewise.
21551         * libio/putc.c (_IO_putc): Likewise.
21552         * libio/putc_u.c (putc_unlocked): Likewise.
21553         * libio/putchar.c (putchar): Likewise.
21554         * libio/putchar_u.c (putchar_unlocked): Likewise.
21555         * libio/putwc.c (putwc): Likewise.
21556         * libio/putwc_u.c (putwc_unlocked): Likewise.
21557         * libio/putwchar.c (putwchar): Likewise.
21558         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
21559         * libio/rewind.c (rewind): Likewise.
21560         * libio/setbuf.c (setbuf): Likewise.
21561         * libio/setlinebuf.c (setlinebuf): Likewise.
21562         * libio/vasprintf.c (_IO_vasprintf): Likewise.
21563         * libio/vscanf.c (_IO_vscanf): Likewise.
21564         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
21565         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
21566         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21567         * libio/wgenops.c (_IO_least_wmarker): Likewise.
21568         (_IO_switch_to_main_wget_area): Likewise.
21569         (_IO_switch_to_wbackup_area): Likewise.
21570         (_IO_wsetb): Likewise.
21571         (_IO_wdefault_pbackfail): Likewise.
21572         (_IO_wdefault_finish): Likewise.
21573         (_IO_wdefault_uflow): Likewise.
21574         (__woverflow): Likewise.
21575         (__wuflow): Likewise.
21576         (__wunderflow): Likewise.
21577         (_IO_wdefault_xsputn): Likewise.
21578         (_IO_wdefault_xsgetn): Likewise.
21579         (_IO_wdoallocbuf): Likewise.
21580         (_IO_wdefault_doallocate): Likewise.
21581         (_IO_switch_to_wget_mode): Likewise.
21582         (_IO_free_wbackup_area): Likewise.
21583         (_IO_switch_to_wput_mode): Likewise.
21584         (_IO_sputbackwc): Likewise.
21585         (_IO_sungetwc): Likewise.
21586         (_IO_adjust_wcolumn): Likewise.
21587         (_IO_init_wmarker): Likewise.
21588         (_IO_wmarker_delta): Likewise.
21589         (_IO_seekwmark): Likewise.
21590         (_IO_unsave_wmarkers): Likewise.
21591         * libio/wmemstream.c (open_wmemstream): Likewise.
21592         (_IO_wmem_sync): Likewise.
21593         (_IO_wmem_finish): Likewise.
21594         * locale/nl_langinfo.c (nl_langinfo): Likewise.
21595         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
21596         * locale/programs/simple-hash.c (init_hash): Likewise.
21597         (delete_hash): Likewise.
21598         (insert_entry): Likewise.
21599         (set_entry): Likewise.
21600         (next_prime): Likewise.
21601         (is_prime): Likewise.
21602         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
21603         (xmalloc): Likewise.
21604         (xrealloc): Likewise.
21605         * locale/programs/xstrdup.c (xstrdup): Likewise.
21606         * localedata/collate-test.c (xstrcoll): Likewise.
21607         * localedata/xfrm-test.c (xstrcmp): Likewise.
21608         * login/getlogin_r.c (__getlogin_r): Likewise.
21609         * login/getpt.c (__posix_openpt): Likewise.
21610         * login/login_tty.c (login_tty): Likewise.
21611         * login/setlogin.c (setlogin): Likewise.
21612         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
21613         (mach_msg_destroy_port): Likewise.
21614         (mach_msg_destroy_memory): Likewise.
21615         * malloc/mcheck.c (flood): Likewise.
21616         * misc/acct.c (acct): Likewise.
21617         * misc/brk.c (__brk): Likewise.
21618         * misc/chflags.c (chflags): Likewise.
21619         * misc/chroot.c (chroot): Likewise.
21620         * misc/fchflags.c (fchflags): Likewise.
21621         * misc/fstab.c (getfsspec): Likewise.
21622         (getfsfile): Likewise.
21623         * misc/fsync.c (fsync): Likewise.
21624         * misc/ftruncate.c (__ftruncate): Likewise.
21625         * misc/ftruncate64.c (__ftruncate64): Likewise.
21626         * misc/getdomain.c (getdomainname): Likewise.
21627         (getdomainname): Likewise.
21628         * misc/gethostname.c (__gethostname): Likewise.
21629         * misc/getpass.c (getpass): Likewise.
21630         * misc/getttyent.c (skip): Likewise.
21631         (value): Likewise.
21632         * misc/gtty.c (gtty): Likewise.
21633         * misc/hsearch.c (hsearch): Likewise.
21634         (hcreate): Likewise.
21635         * misc/hsearch_r.c (__hcreate_r): Likewise.
21636         (__hdestroy_r): Likewise.
21637         * misc/ioctl.c (__ioctl): Likewise.
21638         * misc/mkdtemp.c (mkdtemp): Likewise.
21639         * misc/mkostemp.c (mkostemp): Likewise.
21640         * misc/mkostemp64.c (mkostemp64): Likewise.
21641         * misc/mkostemps.c (mkostemps): Likewise.
21642         * misc/mkostemps64.c (mkostemps64): Likewise.
21643         * misc/mkstemp.c (mkstemp): Likewise.
21644         * misc/mkstemp64.c (mkstemp64): Likewise.
21645         * misc/mkstemps.c (mkstemps): Likewise.
21646         * misc/mkstemps64.c (mkstemps64): Likewise.
21647         * misc/mktemp.c (__mktemp): Likewise.
21648         * misc/preadv.c (preadv): Likewise.
21649         * misc/preadv64.c (preadv64): Likewise.
21650         * misc/pwritev.c (pwritev): Likewise.
21651         * misc/pwritev64.c (pwritev64): Likewise.
21652         * misc/readv.c (__readv): Likewise.
21653         * misc/revoke.c (revoke): Likewise.
21654         * misc/setdomain.c (setdomainname): Likewise.
21655         * misc/setegid.c (setegid): Likewise.
21656         * misc/seteuid.c (seteuid): Likewise.
21657         * misc/sethostid.c (sethostid): Likewise.
21658         * misc/sethostname.c (sethostname): Likewise.
21659         * misc/setregid.c (__setregid): Likewise.
21660         * misc/setreuid.c (__setreuid): Likewise.
21661         * misc/sstk.c (sstk): Likewise.
21662         * misc/stty.c (stty): Likewise.
21663         * misc/syscall.c (syscall): Likewise.
21664         * misc/syslog.c (setlogmask): Likewise.
21665         * misc/truncate.c (__truncate): Likewise.
21666         * misc/truncate64.c (truncate64): Likewise.
21667         * misc/ualarm.c (ualarm): Likewise.
21668         * misc/usleep.c (usleep): Likewise.
21669         * misc/ustat.c (ustat): Likewise.
21670         * misc/writev.c (__writev): Likewise.
21671         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
21672         * nptl/old_pthread_cond_broadcast.c
21673         (__pthread_cond_broadcast_2_0): Likewise.
21674         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
21675         Likewise.
21676         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
21677         Likewise.
21678         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
21679         Likewise.
21680         * nptl/pt-raise.c (raise): Likewise.
21681         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
21682         Likewise.
21683         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
21684         * nptl/pthread_barrierattr_destroy.c
21685         (pthread_barrierattr_destroy): Likewise.
21686         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21687         Likewise.
21688         * nptl/pthread_barrierattr_setpshared.c
21689         (pthread_barrierattr_setpshared): Likewise.
21690         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21691         Likewise.
21692         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
21693         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21694         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
21695         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
21696         Likewise.
21697         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
21698         Likewise.
21699         * nptl/pthread_condattr_getpshared.c
21700         (pthread_condattr_getpshared): Likewise.
21701         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
21702         Likewise.
21703         * nptl/pthread_condattr_setpshared.c
21704         (pthread_condattr_setpshared): Likewise.
21705         * nptl/pthread_detach.c (pthread_detach): Likewise.
21706         * nptl/pthread_equal.c (__pthread_equal): Likewise.
21707         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
21708         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
21709         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
21710         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
21711         Likewise.
21712         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
21713         Likewise.
21714         * nptl/pthread_mutex_getprioceiling.c
21715         (pthread_mutex_getprioceiling): Likewise.
21716         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
21717         Likewise.
21718         * nptl/pthread_mutexattr_getprotocol.c
21719         (pthread_mutexattr_getprotocol): Likewise.
21720         * nptl/pthread_mutexattr_getpshared.c
21721         (pthread_mutexattr_getpshared): Likewise.
21722         * nptl/pthread_mutexattr_getrobust.c
21723         (pthread_mutexattr_getrobust): Likewise.
21724         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21725         Likewise.
21726         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
21727         Likewise.
21728         * nptl/pthread_mutexattr_setprioceiling.c
21729         (pthread_mutexattr_setprioceiling): Likewise.
21730         * nptl/pthread_mutexattr_setprotocol.c
21731         (pthread_mutexattr_setprotocol): Likewise.
21732         * nptl/pthread_mutexattr_setpshared.c
21733         (pthread_mutexattr_setpshared): Likewise.
21734         * nptl/pthread_mutexattr_setrobust.c
21735         (pthread_mutexattr_setrobust): Likewise.
21736         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
21737         Likewise.
21738         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
21739         Likewise.
21740         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
21741         Likewise.
21742         * nptl/pthread_rwlockattr_getkind_np.c
21743         (pthread_rwlockattr_getkind_np): Likewise.
21744         * nptl/pthread_rwlockattr_getpshared.c
21745         (pthread_rwlockattr_getpshared): Likewise.
21746         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
21747         Likewise.
21748         * nptl/pthread_rwlockattr_setkind_np.c
21749         (pthread_rwlockattr_setkind_np): Likewise.
21750         * nptl/pthread_rwlockattr_setpshared.c
21751         (pthread_rwlockattr_setpshared): Likewise.
21752         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
21753         Likewise.
21754         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
21755         Likewise.
21756         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
21757         Likewise.
21758         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
21759         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
21760         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
21761         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
21762         * nptl/sem_close.c (sem_close): Likewise.
21763         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
21764         * nptl/sem_init.c (__old_sem_init): Likewise.
21765         * nptl/sigaction.c (__sigaction): Likewise.
21766         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21767         * posix/_exit.c (_exit): Likewise.
21768         * posix/alarm.c (alarm): Likewise.
21769         * posix/confstr.c (confstr): Likewise.
21770         * posix/fpathconf.c (__fpathconf): Likewise.
21771         * posix/getgroups.c (__getgroups): Likewise.
21772         * posix/getpgid.c (__getpgid): Likewise.
21773         * posix/group_member.c (__group_member): Likewise.
21774         * posix/pathconf.c (__pathconf): Likewise.
21775         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
21776         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
21777         * posix/setgid.c (__setgid): Likewise.
21778         * posix/setpgid.c (__setpgid): Likewise.
21779         * posix/setuid.c (__setuid): Likewise.
21780         * posix/sleep.c (__sleep): Likewise.
21781         * posix/sysconf.c (__sysconf): Likewise.
21782         * posix/times.c (__times): Likewise.
21783         * posix/uname.c (__uname): Likewise.
21784         * posix/waitid.c (__waitid): Likewise.
21785         * pwd/getpw.c (__getpw): Likewise.
21786         * resolv/base64.c (b64_pton): Likewise.
21787         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
21788         * resolv/gethnamaddr.c (Dprintf): Likewise.
21789         (gethostbyname): Likewise.
21790         (gethostbyname2): Likewise.
21791         (gethostbyaddr): Likewise.
21792         (_sethtent): Likewise.
21793         (_gethtbyname): Likewise.
21794         (_gethtbyname2): Likewise.
21795         (_gethtbyaddr): Likewise.
21796         (map_v4v6_address): Likewise.
21797         (map_v4v6_hostent): Likewise.
21798         (addrsort): Likewise.
21799         (ht_sethostent): Likewise.
21800         (ht_gethostbyname): Likewise.
21801         (ht_gethostbyaddr): Likewise.
21802         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
21803         (inet_net_ntop_ipv4): Likewise.
21804         * resolv/inet_neta.c (inet_neta): Likewise.
21805         * resolv/inet_ntop.c (inet_ntop): Likewise.
21806         (inet_ntop4): Likewise.
21807         (inet_ntop6): Likewise.
21808         * resolv/inet_pton.c (__inet_pton): Likewise.
21809         (inet_pton4): Likewise.
21810         (inet_pton6): Likewise.
21811         * resolv/res_debug.c (loc_aton): Likewise.
21812         (loc_ntoa): Likewise.
21813         * resource/getpriority.c (__getpriority): Likewise.
21814         * resource/getrusage.c (__getrusage): Likewise.
21815         * resource/nice.c (nice): Likewise.
21816         * resource/setpriority.c (__setpriority): Likewise.
21817         * resource/setrlimit64.c (setrlimit64): Likewise.
21818         * resource/vlimit.c (vlimit): Likewise.
21819         * resource/vtimes.c (vtimes): Likewise.
21820         * rt/aio_error.c (aio_error): Likewise.
21821         * rt/aio_return.c (aio_return): Likewise.
21822         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
21823         * signal/kill.c (__kill): Likewise.
21824         * signal/killpg.c (killpg): Likewise.
21825         * signal/raise.c (raise): Likewise.
21826         * signal/sigaction.c (__sigaction): Likewise.
21827         * signal/sigaddset.c (sigaddset): Likewise.
21828         * signal/sigaltstack.c (sigaltstack): Likewise.
21829         * signal/sigandset.c (sigandset): Likewise.
21830         * signal/sigblock.c (__sigblock): Likewise.
21831         * signal/sigdelset.c (sigdelset): Likewise.
21832         * signal/sigempty.c (sigemptyset): Likewise.
21833         * signal/sigfillset.c (sigfillset): Likewise.
21834         * signal/sighold.c (sighold): Likewise.
21835         * signal/sigignore.c (sigignore): Likewise.
21836         * signal/sigintr.c (siginterrupt): Likewise.
21837         * signal/sigisempty.c (sigisemptyset): Likewise.
21838         * signal/sigismem.c (sigismember): Likewise.
21839         * signal/signal.c (signal): Likewise.
21840         * signal/sigorset.c (sigorset): Likewise.
21841         * signal/sigpause.c (__sigpause): Likewise.
21842         * signal/sigpending.c (sigpending): Likewise.
21843         * signal/sigprocmask.c (__sigprocmask): Likewise.
21844         * signal/sigrelse.c (sigrelse): Likewise.
21845         * signal/sigreturn.c (__sigreturn): Likewise.
21846         * signal/sigset.c (sigset): Likewise.
21847         * signal/sigsetmask.c (__sigsetmask): Likewise.
21848         * signal/sigstack.c (sigstack): Likewise.
21849         * signal/sigsuspend.c (__sigsuspend): Likewise.
21850         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
21851         * signal/sysv_signal.c (__sysv_signal): Likewise.
21852         * socket/accept.c (accept): Likewise.
21853         * socket/accept4.c (__libc_accept4): Likewise.
21854         * socket/bind.c (__bind): Likewise.
21855         * socket/connect.c (__connect): Likewise.
21856         * socket/getpeername.c (getpeername): Likewise.
21857         * socket/getsockname.c (__getsockname): Likewise.
21858         * socket/getsockopt.c (getsockopt): Likewise.
21859         * socket/listen.c (__listen): Likewise.
21860         * socket/recv.c (__recv): Likewise.
21861         * socket/recvmsg.c (__recvmsg): Likewise.
21862         * socket/send.c (__send): Likewise.
21863         * socket/sendmsg.c (__sendmsg): Likewise.
21864         * socket/shutdown.c (shutdown): Likewise.
21865         * socket/sockatmark.c (sockatmark): Likewise.
21866         * socket/socket.c (__socket): Likewise.
21867         * stdio-common/ctermid.c (ctermid): Likewise.
21868         * stdio-common/cuserid.c (cuserid): Likewise.
21869         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
21870         * stdio-common/remove.c (remove): Likewise.
21871         * stdio-common/rename.c (rename): Likewise.
21872         * stdio-common/renameat.c (renameat): Likewise.
21873         * stdio-common/tempname.c (__gen_tempname): Likewise.
21874         * stdio-common/xbug.c (InitBuffer): Likewise.
21875         (AppendToBuffer): Likewise.
21876         (ReadFile): Likewise.
21877         * stdlib/a64l.c (a64l): Likewise.
21878         * stdlib/drand48_r.c (drand48_r): Likewise.
21879         * stdlib/getcontext.c (getcontext): Likewise.
21880         * stdlib/getenv.c (getenv): Likewise.
21881         * stdlib/l64a.c (l64a): Likewise.
21882         * stdlib/llabs.c (llabs): Likewise.
21883         * stdlib/lldiv.c (lldiv): Likewise.
21884         * stdlib/lrand48_r.c (lrand48_r): Likewise.
21885         * stdlib/mrand48_r.c (mrand48_r): Likewise.
21886         * stdlib/putenv.c (putenv): Likewise.
21887         * stdlib/random.c (__srandom): Likewise.
21888         (__initstate): Likewise.
21889         (__setstate): Likewise.
21890         * stdlib/random_r.c (__srandom_r): Likewise.
21891         (__setstate_r): Likewise.
21892         (__random_r): Likewise.
21893         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
21894         * stdlib/setcontext.c (setcontext): Likewise.
21895         * stdlib/setenv.c (setenv): Likewise.
21896         (unsetenv): Likewise.
21897         * stdlib/srand48.c (srand48): Likewise.
21898         * stdlib/srand48_r.c (__srand48_r): Likewise.
21899         * stdlib/swapcontext.c (swapcontext): Likewise.
21900         * stdlib/system.c (__libc_system): Likewise.
21901         * stdlib/tst-strtod.c (expand): Likewise.
21902         * stdlib/tst-strtol.c (expand): Likewise.
21903         * stdlib/tst-strtoll.c (expand): Likewise.
21904         * streams/fattach.c (fattach): Likewise.
21905         * streams/fdetach.c (fdetach): Likewise.
21906         * streams/getmsg.c (getmsg): Likewise.
21907         * streams/isastream.c (isastream): Likewise.
21908         * string/ffs.c (__ffs): Likewise.
21909         * string/ffsll.c (ffsll): Likewise.
21910         * string/memcmp.c (memcmp_common_alignment): Likewise.
21911         (memcmp_not_common_alignment): Likewise.
21912         (MEMCMP): Likewise.
21913         * string/memcpy.c (memcpy): Likewise.
21914         * string/memmove.c (MEMMOVE): Likewise.
21915         * string/memset.c (memset): Likewise.
21916         * string/rawmemchr.c (RAWMEMCHR): Likewise.
21917         * string/strchrnul.c (STRCHRNUL): Likewise.
21918         * string/strerror.c (strerror): Likewise.
21919         * string/strndup.c (__strndup): Likewise.
21920         * string/strverscmp.c (__strverscmp): Likewise.
21921         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
21922         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
21923         (clnttcp_freeres): Likewise.
21924         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
21925         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
21926         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
21927         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
21928         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
21929         (xdr_callhdr): Likewise.
21930         * sunrpc/rpcinfo.c (udpping): Likewise.
21931         (tcpping): Likewise.
21932         (pstatus): Likewise.
21933         (pmapdump): Likewise.
21934         (brdcst): Likewise.
21935         (deletereg): Likewise.
21936         (getprognum): Likewise.
21937         (getvers): Likewise.
21938         (get_inet_address): Likewise.
21939         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
21940         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21941         (svcudp_stat): Likewise.
21942         (svcudp_recv): Likewise.
21943         (svcudp_reply): Likewise.
21944         (svcudp_getargs): Likewise.
21945         (svcudp_freeargs): Likewise.
21946         (svcudp_destroy): Likewise.
21947         * sunrpc/xdr.c (xdr_bytes): Likewise.
21948         (xdr_netobj): Likewise.
21949         (xdr_string): Likewise.
21950         (xdr_wrapstring): Likewise.
21951         * sunrpc/xdr_float.c (xdr_float): Likewise.
21952         (xdr_double): Likewise.
21953         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
21954         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
21955         * sysvipc/ftok.c (ftok): Likewise.
21956         * sysvipc/msgctl.c (msgctl): Likewise.
21957         * sysvipc/msgget.c (msgget): Likewise.
21958         * sysvipc/msgrcv.c (msgrcv): Likewise.
21959         * sysvipc/msgsnd.c (msgsnd): Likewise.
21960         * sysvipc/semget.c (semget): Likewise.
21961         * sysvipc/semop.c (semop): Likewise.
21962         * sysvipc/shmat.c (shmat): Likewise.
21963         * sysvipc/shmctl.c (shmctl): Likewise.
21964         * sysvipc/shmdt.c (shmdt): Likewise.
21965         * sysvipc/shmget.c (shmget): Likewise.
21966         * termios/cfmakeraw.c (cfmakeraw): Likewise.
21967         * termios/speed.c (cfgetospeed): Likewise.
21968         (cfgetispeed): Likewise.
21969         (cfsetospeed): Likewise.
21970         (cfsetispeed): Likewise.
21971         * termios/tcflow.c (tcflow): Likewise.
21972         * termios/tcflush.c (tcflush): Likewise.
21973         * termios/tcgetattr.c (__tcgetattr): Likewise.
21974         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
21975         * termios/tcgetsid.c (tcgetsid): Likewise.
21976         * termios/tcsendbrk.c (tcsendbreak): Likewise.
21977         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
21978         * time/adjtime.c (__adjtime): Likewise.
21979         * time/dysize.c (dysize): Likewise.
21980         * time/ftime.c (ftime): Likewise.
21981         * time/getitimer.c (__getitimer): Likewise.
21982         * time/gettimeofday.c (__gettimeofday): Likewise.
21983         * time/gmtime.c (__gmtime_r): Likewise.
21984         (gmtime): Likewise.
21985         * time/localtime.c (__localtime_r): Likewise.
21986         (localtime): Likewise.
21987         * time/offtime.c (__offtime): Likewise.
21988         * time/settimeofday.c (__settimeofday): Likewise.
21989         * time/stime.c (stime): Likewise.
21990         * time/strftime_l.c (tm_diff): Likewise.
21991         (iso_week_days): Likewise.
21992         * time/strptime.c (strptime): Likewise.
21993         * time/time.c (time): Likewise.
21994         * time/timespec_get.c (timespec_get): Likewise.
21995         * time/tzset.c (tzset_internal): Likewise.
21996         (compute_change): Likewise.
21997         (__tz_compute): Likewise.
21998         * wcsmbs/btowc.c (__btowc): Likewise.
21999         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
22000         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
22001         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
22002         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
22003         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
22004         * wcsmbs/wcscat.c (__wcscat): Likewise.
22005         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22006         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
22007         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
22008         * wcsmbs/wcscspn.c (wcscspn): Likewise.
22009         * wcsmbs/wcsdup.c (wcsdup): Likewise.
22010         * wcsmbs/wcslen.c (__wcslen): Likewise.
22011         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
22012         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
22013         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
22014         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
22015         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22016         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
22017         * wcsmbs/wcsspn.c (wcsspn): Likewise.
22018         * wcsmbs/wcsstr.c (wcsstr): Likewise.
22019         * wcsmbs/wcstok.c (wcstok): Likewise.
22020         * wcsmbs/wctob.c (wctob): Likewise.
22021         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
22022         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22023         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
22024         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
22025         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
22026         * wcsmbs/wmemset.c (__wmemset): Likewise.
22027         * wctype/wcfuncs.c (__towlower): Likewise.
22028         (__towupper): Likewise.
22030         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
22031         (lll_unlock_elision): Add adapt_count parameter.
22033 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
22035         * sysdeps/nptl/configure.ac: Do not give errors based on the
22036         results of top-level configure tests.
22037         * sysdeps/nptl/configure: Regenerated.
22039         * configure.ac (libc_cv_Bgroup): Remove configure test.
22040         * configure: Regenerated.
22041         * config.make.in (have-Bgroup): Remove variable.
22043         * configure.ac (sizeof_long_double): Remove configure test.
22044         * configure: Regenerated.
22045         * config.make.in (sizeof-long-double): Remove variable.
22047         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
22048         * configure: Regenerated.
22049         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
22050         variable.
22051         (exceptions): Likewise.
22052         * sysdeps/arm/configure: Regenerated.
22053         * config.make.in (exceptions): Remove variable.
22054         * Makeconfig (uses-callbacks): Use -fexceptions instead of
22055         $(exceptions).
22056         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
22057         (CFLAGS-vdprintf_chk.c): Likewise.
22058         (CFLAGS-printf_chk.c): Likewise.
22059         (CFLAGS-fprintf_chk.c): Likewise.
22060         (CFLAGS-vprintf_chk.c): Likewise.
22061         (CFLAGS-vfprintf_chk.c): Likewise.
22062         (CFLAGS-gets_chk.c): Likewise.
22063         (CFLAGS-fgets_chk.c): Likewise.
22064         (CFLAGS-fgets_u_chk.c): Likewise.
22065         (CFLAGS-fread_chk.c): Likewise.
22066         (CFLAGS-fread_u_chk.c): Likewise.
22067         (CFLAGS-wprintf_chk.c): Likewise.
22068         (CFLAGS-fwprintf_chk.c): Likewise.
22069         (CFLAGS-vwprintf_chk.c): Likewise.
22070         (CFLAGS-vfwprintf_chk.c): Likewise.
22071         (CFLAGS-fgetws_chk.c): Likewise.
22072         (CFLAGS-fgetws_u_chk.c): Likewise.
22073         * libio/Makefile (CFLAGS-fileops.c): Likewise.
22074         (CFLAGS-fputc.c): Likewise.
22075         (CFLAGS-fputwc.c): Likewise.
22076         (CFLAGS-freopen64.c): Likewise.
22077         (CFLAGS-freopen.c): Likewise.
22078         (CFLAGS-fseek.c): Likewise.
22079         (CFLAGS-fseeko64.c): Likewise.
22080         (CFLAGS-fseeko.c): Likewise.
22081         (CFLAGS-ftello64.c): Likewise.
22082         (CFLAGS-ftello.c): Likewise.
22083         (CFLAGS-fwide.c): Likewise.
22084         (CFLAGS-genops.c): Likewise.
22085         (CFLAGS-getc.c): Likewise.
22086         (CFLAGS-getchar.c): Likewise.
22087         (CFLAGS-getwc.c): Likewise.
22088         (CFLAGS-getwchar.c): Likewise.
22089         (CFLAGS-iofclose.c): Likewise.
22090         (CFLAGS-iofflush.c): Likewise.
22091         (CFLAGS-iofgetpos64.c): Likewise.
22092         (CFLAGS-iofgetpos.c): Likewise.
22093         (CFLAGS-iofgets.c): Likewise.
22094         (CFLAGS-iofgetws.c): Likewise.
22095         (CFLAGS-iofputs.c): Likewise.
22096         (CFLAGS-iofputws.c): Likewise.
22097         (CFLAGS-iofread.c): Likewise.
22098         (CFLAGS-iofsetpos64.c): Likewise.
22099         (CFLAGS-iofsetpos.c): Likewise.
22100         (CFLAGS-ioftell.c): Likewise.
22101         (CFLAGS-iofwrite.c): Likewise.
22102         (CFLAGS-iogetdelim.c): Likewise.
22103         (CFLAGS-iogetline.c): Likewise.
22104         (CFLAGS-iogets.c): Likewise.
22105         (CFLAGS-iogetwline.c): Likewise.
22106         (CFLAGS-ioputs.c): Likewise.
22107         (CFLAGS-ioseekoff.c): Likewise.
22108         (CFLAGS-ioseekpos.c): Likewise.
22109         (CFLAGS-iosetbuffer.c): Likewise.
22110         (CFLAGS-iosetvbuf.c): Likewise.
22111         (CFLAGS-ioungetc.c): Likewise.
22112         (CFLAGS-ioungetwc.c): Likewise.
22113         (CFLAGS-oldfileops.c): Likewise.
22114         (CFLAGS-oldiofclose.c): Likewise.
22115         (CFLAGS-oldiofgetpos64.c): Likewise.
22116         (CFLAGS-oldiofgetpos.c): Likewise.
22117         (CFLAGS-oldiofsetpos64.c): Likewise.
22118         (CFLAGS-oldiofsetpos.c): Likewise.
22119         (CFLAGS-peekc.c): Likewise.
22120         (CFLAGS-putc.c): Likewise.
22121         (CFLAGS-putchar.c): Likewise.
22122         (CFLAGS-putwc.c): Likewise.
22123         (CFLAGS-putwchar.c): Likewise.
22124         (CFLAGS-rewind.c): Likewise.
22125         (CFLAGS-wfileops.c): Likewise.
22126         (CFLAGS-wgenops.c): Likewise.
22127         (CFLAGS-oldiofopen.c): Likewise.
22128         (CFLAGS-iofopen.c): Likewise.
22129         (CFLAGS-iofopen64.c): Likewise.
22130         (CFLAGS-oldtmpfile.c): Likewise.
22131         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22132         (CFLAGS-fprintf.c): Likewise.
22133         (CFLAGS-printf.c): Likewise.
22134         (CFLAGS-vfwprintf.c): Likewise.
22135         (CFLAGS-vfscanf.c): Likewise.
22136         (CFLAGS-vfwscanf.c): Likewise.
22137         (CFLAGS-fscanf.c): Likewise.
22138         (CFLAGS-scanf.c): Likewise.
22139         (CFLAGS-isoc99_vfscanf.c): Likewise.
22140         (CFLAGS-isoc99_vscanf.c): Likewise.
22141         (CFLAGS-isoc99_fscanf.c): Likewise.
22142         (CFLAGS-isoc99_scanf.c): Likewise.
22143         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
22144         (CFLAGS-isoc99_fwscanf.c): Likewise.
22145         (CFLAGS-isoc99_vwscanf.c): Likewise.
22146         (CFLAGS-isoc99_vfwscanf.c): Likewise.
22148         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
22149         after mkstemp64.
22150         * login/tst-utmp.c (do_prepare): Likewise.
22151         * rt/tst-aio.c (do_prepare): Likewise.
22152         * rt/tst-aio64.c (do_prepare): Likewise.
22154 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22156         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
22157         (__lll_lock_elision): Remove adapt_count decrement...
22158         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22159         (__lll_trylock_elision): Likewise.
22160         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
22161         (__lll_unlock_elision): ... to here. And utilize
22162         new adapt_count parameter.
22163         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
22164         (__lll_unlock_elision): Update to include adapt_count
22165         parameter.
22166         (lll_unlock_elision): Pass pointer to adapt_count
22167         variable.
22169 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22171         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
22172         Add elision adapt_count parameter to list of arguments.
22173         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
22174         (lll_unlock_elision): Update with new parameter list
22175         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
22176         (lll_unlock_elision): Likewise.
22177         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
22178         (lll_unlock_elision): Likewise.
22180 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22182         [BZ #19122]
22183         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
22184         attribute_hidden.
22186         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
22187         attribute_hidden.
22188         [IS_IN (rtld)] (__strdup): Likewise.
22189         [IS_IN (rtld)] (__strerror_r): Likewise.
22190         [IS_IN (rtld)] (__strsep_g): Likewise.
22191         [IS_IN (rtld)] (memchr): Likewise.
22192         [IS_IN (rtld)] (memcmp): Likewise.
22193         [IS_IN (rtld)] (memcpy): Likewise.
22194         [IS_IN (rtld)] (memmove): Likewise.
22195         [IS_IN (rtld)] (memset): Likewise.
22196         [IS_IN (rtld)] (rawmemchr): Likewise.
22197         [IS_IN (rtld)] (stpcpy): Likewise.
22198         [IS_IN (rtld)] (strchr): Likewise.
22199         [IS_IN (rtld)] (strcmp): Likewise.
22200         [IS_IN (rtld)] (strlen): Likewise.
22201         [IS_IN (rtld)] (strnlen): Likewise.
22202         [IS_IN (rtld)] (strsep): Likewise.
22204         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
22205         attribute_hidden.
22206         [IS_IN (rtld)] (__strtoul_internal): Likewise.
22208         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
22209         attribute_hidden.
22210         [IS_IN (rtld)] (__libc_sigaction): Likewise.
22212         * include/setjmp.h (__longjmp): Add attribute_hidden.
22213         [IS_IN (rtld)] (__sigsetjmp): Likewise.
22215         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
22216         Add attribute_hidden.
22218         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
22219         [IS_IN (rtld)] (__open): Likewise.
22220         [IS_IN (rtld)] (__fcntl): Likewise.
22222         * include/dirent.h (__opendirat): Add attribute_hidden.
22223         (__getdents): Likewise.
22224         (__getdents64): Likewise.
22225         (__alloc_dir): Likewise.
22226         [IS_IN (rtld)] (__closedir): Likewise.
22227         [IS_IN (rtld)] (__fdopendir): Likewise.
22228         [IS_IN (rtld)] (__readdir): Likewise.
22229         [IS_IN (rtld)] (__readdir64): Likewise.
22230         [IS_IN (rtld)] (__rewinddir): Likewise.
22232         * include/dlfcn.h (_dl_catch_error): Moved to ...
22233         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
22234         attribute_hidden.
22236         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
22237         (_itoa_word): Likewise.
22239         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
22240         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
22241         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
22242         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
22243         (_dl_higher_prime_number): Likewise.
22244         (_dl_debug_printf_c): Likewise.
22245         (_dl_signal_cerror): Likewise.
22246         (_dl_receive_error): Likewise.
22247         (_dl_reloc_bad_type): Likewise.
22248         (_dl_resolve_conflicts): Likewise.
22249         (_dl_check_all_versions): Likewise.
22250         (_dl_check_map_versions): Likewise.
22251         (_dl_sort_fini): Likewise.
22252         (_dl_debug_initialize): Likewise.
22253         (_dl_init_paths): Likewise.
22254         (_dl_show_auxv): Likewise.
22255         (_dl_next_ld_env_entry): Likewise.
22256         (_dl_important_hwcaps): Likewise.
22257         (_dl_load_cache_lookup): Likewise.
22258         (_dl_update_slotinfo): Likewise.
22259         (_dl_show_scope): Likewise.
22261         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
22262         attribute_hidden.
22263         (_wordcopy_fwd_dest_aligned): Likewise.
22264         (_wordcopy_bwd_aligned): Likewise.
22265         (_wordcopy_bwd_dest_aligned): Likewise.
22267         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22268         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22269         Likewise.
22270         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22271         Likewise.
22272         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
22274 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22276         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
22277         GCC 5 requirement.
22279 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
22281         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
22282         test.
22283         * sysdeps/i386/configure: Regenerated.
22284         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
22285         code unconditional.
22287         * configure.ac (libc_cv_asm_previous_directive): Remove configure
22288         test.
22289         (libc_cv_asm_popsection_directive): Likewise.
22290         * configure: Regenerated.
22291         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
22292         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
22293         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
22294         (__make_section_unallocated): Make definition unconditional.
22295         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
22296         Remove conditional definition.
22297         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
22298         (__make_section_unallocated): Likewise.
22300         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
22301         * configure: Regenerated.
22302         * config.make.in (static-libgcc): Remove variable.
22303         * Makerules (build-shlib-helper): Use -static-libgcc instead of
22304         $(static-libgcc).
22305         (build-module-helper): Likewise.
22307         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
22308         * configure: Regenerated.
22310 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22312         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
22313         (struct char_buffer): New type.
22314         (char_buffer_start, char_buffer_size, char_buffer_error)
22315         (char_buffer_rewind, char_buffer_add): New functions.
22316         (ADDW): Remove macro, replaced by the char_buffer_add function.
22317         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
22318         of extend_alloca.  Make control flow more explicit.
22320 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22322         [BZ #19137]
22323         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
22324         Add -fomit-frame-pointer.
22325         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
22327 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22329         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
22330         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
22331         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
22332         only if !__GNUC_PREREQ (5,0).
22333         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
22334         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
22335         (INTERNAL_SYSCALL_NCS): Likewise.
22336         (LOADREGS_0): New macro for GCC 5.
22337         (ASMARGS_0): Likewise.
22338         (LOADREGS_1): Likewise.
22339         (ASMARGS_1): Likewise.
22340         (LOADREGS_2): Likewise.
22341         (ASMARGS_2): Likewise.
22342         (LOADREGS_3): Likewise.
22343         (ASMARGS_3): Likewise.
22344         (LOADREGS_4): Likewise.
22345         (ASMARGS_4): Likewise.
22346         (LOADREGS_5): Likewise.
22347         (ASMARGS_5): Likewise.
22348         (LOADREGS_6): Likewise.
22349         (ASMARGS_6): Likewise.
22351 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22353         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
22354         -fomit-frame-pointer.
22355         (CFLAGS-mmap64.c): Likewise.
22356         (CFLAGS-semtimedop.c): Likewise.
22357         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
22358         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
22359         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22360         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22362 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22364         [BZ #18928]
22365         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
22366         _dl_pointer_guard member.
22367         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
22368         initializer.
22369         (security_init): Always set up pointer guard.
22370         (process_envvars): Do not process LD_POINTER_GUARD.
22372 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
22374         [BZ #19134]
22375         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
22376         (.LC2): Likewise.
22377         (.LC3): Likewise.
22378         (__lround): Do not add 0.5 to integer or out-of-range arguments.
22380 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22382         [BZ #19129]
22383         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
22384         r0 and r1.
22386 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
22388         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
22390 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
22392         * include/stap-probe.h: Fix macro definition formatting.
22394 2015-10-14  Florian Weimer  <fweimer@redhat.com>
22396         [BZ #19074]
22397         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
22398         load and store num_ifs.
22400 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22402         [BZ #18822]
22403         * sysdeps/unix/sysv/linux/sched_getaffinity.c
22404         (__sched_getaffinity_new): Add libc_hidden_proto and
22405         libc_hidden_def.
22407 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22409         [BZ #19007]
22410         * scripts/localplt.awk: Also allow GOT references.
22411         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
22412         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
22413         with "+ REL R_386_GLOB_DAT".
22414         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
22415         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
22417 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22419         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
22420         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22421         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
22422         Likewise.
22423         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22424         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
22425         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
22426         INTERNAL_SYSCALLINTERNAL_SYSCALL and
22427         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22428         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
22429         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22430         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
22431         Likewise.
22432         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22434 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22436         [BZ #19125]
22437         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
22438         <math_private.h> and <stdint.h>.
22439         (__llround): Avoid conversions to and from long long int, and
22440         subtractions, where those might raise spurious exceptions.
22441         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22442         <math_private.h> and <stdint.h>.
22443         (__llroundf): Avoid conversions to and from long long int, and
22444         subtractions, where those might raise spurious exceptions.
22446 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22448         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
22449         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22450         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22451         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
22452         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22453         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22454         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
22455         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
22456         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
22457         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22458         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22459         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22460         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
22461         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22462         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22463         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
22464         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
22465         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22466         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
22467         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
22468         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22469         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
22470         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
22471         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22472         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
22473         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22474         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
22475         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22476         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22477         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
22478         (__xstat64_conv): Likewise.
22479         (__xstat32_conv): Likewise.
22481 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22483         * sysdeps/unix/sysv/linux/sysdep.h: New file.
22484         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
22485         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
22486         <sysdeps/unix/sysv/linux/sysdep.h>.
22487         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22488         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
22489         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
22490         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22491         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22492         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
22493         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
22494         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22495         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22498         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22499         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22500         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22501         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22502         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22503         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
22504         (sysdep-dl-routines): Add sysdep.
22505         [$(subdir) == nptl] (libpthread-routines): Likewise.
22506         [$(subdir) == rt] (librt-routines): Likewise.
22507         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
22508         PIC when branching to SYSCALL_ERROR_LABEL.
22509         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
22510         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
22511         <sysdeps/unix/sysv/linux/sysdep.h>.
22512         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
22513         (SYSCALL_ERROR_ERRNO): Removed.
22514         (SYSCALL_ERROR_HANDLER): Changed to empty.
22515         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
22516         (__syscall_error): New prototype.
22517         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
22518         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
22520 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22522         [BZ #19124]
22523         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
22524         (_dl_runtime_resolve_avx512): Make it a hidden alias of
22525         _dl_runtime_resolve_avx.
22526         (_dl_runtime_profile_avx512): Make it a hidden alias of
22527         _dl_runtime_profile_avx.
22529 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22531         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
22532         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
22533         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
22534         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
22536         [BZ #16422]
22537         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
22538         New configure test.
22539         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
22540         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
22541         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
22542         <math_private.h> and <stdint.h>.
22543         (__llrint): Avoid conversions to long long int where those might
22544         raise spurious exceptions.
22545         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22546         <math_private.h> and <stdint.h>.
22547         (__llrintf): Avoid conversions to long long int where those might
22548         raise spurious exceptions.
22550 2015-10-12  Andreas Schwab  <schwab@suse.de>
22552         [BZ #18969]
22553         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
22554         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
22555         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
22556         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
22557         $(gen-locales).
22558         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
22559         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
22560         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
22561         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
22562         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
22563         $(gen-locales).
22564         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
22565         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
22566         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
22567         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
22568         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
22569         ($(objpfx)tst-ftell-active-handler.out)
22570         ($(objpfx)tst-ftell-append.out)
22571         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
22572         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
22573         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
22574         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
22575         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
22576         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
22577         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
22578         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
22579         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
22580         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
22581         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
22582         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
22583         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
22584         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
22585         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
22586         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
22587         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
22588         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
22589         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
22590         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
22591         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
22592         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
22593         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
22594         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
22595         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
22596         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
22597         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
22598         $(gen-locales).
22599         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
22600         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
22601         $(gen-locales).
22602         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
22603         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
22604         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
22605         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
22606         $(gen-locales).
22607         * libio/tst_wprintf2.c (main): Use explicit locale.
22608         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
22610 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22612         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
22613         __msg_sig_post.
22614         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
22616 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22618         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22619         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22621         * sysdeps/arm/libm-test-ulps: Regenerated.
22623         [BZ #15470]
22624         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
22626         [BZ #16399]
22627         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
22628         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
22629         and <fix-fp-int-convert-overflow.h>.
22630         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22631         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22632         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
22633         and <fix-fp-int-convert-overflow.h>.
22634         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
22635         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22636         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
22637         <fix-fp-int-convert-overflow.h>.
22638         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22639         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22640         * sysdeps/ieee754/dbl-64/s_lround.c: Include
22641         <fix-fp-int-convert-overflow.h>.
22642         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
22643         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22644         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
22645         and <fix-fp-int-convert-overflow.h>.
22646         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22647         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22648         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
22649         <limits.h> and <fix-fp-int-convert-overflow.h>.
22650         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22651         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22652         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
22653         and <fix-fp-int-convert-overflow.h>.
22654         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22655         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22656         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
22657         and <fix-fp-int-convert-overflow.h>.
22658         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22659         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22660         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
22662 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
22664         [BZ #18589]
22665         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
22666         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
22667         $(gen-locales).
22669 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22670             Phil Blundell <pb@pbcl.net>
22672         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
22673         * nptl/tst-cancel26.c: New file.
22674         * nptl/tst-cancel27.c: Likewise.
22676 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
22678         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
22679         __ILP32__ isn't defined.
22680         (lrint): Likewise.
22681         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
22682         (lrintf): Likewise.
22683         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
22684         (lrintl): Likewise.
22685         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
22686         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
22687         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
22689 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22691         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22692         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22694         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
22695         file.
22696         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
22697         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22699 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22701         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
22702         configure test.
22703         * sysdeps/i386/configure: Regenerated.
22704         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
22705         configure test.
22706         * sysdeps/x86_64/configure: Regenerated.
22707         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
22708         Make code unconditional.
22710         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
22711         test.
22712         * sysdeps/i386/configure: Regenerated.
22713         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
22714         test.
22715         * sysdeps/x86_64/configure: Regenerated.
22716         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
22717         Make code unconditional.
22718         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22719         Likewise.
22720         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
22721         Likewise.
22722         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22723         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
22724         code unconditional.
22725         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22726         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
22727         code unconditional.
22728         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22729         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
22730         code unconditional.
22731         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
22732         code unconditional.
22733         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22734         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
22735         code unconditional.
22736         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22737         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
22738         code unconditional.
22739         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22740         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
22741         code unconditional.
22742         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22743         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
22744         code unconditional.
22745         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22746         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
22748         [BZ #19095]
22749         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
22750         mantissa to long int before shifting left.
22752 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22754         [BZ #19094]
22755         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
22756         <limits.h>.
22757         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22758         when result overflows but exception would not result from cast.
22759         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
22760         <limits.h>.
22761         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22762         when result overflows but exception would not result from cast.
22763         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
22764         <limits.h>.
22765         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22766         when result overflows but exception would not result from cast.
22767         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
22768         <limits.h>.
22769         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22770         when result overflows but exception would not result from cast.
22771         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
22772         <limits.h>.
22773         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22774         when result overflows but exception would not result from cast.
22775         * math/libm-test.inc (lrint_test_data): Add more tests.
22776         (llrint_test_data): Likewise.
22778 2015-10-08  Roland McGrath  <roland@hack.frob.com>
22780         [BZ #18872]
22781         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
22782         Move out from under [$(run-built-tests) = yes] conditional.
22783         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
22784         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
22786 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
22788         [BZ #18589]
22789         * string/Makefile (tests): Add bug-strcoll2.
22790         (LOCALES): Add cs_CZ.UTF-8.
22791         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
22793         [BZ #18589]
22794         * string/bug-strcoll2.c: New file.
22795         * locale/categories.def: Revert commit
22796         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
22797         * locale/langinfo.h: Likewise.
22798         * locale/localeinfo.h: Likewise.
22799         * locale/C-collate.c: Likewise.
22800         * locale/programs/ld-collate.c (collate_output): Likewise.
22801         * string/strcoll_l.c (STRDIFF): Likewise.
22802         (STRCOLL): Likewise.
22803         * wcsmbs/wcscoll_l.c: Likewise.
22805 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22807         * math/libm-test.inc (lround_test_data): Do not expect the absence
22808         of "inexact" for some tests with non-integer arguments.
22809         (llround_test_data): Likewise.
22811         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
22812         test.
22813         (libc_cv_cc_sse2avx): Likewise.
22814         * sysdeps/i386/configure: Regenerated.
22815         * sysdeps/i386/i686/multiarch/Makefile
22816         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
22817         [$(subdir) = math].
22818         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
22819         code unconditional.
22820         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22821         Likewise.
22822         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
22823         Likewise.
22824         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22825         Likewise.
22826         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
22827         test.
22828         (libc_cv_cc_sse2avx): Likewise.
22829         * sysdeps/x86_64/configure: Regenerated.
22830         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
22831         unconditional.
22832         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
22833         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
22834         unconditional.
22835         (_dl_runtime_profile)
22836         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
22837         conditional code.
22838         * sysdeps/x86_64/fpu/multiarch/Makefile
22839         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
22840         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22841         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22842         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22843         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22844         * sysdeps/x86_64/fpu/multiarch/e_log.c
22845         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22846         * sysdeps/x86_64/fpu/multiarch/s_atan.c
22847         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22848         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22849         Likewise.
22850         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22851         Likewise.
22852         * sysdeps/x86_64/fpu/multiarch/s_sin.c
22853         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22854         * sysdeps/x86_64/fpu/multiarch/s_tan.c
22855         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22856         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
22857         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
22858         (HAVE_SSE2AVX_SUPPORT): Likewise.
22860 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
22862         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
22863         instead of #pragma optimize.
22865 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22867         [BZ #17195]
22868         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
22869         as is similarly done in systrim and _int_free already.
22871 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22873         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
22875 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22877         [BZ #19088]
22878         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
22879         <limits.h>.
22880         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22881         overflows but exception would not result from cast.
22882         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
22883         and <limits.h>.
22884         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22885         overflows but exception would not result from cast.
22886         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
22887         <limits.h>.
22888         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22889         overflows but exception would not result from cast.
22890         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
22891         <limits.h>.
22892         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22893         overflows but exception would not result from cast.
22894         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
22895         <limits.h>.
22896         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22897         overflows but exception would not result from cast.
22898         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
22899         <limits.h>.
22900         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22901         overflows but exception would not result from cast.
22902         * math/libm-test.inc (lround_test_data): Add more tests.
22903         (llround_test_data): Likewise.
22905 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
22907         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
22908         (CFLAGS-ialloc.c): Ditto.
22909         (CFLAGS-scheck.c): Ditto.
22911 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22913         [BZ #19086]
22914         * manual/filesys.texi (Storage Allocation): Fix argument order for
22915         posix_fallocate64.
22917 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22919         [BZ #19085]
22920         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
22921         exponent below 48 inside case for non-overflowing exponent.
22922         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
22924 2015-10-07  Florian Weimer  <fweimer@redhat.com>
22926         * iconvdata/cp737.h (from_idx): Add const.
22927         * iconvdata/cp775.h (from_idx): Likewise.
22929 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22931         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
22932         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
22933         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
22935         [BZ #19079]
22936         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
22937         file, conditioned on [!_LP64].
22938         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
22939         [!_LP64] (__lround): Do not define as function or alias.
22940         [!_LP64] (lround): Likewise.
22941         [!_LP64] (__lroundl): Likewise.
22942         [!_LP64] (lroundl): Likewise.
22943         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
22944         macro.
22945         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22946         Likewise.
22948 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22950         * math/libm-test.inc (lrint_test_data): Add more tests.
22951         (llrint_test_data): Likewise.
22952         (lround_test_data): Likewise.
22953         (llround_test_data): Likewise.
22955         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
22956         (llrint_test_data): Add tests used for lrint.
22958         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
22959         test.
22960         * sysdeps/i386/configure: Regenerated.
22961         * sysdeps/i386/i686/multiarch/Makefile
22962         [$(config-cflags-sse4) = yes]: Make code unconditional.
22963         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22964         Likewise.
22965         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
22966         Likewise.
22967         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
22968         test.
22969         * sysdeps/x86_64/configure: Regenerated.
22970         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
22971         Make code unconditional.
22972         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22973         Likewise.
22974         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
22975         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
22977         * scripts/rpm2dynsym.sh: Remove file.
22979 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22981         * configure.ac (libc_cv_cxx_thread_local): Define.
22982         * configure: Regenerate.
22983         * config.make.in (have-cxx-thread_local): Define.
22984         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
22985         (LDLIBS-tst-thread_local1): Define.
22986         (tests): Add tst-thread_local1.
22987         [have-cxx-thread_local != yes] (tests-unsupported): Add
22988         tst-thread_local1.
22989         * nptl/tst-thread_local1.cc: New file.
22991 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22993         [BZ #19078]
22994         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
22995         (u_thres): Likewise.
22996         (__expl): Determine whether to call __kernel_standard_l based on
22997         value of result, not argument.
22999         * math/libm-test.inc (scalb_test_data): Add more expectations for
23000         the "inexact" exception.
23002         [BZ #19077]
23003         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
23004         0.0L for argument 1.0L.
23006         [BZ #19076]
23007         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
23008         constant 0.0L when computing infinite result.
23010 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23012         [BZ #10432]
23013         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
23014         malloc_usable_size.
23016 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23018         [BZ #19018]
23019         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23020         Mangle function pointer before storing it.
23021         (__call_tls_dtors): Demangle function pointer before calling it.
23023 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23025         [BZ #19012]
23026         * iconv/gconv_db.c (gen_steps): Check for additional errors.
23027         Clean up on failure.
23029 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
23031         [BZ #19071]
23032         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
23033         long int variable to store possibly incremented high part of
23034         mantissa.
23035         * math/libm-test.inc (lround_test_data): Add tests used for
23036         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
23037         for tests requiring 64-bit long.  Do not condition tests on
23038         [TEST_FLOAT] unnecessarily.
23039         (llround_test_data): Add tests used for lround.  Add another
23040         expectation for the "inexact" exception.  Do not condition tests
23041         on [TEST_FLOAT] unnecessarily.
23043         [BZ #887]
23044         [BZ #19049]
23045         [BZ #19050]
23046         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
23047         * sysdeps/ieee754/dbl-64/e_log10.c: Include
23048         <fix-int-fp-convert-zero.h>.
23049         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23050         * sysdeps/ieee754/dbl-64/e_log2.c: Include
23051         <fix-int-fp-convert-zero.h>.
23052         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23053         * sysdeps/ieee754/dbl-64/s_erf.c: Include
23054         <fix-int-fp-convert-zero.h>.
23055         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23056         * sysdeps/ieee754/dbl-64/s_logb.c: Include
23057         <fix-int-fp-convert-zero.h>.
23058         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23059         * sysdeps/ieee754/flt-32/e_log10f.c: Include
23060         <fix-int-fp-convert-zero.h>.
23061         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23062         * sysdeps/ieee754/flt-32/e_log2f.c: Include
23063         <fix-int-fp-convert-zero.h>.
23064         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23065         * sysdeps/ieee754/flt-32/s_erff.c: Include
23066         <fix-int-fp-convert-zero.h>.
23067         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23068         * sysdeps/ieee754/flt-32/s_logbf.c: Include
23069         <fix-int-fp-convert-zero.h>.
23070         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23071         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
23072         <fix-int-fp-convert-zero.h>.
23073         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23074         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
23075         <fix-int-fp-convert-zero.h>.
23076         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23077         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
23078         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
23079         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
23080         file.
23081         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
23083 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
23085         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23087 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
23089         [BZ #19059]
23090         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
23091         overflowing computation.
23092         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23093         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23094         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23095         Likewise.
23096         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23097         Likewise.
23098         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23099         Likewise.
23100         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23101         Likewise.
23102         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23103         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23104         Likewise.
23105         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23106         Likewise.
23107         * math/libm-test.inc (nexttoward_test_data): Add more tests.
23109         * nss/rewrite_field.c (__nss_rewrite_field): Use
23110         internal_function.
23111         * nss/valid_field.c (__nss_valid_field): Likewise.
23112         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
23114 2015-10-02  Florian Weimer  <fweimer@redhat.com>
23116         [BZ #18724]
23117         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
23118         (__nss_invalid_field_characters, __nss_valid_field)
23119         (__nss_valid_list_field, __nss_rewrite_field): Declare.
23120         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
23121         tst-field.c: New file.
23122         * nss/Makefile (routines): Add valid_field, rewrite_field.
23123         (tests-static): Define unconditionally.
23124         (tests): Include tests-static.
23125         [build-static-nss] (tests-static): Use append.
23126         [build-static-nss] (tests): Remove modification.
23127         * nss/getent.c (print_group): Call putgrent.  Report error.
23128         (print_gshadow): Call putsgent.  Report error.
23129         (print_passwd): Call putpwent.  Report error.
23130         (print_shadow): Call putspent.  Report error.
23131         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
23132         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
23133         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
23134         name, password, directory, shell fields for valid syntax.  Rewrite
23135         GECOS field to match syntax.
23136         * pwd/Makefile (tests): Add tst-putpwent.
23137         * pwd/tst-putpwent.c: New file.
23138         * grp/putgrent.c (putgrent): Convert to ISO function definition.
23139         Check grName, grpasswd, gr_mem fields for valid syntax.
23140         Change loop variable i to size_t.
23141         * grp/Makefile (tests): Add tst-putgrent.
23142         * grp/tst-putgrent.c: New file.
23143         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
23144         valid syntax.
23145         * shadow/Makefile (tests): Add tst-putspent.
23146         * shadow/tst-putspent.c: New file.
23147         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
23148         sg_mem fields for valid syntax.
23149         * gshadow/Makefile (tests): Add tst-putsgent.
23150         * gshadow/tst-putsgent.c: New file.
23152 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23154         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
23155         assembly instructions.
23157 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23159         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
23160         prefix from operands.
23162 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
23164         [BZ #16347]
23165         [BZ #19046]
23166         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
23167         <libc-internal.h>.
23168         (MAXLGM): Do not use diagnostic control macros.
23169         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
23170         threshold for ldbl-128ibm.
23171         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
23172         instead of multiplying by log then subtracting.
23173         * math/auto-libm-test-in: Add more tests of lgamma.
23174         * math/auto-libm-test-out: Regenerated.
23176         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
23177         (TYPE_HEX_DIG): Likewise.
23178         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
23179         precisions when printing floating-point numbers.
23180         (check_float_internal): Likewise.
23182 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
23184         [BZ #16620]
23185         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
23186         of log (10) rounded downward to 48 bits.
23187         (log10_low): Use corresponding low part of log (10).
23189         [BZ #19032]
23190         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
23191         compute result as (x - x) / (x - x) not as 0 / 0.
23192         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
23193         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
23195         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23196         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
23197         and expm1.
23198         * math/auto-libm-test-out: Regenerated.
23199         * math/libm-test.inc (acos_test_data): Add more tests.
23200         (asin_test_data): Likewise.
23201         (asinh_test_data): Likewise.
23202         (atan_test_data): Likewise.
23203         (atanh_test_data): Likewise.
23204         (atan2_test_data): Likewise.
23205         (cbrt_test_data): Likewise.
23206         (ceil_test_data): Likewise.
23207         (copysign_test_data): Likewise.
23208         (cos_test_data): Likewise.
23209         (cosh_test_data): Likewise.
23210         (erf_test_data): Likewise.
23211         (erfc_test_data): Likewise.
23212         (exp_test_data): Likewise.
23213         (exp10_test_data): Likewise.
23214         (exp2_test_data): Likewise.
23215         (expm1_test_data): Likewise.
23216         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23218 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
23220         [BZ #19006]
23221         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
23222         to ...
23223         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
23224         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
23225         to ...
23226         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
23227         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
23228         to ...
23229         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
23230         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
23231         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
23232         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
23233         to ...
23234         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
23235         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
23236         Moved to ...
23237         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
23238         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
23239         Moved to ...
23240         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
23241         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
23242         to ...
23243         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
23244         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
23245         Moved to ...
23246         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
23247         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
23248         to ...
23249         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
23250         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
23251         Removed.
23252         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
23253         Likewise.
23254         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
23255         Likewise.
23256         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
23257         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
23258         Likewise.
23259         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
23260         Likewise.
23261         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
23262         Likewise.
23263         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
23264         Likewise.
23265         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
23266         Likewise.
23267         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
23268         Likewise.
23269         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
23270         Likewise.
23271         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
23272         Likewise.
23273         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
23274         Likewise.
23275         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
23276         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
23277         Likewise.
23278         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
23279         Likewise.
23280         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
23281         Likewise.
23282         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
23283         Likewise.
23284         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
23285         Likewise.
23286         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
23287         Replace ../i486/pthread_cond_timedwait.S with
23288         ../pthread_cond_timedwait.S.
23290 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
23292         * math/libm-test.inc (acos_test_data): Refine expectations for
23293         errno and "inexact" exceptions.
23294         (acosh_test_data): Likewise.
23295         (asin_test_data): Likewise.
23296         (asinh_test_data): Likewise.
23297         (atan_test_data): Likewise.
23298         (atanh_test_data): Likewise.
23299         (atan2_test_data): Likewise.
23300         (cbrt_test_data): Likewise.
23301         (ceil_test_data): Likewise.
23302         (copysign_test_data): Likewise.
23303         (cosh_test_data): Likewise.
23304         (erf_test_data): Likewise.
23305         (erfc_test_data): Likewise.
23306         (exp_test_data): Likewise.
23307         (exp10_test_data): Likewise.
23308         (exp2_test_data): Likewise.
23309         (expm1_test_data): Likewise.
23310         (fabs_test_data): Likewise.
23311         (floor_test_data): Likewise.
23312         (fma_test_data): Likewise.
23313         (fmax_test_data): Likewise.
23314         (fmin_test_data): Likewise.
23315         (fmod_test_data): Likewise.
23316         (fpclassify_test_data): Likewise.
23317         (frexp_test_data): Likewise.
23318         (hypot_test_data): Likewise.
23319         (ilogb_test_data): Likewise.
23320         (isgreater_test_data): Likewise.
23321         (isgreaterequal_test_data): Likewise.
23322         (isinf_test_data): Likewise.
23323         (isless_test_data): Likewise.
23324         (islessequal_test_data): Likewise.
23325         (islessgreater_test_data): Likewise.
23326         (isnan_test_data): Likewise.
23327         (isnormal_test_data): Likewise.
23328         (issignaling_test_data): Likewise.
23329         (isunordered_test_data): Likewise.
23330         (j0_test_data): Likewise.
23331         (j1_test_data): Likewise.
23332         (jn_test_data): Likewise.
23333         (lgamma_test_data): Likewise.
23334         (lrint_test_data): Likewise.
23335         (llrint_test_data): Likewise.
23336         (log_test_data): Likewise.
23337         (log10_test_data): Likewise.
23338         (log1p_test_data): Likewise.
23339         (log2_test_data): Likewise.
23340         (logb_test_data): Likewise.
23341         (lround_test_data): Likewise.
23342         (llround_test_data): Likewise.
23343         (modf_test_data): Likewise.
23344         (nearbyint_test_data): Likewise.
23345         (nextafter_test_data): Likewise.
23346         (nexttoward_test_data): Likewise.
23347         (pow_test_data): Likewise.
23348         (remainder_test_data): Likewise.
23349         (remquo_test_data): Likewise.
23350         (rint_test_data): Likewise.
23351         (round_test_data): Likewise.
23352         (signbit_test_data): Likewise.
23353         (sinh_test_data): Likewise.
23354         (sqrt_test_data): Likewise.
23355         (tanh_test_data): Likewise.
23356         (tgamma_test_data): Likewise.
23357         (trunc_test_data): Likewise.
23358         (y0_test_data): Likewise.
23359         (y1_test_data): Likewise.
23360         (yn_test_data): Likewise.
23361         (significand_test_data): Likewise.
23363 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
23365         * manual/filesys.texi (Storage Allocation): Document that
23366         posix_fallocate emulation fails when fd is open with O_WRONLY.
23368 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
23370         [BZ #19016]
23371         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
23372         allow more cases with X^2 + Y^2 >= 0.5.
23373         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
23374         normal element in sum instead of special-casing based on values of
23375         arguments.
23376         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
23377         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
23378         -1 as normal element in sum instead of special-casing based on
23379         values of arguments.
23380         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
23381         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
23382         (__x2y2m1): Update comment.
23383         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
23384         as normal element in sum instead of special-casing based on values
23385         of arguments.
23386         * math/s_clog.c (__clog): Handle more cases using log1p without
23387         hypot.
23388         * math/s_clog10.c (__clog10): Likewise.
23389         * math/s_clog10f.c (__clog10f): Likewise.
23390         * math/s_clog10l.c (__clog10l): Likewise.
23391         * math/s_clogf.c (__clogf): Likewise.
23392         * math/s_clogl.c (__clogl): Likewise.
23393         * math/auto-libm-test-in: Add more tests of clog and clog10.
23394         * math/auto-libm-test-out: Regenerated.
23395         * sysdeps/i386/fpu/libm-test-ulps: Update.
23396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23398 2015-09-28  Martin Sebor  <msebor@redhat.com>
23400         [BZ #18969]
23401         * string/Makefile (LOCALES): Define.
23402         (gen-locales.mk): Include.
23403         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
23404         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
23405         * string/tst-strxfrm2.c (do_test): Print the name of the locale
23406         on setlocale failure.
23408 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
23410         [BZ #18985]
23411         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
23412         (__strftime_internal): Likewise.
23413         * time/tst-strftime.c (do_bz18985): New test.
23414         (do_test): Call it.
23416 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
23418         [BZ #18956]
23419         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
23420         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
23421         extracting high part.
23422         * math/auto-libm-test-in: Add another test of pow.
23423         * math/auto-libm-test-out: Regenerated.
23424         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23426 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23428         [BZ #18825]
23429         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
23430         New macro.
23431         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
23432         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23433         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
23434         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
23435         DBL_NARROW_EVAL, reloading the PIC register as needed.
23436         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
23437         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
23438         FLT_NARROW_EVAL.  Use separate return path for case when first
23439         argument is NaN.
23440         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
23441         DEFINE_LDBL_MIN.
23442         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
23443         PIC register.
23444         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
23445         math_check_force_underflow_nonneg.
23446         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
23447         underflow for subnormal result.
23448         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
23449         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
23450         math_check_force_underflow_nonneg.
23451         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
23452         math_check_force_underflow.
23453         * sysdeps/x86_64/fpu/x86_64-math-asm.h
23454         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
23455         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
23456         DEFINE_LDBL_MIN.
23457         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
23458         * math/auto-libm-test-in: Add more tests of pow.
23459         * math/auto-libm-test-out: Regenerated.
23461 2015-09-25  Florian Weimer  <fweimer@redhat.com>
23463         * nss/bug17079.c (init_test_items): Add diagnostic for
23464         inconsistent entries.
23465         (test_buffer_size): Skip inconsistent entries.
23467 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23469         [BZ #13304]
23470         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
23471         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23472         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
23474         [BZ #13304]
23475         * sysdeps/microblaze/s_fma.c: New file.
23476         * sysdeps/microblaze/s_fmaf.c: Likewise.
23477         * sysdeps/microblaze/sfp-machine.h: Likewise.
23479 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
23481         [BZ #17250]
23482         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
23483         member.
23485 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23487         [BZ #18803]
23488         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
23489         (MO): New macro.
23490         (__ieee754_hypot) [PIC]: Load PIC register.
23491         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
23492         DBL_NARROW_EVAL.
23493         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
23494         math_check_force_underflow_nonneg in case where result might be
23495         tiny.
23496         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23497         Likewise.
23498         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23499         Likewise.
23500         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
23501         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
23502         * math/auto-libm-test-in: Add more tests of hypot.
23503         * math/auto-libm-test-out: Regenerated.
23505 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
23507         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
23509 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23511         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
23512         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
23513         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23514         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23515         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
23516         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23517         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23519         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
23520         LOAD_PIC_REG.
23522         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
23523         (FLT_CHECK_FORCE_UFLOW): Likewise.
23524         (DBL_CHECK_FORCE_UFLOW): Likewise.
23525         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
23526         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
23527         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
23528         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23529         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23530         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23531         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23532         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23533         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
23534         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23535         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
23536         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
23537         (flt_min): Replace with use of DEFINE_FLT_MIN.
23538         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
23539         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
23540         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23541         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
23542         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
23543         (flt_min): Replace with use of DEFINE_FLT_MIN.
23544         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
23545         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
23546         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23547         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
23548         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
23549         (flt_min): Replace with use of DEFINE_FLT_MIN.
23550         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
23551         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
23552         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23553         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23554         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
23555         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23556         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23557         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
23558         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23559         (__atan): Use DBL_CHECK_FORCE_UFLOW.
23560         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
23561         (flt_min): Replace with use of DEFINE_FLT_MIN.
23562         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
23563         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
23564         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23565         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
23566         main computation.
23567         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
23568         (flt_min): Replace with use of DEFINE_FLT_MIN.
23569         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
23570         main computation.
23571         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
23572         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23573         (MO): New macro.
23574         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
23575         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
23576         (flt_min): Replace with use of DEFINE_FLT_MIN.
23577         (MO): New macro.
23578         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
23579         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
23580         (__log1pl): Use MO.
23582         [BZ #19003]
23583         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
23584         $(config-cflags-nofma).
23586 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23588         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23590 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
23592         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
23593         (TWO127): Likewise.
23595         * sysdeps/generic/math_private.h (fabs_tg): New macro.
23596         (min_of_type): Likewise.
23597         (math_check_force_underflow): Likewise.
23598         (math_check_force_underflow_nonneg): Likewise.
23599         (math_check_force_underflow_complex): Likewise.
23600         * math/e_exp2l.c (__ieee754_exp2l): Use
23601         math_check_force_underflow_nonneg.
23602         * math/k_casinh.c (__kernel_casinh): Likewise.
23603         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23604         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23605         * math/s_catan.c (__catan): Use
23606         math_check_force_underflow_complex.
23607         * math/s_catanf.c (__catanf): Likewise.
23608         * math/s_catanh.c (__catanh): Likewise.
23609         * math/s_catanhf.c (__catanhf): Likewise.
23610         * math/s_catanhl.c (__catanhl): Likewise.
23611         * math/s_catanl.c (__catanl): Likewise.
23612         * math/s_ccosh.c (__ccosh): Likewise.
23613         * math/s_ccoshf.c (__ccoshf): Likewise.
23614         * math/s_ccoshl.c (__ccoshl): Likewise.
23615         * math/s_cexp.c (__cexp): Likewise.
23616         * math/s_cexpf.c (__cexpf): Likewise.
23617         * math/s_cexpl.c (__cexpl): Likewise.
23618         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
23619         * math/s_clog10.c (__clog10): Likewise.
23620         * math/s_clog10f.c (__clog10f): Likewise.
23621         * math/s_clog10l.c (__clog10l): Likewise.
23622         * math/s_clogf.c (__clogf): Likewise.
23623         * math/s_clogl.c (__clogl): Likewise.
23624         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
23625         * math/s_csinf.c (__csinf): Likewise.
23626         * math/s_csinh.c (__csinh): Likewise.
23627         * math/s_csinhf.c (__csinhf): Likewise.
23628         * math/s_csinhl.c (__csinhl): Likewise.
23629         * math/s_csinl.c (__csinl): Likewise.
23630         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
23631         * math/s_csqrtf.c (__csqrtf): Likewise.
23632         * math/s_csqrtl.c (__csqrtl): Likewise.
23633         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
23634         * math/s_ctanf.c (__ctanf): Likewise.
23635         * math/s_ctanh.c (__ctanh): Likewise.
23636         * math/s_ctanhf.c (__ctanhf): Likewise.
23637         * math/s_ctanhl.c (__ctanhl): Likewise.
23638         * math/s_ctanl.c (__ctanl): Likewise.
23639         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
23640         instead of volatile.
23641         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
23642         math_check_force_underflow.
23643         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23644         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
23645         volatile when forcing underflow.
23646         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23647         math_check_force_underflow_nonneg.
23648         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
23649         Likewise.
23650         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
23651         math_check_force_underflow.
23652         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23653         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23654         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23655         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
23656         math_check_force_underflow_nonneg.
23657         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
23658         math_check_force_underflow.
23659         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
23660         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
23661         instead of volatile.
23662         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
23663         math_check_force_underflow.
23664         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23665         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23666         math_check_force_underflow_nonneg.
23667         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
23668         math_check_force_underflow.
23669         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
23670         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23671         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
23672         math_check_force_underflow_nonneg.
23673         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23674         Likewise.
23675         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
23676         math_check_force_underflow.
23677         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23678         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23679         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
23680         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
23681         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
23682         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
23683         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
23684         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
23685         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23686         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
23687         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
23688         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
23689         Likewise.
23690         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
23691         math_check_force_underflow_nonneg.
23692         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23693         Likewise.
23694         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
23695         math_check_force_underflow.
23696         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23697         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
23698         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23699         Likewise.
23700         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
23701         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
23702         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
23703         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
23704         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
23705         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
23706         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
23707         instead of volatile.
23708         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
23709         math_check_force_underflow.
23710         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
23711         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
23712         math_check_force_underflow.
23713         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
23714         Likewise.
23715         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23716         Use math_check_force_underflow_nonneg.
23717         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
23718         math_check_force_underflow.
23719         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23720         Likewise.
23721         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23722         Likewise.
23723         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23724         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23725         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23726         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23727         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
23728         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23729         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
23730         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
23731         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
23732         math_check_force_underflow_nonneg.
23733         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
23734         math_check_force_underflow.
23735         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23736         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
23737         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
23738         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
23739         math_check_force_underflow_nonneg.
23740         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
23741         math_check_force_underflow.
23742         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
23743         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
23744         instead of volatile.
23745         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
23746         math_check_force_underflow.
23748         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
23749         * stdlib/strtod_l.c: Include <math_private.h>.
23750         (overflow_value): Use math_narrow_eval.
23751         (underflow_value): Likewise.
23752         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23753         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23754         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
23755         (__ieee754_gamma_r): Likewise.
23756         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
23757         Likewise.
23758         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
23759         Likewise.
23760         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
23761         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
23762         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
23763         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
23764         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
23765         (__ieee754_gammaf_r): Likewise.
23766         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23767         Likewise.
23768         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
23769         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
23770         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
23771         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
23772         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
23773         volatile.
23774         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
23775         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
23776         math_narrow_eval.
23777         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23778         Likewise.
23779         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23780         Likewise.
23781         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
23782         Likewise.
23783         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
23784         volatile.
23785         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
23786         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
23787         math_narrow_eval.
23788         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23789         Likewise.
23790         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23791         Likewise.
23793 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
23795         * nptl/Versions: Remove ignored symbols.
23797 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23799         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
23800         * nss/Makefile (tests): Update.
23802 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23804         * nss/bug18287.c: New file.
23805         * nss/Makefile (tests): Add bug18287.
23807 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23809         * mach/Versions (__mach_host_self_): Add symbol.
23811 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23813         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
23814         vm_page_size.
23816 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23818         Really fix sysdeps/i386/fpu/s_scalbn.S build
23820         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
23821         (libc: GLIBC_2_22): Remove unused version set.
23823 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23825         * config.make.in (enable-timezone-tools): New variable.
23826         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
23827         (enable_timezone_tools): Export to generated files.
23828         * configure: Regenerate.
23829         * INSTALL: Regenerate.
23830         * manual/install.texi (--disable-timezone-tools): Document new flag.
23831         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
23832         ifeq ($(enable-timezone-tools),yes) check.
23834 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23836         * timezone/Makefile: Revert previous change.
23838         [BZ #18980]
23839         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
23840         (DEFINE_DBL_MIN): Likewise.
23841         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23842         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23843         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23844         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23845         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
23846         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23847         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23848         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
23849         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
23850         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23851         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23852         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
23853         (flt_min): Replace with use of DEFINE_FLT_MIN.
23854         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23855         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
23856         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23857         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23858         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
23859         (flt_min): Replace with use of DEFINE_FLT_MIN.
23860         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23861         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
23862         (flt_min): Replace with use of DEFINE_FLT_MIN.
23863         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23864         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
23865         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
23866         (__ieee754_hypot): Use DBL_NARROW_EVAL.
23867         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
23868         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
23869         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
23870         (__ieee754_pow): Use DBL_NARROW_EVAL.
23871         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
23872         (__ieee754_powf): Use FLT_NARROW_EVAL.
23873         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
23874         (__ieee754_expf_sse2): Convert double-precision result to single
23875         precision.
23876         * sysdeps/i386/fpu/libm-test-ulps: Update.
23878 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23880         * timezone/Makefile: Ignore unused variable errors due to private.h
23881         (time_t_min) and (time_t_max).
23882         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
23883         Likewise.
23885 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23887         [BZ #18981]
23888         * sysdeps/i386/fpu/i386-math-asm.h: New file.
23889         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
23890         (__ieee754_scalb): Use DBL_NARROW_EVAL.
23891         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
23892         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
23893         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
23894         (__scalbn): Use DBL_NARROW_EVAL.
23895         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
23896         (__scalbnf): Use FLT_NARROW_EVAL.
23898 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23900         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
23901         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
23902         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
23903         * stdio-common/printf_fp.c (___printf_fp):
23904         Use signbit to get the sign. Use isinf macro to allow inlining.
23905         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
23906         * stdio-common/printf_size.c (__printf_size): Likewise.
23908 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23910         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
23912 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23914         [BZ #18980]
23915         * sysdeps/generic/math_private.h: Include <float.h>.
23916         (math_narrow_eval): New macro.
23917         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
23918         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
23919         math_narrow_eval on overflowing return value.
23920         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
23921         Likewise.
23922         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23923         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
23924         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
23925         Likewise.
23926         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23928 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23930         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
23931         * math/Makefile: Remove isinf_ns.c.
23932         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
23933         * math/multc3.c (__multc3): Likewise.
23934         * math/s_casin.c (__casin): Likewise.
23935         * math/s_casinf.c (__casinf): Likewise.
23936         * math/s_casinl.c (__casinl): Likewise.
23937         * math/s_cproj.c (__cproj): Likewise.
23938         * math/s_cprojf.c (__cprojf): Likewise.
23939         * math/s_cprojl.c (__cprofl): Likewise.
23940         * math/s_ctan.c (__ctan): Likewise.
23941         * math/s_ctanf.c (__ctanf): Likewise.
23942         * math/s_ctanh.c (__ctanh): Likewise.
23943         * math/s_ctanhf.c (__ctanhf): Likewise.
23944         * math/s_ctanhl.c (__ctanhl): Likewise.
23945         * math/s_ctanl.c (__ctanl): Likewise.
23946         * math/w_fmod.c (__fmod): Likewise.
23947         * math/w_fmodf.c (__fmodf): Likewise.
23948         * math/w_fmodl.c (_fmodl): Likewise.
23949         * math/w_remainder.c (__remainder): Likewise.
23950         * math/w_remainderf.c (__remainderf): Likewise.
23951         * math/w_remainderl.c (__remainderl): Likewise.
23952         * math/w_scalb.c (__scalb): Likewise.
23953         * math/w_scalbf.c (__scalbf): Likewise.
23954         * math/w_scalbl.c (__scalbl): Likewise.
23955         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
23956         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
23957         with isinf.
23958         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
23959         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
23960         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
23961         __isinf_nsf with isinf.
23962         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
23963         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
23964         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
23965         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
23966         with isinf.
23967         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
23968         __isinf_nsl with isinf.
23969         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
23970         with isinf.
23971         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
23972         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
23973         __isinf_nsl with isinf.
23974         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
23975         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
23976         with isinf.
23978 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23980         * resolv/base64.c (rcsid): Remove unused static.
23981         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
23982         static.  (tqpi1): Likewise.
23983         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
23984         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
23985         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
23986         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
23987         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
23988         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
23989         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
23990         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
23991         Likewise.
23993 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
23995         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
23996         <nptl/pthreadP.h>.
23997         (_longjmp_unwind): Use __libc_ptf_call.
23998         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
24000 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
24002         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
24003         * sysdeps/arm/__longjmp.S: Likewise.
24005 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24007         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
24008         Use __builtin_signbit.
24009         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
24010         Use __builtin_signbitf.
24011         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
24012         Use __builtin_signbitl.
24013         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24014         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
24016 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24018         [BZ #15367]
24019         [BZ #17441]
24021         * math/Makefile: Build test-snan.c with -fsignaling-nans.
24022         * math/math.h (fpclassify): Use __builtin_fpclassify when
24023         available.  (signbit): Use __builtin_signbit(f/l).
24024         (isfinite): Use__builtin_isfinite.  (isnormal): Use
24025         __builtin_isnormal.  (isnan): Use __builtin_isnan.
24026         (isinf): Use __builtin_isinf_sign.
24028 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24030         * benchtests/Makefile: Add bench-math-inlines, link with libm.
24031         * benchtests/bench-math-inlines.c: New benchmark.
24032         * benchtests/bench-util.h: New file.
24033         * benchtests/bench-util.c: New file.
24034         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
24036 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
24038         * elf/tst-dlmopen1.c: Define TEST_SO.
24039         (do_test): Use TEST_SO.
24041         * elf/dl-load.c: Include libc-internal.h.
24042         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
24044 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24046         [BZ #17887]
24047         * time/strptime_l.c (__strptime_internal): Make %z accept
24048         [+-]HH:MM time zones.
24050 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24052         [BZ #17886]
24053         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
24054         valid time zone.
24056 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
24058         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
24059         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
24060         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24061         (__ASSUME_FDATASYNC): Delete.
24063 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24065         * conform/linknamespace.pl: Require weak undefined symbols to be
24066         in the standard namespace.
24067         (%strong_syms): Rename to %seen_syms.
24068         (%strong_seen): Rename to %seen_where.
24070 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
24072         [BZ #18970]
24073         * misc/error.c (error): Replace pthread_setcancelstate with
24074         __pthread_setcancelstate.
24075         (error_at_line): Likewise.
24076         * posix/wordexp.c (parse_comm): Likewise.
24077         * stdlib/fmtmsg.c (fmtmsg): Likewise.
24078         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
24079         (__pthread_setcancelstate): This.
24080         (pthread_setcancelstate): Add an alias.
24081         * nptl/nptl-init.c (pthread_functions): Replace
24082         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
24083         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
24084         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
24085         hidden_proto.
24086         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
24087         it with hidden_def.
24088         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
24089         (pthread_setcancelstate): Renamed to ...
24090         (__pthread_setcancelstate): This.
24091         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
24092         __libc_ptf_call with __pthread_setcancelstate.
24094 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24095             Andreas Schwab  <schwab@suse.de>
24097         [BZ #17118]
24098         * math/s_ctan.c (__ctan): Determine sign of zero real part of
24099         result when imaginary part of argument is infinite using sine and
24100         cosine.
24101         * math/s_ctanf.c (__ctanf): Likewise.
24102         * math/s_ctanl.c (__ctanl): Likewise.
24103         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
24104         of result when real part of argument is infinite using sine and
24105         cosine.
24106         * math/s_ctanhf.c (__ctanhf): Likewise.
24107         * math/s_ctanhl.c (__ctanhl): Likewise.
24108         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
24109         (ctanh_test_data): Add more tests of ctanh.
24111 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24113         [BZ #15384]
24114         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
24115         bit-mask as in subtraction.
24116         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
24117         Likewise.
24118         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
24119         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
24120         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
24122         [BZ #18951]
24123         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
24124         underflow exception for small results.
24125         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24126         Likewise.
24127         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24128         Likewise.
24129         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24130         Likewise.
24131         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24132         Likewise.
24133         * math/auto-libm-test-in: Add more tests of tgamma.
24134         * math/auto-libm-test-out: Regenerated.
24136 2015-09-17  Andreas Schwab  <schwab@suse.de>
24138         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
24140 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
24142         [BZ #18977]
24143         * math/bits/mathcalls.h
24144         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
24145         not declare.
24146         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
24147         Likewise.
24148         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
24149         Likewise.
24150         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
24151         Likewise.
24152         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
24153         Likewise.
24154         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
24155         Likewise.
24156         * conform/data/math.h-data
24157         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
24158         function.
24159         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
24160         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
24161         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
24162         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
24163         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
24164         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
24165         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
24166         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
24167         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
24168         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
24169         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
24171         [BZ #6803]
24172         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
24173         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
24174         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
24175         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
24176         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
24177         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
24178         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
24179         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
24180         [NO_LONG_DOUBLE] (scalbnl): Likewise.
24181         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
24182         Likewise.
24183         [NO_LONG_DOUBLE] (scalbnl): Likewise.
24184         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
24185         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
24186         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
24187         long_double_symbol calls.
24188         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
24189         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
24190         strong alias of __ldexpl.
24191         (scalbnl): Define using long_double_symbol.
24192         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
24193         Remove alias.
24194         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
24195         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
24196         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
24197         (scalbln_test_data): Add more errno expectations.
24199 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
24201         Cache the host port like we cache the task port.  This way we do not
24202         need to call the kernel just to get the port.  Furthermore, we no
24203         longer increase the reference count on every invocation of
24204         `mach_host_self'.
24206         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
24207         Protect declarations against the macro expansion.
24208         * mach/mach_init.c (__mach_host_self_): New variable.
24209         (mach_init): Initialize `__mach_host_self_'.
24210         * mach/mach_init.h (__mach_host_self_): New declaration.
24211         (__mach_host_self, mach_host_self): New macros.
24212         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
24213         Release reference.
24215 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
24217         [BZ #4404]
24218         * po/de.po: Update from Translation Project.
24220         [BZ #16415]
24221         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
24222         (__expm1l): Remove code to handle positive infinity and overflow.
24223         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
24224         variable.
24225         (__expm1l): Remove code to handle positive infinity and overflow.
24227 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
24228             Paul Pluzhnikov  <ppluzhnikov@google.com>
24230         [BZ #18872]
24231         * stdio-common/Makefile (tst-printf-bz18872): New test.
24232         (tst-printf-bz18872-mem.out): Likewise.
24233         * stdio-common/tst-printf-bz18872.sh: Generate new test.
24234         * stdio-common/vfprintf.c: Fix memory leaks.
24236 2015-09-16  Andreas Schwab  <schwab@suse.de>
24238         [BZ #17244]
24239         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
24240         Remove extra va_start/va_end calls.
24242         [BZ #17243]
24243         * posix/execl.c (execl): Add missing va_end.
24244         * posix/execle.c (execle): Likewise.
24245         * posix/execlp.c (execlp): Likewise.
24247 2015-09-15  Roland McGrath  <roland@hack.frob.com>
24249         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
24250         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
24252 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
24254         [BZ #18967]
24255         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
24256         undefine around includes of <bits/mathcalls.h>.
24257         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
24258         not declare function.
24259         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
24260         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
24261         (scalb): Likewise.
24262         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
24263         not define macro.
24264         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
24265         variable.
24266         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24267         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24268         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24270         [BZ #18857]
24271         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
24272         return non-finite argument without doing ordered comparisons on
24273         it.
24275         [BZ #16296]
24276         * math/fenv.h (fegetround): Use __attribute_pure__.
24277         * include/fenv.h (__fegetround): Likewise.
24279         [BZ #18595]
24280         * math/s_ctan.c (__ctan): Force underflow exception for results
24281         whose real or imaginary part has small absolute value.
24282         * math/s_ctanf.c (__ctanf): Likewise.
24283         * math/s_ctanh.c (__ctanh): Likewise.
24284         * math/s_ctanhf.c (__ctanhf): Likewise.
24285         * math/s_ctanhl.c (__ctanhl): Likewise.
24286         * math/s_ctanl.c (__ctanl): Likewise.
24287         * math/auto-libm-test-in: Do not allow missing underflow for ctan
24288         and ctanh.  Add more tests of ctan and ctanh.
24290         [BZ #15918]
24291         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
24292         handling of cases where one argument is an infinity.
24294         [BZ #18875]
24295         [BZ #18966]
24296         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
24297         (MO): New macro.
24298         (__ieee754_exp10): For small results, force underflow exception
24299         and remove excess range and precision from return value.
24300         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
24301         (MO): New macro.
24302         (__ieee754_exp10f): For small results, force underflow exception
24303         and remove excess range and precision from return value.
24304         * math/auto-libm-test-in: Add more tests of exp10.
24305         * math/auto-libm-test-out: Regenerated.
24307 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
24309         [BZ #18875]
24310         [BZ #18961]
24311         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
24312         (MO): New macro.
24313         (__ieee754_exp): For small results, force underflow exception and
24314         remove excess range and precision from return value.
24315         (__exp_finite): Likewise.
24316         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
24317         (MO): New macro.
24318         (__ieee754_expf): For small results, force underflow exception and
24319         remove excess range and precision from return value.
24320         (__expf_finite): Likewise.
24321         * math/auto-libm-test-in: Add more tests of exp.
24322         * math/auto-libm-test-out: Regenerated.
24324         [BZ #16521]
24325         [BZ #18875]
24326         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
24327         small results.
24328         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
24329         (MO): New macro.
24330         (__ieee754_exp2): For small results, force underflow exception and
24331         remove excess range and precision from return value.
24332         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
24333         (MO): New macro.
24334         (__ieee754_exp2f): For small results, force underflow exception
24335         and remove excess range and precision from return value.
24336         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
24337         (MO): New macro.
24338         (__ieee754_exp2l): Force underflow exception for small results.
24339         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24340         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24341         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
24342         (MO): New macro.
24343         (__ieee754_exp2l): Force underflow exception for small results.
24344         * math/auto-libm-test-in: Add more tests or exp2.
24345         * math/auto-libm-test-out: Regenerated.
24347 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
24349         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
24351         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
24352         /dev/null.
24354 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24356         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24357         io fs process)): Drop spurious backslash.
24359 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24361         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
24362         Use sysinfo system call instead of parsing /proc/meminfo.
24363         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
24364         Likewise.
24366 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
24368         [BZ #16985]
24369         * programs/localedef.c (main): Display argv[remaining] when
24370         output_path is NULL.
24372 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24374         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24375         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
24376         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
24377         tanh.
24378         * math/auto-libm-test-out: Regenerated.
24379         * sysdeps/i386/fpu/libm-test-ulps: Update.
24380         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24381         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24384 2015-09-11  Roland McGrath  <roland@hack.frob.com>
24386         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
24387         Use 'override' keyword to freeze the value here, preventing
24388         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
24390 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24392         [BZ #14912]
24393         * sysdeps/aarch64/bits/atomic.h: Move to ...
24394         * sysdeps/aarch64/atomic-machine.h: ...here.
24395         (_AARCH64_BITS_ATOMIC_H): Rename macro to
24396         _AARCH64_ATOMIC_MACHINE_H.
24397         * sysdeps/alpha/bits/atomic.h: Move to ...
24398         * sysdeps/alpha/atomic-machine.h: ...here.
24399         * sysdeps/arm/bits/atomic.h: Move to ...
24400         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
24401         * bits/atomic.h: Move to ...
24402         * sysdeps/generic/atomic-machine.h: ...here.
24403         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24404         * sysdeps/i386/bits/atomic.h: Move to ...
24405         * sysdeps/i386/atomic-machine.h: ...here.
24406         * sysdeps/ia64/bits/atomic.h: Move to ...
24407         * sysdeps/ia64/atomic-machine.h: ...here.
24408         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
24409         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
24410         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24411         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
24412         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
24413         * sysdeps/microblaze/bits/atomic.h: Move to ...
24414         * sysdeps/microblaze/atomic-machine.h: ...here.
24415         * sysdeps/mips/bits/atomic.h: Move to ...
24416         * sysdeps/mips/atomic-machine.h: ...here.
24417         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
24418         * sysdeps/powerpc/bits/atomic.h: Move to ...
24419         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
24420         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
24421         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
24422         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
24423         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
24424         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
24425         <atomic-machine.h> instead of <bits/atomic.h>.
24426         * sysdeps/s390/bits/atomic.h: Move to ...
24427         * sysdeps/s390/atomic-machine.h: ...here.
24428         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
24429         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
24430         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24431         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
24432         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
24433         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
24434         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
24435         * sysdeps/tile/bits/atomic.h: Move to ...
24436         * sysdeps/tile/atomic-machine.h: ...here.
24437         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
24438         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
24439         <sysdeps/tile/atomic-machine.h> instead of
24440         <sysdeps/tile/bits/atomic.h>.
24441         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24442         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
24443         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
24444         <sysdeps/tile/atomic-machine.h> instead of
24445         <sysdeps/tile/bits/atomic.h>.
24446         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24447         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
24448         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
24449         <sysdeps/arm/atomic-machine.h> instead of
24450         <sysdeps/arm/bits/atomic.h>.
24451         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
24452         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
24453         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24454         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
24455         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
24456         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24457         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
24458         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
24459         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
24460         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
24461         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
24462         * sysdeps/x86_64/bits/atomic.h: Move to ...
24463         * sysdeps/x86_64/atomic-machine.h: ...here.
24464         * include/atomic.h: Include <atomic-machine.h> instead of
24465         <bits/atomic.h>.
24467         * sysdeps/mips/mips32/libm-test-ulps: Update.
24468         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24470         [BZ #18952]
24471         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
24472         not convert non-integer negative arguments to int to determine the
24473         value of signgam.
24474         * math/auto-libm-test-in: Add more tests of lgamma.
24475         * math/auto-libm-test-out: Regenerated.
24477         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
24478         cosh, csqrt, erfc, expm1 and lgamma.
24479         * math/auto-libm-test-out: Regenerated.
24480         * sysdeps/i386/fpu/libm-test-ulps: Update.
24481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24483 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
24485         [BZ #2542]
24486         [BZ #2543]
24487         [BZ #2558]
24488         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
24489         __lgamma_neg for arguments from -28.0 to -2.0.
24490         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
24491         __lgamma_negf for arguments from -15.0 to -2.0.
24492         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24493         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
24494         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
24495         Call __lgamma_negl for arguments from -33.0 to -2.0.
24496         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
24497         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
24498         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
24499         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
24500         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
24501         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
24502         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
24503         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
24504         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
24505         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
24506         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
24507         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
24508         (__lgamma_neg): Likewise.
24509         (__lgamma_negl): Likewise.
24510         (__lgamma_product): Likewise.
24511         (__lgamma_productl): Likewise.
24512         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
24513         * math/auto-libm-test-in: Add more tests of lgamma.
24514         * math/auto-libm-test-out: Regenerated.
24515         * sysdeps/i386/fpu/libm-test-ulps: Update.
24516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24518 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
24520         [BZ #18675]
24521         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
24523 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
24525         [BZ #14912]
24526         * bits/libc-lock.h: Move to ...
24527         * sysdeps/generic/libc-lock.h: ...here.
24528         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24529         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
24530         * sysdeps/mach/hurd/libc-lock.h: ...here.
24531         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24532         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
24533         * sysdeps/mach/bits/libc-lock.h: Move to ...
24534         * sysdeps/mach/libc-lock.h: ...here.
24535         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24536         * sysdeps/nptl/bits/libc-lock.h: Move to ...
24537         * sysdeps/nptl/libc-lock.h: ...here.
24538         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24539         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
24540         * sysdeps/nptl/libc-lockP.h: ...here.
24541         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
24542         * crypt/crypt_util.c: Include <libc-lock.h> instead of
24543         <bits/libc-lock.h>.
24544         * dirent/scandir-tail.c: Likewise.
24545         * dlfcn/dlerror.c: Likewise.
24546         * elf/dl-close.c: Likewise.
24547         * elf/dl-iteratephdr.c: Likewise.
24548         * elf/dl-lookup.c: Likewise.
24549         * elf/dl-open.c: Likewise.
24550         * elf/dl-support.c: Likewise.
24551         * elf/dl-writev.h: Likewise.
24552         * elf/rtld.c: Likewise.
24553         * grp/fgetgrent.c: Likewise.
24554         * gshadow/fgetsgent.c: Likewise.
24555         * gshadow/sgetsgent.c: Likewise.
24556         * iconv/gconv_conf.c: Likewise.
24557         * iconv/gconv_db.c: Likewise.
24558         * iconv/gconv_dl.c: Likewise.
24559         * iconv/gconv_int.h: Likewise.
24560         * iconv/gconv_trans.c: Likewise.
24561         * include/link.h: Likewise.
24562         * inet/getnameinfo.c: Likewise.
24563         * inet/getnetgrent.c: Likewise.
24564         * inet/getnetgrent_r.c: Likewise.
24565         * intl/bindtextdom.c: Likewise.
24566         * intl/dcigettext.c: Likewise.
24567         * intl/finddomain.c: Likewise.
24568         * intl/gettextP.h: Likewise.
24569         * intl/loadmsgcat.c: Likewise.
24570         * intl/localealias.c: Likewise.
24571         * intl/textdomain.c: Likewise.
24572         * libidn/idn-stub.c: Likewise.
24573         * libio/libioP.h: Likewise.
24574         * locale/duplocale.c: Likewise.
24575         * locale/freelocale.c: Likewise.
24576         * locale/newlocale.c: Likewise.
24577         * locale/setlocale.c: Likewise.
24578         * login/getutent_r.c: Likewise.
24579         * login/getutid_r.c: Likewise.
24580         * login/getutline_r.c: Likewise.
24581         * login/utmp-private.h: Likewise.
24582         * login/utmpname.c: Likewise.
24583         * malloc/mtrace.c: Likewise.
24584         * misc/efgcvt.c: Likewise.
24585         * misc/error.c: Likewise.
24586         * misc/fstab.c: Likewise.
24587         * misc/getpass.c: Likewise.
24588         * misc/mntent.c: Likewise.
24589         * misc/syslog.c: Likewise.
24590         * nis/nis_call.c: Likewise.
24591         * nis/nis_callback.c: Likewise.
24592         * nis/nss-default.c: Likewise.
24593         * nis/nss_compat/compat-grp.c: Likewise.
24594         * nis/nss_compat/compat-initgroups.c: Likewise.
24595         * nis/nss_compat/compat-pwd.c: Likewise.
24596         * nis/nss_compat/compat-spwd.c: Likewise.
24597         * nis/nss_nis/nis-alias.c: Likewise.
24598         * nis/nss_nis/nis-ethers.c: Likewise.
24599         * nis/nss_nis/nis-grp.c: Likewise.
24600         * nis/nss_nis/nis-hosts.c: Likewise.
24601         * nis/nss_nis/nis-network.c: Likewise.
24602         * nis/nss_nis/nis-proto.c: Likewise.
24603         * nis/nss_nis/nis-pwd.c: Likewise.
24604         * nis/nss_nis/nis-rpc.c: Likewise.
24605         * nis/nss_nis/nis-service.c: Likewise.
24606         * nis/nss_nis/nis-spwd.c: Likewise.
24607         * nis/nss_nisplus/nisplus-alias.c: Likewise.
24608         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
24609         * nis/nss_nisplus/nisplus-grp.c: Likewise.
24610         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
24611         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
24612         * nis/nss_nisplus/nisplus-network.c: Likewise.
24613         * nis/nss_nisplus/nisplus-proto.c: Likewise.
24614         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
24615         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
24616         * nis/nss_nisplus/nisplus-service.c: Likewise.
24617         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
24618         * nis/ypclnt.c: Likewise.
24619         * nptl/libc_pthread_init.c: Likewise.
24620         * nss/getXXbyYY.c: Likewise.
24621         * nss/getXXent.c: Likewise.
24622         * nss/getXXent_r.c: Likewise.
24623         * nss/nss_db/db-XXX.c: Likewise.
24624         * nss/nss_db/db-netgrp.c: Likewise.
24625         * nss/nss_db/nss_db.h: Likewise.
24626         * nss/nss_files/files-XXX.c: Likewise.
24627         * nss/nss_files/files-alias.c: Likewise.
24628         * nss/nsswitch.c: Likewise.
24629         * posix/regex_internal.h: Likewise.
24630         * posix/wordexp.c: Likewise.
24631         * pwd/fgetpwent.c: Likewise.
24632         * resolv/res_hconf.c: Likewise.
24633         * resolv/res_libc.c: Likewise.
24634         * shadow/fgetspent.c: Likewise.
24635         * shadow/lckpwdf.c: Likewise.
24636         * shadow/sgetspent.c: Likewise.
24637         * socket/opensock.c: Likewise.
24638         * stdio-common/reg-modifier.c: Likewise.
24639         * stdio-common/reg-printf.c: Likewise.
24640         * stdio-common/reg-type.c: Likewise.
24641         * stdio-common/vfprintf.c: Likewise.
24642         * stdio-common/vfscanf.c: Likewise.
24643         * stdlib/abort.c: Likewise.
24644         * stdlib/cxa_atexit.c: Likewise.
24645         * stdlib/fmtmsg.c: Likewise.
24646         * stdlib/random.c: Likewise.
24647         * stdlib/setenv.c: Likewise.
24648         * string/strsignal.c: Likewise.
24649         * sunrpc/auth_none.c: Likewise.
24650         * sunrpc/bindrsvprt.c: Likewise.
24651         * sunrpc/create_xid.c: Likewise.
24652         * sunrpc/key_call.c: Likewise.
24653         * sunrpc/rpc_thread.c: Likewise.
24654         * sysdeps/arm/backtrace.c: Likewise.
24655         * sysdeps/generic/ldsodefs.h: Likewise.
24656         * sysdeps/generic/stdio-lock.h: Likewise.
24657         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
24658         * sysdeps/i386/backtrace.c: Likewise.
24659         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24660         * sysdeps/m68k/backtrace.c: Likewise.
24661         * sysdeps/mach/hurd/cthreads.c: Likewise.
24662         * sysdeps/mach/hurd/dirstream.h: Likewise.
24663         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24664         * sysdeps/nptl/malloc-machine.h: Likewise.
24665         * sysdeps/nptl/stdio-lock.h: Likewise.
24666         * sysdeps/posix/dirstream.h: Likewise.
24667         * sysdeps/posix/getaddrinfo.c: Likewise.
24668         * sysdeps/posix/system.c: Likewise.
24669         * sysdeps/pthread/aio_suspend.c: Likewise.
24670         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24671         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24672         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24673         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24674         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
24675         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
24676         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
24677         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24678         * sysdeps/unix/sysv/linux/system.c: Likewise.
24679         * sysdeps/x86_64/backtrace.c: Likewise.
24680         * time/alt_digit.c: Likewise.
24681         * time/era.c: Likewise.
24682         * time/tzset.c: Likewise.
24683         * wcsmbs/wcsmbsload.c: Likewise.
24684         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
24685         instead of <bits/libc-lock.h> in comment.
24687 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
24689         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
24690         Only use .set mips2 if the current ISA is below mips2.
24691         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
24692         Likewise.
24693         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
24694         mips32r2 if the current ISA is below mips32r2.
24695         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
24696         (TLS_IE): Updated to use the TLD_RDHWR macro.
24697         (TLS_LE): Likewise.
24698         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
24699         __ASSEMBLER__ condition.
24701 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24703         Fix parallel build of before-compile targets.
24705         * sysdeps/mach/Makefile ($(patsubst
24706         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
24707         mach-before-compile target.
24708         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24709         io fs process)): Move rule to dedicated hurd-before-compile target.
24711 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24713         Fix rules generating headers in hurd/ and mach/ when initial make call
24714         has subdir= explicitly set.
24716         * sysdeps/mach/Makefile ($(patsubst
24717         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
24718         calling $(MAKE).
24719         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24720         io fs process)): Force subdir to hurd when calling $(MAKE).
24721         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
24722         subdir to mach when calling $(MAKE).
24724 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
24726         Check sysheaders when looking for Mach and Hurd headers
24728         * sysdeps/mach/configure.ac: Add sysheaders check.
24729         * sysdeps/mach/configure: Regenerate.
24730         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
24731         * sysdeps/mach/hurd/configure: Regenerate.
24733 2015-09-04  Roland McGrath  <roland@hack.frob.com>
24735         [BZ #18921]
24736         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
24737         Fix inverted sense of test of 'o_directory_works' value.
24738         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
24739         Bernhard Voelker <mail@bernhard-voelker.de>.
24741 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24743         [BZ #14912]
24744         * bits/linkmap.h: Move to ...
24745         * sysdeps/generic/linkmap.h: ...here.
24746         * sysdeps/aarch64/bits/linkmap.h: Move to ...
24747         * sysdeps/aarch64/linkmap.h: ...here.
24748         * sysdeps/arm/bits/linkmap.h: Move to ...
24749         * sysdeps/arm/linkmap.h: ...here.
24750         * sysdeps/hppa/bits/linkmap.h: Move to ...
24751         * sysdeps/hppa/linkmap.h: ...here.
24752         * sysdeps/ia64/bits/linkmap.h: Move to ...
24753         * sysdeps/ia64/linkmap.h: ...here.
24754         * sysdeps/mips/bits/linkmap.h: Move to ...
24755         * sysdeps/mips/linkmap.h: ...here.
24756         * sysdeps/s390/bits/linkmap.h: Move to ...
24757         * sysdeps/s390/linkmap.h: ...here.
24758         * sysdeps/sh/bits/linkmap.h: Move to ...
24759         * sysdeps/sh/linkmap.h: ...here.
24760         * sysdeps/x86/bits/linkmap.h: Move to ...
24761         * sysdeps/x86/linkmap.h: ...here.
24762         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
24764 2015-09-04  Andreas Schwab  <schwab@suse.de>
24766         [BZ #18635]
24767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
24768         (__makecontext): Terminate FDE before return label.
24769         (__novec_makecontext): Likewise.
24771 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24773         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
24774         first member of struct sv in syscall macro.
24776 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24778         [BZ #14912]
24779         * bits/stdio-lock.h: Move to ...
24780         * sysdeps/generic/stdio-lock.h: ...here.
24781         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24782         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
24783         * sysdeps/nptl/stdio-lock.h: ...here.
24784         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24785         * include/libio.h: Include <stdio-lock.h> instead of
24786         <bits/stdio-lock.h>.
24787         * sysdeps/nptl/fork.c: Likewise.
24788         * sysdeps/pthread/flockfile.c: Likewise.
24789         * sysdeps/pthread/ftrylockfile.c: Likewise.
24790         * sysdeps/pthread/funlockfile.c: Likewise.
24792         [BZ #14912]
24793         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
24794         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
24795         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
24796         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
24797         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
24798         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24799         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
24801 2015-09-03  Roland McGrath  <roland@hack.frob.com>
24803         * elf/Makefile (test-xfail-tst-protected1a): New variable.
24804         (test-xfail-tst-protected1b): New variable.
24806 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
24808         [BZ #14912]
24809         * bits/libc-tsd.h: Move to ...
24810         * sysdeps/generic/libc-tsd.h: ...here.
24811         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
24812         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
24813         * sysdeps/mach/hurd/libc-tsd.h: ...here.
24814         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
24815         * include/ctype.h: Include <libc-tsd.h> instead of
24816         <bits/libc-tsd.h>.
24817         * include/rpc/rpc.h: Likewise.
24818         * locale/localeinfo.h: Likewise.
24819         * sunrpc/rpc_thread.c: Likewise.
24820         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24821         * sysdeps/nptl/malloc-machine.h: Likewise.
24823         * Makefile (headers): Remove bits/libc-lock.h.
24824         * libio/Makefile (headers): Remove bits/stdio-lock.h.
24826         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
24827         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
24828         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
24829         <bits/stdio-lock.h>.
24830         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
24831         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
24833 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24835         [BZ #18757]
24836         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
24837         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
24838         BZ #18757.
24840 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24842         * malloc/mtrace.pl: Filter out NULL entries.
24844 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
24846         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
24847         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
24848         macro.
24850         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
24851         (TCP_CC_INFO): Likewise.
24852         (TCP_SAVE_SYN): Likewise.
24853         (TCP_SAVED_SYN): Likewise.
24855 2015-08-31  Brett Neumeier <brett@neumeier.us>
24857         [BZ #18870]
24858         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
24860 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
24862         [BZ #18873]
24863         Fix broken overflow check in posix_fallocate
24864         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
24865         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
24866         Fix parenthesization typo.
24868 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
24870         [BZ #18887]
24871         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
24872         tst-mntent-blank-passno.
24873         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
24874         * misc/tst-mntent-blank-corrupt.c: New test.
24875         * misc/tst-mntent-blank-passno.c: New test ripped from ...
24876         * misc/tst-mntent.c (do_test): ... here.
24878 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
24880         [BZ #4404]
24881         * po/de.po: Fix SIGALRM typo.
24883 2015-08-28  James Perkins  <james@loowit.net>
24885         * time/tst-strptime2.c (tests): Replace short list of test
24886         strings for strptime %z specifier with code which exhaustively
24887         tests every combination of sign and 0 to 5 digits. Tests for
24888         rejection of invalid strings.
24890 2015-08-28  James Perkins  <james@loowit.net>
24892         [BZ #16141]
24893         * time/strptime_l.c (__strptime_internal): Fix %z minutes
24894         calculation, removing incorrect decimal time rounding, so that
24895         all minute values result in a valid seconds value.
24896         * time/strptime_l.c (__strptime_internal): Extend %z time zone
24897         offset range limits to UTC-99:59 through UTC+99:59 to parse
24898         current and historical use cases.
24899         * time/tst-strptime2.c (tests): Modify and add tests for the
24900         strptime %z input field descriptor, specifically conversion of
24901         minutes to seconds and validating an offset range of -9959 to
24902         +9959.
24904 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24905             Dmitry V. Levin  <ldv@altlinux.org>
24907         [BZ #18877]
24908         * posix/Makefile (tests): Add tst-mmap-offset.
24909         * posix/tst-mmap.c: New file.
24910         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
24911         offset calculation for negative values.
24913 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24915         * sysdeps/i386/init-arch.h: New file.
24916         * sysdeps/i386/i586/init-arch.h: Likewise.
24917         * sysdeps/i386/i686/init-arch.h: Likewise.
24918         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
24919         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
24920         * sysdeps/x86/cpu-features.h (bit_I586): New.
24921         (bit_I686): Likewise.
24922         (bit_CX8): Likewise.
24923         (bit_CMOV): Likewise.
24924         (index_CX8): Likewise.
24925         (index_CMOV): Likewise.
24926         (index_I586): Likewise.
24927         (index_I686): Likewise.
24928         (reg_CX8): Likewise.
24929         (reg_CMOV): Likewise.
24930         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
24931         available at compile-time.
24932         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
24933         available at compile-time.
24934         * sysdeps/x86/init-arch.h (USE_I586): New macro.
24935         (USE_I686): Likewise.
24937 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24939         * sysdeps/i386/bcopy.S: New file.
24940         * sysdeps/i386/bzero.S: Likewise.
24941         * sysdeps/i386/memcpy.S: Likewise.
24942         * sysdeps/i386/memmove.S: Likewise.
24943         * sysdeps/i386/mempcpy.S: Likewise.
24944         * sysdeps/i386/memset.S: Likewise.
24945         * sysdeps/i386/bzero.c: Removed.
24946         * sysdeps/i386/memset.c: Likewise.
24947         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
24948         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
24949         * sysdeps/i386/i586/memset_chk.S: Likewise.
24950         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
24951         * sysdeps/i386/memcpy_chk.S: Here.
24952         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
24953         * sysdeps/i386/memmove_chk.S: Here.
24954         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
24955         * sysdeps/i386/mempcpy_chk.S: Likewise.
24956         * sysdeps/i386/i686/memset_chk.S: Moved to ...
24957         * sysdeps/i386/memset_chk.S: Likewise.
24959 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
24961         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
24962         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
24963         file, move DIAG_POP_NEEDS_COMMENT to end of file.
24964         * soft-fp/fmadf4.c: Ditto.
24965         * soft-fp/fmatf4.c: Ditto.
24967 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24969         * sysdeps/i386/i586/Implies: Removed.
24970         * sysdeps/i386/i686/Implies: Likewise.
24972 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24974         * sysdeps/i386/i486/strlen.S: Moved to ...
24975         * sysdeps/i386/strlen.S: Here.
24977 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24979         * sysdeps/i386/i486/strcat.S: Moved to ...
24980         * sysdeps/i386/strcat.S: Here.
24982 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24984         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
24985         * sysdeps/i386/pthread_spin_trylock.S: Here.
24986         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
24987         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
24989 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24991         * sysdeps/i386/i486/string-inlines.c: Moved to ...
24992         * sysdeps/i386/string-inlines.c: Here.
24994 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24996         * sysdeps/i386/i486/htonl.S: Moved ...
24997         * sysdeps/i386/htonl.S: here.
24999 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25001         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
25002         * sysdeps/i386/bits/atomic.h: Here.
25004 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25006         * sysdeps/i386/i486/Versions: Removed.
25008 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25010         [BZ #2898]
25011         * misc/mktemp.c: Add mkdtemp to the link_warning message.
25012         Based on patch by Aurelien Jarno.
25014 2015-08-26  Stan Shebs  <stanshebs@google.com>
25016         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
25017         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25019 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25021         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
25022         * sysdeps/powerpc/dl-procinfo.c:
25023         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
25024         feature so it shows when LD_SHOW_AUXV=1.
25026 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25028         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25029         (__arch_compare_and_exchange_val_32_acq): Remove and use common
25030         definition.  ISA 2.07B no longer requires full sync.
25032 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
25034         [BZ #18863]
25035         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
25036         (si_call_addr): Define.
25037         (si_syscall): Define.
25038         (si_arch): Define.
25040 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
25042         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
25043         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
25044         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
25045         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25046         (__memset_zero_constant_len_parameter): New.
25047         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
25048         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25049         (__memset_zero_constant_len_parameter): Don't define if
25050         __memset_chk or USE_AS_BZERO are defined.
25052         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
25053         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
25054         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
25056         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
25057         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
25058         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
25059         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
25060         comments.
25061         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
25062         -mno-mmx for $(all-rtld-routines).
25063         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
25064         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
25065         i386.
25067 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25069         * sysdeps/generic/unwind.h
25070         (_Unwind_Word): Use __mode__(__unwind_word__)
25071         instead of __mode__(__word__).
25072         (_Unwind_Sword): Likewise.
25074         * sysdeps/s390/s390-64/utf8-utf16-z9.c
25075         (MAX_NEEDED_INPUT): New define.
25076         (MAX_NEEDED_OUTPUT): New define.
25078         * NEWS: New item for IBM z13 string optimizations.
25080         * sysdeps/s390/multiarch/memrchr-c.c: New File.
25081         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
25082         * sysdeps/s390/multiarch/memrchr.c: Likewise.
25083         * sysdeps/s390/multiarch/Makefile
25084         (sysdep_routines): Add memrchr functions.
25085         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25086         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
25088         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
25089         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
25090         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
25091         * sysdeps/s390/multiarch/Makefile
25092         (sysdep_routines): Add wmemcmp functions.
25093         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25094         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
25095         * benchtests/bench-wmemcmp.c: New File.
25096         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
25098         * sysdeps/s390/multiarch/wmemset-c.c: New File.
25099         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
25100         * sysdeps/s390/multiarch/wmemset.c: Likewise.
25101         * sysdeps/s390/multiarch/Makefile
25102         (sysdep_routines): Add wmemset functions.
25103         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25104         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
25105         * wcsmbs/wmemset.c: Use WMEMSET if defined.
25106         * string/test-memset.c: Add wmemset support.
25107         * wcsmbs/test-wmemset.c: New File.
25108         * wcsmbs/Makefile (strop-tests): Add wmemset.
25109         * benchtests/bench-memset.c: Add wmemset support.
25110         * benchtests/bench-wmemset.c: New File.
25111         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
25113         * sysdeps/s390/multiarch/memccpy-c.c: New File.
25114         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
25115         * sysdeps/s390/multiarch/memccpy.c: Likewise.
25116         * sysdeps/s390/multiarch/Makefile
25117         (sysdep_routines): Add memccpy functions.
25118         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25119         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
25120         * string/memccpy.c: Use MEMCCPY if defined.
25122         * sysdeps/s390/multiarch/memchr-vx.S: New File.
25123         * sysdeps/s390/multiarch/memchr.c: Likewise.
25124         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
25125         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
25126         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
25127         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
25128         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
25129         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
25130         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
25131         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
25132         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
25133         and rawmemchr functions.
25134         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25135         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
25136         and wmemchr.
25137         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
25138         * string/test-memchr.c: Add wmemchr support.
25139         * wcsmbs/test-wmemchr.c: New File.
25140         * wcsmbs/Makefile (strop-tests): Add wmemchr.
25141         * benchtests/bench-memchr.c: Add wmemchr support.
25142         * benchtests/bench-wmemchr.c: New File.
25143         * benchtests/Makefile (wcsmbs-bench): wmemchr.
25145         * sysdeps/s390/multiarch/strcspn-c.c: New File.
25146         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
25147         * sysdeps/s390/multiarch/strcspn.c: Likewise.
25148         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
25149         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
25150         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
25151         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
25152         wcscspn functions.
25153         * sysdeps/s390/multiarch/ifunc-impl-list.c
25154         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
25155         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
25156         * string/test-strcspn.c: Add wcscspn support.
25157         * wcsmbs/test-wcscspn.c: New File.
25158         * wcsmbs/Makefile (strop-tests): Add wcscspn.
25159         * benchtests/bench-strcspn.c: Add wcscspn support.
25160         * benchtests/bench-wcscspn.c: New File.
25161         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
25163         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
25164         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
25165         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
25166         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
25167         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
25168         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
25169         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
25170         wcspbrk functions.
25171         * sysdeps/s390/multiarch/ifunc-impl-list.c
25172         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
25173         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
25174         * string/test-strpbrk.c: Add wcspbrk support.
25175         * wcsmbs/test-wcspbrk.c: New File.
25176         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
25177         * benchtests/bench-strpbrk.c: Add wcspbrk support.
25178         * benchtests/bench-wcspbrk.c: New File.
25179         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
25181         * sysdeps/s390/multiarch/strspn-c.c: New File.
25182         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
25183         * sysdeps/s390/multiarch/strspn.c: Likewise.
25184         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
25185         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
25186         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
25187         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
25188         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
25189         wcsspn functions.
25190         * sysdeps/s390/multiarch/ifunc-impl-list.c
25191         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
25192         * string/test-strspn.c: Add wcsspn support.
25193         * wcsmbs/test-wcsspn.c: New File.
25194         * wcsmbs/Makefile (strop-tests): Add wcsspn.
25195         * benchtests/bench-strspn.c: Add wcsspn support.
25196         * benchtests/bench-wcsspn.c: New File.
25197         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
25199         * sysdeps/s390/multiarch/strrchr-c.c: New File.
25200         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
25201         * sysdeps/s390/multiarch/strrchr.c: Likewise.
25202         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
25203         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
25204         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
25205         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
25206         wcsrchr functions.
25207         * sysdeps/s390/multiarch/ifunc-impl-list.c
25208         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
25209         * benchtests/bench-wcsrchr.c: New File.
25210         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
25212         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
25213         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
25214         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
25215         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
25216         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
25217         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
25218         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
25219         wcschrnul functions.
25220         * sysdeps/s390/multiarch/ifunc-impl-list.c
25221         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
25222         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
25223         * string/test-strchr.c: Add wcschrnul support.
25224         * wcsmbs/test-wcschrnul.c: New File.
25225         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
25226         * benchtests/bench-strchr.c: Add wcschrnul support.
25227         * benchtests/bench-wcschrnul.c: New File.
25228         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
25230         * sysdeps/s390/multiarch/strchr-c.c: New File.
25231         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
25232         * sysdeps/s390/multiarch/strchr.c: Likewise.
25233         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
25234         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
25235         * sysdeps/s390/multiarch/wcschr.c: Likewise.
25236         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
25237         wcschr functions.
25238         * sysdeps/s390/multiarch/ifunc-impl-list.c
25239         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
25240         * string/strchr.c (STRCHR): Define and use macro.
25241         * benchtests/bench-wcschr.c: New File.
25242         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
25244         * sysdeps/s390/multiarch/strncmp-c.c: New File.
25245         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
25246         * sysdeps/s390/multiarch/strncmp.c: Likewise.
25247         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
25248         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
25249         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
25250         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
25251         wcsncmp functions.
25252         * sysdeps/s390/multiarch/ifunc-impl-list.c
25253         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
25254         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
25255         * benchtests/bench-strncmp.c: Add wcsncmp support.
25256         * benchtests/bench-wcsncmp.c: New File.
25257         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
25259         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
25260         * sysdeps/s390/multiarch/strcmp.c: Likewise.
25261         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
25262         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
25263         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
25264         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
25265         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
25266         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
25267         wcscmp functions.
25268         * sysdeps/s390/multiarch/ifunc-impl-list.c
25269         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
25270         * string/strcmp.c (STRCMP): Define and use macro.
25271         * benchtests/bench-wcscmp.c: New File.
25272         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
25273         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
25274         instead of _HAVE_STRING_ARCH_memchr.
25276         * sysdeps/s390/multiarch/strncat-c.c: New File.
25277         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
25278         * sysdeps/s390/multiarch/strncat.c: Likewise.
25279         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
25280         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
25281         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
25282         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
25283         wcsncat functions.
25284         * sysdeps/s390/multiarch/ifunc-impl-list.c
25285         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
25286         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
25287         * string/test-strncat.c: Add wcsncat support.
25288         * wcsmbs/test-wcsncat.c: New File.
25289         * wcsmbs/Makefile (strop-tests): Add wcsncat.
25290         * benchtests/bench-strncat.c: Add wcsncat support.
25291         * benchtests/bench-wcsncat.c: New File.
25292         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
25294         * sysdeps/s390/multiarch/strcat-c.c: New File.
25295         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
25296         * sysdeps/s390/multiarch/strcat.c: Likewise.
25297         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
25298         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
25299         * sysdeps/s390/multiarch/wcscat.c: Likewise.
25300         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
25301         wcscat functions.
25302         * sysdeps/s390/multiarch/ifunc-impl-list.c
25303         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
25304         * string/strcat.c (STRCAT): Define and use macro.
25305         * wcsmbs/wcscat.c: Use WCSCAT if defined.
25306         * string/test-strcat.c: Add wcscat support.
25307         * wcsmbs/test-wcscat.c: New File.
25308         * wcsmbs/Makefile (strop-tests): Add wcscat.
25309         * benchtests/bench-strcat.c: Add wcscat support.
25310         * benchtests/bench-wcscat.c: New File.
25311         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
25313         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
25314         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
25315         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
25316         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
25317         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
25318         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
25319         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
25320         wcpncpy functions.
25321         * sysdeps/s390/multiarch/ifunc-impl-list.c
25322         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
25323         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
25324         * string/test-stpncpy.c: Add wcpncpy support.
25325         * wcsmbs/test-wcpncpy.c: New File.
25326         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
25327         * benchtests/bench-stpncpy.c: Add wcpncpy support.
25328         * benchtests/bench-wcpncpy.c: New File.
25329         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
25331         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
25332         * sysdeps/s390/multiarch/strncpy.c: Likewise.
25333         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
25334         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
25335         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
25336         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
25337         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
25338         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
25339         wcsncpy functions.
25340         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
25341         * sysdeps/s390/multiarch/ifunc-impl-list.c
25342         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
25343         * string/test-strncpy.c: Add wcsncpy support.
25344         * wcsmbs/test-wcsncpy.c: New File.
25345         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
25346         * benchtests/bench-strncpy.c: Add wcsncpy support.
25347         * benchtests/bench-wcsncpy.c: New File.
25348         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
25350         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
25351         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
25352         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
25353         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
25354         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
25355         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
25356         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
25357         wcpcpy functions.
25358         * string/stpcpy.c: Use STPCPY if defined.
25359         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
25360         * sysdeps/s390/multiarch/ifunc-impl-list.c
25361         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
25362         * string/test-stpcpy.c: Add wcpcpy support.
25363         * wcsmbs/test-wcpcpy.c: New File.
25364         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
25365         * benchtests/bench-stpcpy.c: Add wcpcpy support.
25366         * benchtests/bench-wcpcpy.c: New File.
25367         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
25369         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
25370         * sysdeps/s390/multiarch/strcpy.c: Likewise.
25371         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
25372         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
25373         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
25374         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
25375         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
25376         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
25377         wcscpy functions.
25378         * sysdeps/s390/multiarch/ifunc-impl-list.c
25379         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
25380         * benchtests/bench-wcscpy.c: New File.
25381         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
25383         * sysdeps/s390/multiarch/strnlen-c.c: New File.
25384         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
25385         * sysdeps/s390/multiarch/strnlen.c: Likewise.
25386         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
25387         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
25388         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
25389         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
25390         wcsnlen functions.
25391         * sysdeps/s390/multiarch/ifunc-impl-list.c
25392         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
25393         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
25394         * string/test-strnlen.c: Add wcsnlen support.
25395         * wcsmbs/test-wcsnlen.c: New File.
25396         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
25397         * benchtests/bench-strnlen.c: Add wcsnlen support.
25398         * benchtests/bench-wcsnlen.c: New File.
25399         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
25401         * sysdeps/s390/multiarch/Makefile: New File.
25402         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
25403         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
25404         * sysdeps/s390/multiarch/strlen.c: Likewise.
25405         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
25406         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
25407         * sysdeps/s390/multiarch/wcslen.c: Likewise.
25408         * string/strlen.c (STRLEN): Define and use macro.
25409         * sysdeps/s390/multiarch/ifunc-impl-list.c
25410         (IFUNC_VX_IMPL): New macro function.
25411         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
25412         * benchtests/Makefile (wcsmbs-bench): New variable.
25413         (string-bench-all): Added wcsmbs-bench.
25414         * benchtests/bench-wcslen.c: New File.
25416         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
25417         s390_vx_libc_ifunc2): New macro function.
25419         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
25420         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
25421         assembler support.
25422         * sysdeps/s390/configure: Regenerated.
25424         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
25425         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
25427         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
25428         * sysdeps/s390/dl-procinfo.h: Add vector capability.
25429         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
25431         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
25432         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
25433         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
25434         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
25435         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
25436         (memcmp, bcmp): Use __memcmp_default as alias source.
25437         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
25438         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
25439         Rename to __memcmp_default.
25440         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
25441         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
25442         (memcpy): Use __memcpy_default as alias source.
25443         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
25444         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
25445         Rename to __memcpy_default.
25446         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
25447         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
25448         (memset): Use __memset_default as alias source.
25449         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
25450         * sysdeps/s390/s390-32/memset.S (__memset_g5):
25451         Rename to __memset_default.
25452         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
25453         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
25454         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
25455         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
25456         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
25457         (memcmp, bcmp): Use __memcmp_default as alias source.
25458         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
25459         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
25460         Rename to __memcmp_default.
25461         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
25462         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
25463         (memcpy): Use __memcpy_default as alias source.
25464         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
25465         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
25466         Rename to __memcpy_default.
25467         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
25468         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
25469         (memset): Use __memset_default as alias source.
25470         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
25471         * sysdeps/s390/s390-64/memset.S (__memset_z900):
25472         Rename to __memset_default.
25473         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
25474         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
25476         [BZ #18610]
25477         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
25478         __ieee_instruction_pointer to __unused.
25479         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
25480         __ieee_instruction_pointer.
25481         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
25482         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
25483         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25484         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25485         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
25486         Mark dxc-field as reserved.
25488 2015-08-25  Roland McGrath  <roland@hack.frob.com>
25490         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
25491         if the weak reference is not null.
25493 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25495         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
25497         [BZ #11214]
25498         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
25500 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25502         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
25503         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
25504         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
25505         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
25506         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
25507         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
25508         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
25509         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
25510         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
25511         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
25512         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
25513         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
25514         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
25515         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
25516         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
25517         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
25518         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
25519         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
25521 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25523         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
25524         register other than r0 for tabort, it has special meaning.
25525         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
25526         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
25527         transaction before starting syscall.
25529 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25531         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
25533 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25535         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
25537         * sysdeps/x86_64/rtld-memcmp.c: Removed.
25538         * sysdeps/x86_64/rtld-memset.S: Likewise.
25539         * sysdeps/x86_64/rtld-strchr.S: Likewise.
25540         * sysdeps/x86_64/rtld-strlen.S: Likewise.
25541         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
25542         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25544         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
25546 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
25548         * debug/strcpy_chk.c: Improve performance.
25549         * debug/stpcpy_chk.c: Likewise.
25550         * sysdeps/x86_64/strcpy_chk.S: Remove.
25551         * sysdeps/x86_64/stpcpy_chk.S: Remove.
25553         [BZ #18240]
25554         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
25556 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25558         [BZ #15128]
25559         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
25560         ifuncmain8.
25561         (modules-names): Add ifuncmod8.
25562         ($(objpfx)ifuncmain8): New rule.
25563         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
25564         <cpuid.h>.
25565         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
25566         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
25567         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
25568         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
25569         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
25570         * sysdeps/x86_64/dl-trampoline.h: Likewise.
25571         * sysdeps/x86_64/ifuncmain8.c: New file.
25572         * sysdeps/x86_64/ifuncmod8.c: Likewise.
25573         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
25574         Removed.
25575         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
25576         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
25577         Change rtld_savespace_sse to __glibc_unused2.
25578         (RTLD_CHECK_FOREIGN_CALL): Removed.
25579         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
25580         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
25581         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
25583 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25585         * sysdeps/aarch64/bzero.S (__bzero): Remove.
25587 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25589         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
25590         Unconditionally set __fpcr to avoid uninialized warning.
25591         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
25593 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25595         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
25596         is corrupt.
25598         * malloc/arena.c (arena_get2): Drop unused argument.
25599         (arena_lock): Adjust.
25600         (arena_get_retry): Likewise.
25602 2015-08-24  Andreas Schwab  <schwab@suse.de>
25604         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
25605         Don't define.
25606         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
25607         (__ASSUME_IPC64): Don't undef.
25608         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
25609         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25610         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25611         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
25612         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
25613         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
25614         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
25615         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
25616         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
25617         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
25618         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
25619         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
25620         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
25621         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
25622         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
25623         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
25624         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
25625         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
25626         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
25627         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
25628         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
25630 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
25632         * manual/Makefile (install): Only build manual when perl is available.
25634 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25636         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
25637         '#undef memcpy' by '#undef memchr'.
25639 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25641         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
25642         memchr not point to the internal __GI_memchr implementation.
25644 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25646         * timezone/Makefile (CFLAGS-zdump.c): Remove
25647         -Wno-strict-prototypes.
25648         (CFLAGS-zic.c): Likewise.
25649         (CFLAGS-ialloc.c): Likewise.
25650         (CFLAGS-scheck.c): Likewise.
25652         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
25653         -Wno-error=undef.
25655 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25657         * i386/i686/multiarch/strcasestr-c.c: Removed.
25658         * x86_64/multiarch/strcasestr.c: Likewise.
25659         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25660         Remove strcasestr.
25662 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25664         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
25666         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
25667         variables for high and low parts before possibly modifying them.
25669 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25671         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
25672         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
25673         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
25674         of "multiarch/init-arch.h".
25675         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
25676         * sysdeps/x86/init-arch.h: This.
25678 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25680         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
25681         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
25683 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
25685         [BZ #17787]
25686         * manual/macros.texi: Add twoexp macro.
25687         * manual/filesys.texi: Fix exponents.
25688         * manual/llio.texi: Likewise.
25689         * manual/stdio.texi: Likewise.
25691 2015-08-20  Florian Weimer  <fweimer@redhat.com>
25693         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
25694         incorrect use.
25696 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25698         [BZ #18370]
25699         * math/s_csqrt.c (__csqrt): Force underflow exception for results
25700         whose real or imaginary part has small absolute value.
25701         * math/s_csqrtf.c (__csqrtf): Likewise.
25702         * math/s_csqrtl.c (__csqrtl): Likewise.
25703         * math/auto-libm-test-in: Add more tests of csqrt.
25704         * math/auto-libm-test-out: Regenerated.
25705         * sysdeps/i386/fpu/libm-test-ulps: Update.
25707 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25709         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
25710         __ppc_set_ppr_very_low): New functions.
25711         * manual/platform.texi: Add documentation about
25712         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
25714 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
25716         * string/stpncpy.c (stpncpy): Improve performance using
25717         __strnlen/memcpy/memset.
25719 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25721         [BZ #18796]
25722         * scripts/test-installation.pl: Don't add -lmvec to build options if
25723         libmvec wasn't built.
25725 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25727         [BZ #14341]
25728         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
25729         case when there is a gap between DT_REL and DT_JMPREL sections.
25730         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
25731         (LDFLAGS-tst-split-dynreloc): New.
25732         (tst-split-dynreloc-ENV): Likewise.
25733         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
25734         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
25736 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25738         [BZ #18822]
25739         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
25740         attribute_hidden.
25741         (__xstat64_conv): Likewise.
25742         (__xstat32_conv): Likewise.
25744 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25746         [BZ #18822]
25747         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
25748         Don't load %ebx when calling __setcontext.  Call __setcontext
25749         with HIDDEN_JUMPTARGET.
25750         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
25751         libc_hidden_def.
25753 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25755         * sysdeps/i386/i686/Makefile
25756         [$(subdir) == string] (sysdep_routines): Moved to ...
25757         * sysdeps/i386/Makefile: Here.
25758         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
25759         * sysdeps/i386/cacheinfo.c: Here.
25760         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
25761         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
25762         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
25763         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
25765 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25767         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
25768         __i586__ is defined.
25769         (HAS_I686): Defined to 1 if __i686__ is defined.
25771 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25773         * elf/Makefile [$(have-z-execstack) = yes]
25774         (CPPFLAGS-tst-execstack.c): New variable.
25776         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
25777         conditional to [defined UTMPX || _HAVE_UT_TYPE].
25778         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
25779         UTMPX || _HAVE_UT_TV].
25780         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
25781         UTMPX || _HAVE_UT_TV - 0].
25783 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
25785         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
25786         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
25787         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
25789 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25791         * sysdeps/powerpc/dl-procinfo.c:
25792         (_dl_powerpc_cap_flags): Added missing strings for some
25793         hwcap features.
25794         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
25796 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
25798         Port the 0x7efe...feff pattern to GCC 6.
25799         See Steve Ellcey's bug report in:
25800         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
25801         * string/memrchr.c (MEMRCHR):
25802         * string/rawmemchr.c (RAWMEMCHR):
25803         * string/strchr.c (strchr):
25804         * string/strchrnul.c (STRCHRNUL):
25805         Rewrite code to avoid issues with signed shift overflow.
25807 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
25809         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
25810         whether cpuid is available only if HAS_CPUID is 0.
25811         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
25812         (HAS_I586): Likewise.
25813         (HAS_I686): Likewise.
25815 2015-08-18  Zack Weinberg  <zackw@panix.com>
25817         * misc/Versions (libc): Add GLIBC_2.23.
25819 2015-08-18  Alan Modra  <amodra@gmail.com>
25821         [BZ #18421]
25822         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
25823         .Lp__global.
25824         (_start): Load %dp via .Lp__global.
25825         [!SHARED]: Use .section .rodata.
25827 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25829         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
25830         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
25832 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25834         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
25835         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
25837 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25839         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
25840         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
25842 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25844         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
25845         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
25847 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25849         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
25850         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
25852 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25854         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
25855         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
25857 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25859         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
25861 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25863         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
25864         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
25865         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25866         (__ASSUME_LWS_CAS): Delete.
25868 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25870         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
25871         * sysdeps/hppa/configure: Regenerated.
25872         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
25873         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
25874         * sysdeps/hppa/nptl/tls.h: Likewise.
25876 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
25878         [BZ #18823]
25879         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
25880         for scaling up small arguments.
25881         * math/s_csqrtf.c (__csqrtf): Likewise.
25882         * math/s_csqrtl.c (__csqrtl): Likewise.
25883         * math/auto-libm-test-in: Add more tests of csqrt.
25884         * math/auto-libm-test-out: Regenerated.
25886 2015-08-17  Andreas Schwab  <schwab@suse.de>
25888         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
25889         version set GLIBC_2.19.
25891 2015-08-16  Zack Weinberg  <zackw@panix.com>
25893         [BZ #18681]
25894         * misc/regexp.h: This interface is no longer supported.
25895         Remove all contents, leaving only an #error directive.
25896         * misc/regexp.c (loc1, loc2, locs, step, advance):
25897         Demote to compatibility symbols.
25899 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
25901         [BZ #18084]
25902         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
25903         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
25904         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25905         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
25906         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
25907         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
25908         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
25909         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
25910         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25912 2015-08-15  Zack Weinberg  <zackw@panix.com>
25914         [BZ #18795]
25915         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
25916         buffer length is known to be too large, not if it's known to be
25917         small enough.
25918         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
25919         overflow at runtime, involving a length parameter, twice: once
25920         with a compile-time constant length parameter, once without.
25922 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
25924         [BZ #18824]
25925         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
25926         scaling x * y up instead of down.
25927         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25928         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25929         * math/auto-libm-test-in: Add more tests of fma.
25930         * math/auto-libm-test-out: Regenerated.
25932 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25934         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25936 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25938         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
25939         unnecessary movq.
25940         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
25941         Likewise.
25943 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
25945         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25946         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
25947         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
25948         and tgamma.
25949         * math/auto-libm-test-out: Regenerated.
25950         * sysdeps/i386/fpu/libm-test-ulps: Update.
25951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25953         [BZ #16520]
25954         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
25955         (__tanh): Force underflow exception for arguments with small
25956         absolute value.
25957         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
25958         (__tanhf): Force underflow exception for arguments with small
25959         absolute value.
25960         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
25961         (__tanhl): Force underflow exception for arguments with small
25962         absolute value.
25963         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
25964         (__tanhl): Force underflow exception for arguments with small
25965         absolute value.
25966         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
25967         (__tanhl): Force underflow exception for arguments with small
25968         absolute value.
25969         * math/auto-libm-test-in: Add more tests of tanh.
25970         * math/auto-libm-test-out: Regenerated.
25971         * sysdeps/i386/fpu/libm-test-ulps: Update.
25973 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25975         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
25976         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
25978 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25980         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
25981         <cpuid.h>.
25983 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25985         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
25986         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
25988 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25990         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
25991         Remove $(objpfx)init-arch.o.
25992         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
25993         init-arch.
25994         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
25995         (INIT_ARCH_EXT): Defined as empty.
25996         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
25997         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
25998         __init_cpu_features call.  Replace HAS_XXX with
25999         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26000         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
26001         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
26002         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
26003         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
26004         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26005         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
26006         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
26007         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26008         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
26009         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
26010         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26011         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
26012         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
26013         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26014         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
26015         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
26016         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26017         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26018         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
26019         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
26020         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26021         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
26022         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
26023         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26024         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
26025         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
26026         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26027         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
26028         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
26029         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26030         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
26031         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
26032         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26033         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
26034         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
26036 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26038         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
26039         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26040         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26041         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26042         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
26043         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
26044         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
26045         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
26046         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
26047         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
26048         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
26049         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
26050         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26051         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26052         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26053         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26054         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26055         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26056         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26057         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26058         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26059         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26060         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26061         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26062         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26063         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26064         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26065         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26066         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26067         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26068         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26069         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26070         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26071         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26072         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26073         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26074         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26075         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26076         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26077         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26078         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26079         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26080         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26082 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26084         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
26085         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26086         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26087         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26088         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26089         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
26090         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26091         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
26092         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26093         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26094         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26095         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
26096         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
26097         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
26098         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
26099         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
26100         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
26101         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
26102         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
26103         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
26104         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
26105         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
26106         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
26107         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26108         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26109         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
26110         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
26111         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
26112         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26113         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26114         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26115         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26116         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26117         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26118         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26119         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26120         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26121         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26122         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26123         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26124         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26125         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26126         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26128 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26130         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
26131         (dl_platform_init): Call init_cpu_features.
26132         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
26133         * sysdeps/i386/i686/cacheinfo.c
26134         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
26135         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
26136         * sysdeps/i386/i686/multiarch/Versions: Removed.
26137         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
26138         Removed.
26139         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
26140         * sysdeps/unix/sysv/linux/x86/Makefile
26141         (libpthread-sysdep_routines): Remove init-arch.
26142         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
26143         <sysdeps/x86_64/dl-procinfo.c> instead of
26144         sysdeps/generic/dl-procinfo.c>.
26145         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
26146         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
26147         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
26148         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
26149         [$(subdir) == elf] (tests-static): Add
26150         tst-get-cpu-features-static.
26151         * sysdeps/x86/Versions: New file.
26152         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
26153         * sysdeps/x86/cpu-features.c: Likewise.
26154         * sysdeps/x86/cpu-features.h: Likewise.
26155         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
26156         * sysdeps/x86/libc-start.c: Likewise.
26157         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
26158         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
26159         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
26160         * sysdeps/x86_64/dl-procinfo.c: Likewise.
26161         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
26162         Assume USE_MULTIARCH is defined and don't check it.
26163         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
26164         (is_amd): Likewise.
26165         (max_cpuid): Likewise.
26166         (intel_check_word): Likewise.
26167         (__cache_sysconf): Don't call __init_cpu_features.
26168         (__x86_preferred_memory_instruction): Removed.
26169         (init_cacheinfo): Don't call __init_cpu_features. Replace
26170         __cpu_features with GLRO(dl_x86_cpu_features).
26171         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
26172         (dl_platform_init): Call init_cpu_features.
26173         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
26174         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
26175         * sysdeps/x86_64/multiarch/Versions: Removed.
26176         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
26177         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
26178         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
26179         Removed.
26180         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
26182 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26184         [BZ #18820]
26185         * libio/Makefile (test-fmemopen-mem): New test.
26186         * libio/test-fmemopen.c (do_bz18820): New test.
26187         * libio/fmemopen.c (__fmemopen): Fix memory leak.
26188         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
26190 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26192         [BZ #16734]
26193         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
26194         (FREE_BUF): Delete.
26195         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
26196         * libio/genops.c (_IO_setb): Use malloc and free directly.
26197         (_IO_default_doallocate, _IO_default_finish): Likewise.
26198         ( _IO_unbuffer_all): Likewise.
26199         ( libc_freeres_fn): Likewise.
26200         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26201         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
26202         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
26203         (_IO_wdefault_doallocate): Likewise.
26205 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26207         [BZ #18086]
26208         * sysdeps/posix/nice.c (nice): Restore old errno.
26209         * posix/tst-nice.c (do_test): Add test for BZ #18086.
26211 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
26213         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
26215 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26217         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
26218         __bcopy and add a weak_alias to bcopy.
26219         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
26220         for static build.
26222         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
26223         cleanup macro usage.
26224         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
26225         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
26226         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26227         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
26228         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26229         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
26230         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
26231         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
26232         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26233         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
26234         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26235         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
26236         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26237         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
26238         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26239         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
26240         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
26241         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
26242         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
26244         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
26245         libc_hidden_def.
26246         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
26248         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
26249         (sysdep_routines): Add strstr-ppc64.
26250         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
26252 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
26254         [BZ #18778]
26255         * elf/Makefile (tests): Add Add tst-nodelete2.
26256         (modules-names): Add tst-nodelete2mod.
26257         (tst-nodelete2mod.so-no-z-defs): New.
26258         ($(objpfx)tst-nodelete2): Likewise.
26259         ($(objpfx)tst-nodelete2.out): Likewise.
26260         (LDFLAGS-tst-nodelete2): Likewise.
26261         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
26262         out of loop through all loaded libraries.
26263         * elf/tst-nodelete2.c: New file.
26264         * elf/tst-nodelete2mod.c: Likewise.
26265         * elf/tst-znodelete-zlib.cc: Delete.
26267 2015-08-11  Andreas Schwab  <schwab@suse.de>
26269         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
26270         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
26271         (__openat64_nocancel): Likewise.
26273 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
26275         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
26276         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
26277         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
26278         * math/auto-libm-test-out: Regenerated.
26279         * sysdeps/i386/fpu/libm-test-ulps: Update.
26280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26282 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
26284         [BZ #18790]
26285         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
26286         threshold for returning +/- 1.
26287         * math/auto-libm-test-in: Add more tests of tanh.
26288         * math/auto-libm-test-out: Regenerated.
26289         * sysdeps/i386/fpu/libm-test-ulps: Update.
26291 2015-08-10  Andreas Schwab  <schwab@suse.de>
26293         [BZ #18781]
26294         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
26295         MORE_OFLAGS to oflag.
26296         * io/test-lfs.c (do_test): Test openat64.
26298 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
26300         [BZ #18789]
26301         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
26302         smaller threshold for returning the argument.
26303         * math/auto-libm-test-in: Add more tests of sinh.
26304         * math/auto-libm-test-out: Regenerated.
26305         * sysdeps/i386/fpu/libm-test-ulps: Update.
26307 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
26309         [BZ #18674]
26310         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
26311         break.
26313 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
26315         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
26316         (generated): Don't add $(addprefix z.,$(tzfiles)).
26318 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26320         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
26321         * scripts/sysd-rules.awk: Likewise.
26323 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26325         * iconvdata/tst-tables.sh: Change echo -n to printf.
26326         * nss/db-Makefile: Likewise.
26327         * posix/tst-getconf.sh: Likewise.
26328         * stdio-common/tst-unbputc.sh: Likewise.
26330 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26332         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
26333         MADV_*_PAGES defines behind this feature check.
26335 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
26337         [BZ #18480]
26338         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
26339         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
26340         Define.
26341         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
26342         LOAD_REGS_5, LOAD_REGS_6): Update.
26343         (INTERNAL_SYSCALL): Update using new LOAD defines.
26344         (INTERNAL_SYSCALL_NCS): Likewise.
26345         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
26347 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26349         [BZ #16734]
26350         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
26352 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26354         [BZ #17905]
26355         * catgets/Makefile (tst-catgets-mem): New test.
26356         * catgets/catgets.c (catopen): Don't use unbounded alloca.
26357         * catgets/open_catalog.c (__open_catalog): Likewise.
26358         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
26360 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
26362         [BZ #18787]
26363         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
26364         clobber registers.
26365         (atomic_compare_and_exchange_val_acq): Use register asms to assign
26366         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
26367         Cast return to __typeof (oldval).
26369 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
26371         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
26372         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
26373         and delete sys/syscall.h include.
26375 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
26377         [BZ #16517]
26378         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
26379         (tan): Force underflow exception for arguments with small absolute
26380         value.
26381         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
26382         (__kernel_tanf): Force underflow exception for arguments with
26383         small absolute value.
26384         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
26385         (__kernel_tanl): Force underflow exception for arguments with
26386         small absolute value.
26387         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
26388         (__kernel_tanl): Force underflow exception for arguments with
26389         small absolute value.
26390         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
26391         (__kernel_tanl): Force underflow exception for arguments with
26392         small absolute value.
26393         * math/auto-libm-test-in: Add more tests of tan.
26394         * math/auto-libm-test-out: Regenerated.
26396 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26398         Fix sysdeps/i386/fpu/s_scalbn.S build
26400         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
26402 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
26404         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26406 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26408         Fix gcrt0.o compilation
26410         When static-start-installed-name is different from
26411         start-installed-name, we must not use the shared objects.
26413         * csu/Makefile
26414         (extra-objs): Add gmon-start.o when building shared library and
26415         $(static-start-installed-name) is different from
26416         $(start-installed-name).
26417         $(objpfx)g$(static-start-installed-name): When building shared
26418         library and $(static-start-installed-name) is different from
26419         $(static-start-installed-name), revert to non-shared rule,
26420         i.e. using $(objpfx)% and gmon-start.o.
26422 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
26424         [BZ #16519]
26425         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
26426         (__ieee754_sinh): Force underflow exception for arguments with
26427         small absolute value.
26428         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
26429         (__ieee754_sinhf): Force underflow exception for arguments with
26430         small absolute value.
26431         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
26432         (__ieee754_sinhl): Force underflow exception for arguments with
26433         small absolute value.
26434         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
26435         (__ieee754_sinhl): Force underflow exception for arguments with
26436         small absolute value.
26437         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
26438         (__ieee754_sinhl): Force underflow exception for arguments with
26439         small absolute value.
26440         * math/auto-libm-test-in: Add more tests of sinh.
26441         * math/auto-libm-test-out: Regenerated.
26442         * sysdeps/i386/fpu/libm-test-ulps: Update.
26444 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26446         * libio/oldfileops.c: Include unistd.h.
26448 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
26450         * stdlib/isomac.c: Include ctype.h.
26452 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
26454         * dirent/tst-seekdir.c (main): Converted to ...
26455         (do_test): ... this.
26456         (TEST_FUNCTION): New macro.
26457         Include test-skeleton.c.
26458         * elf/tst-dlmodcount.c (main): Converted to ...
26459         (do_test): ... this.
26460         (TEST_FUNCTION): New macro.
26461         Include test-skeleton.c.
26462         * elf/tst-order-main.c (main): Converted to ...
26463         (do_test): ... this.
26464         (TEST_FUNCTION): New macro.
26465         Include test-skeleton.c.
26466         * elf/tst-pie2.c (main): Converted to ...
26467         (do_test): ... this.
26468         (TEST_FUNCTION): New macro.
26469         Include test-skeleton.c.
26470         * inet/tst-ether_aton.c (main): Converted to ...
26471         (do_test): ... this.
26472         (TEST_FUNCTION): New macro.
26473         Include test-skeleton.c.
26474         * misc/tst-mntent.c (main): Converted to ...
26475         (do_test): ... this.
26476         (TEST_FUNCTION): New macro.
26477         Include test-skeleton.c.
26478         * misc/tst-tsearch.c (main): Converted to ...
26479         (do_test): ... this.
26480         (TEST_FUNCTION): New macro.
26481         Include test-skeleton.c.
26482         * posix/tst-regexloc.c (main): Converted to ...
26483         (do_test): ... this.
26484         (TEST_FUNCTION): New macro.
26485         Include test-skeleton.c.
26486         * resolv/tst-aton.c (main): Converted to ...
26487         (do_test): ... this.
26488         (TEST_FUNCTION): New macro.
26489         Include test-skeleton.c.
26490         * stdio-common/test-fwrite.c (main): Converted to ...
26491         (do_test): ... this.
26492         (TEST_FUNCTION): New macro.
26493         Include test-skeleton.c.
26494         * stdio-common/tst-ferror.c (main): Converted to ...
26495         (do_test): ... this.
26496         (TEST_FUNCTION): New macro.
26497         Include test-skeleton.c.
26498         * stdio-common/tst-printf.c (main): Converted to ...
26499         (do_test): ... this.
26500         (TEST_FUNCTION): New macro.
26501         Include test-skeleton.c.
26502         * stdio-common/tst-printfsz.c (main): Converted to ...
26503         (do_test): ... this.
26504         (TEST_FUNCTION): New macro.
26505         Include test-skeleton.c.
26506         * stdlib/tst-strtod.c (main): Converted to ...
26507         (do_test): ... this.
26508         (TEST_FUNCTION): New macro.
26509         Include test-skeleton.c.
26510         * string/tst-strlen.c (main): Converted to ...
26511         (do_test): ... this.
26512         (TEST_FUNCTION): New macro.
26513         Include test-skeleton.c.
26514         * string/tst-svc.c (main): Converted to ...
26515         (do_test): ... this.
26516         (TEST_FUNCTION): New macro.
26517         Include test-skeleton.c.
26518         * time/tst-strptime.c (main): Converted to ...
26519         (do_test): ... this.
26520         (TEST_FUNCTION): New macro.
26521         Include test-skeleton.c.
26522         * timezone/tst-timezone.c (main): Converted to ...
26523         (do_test): ... this.
26524         (TEST_FUNCTION): New macro.
26525         Include test-skeleton.c.
26527 2015-08-05  Zack Weinberg  <zackw@panix.com>
26529         * misc/regexp.h: Update comments.
26531 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
26533         [BZ #18635]
26534         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
26535         before return label.
26537 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26539         [BZ #18661]
26540         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
26541         when calling __errno_location.
26542         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
26543         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
26545 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26547         [BZ #18661]
26548         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
26549         (__lll_timedwait_tid): Align stack to 16 bytes when calling
26550         __gettimeofday.
26552 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26554         [BZ #18661]
26555         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26556         (__start_context): Don't use pop to restore %rdi so that stack
26557         is aligned to 16 bytes when calling __setcontext.
26559 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26561         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
26562         only for libc.
26563         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26565 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26567         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
26568         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
26569         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
26571 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26573         * string/memccpy.c (memccpy):
26574         Improve performance by using memchr/memcpy/__mempcpy.
26576 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26578         * string/strncpy.c (strncpy):
26579         Improve performance by using __strnlen/memcpy.
26581 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26583         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26584         Optimize to avoid an unnecessary FPCR read.
26586 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26588         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26589         Optimize to reduce FPCR/FPSR accesses.
26591 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26593         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
26594         dead->data[category] != NULL.
26596 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
26598         [BZ #18647]
26599         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
26600         and |x| close to 1, use absolute value of x when computing log.
26601         * math/auto-libm-test-in: Add more tests of pow.
26602         * math/auto-libm-test-out: Regenerated.
26604 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26606         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
26607         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
26608         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
26610 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
26612         [BZ #18525]
26613         * locales/km_KH: Remove timezone definition.
26614         * locales/lo_LA: Likewise.
26615         * locales/my_MM: Likewise.
26616         * locales/nan_TW@latin: Likewise.
26617         * locales/th_TH: Likewise.
26618         * locales/uk_UA: Likewise.
26620 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
26622         [BZ #18265]
26623         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
26624         (wcsncat): Likewise.
26625         (wcscmp): Likewise.
26626         (wcsncmp): Likewise.
26628 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26630         * test-skeleton.c (usage): New function.
26631         (main): Call usage when opt is '?'.
26633 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26635         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
26636         before first use.
26638 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26640         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
26641         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
26642         in there too.
26644 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
26646         * version.h (RELEASE): Set to "development".
26647         (VERSION): Set to "2.22.90"
26649         * version.h (RELEASE): Set to "stable".
26650         (VERSION): Set to "2.22"
26651         * include/features.h (__GLIBC_MINOR__): Set to 22.
26653 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
26655         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
26656         Restructure macro to avoid "value computed is not used" warning.
26657         (atomic_compare_and_exchange_val_acq): Likewise.
26659 2015-08-04  Andreas Schwab  <schwab@suse.de>
26661         [BZ #18635]
26662         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
26663         ret.
26664         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
26666 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
26668         * po/pl.po: Updated translation.
26669         * po/uk.po: Likewise.
26670         * po/fi.po: Likewise.
26671         * po/ko.po: Likewise.
26672         * po/ru.po: Likewise.
26673         * po/vi.po: Likewise.
26675 2015-07-31  Zack Weinberg  <zackw@panix.com>
26677         [BZ #18681]
26678         * regexp.h: Add unconditional #warning stating that this header
26679         will be removed soon.  Revise banner comment to match.
26680         (compile): Consistently use ERROR instead of RETURN to report
26681         errors (partial fix for bz#18681).
26682         * regexp.c: Don't include regexp.h. Remove some unnecessary
26683         declarations.
26685 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
26687         * po/libc.pot: Regenerated.
26689 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26691         [BZ #18740]
26692         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
26693         float-vlen4-arch-ext-cflags): Removed.
26694         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
26695         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
26697 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26699         [BZ #14113]
26700         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
26701         aligned to __aligned__.
26702         (pthread_cond_t, pthread_rwlock_t): Likewise.
26704 2015-07-30  Torvald Riegel  <triegel@redhat.com>
26706         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
26708 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26710         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
26711         (struct sigaction): Change sa_flags from a long to an int, and add
26712         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
26714 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26716         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
26717         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
26718         sysdeps/generic/sysdep.h include.
26719         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
26720         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
26721         sysdeps/hppa/sysdep.h.
26722         (ENTRY, PSEUDO): Undefine before defining.
26724 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26726         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
26727         from scratch to use INTERNAL_SYSCALL.
26729 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
26731         [BZ #18078]
26732         * scripts/check-localplt.awk: Support alternate relocations.
26733         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
26734         sections.
26735         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
26736         malloc entries with + REL R_386_GLOB_DAT.
26737         * sysdeps/x86_64/localplt.data: New file.
26739 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
26741         [BZ #18731]
26742         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
26743         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26744         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26746 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26748         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
26750 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26752         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
26753         directly in terms of __sync_fetch_and_add and delete (int) cast.
26755 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26757         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
26758         the -D_ASM_IA64_CURRENT_H flag.
26760 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26762         [BZ #18641]
26763         * pwd/pwd.h (putpwent): Delete __nonnull markings.
26765 2015-07-27  Andreas Schwab  <schwab@suse.de>
26767         * conform/conformtest.pl (checknamespace): Filter out string
26768         literals while tokenizing.
26770 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26772         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26773         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
26774         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26776 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26778         * nptl/tst-join7mod.c: Add #include <string.h>.
26780 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26782         * sysdeps/nios2/libm-test-ulps: Update.
26784 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26786         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
26787         Fix order of arguments to the rt_sigprocmask syscall.
26788         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
26789         Likewise.
26791 2015-07-24  Roland McGrath  <roland@hack.frob.com>
26793         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
26795 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26797         [BZ #18457]
26798         * nptl/Makefile (tests): New test case tst-join7.
26799         (modules-names): New test case module tst-join7mod.
26800         * nptl/tst-join7.c: New file.
26801         * nptl/tst-join7mod.c: New file.
26802         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
26803         all translation units in libc.so, libpthread.so and rtld.
26805 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26809 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
26811         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
26812         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26813         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26814         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26815         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26816         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26817         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26818         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26819         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26820         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26821         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26822         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26823         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
26824         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
26825         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
26826         implementation.
26828 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26830         [BZ #17711]
26831         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26832         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
26833         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26834         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26835         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
26836         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26838 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26840         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
26841         instead of just saying load lock in the comments.
26843 2015-07-23  Roland McGrath  <roland@hack.frob.com>
26845         * sysdeps/unix/Subdirs: Moved ...
26846         * sysdeps/posix/Subdirs: ... here.
26847         * login/pty.h (struct termios, struct winsize): Add forward decls.
26848         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
26849         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
26850         * sysdeps/arm/nacl/libc.abilist: Updated.
26851         * sysdeps/nacl/libutil.abilist: New file.
26853         * bits/signum.h: Update comments to mention 1003.1-2013 too.
26854         (SIGWINCH): New macro.
26856         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
26857         * sysdeps/arm/nacl/libc.abilist: Add it.
26859 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26861         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
26863 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26865         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26866         Swap __glibc_reserved0 and sa_flags order.
26868 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26870         [BZ #18657]
26871         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
26872         are pending TLS destructor calls.
26873         * include/link.h (struct link_map): Add concurrency note for
26874         L_TLS_DTOR_COUNT.
26875         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26876         Don't touch the link map flag.  Atomically increment
26877         l_tls_dtor_count.
26878         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
26879         Avoid taking the load lock and don't touch the link map flag.
26880         * stdlib/tst-tls-atexit-nodelete.c: New test case.
26881         * stdlib/Makefile (tests): Use it.
26882         * stdlib/tst-tls-atexit.c (do_test): dlopen
26883         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
26884         to allow tst-tls-atexit-nodelete test case to use it.
26886 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26888         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
26889         to bits/types.h.
26890         (msgqnum_t): New typedef.
26891         (msglen_t): Likewise.
26892         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
26893         and msg_qbytes type to msglen_t.
26895 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26897         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
26898         pad0 to __glibc_reserved0.
26899         (struct stat64): Likewise.
26901 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26903         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26904         Change sa_flags from a long to an int and add __glibc_reserved0 before
26905         it for padding.
26907 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26909         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
26910         anonymous by deleting "siginfo" name.
26912 2015-07-21  Roland McGrath  <roland@hack.frob.com>
26914         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
26915         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
26916         rather than __nacl_irt_filename.
26917         * sysdeps/nacl/xstat.c (__xstat): Likewise.
26919         * NEWS: New item for arm-nacl port.
26920         * sysdeps/arm/nacl/libc.abilist: New file.
26921         * sysdeps/nacl/ld.abilist: New file.
26922         * sysdeps/nacl/libBrokenLocale.abilist: New file.
26923         * sysdeps/nacl/libanl.abilist: New file.
26924         * sysdeps/nacl/libcrypt.abilist: New file.
26925         * sysdeps/nacl/libdl.abilist: New file.
26926         * sysdeps/nacl/libm.abilist: New file.
26927         * sysdeps/nacl/libpthread.abilist: New file.
26928         * sysdeps/nacl/libresolv.abilist: New file.
26929         * sysdeps/nacl/librt.abilist: New file.
26931 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
26933         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
26934         __startcontext to initialize the new context.
26935         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
26936         up CFI directive to forbid further backtracing.
26938 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
26940         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
26941         reference.
26942         * charmaps/ANSI_X3.4-1968: Likewise.
26943         * charmaps/BS_4730: Likewise.
26944         * charmaps/BS_VIEWDATA: Likewise.
26945         * charmaps/CP1250: Likewise.
26946         * charmaps/CP1251: Likewise.
26947         * charmaps/CP1252: Likewise.
26948         * charmaps/CP1253: Likewise.
26949         * charmaps/CP1254: Likewise.
26950         * charmaps/CP1255: Likewise.
26951         * charmaps/CP1256: Likewise.
26952         * charmaps/CSN_369103: Likewise.
26953         * charmaps/EBCDIC-DK-NO: Likewise.
26954         * charmaps/GB_1988-80: Likewise.
26955         * charmaps/GREEK-CCITT: Likewise.
26956         * charmaps/GREEK7: Likewise.
26957         * charmaps/INIS-8: Likewise.
26958         * charmaps/ISIRI-3342: Likewise.
26959         * charmaps/ISO_2033-1983: Likewise.
26960         * charmaps/ISO_5427-EXT: Likewise.
26961         * locales/POSIX: Likewise.
26962         * locales/ar_SA: Likewise.
26963         * locales/be_BY: Likewise.
26964         * locales/be_BY@latin: Likewise.
26965         * locales/ca_ES: Likewise.
26966         * locales/cs_CZ: Likewise.
26967         * locales/da_DK: Likewise.
26968         * locales/de_BE: Likewise.
26969         * locales/de_CH: Likewise.
26970         * locales/de_LU: Likewise.
26971         * locales/en_AU: Likewise.
26972         * locales/en_BW: Likewise.
26973         * locales/en_CA: Likewise.
26974         * locales/en_DK: Likewise.
26975         * locales/en_GB: Likewise.
26976         * locales/en_IE: Likewise.
26977         * locales/en_NZ: Likewise.
26978         * locales/en_ZA: Likewise.
26979         * locales/en_ZW: Likewise.
26980         * locales/es_AR: Likewise.
26981         * locales/es_BO: Likewise.
26982         * locales/es_CL: Likewise.
26983         * locales/es_CO: Likewise.
26984         * locales/es_DO: Likewise.
26985         * locales/es_EC: Likewise.
26986         * locales/es_ES: Likewise.
26987         * locales/es_HN: Likewise.
26988         * locales/es_MX: Likewise.
26989         * locales/es_PA: Likewise.
26990         * locales/es_PE: Likewise.
26991         * locales/es_PY: Likewise.
26992         * locales/es_SV: Likewise.
26993         * locales/es_US: Likewise.
26994         * locales/es_UY: Likewise.
26995         * locales/es_VE: Likewise.
26996         * locales/et_EE: Likewise.
26997         * locales/fa_IR: Likewise.
26998         * locales/fo_FO: Likewise.
26999         * locales/fr_CA: Likewise.
27000         * locales/fr_CH: Likewise.
27001         * locales/gv_GB: Likewise.
27002         * locales/he_IL: Likewise.
27003         * locales/hr_HR: Likewise.
27004         * locales/id_ID: Likewise.
27005         * locales/is_IS: Likewise.
27006         * locales/it_CH: Likewise.
27007         * locales/iw_IL: Likewise.
27008         * locales/kl_GL: Likewise.
27009         * locales/ko_KR: Likewise.
27010         * locales/kw_GB: Likewise.
27011         * locales/lg_UG: Likewise.
27012         * locales/lt_LT: Likewise.
27013         * locales/lv_LV: Likewise.
27014         * locales/mi_NZ: Likewise.
27015         * locales/nhn_MX: Likewise.
27016         * locales/nl_BE: Likewise.
27017         * locales/pl_PL: Likewise.
27018         * locales/sk_SK: Likewise.
27019         * locales/sl_SI: Likewise.
27020         * locales/sv_FI: Likewise.
27021         * locales/tl_PH: Likewise.
27022         * locales/tr_TR: Likewise.
27023         * locales/vi_VN: Likewise.
27025 2015-07-21  Khem Raj  <raj.khem@gmail.com>
27027         [BZ #17475]
27028         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
27029         of tu_IN and bh_IN.
27031 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
27033         [BZ #18694]
27034         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
27035         bits/wordsize.h.
27036         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
27038 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27040         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
27041         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
27042         (spawn_thread): New function.
27043         (load): Rename to reg_dtor_and_close.  Move dlopen to...
27044         (do_test): ... here.  Use IS_LOADED to test for its
27045         availability.
27047 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
27049         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27051 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
27053         [BZ #18696]
27054         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
27055         si_addr_bnd.
27056         (si_lower): New.
27057         (si_upper): Likewise.
27059 2015-07-16  David S. Miller  <davem@davemloft.net>
27061         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
27063 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27065         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
27066         buffer.
27067         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
27068         fail output information.
27070 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
27073         and strstr-ppc64..
27074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27075         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
27076         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
27077         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
27078         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
27080 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27082         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27083         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27084         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27085         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27087 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27089         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27090         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
27091         rtld_hidden_proto.
27092         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
27094 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27096         * tst-nodelete-opened.c (do_test): Add comment to clarify how
27097         the test can fail.
27099         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
27101         [BZ #18676]
27102         * elf/tst-nodelete-opened.c: New test case.
27103         * elf/tst-nodelete-opened-lib.c: New test case module.
27104         * elf/Makefile (tests, modules-names): Use them.
27105         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
27106         early.
27108 2015-07-15  David S. Miller  <davem@davemloft.net>
27110         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
27111         futex-intenal.h
27112         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
27113         * sysdeps/sparc/sparc64/Makefile: Likewise.
27114         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27115         Remove space from macro define.
27116         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
27118 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
27120         [BZ #17475]
27121         * locale/iso-639.def: Update Bhili and Tulu language codes as
27122         per iso639-3.
27124 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
27126         * elf/tst-leaks1.c (main): Converted to ...
27127         (do_test): ... this.
27128         (TEST_FUNCTION): New macro.
27129         Include test-skeleton.c.
27130         * localedata/tst-langinfo.c (main): Converted to ...
27131         (do_test): ... this.
27132         (TEST_FUNCTION): New macro.
27133         Include test-skeleton.c.
27134         * math/test-fpucw.c (main): Converted to ...
27135         (do_test): ... this.
27136         (TEST_FUNCTION): New macro.
27137         Include test-skeleton.c.
27138         * math/test-tgmath.c (main): Converted to ...
27139         (do_test): ... this.
27140         (TEST_FUNCTION): New macro.
27141         Include test-skeleton.c.
27142         * math/test-tgmath2.c (main): Converted to ...
27143         (do_test): ... this.
27144         (TEST_FUNCTION): New macro.
27145         Include test-skeleton.c.
27146         * setjmp/tst-setjmp.c (main): Converted to ...
27147         (do_test): ... this.
27148         (TEST_FUNCTION): New macro.
27149         Include test-skeleton.c.
27150         * stdio-common/tst-sscanf.c (main): Converted to ...
27151         (do_test): ... this.
27152         (TEST_FUNCTION): New macro.
27153         Include test-skeleton.c.
27154         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
27155         (do_test): ... this.
27156         (TEST_FUNCTION): New macro.
27157         Include test-skeleton.c.
27159         * elf/tst-audit9.c (main): Converted to ...
27160         (do_test): ... this.
27161         (TEST_FUNCTION): New macro.
27162         Include test-skeleton.c.
27164 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
27166         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
27168 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
27170         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
27171         New variable.
27173 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
27175         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27177 2015-07-14  Roland McGrath  <roland@hack.frob.com>
27179         * sysdeps/generic/dl-fileid.h: New file.
27180         * sysdeps/posix/dl-fileid.h: New file.
27181         * sysdeps/nacl/dl-fileid.h: New file.
27182         * include/link.h: Include <dl-fileid.h>.
27183         (struct link_map): Replace l_dev and l_ino with l_file_id.
27184         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
27185         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
27186         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
27188 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27190         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
27192 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27194         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
27195         Add iff $CXX is set.
27196         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
27197         Likewise.
27198         (tst-nodelete-zmodiff): Likewise.
27199         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
27201 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27203         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
27205 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
27207         * sysdeps/aarch64/fpu/math_private.h
27208         (define math_opt_barrier): Add AArch64 version.
27209         (math_force_eval): Likewise.
27211 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
27213         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
27215 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
27217         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
27218         %ld with %jd and cast to intmax_t.
27219         (do_test_length_zero): Likewise.
27221 2015-07-10  Roland McGrath  <roland@hack.frob.com>
27223         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
27225 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
27227         * sysdeps/tile/libm-test-ulps: Regenerated.
27229         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
27230         Comment out the whole function, not just its body.
27232 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27234         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
27235         locks.
27237         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
27239 2015-07-10  Torvald Riegel  <triegel@redhat.com>
27241         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
27242         (sem_assume_only_signals_cause_futex_EINTR): Remove.
27244 2015-07-10  Torvald Riegel  <triegel@redhat.com>
27246         * sysdeps/nptl/futex-internal.h: New file.
27247         * sysdeps/nacl/futex-internal.h: New file.
27248         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
27249         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
27250         error checking.
27251         (setxid_unmark_thread): Likewise.
27252         (__nptl_setxid): Likewise.
27253         (__wait_lookup_done): Likewise.
27254         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
27255         * nptl/nptl-init.c (sighandler_setxid): Likewise.
27256         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27257         * nptl/pthread_once.c (clear_once_control): Likewise.
27258         (__pthread_once_slow): Likewise.
27259         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27260         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
27261         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
27262         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27263         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
27264         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
27265         Likewise.
27266         (__pthread_rwlock_rdlock): Likewise.
27267         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27268         Likewise.
27269         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27270         Likewise.
27271         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27272         Likewise.
27273         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
27274         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
27275         Likewise.
27276         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
27277         __ASSUME_PRIVATE_FUTEX check.
27278         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
27279         Check that shared futexes are supported.
27280         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
27281         wrappers with error checking.
27282         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
27283         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
27284         * nptl/pthread_barrierattr_setpshared.c
27285         (pthread_barrierattr_setpshared): Check that shared futexes are
27286         supported.
27287         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
27288         Likewise.
27289         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
27290         Likewise.
27291         * nptl/sem_init.c (futex_private_if_supported): Remove.
27292         (__new_sem_init): Adapt and check that shared futexes are supported.
27293         * nptl/sem_open.c (sem_open): Likewise.
27294         * nptl/sem_post.c (futex_wake): Remove.
27295         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
27296         (do_futex_wait): Use futex wrappers with error checking.
27297         * nptl/sem_wait.c: Include lowlevellock.h.
27298         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
27299         Use futex_supports_pshared.
27300         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
27301         Use futex wrappers with error checking.
27302         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
27303         Likewise.
27304         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
27305         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
27306         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
27307         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
27308         (futex_wake): Likewise.
27309         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
27310         (do_futex_wait): Use futex wrappers with error checking.
27311         (__new_sem_wait_slow): Update EINTR handling.
27312         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
27314 2015-07-09  Martin Sebor  <msebor@redhat.com>
27316         [BZ #18435]
27317         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27318         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
27319         * nptl/Makefile (test-xfail-tst-once5): Define.
27321 2015-07-09  Roland McGrath  <roland@hack.frob.com>
27323         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
27324         * elf/dl-minimal.c: For readability, reorder some definitions and
27325         introduce more page breaks.  Include <stdio.h>.
27326         (__libc_fatal): New function.
27328         * include/unistd.h: Add rtld_hidden_proto for _exit.
27329         * posix/_exit.c: Add rtld_hidden_def.
27330         * sysdeps/mach/hurd/_exit.c: Likewise.
27331         * sysdeps/nacl/_exit.c: Likewise.
27332         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
27333         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
27335 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
27337         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
27338         bndmov encoding with zero displacement.
27340 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27341             H.J. Lu  <hongjiu.lu@intel.com>
27343         [BZ #18134]
27344         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
27345         * sysdeps/i386/configure: Regenerated.
27346         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27347         (_dl_runtime_profile): Save and restore Intel MPX return bound
27348         registers when calling _dl_call_pltexit.  Add
27349         PRESERVE_BND_REGS_PREFIX before return.
27350         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
27351         (LRV_BND1_OFFSET): Likewise.
27352         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
27353         lrv_bnd1.
27354         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
27355         typo in bndmov encoding.
27356         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
27357         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
27358         branch instructions to preserve bounds.
27360 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
27363         [GLIBC_2.22]: Add fmemopen.
27365 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27367         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
27368         returns an error, also try to use host port from __mach_host_self for
27369         the __vm_wire call.
27370         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
27372 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27374         [BZ #18400]
27375         [BZ #18648]
27376         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
27377         Fix pr_uid and pr_gid members.
27378         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
27379         definition to elf_greg_t.
27381 2015-07-08  Roland McGrath  <roland@hack.frob.com>
27383         [BZ #18383]
27384         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
27385         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
27386         * sysdeps/arm/configure: Regenerated.
27387         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
27388         (test-xfail-tst-tlsalign-static): Variable removed.
27390         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
27391         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
27392         rather than explicit 'ln -s'.
27394         * resolv/rpc/netdb.h: New file.
27395         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
27397 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27399         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
27400         length buffers.
27401         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27402         test-skeleton.c.
27404         [BZ #6544]
27405         [BZ #11216]
27406         [BZ #12836]
27407         [BZ #13151]
27408         [BZ #13152]
27409         [BZ #14292]
27410         * include/stdio.h (fmemopen): Remove hidden prototype.
27411         (__fmemopen): Add new hidden prototype.
27412         * libio/Makefile: Add oldfmemopen object.
27413         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
27414         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
27415         compliance.
27416         * libio/oldfmemopen.c: New file: old fmemopen implementation for
27417         symbol compatibility.
27418         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
27419         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
27420         fmemopen.
27421         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
27422         on append and read mode.
27423         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
27424         fmemopen.
27425         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
27426         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
27427         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
27428         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
27429         Likewise.
27430         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
27431         [GLIBC_2.22]: Likewise.
27432         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
27433         Likewise.
27434         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
27435         Likewise.
27436         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
27437         [GLIBC_2.22]: Likewise.
27438         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
27439         [GLIBC_2.22]: Likewise.
27440         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
27441         [GLIBC_2.22]: Likewise.
27442         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
27443         [GLIBC_2.22]: Likewise.
27444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
27445         [GLIBC_2.22]: Likewise.
27446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
27447         [GLIBC_2.22]: Likewise.
27448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
27449         [GLIBC_2.22]: Likewise.
27450         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
27451         Likewise.
27452         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
27453         Likewise.
27454         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
27455         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
27456         [GLIBC_2.22]: Likewise.
27457         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
27458         [GLIBC_2.22]: Likewise.
27459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
27460         [GLIBC_2.22]: Likewise.
27461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
27462         [GLIBC_2.22]: Likewise.
27463         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
27464         Likewise.
27465         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
27466         Likewise.
27467         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
27468         Likewise.
27469         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
27470         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
27472 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27474         [BZ #18643]
27475         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
27476         IPV6_PATHMTU, and IPV6_DONTFRAG.
27478 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
27480         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
27481         and _IO_UNBUFFERED.
27482         * libio/oldfileops.c: Likewise.
27483         * libio/wfileops.c: Likewise.
27485 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27487         * nscd/selinux.c: Delete selinux/flask.h include.
27489 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27491         [BZ #18641]
27492         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
27493         (putpwent): Likewise.
27494         (getpwnam): Likewise.
27495         (getpwent_r): Likewise.
27496         (getpwuid_r): Likewise.
27497         (getpwnam_r): Likewise.
27498         (fgetpwent_r): Likewise.
27500 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27502         [BZ #18557]
27503         * inet/rcmd.c (__validuser2_sa): Check user first to
27504         short-circuit host check.
27506 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
27507             Mikhail Ilin  <m.ilin@samsung.com>
27509         [BZ #17833]
27510         * elf/Makefile (tests): Add tst-nodelete.
27511         (modules-names): Add tst-nodelete-uniquemod.
27512         (tst-nodelete-uniquemod.so-no-z-defs): New.
27513         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
27514         (tst-nodelete-zmod.so-no-z-defs): Likewise.
27515         ($(objpfx)tst-nodelete): Likewise.
27516         ($(objpfx)tst-nodelete.out): Likewise.
27517         (LDFLAGS-tst-nodelete): Likewise.
27518         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
27519         * elf/dl-close.c (_dl_close_worker): Add a parameter to
27520         implement forced object deletion.
27521         (_dl_close): Pass false to _dl_close_worker.
27522         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
27523         * elf/tst-nodelete.cc: New file.
27524         * elf/tst-nodeletelib.cc: Likewise.
27525         * elf/tst-znodeletelib.cc: Likewise.
27526         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
27528 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27530         [BZ #18508]
27531         * stdlib/Makefile ($(objpfx)tst-makecontext3):
27532         Depend on $(libdl).
27533         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
27534         is not called infinitely times.
27535         (backtrace_helper): New function.
27536         (trace_arg): New struct.
27537         (st1): Enlarge stack size.
27538         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27539         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
27540         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27541         Likewise.
27543 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27545         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27547 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27549         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
27550         Include sys/types.h instead of bits/types.h.
27551         Remove inclusion of bits/wordsize.h.
27553 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27555         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
27556         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
27557         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
27558         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
27559         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
27560         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
27562 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27564         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
27565         link-defines.sym.
27566         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
27567         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
27568         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
27569         and LR_SIZE.
27570         * sysdeps/i386/link-defines.sym: New file.
27572 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27574         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
27575         (modules-names): Add tst-auditmod3a tst-auditmod3b.
27576         ($(objpfx)tst-audit3): New rule.
27577         ($(objpfx)tst-audit3.out): Likewise.
27578         * sysdeps/i386/tst-audit3.c: New file.
27579         * sysdeps/i386/tst-audit3.h: Likewise.
27580         * sysdeps/i386/tst-auditmod3a.c: Likewise.
27581         * sysdeps/i386/tst-auditmod3b.c: Likewise.
27583 2015-07-07  Torvald Riegel  <triegel@redhat.com>
27585         [BZ #18633]
27586         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
27587         pointer in C code.
27588         (__strcat_c): Likewise.
27589         (__strcat_g): Likewise.
27591 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
27593         [BZ #18592]
27594         * misc/sbrk.c: Set errno to ENOMEM on overflow.
27596 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27598         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
27599         New function.  (__ieee754_sqrtf): New function.
27600         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
27601         New function.
27602         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
27603         New function.
27605 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27607         * sysdeps/ieee754/support.c: Remove unused file.
27609 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27611         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
27612         registers instead of d ones so the layout is kernel abi compatible.
27613         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
27614         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
27615         Likewise.
27617 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27619         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27621 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27623         [BZ #18619]
27624         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
27625         and return argument in case of subnormal argument.
27627 2015-07-01  Martin Sebor  <msebor@redhat.com>
27629         [BZ #18435]
27630         * nptl/Makefile: Add tst-once5.cc.
27631         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27632         Remove macro redefinitions.
27633         * nptl/tst-once5.cc: New test.
27635 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27637         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27639         * sysdeps/arm/libm-test-ulps: Regenerated.
27641         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27642         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27644 2015-06-30  Torvald Riegel  <triegel@redhat.com>
27646         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
27647         lll_lock_wait_private and lll_futex_wake probes.
27649         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27650         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
27651         Likewise.
27652         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
27653         atomic_spin_nop.
27654         * sysdeps/x86_64/bits/atomic.h: Likewise.
27655         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
27656         to atomic_spin_nop and move ...
27657         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27658         ... here and ...
27659         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
27660         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
27661         atomic_spin_nop instead of BUSY_WAIT_NOP.
27662         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
27663         Likewise.
27664         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
27665         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27666         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
27667         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
27668         instead of atomic_delay.
27670 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
27672         [BZ #18613]
27673         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
27674         X_ADJ not X when adjusting exponent.
27675         (__ieee754_gamma_r): Do intermediate computations in
27676         round-to-nearest then adjust overflowing and underflowing results
27677         as needed.
27678         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
27679         of X_ADJ not X when adjusting exponent.
27680         (__ieee754_gammaf_r): Do intermediate computations in
27681         round-to-nearest then adjust overflowing and underflowing results
27682         as needed.
27683         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
27684         log of X_ADJ not X when adjusting exponent.
27685         (__ieee754_gammal_r): Do intermediate computations in
27686         round-to-nearest then adjust overflowing and underflowing results
27687         as needed.  Use 1.0L not 1.0f as numerator of division.
27688         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
27689         log of X_ADJ not X when adjusting exponent.
27690         (__ieee754_gammal_r): Do intermediate computations in
27691         round-to-nearest then adjust overflowing and underflowing results
27692         as needed.  Use 1.0L not 1.0f as numerator of division.
27693         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
27694         of X_ADJ not X when adjusting exponent.
27695         (__ieee754_gammal_r): Do intermediate computations in
27696         round-to-nearest then adjust overflowing and underflowing results
27697         as needed.  Use 1.0L not 1.0f as numerator of division.
27698         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
27699         to auto-libm-test-in.
27700         (tgamma_test): Use ALL_RM_TEST.
27701         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
27702         tests of tgamma with spurious-overflow.
27703         * math/auto-libm-test-out: Regenerated.
27704         * math/gen-libm-have-vector-test.sh: Do not check for START.
27705         * sysdeps/i386/fpu/libm-test-ulps: Update.
27706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27708         [BZ #18612]
27709         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
27710         arguments, just return 0.5 times the argument, with underflow
27711         forced as needed.
27712         * math/auto-libm-test-in: Add more tests of j1.
27713         * math/auto-libm-test-out: Regenerated.
27715         [BZ #16559]
27716         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
27717         (__ieee754_j1): Force underflow exception for small results.
27718         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27719         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
27720         (__ieee754_j1f): Force underflow exception for small results.
27721         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27722         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27723         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27724         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
27725         (__ieee754_j1l): Force underflow exception for small results.
27726         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27727         * math/auto-libm-test-in: Add more tests of j1 and jn.
27728         * math/auto-libm-test-out: Regenerated.
27730         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
27731         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
27732         (PF_MPLS): Likewise.
27733         (AF_IB): Likewise.
27734         (AF_MPLS): Likewise.
27735         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
27736         value and macro.
27737         (MS_RMT_MASK): Include MS_LAZYTIME.
27739 2015-06-26  Mel Gorman  <mgorman@suse.de>
27741         [BZ #18502]
27742         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
27743         already minimal.
27745 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
27747         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
27748         (DT_MIPS_NUM): Update.
27749         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
27750         DT_MIPS_RLD_MAP_REL.
27752 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
27754         [BZ #16559]
27755         [BZ #18602]
27756         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
27757         round-to-nearest internally then recompute results that
27758         underflowed to zero in the original rounding mode.
27759         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27760         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27761         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27762         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27763         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
27764         * sysdeps/i386/fpu/libm-test-ulps: Update.
27765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27767 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
27769         * NEWS: Fixed description of link with vector math library.
27771 2015-06-25  Andreas Schwab  <schwab@suse.de>
27773         [BZ #18549]
27774         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
27775         * libio/test-fmemopen.c (do_test): Add test for it.
27777 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27779         [BZ #17841]
27780         * Makeconfig (no-pie-ldflag): New.
27781         (+link): Set to $(+link-pie) if default to PIE.
27782         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
27783         * config.make.in (build-pie-default): New.
27784         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
27785         is default.  AC_SUBST.
27786         * configure: Regenerated.
27787         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
27789 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27791         * nptl/descr.h (struct pthread): Change type of field setxid_futex
27792         to 'unsigned int'.
27794         * resolv/gai_misc.h (struct waitlist): Change type of field
27795         counterp to 'volatile unsigned int *'.
27796         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
27797         FUTEXADDR and OLDVAL.
27798         * resolv/getaddrinfo_a.c (getaddrinfo_a):
27799         Give local variable TOTAL type 'volatile unsigned int'.
27800         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27801         * resolv/gai_suspend.c (gai_suspend):
27802         Give local variable CNTR type 'unsigned int'.
27804         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
27805         counterp to 'volatile unsigned int *'.
27806         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
27807         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
27808         (aio_suspend): Give local variable CNTR type 'unsigned int'.
27809         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
27810         Give local variable TOTAL type 'volatile unsigned int'.
27811         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27813 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27815         [BZ #18383]
27816         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
27817         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
27818         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
27819         comment for i386/x86-64.
27820         (test-xfail-tst-tlsalign-extern-static): Removed.
27822 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27824         * math/test-double.h: New file.
27825         * math/test-float.h: Likewise.
27826         * math/test-ldouble.h: Likewise.
27827         * math/test-math-inline.h: Likewise.
27828         * math/test-math-no-inline.h: Likewise.
27829         * math/test-math-scalar.h: Likewise.
27830         * math/test-math-vector.h: Likewise.
27831         * math/test-vec-loop.h: Remove file.  Contents moved into
27832         test-math-vector.h.
27833         * math/libm-test.inc (MATHCONST): Do not document macro.
27834         * math/test-double.c: Include test-double.h, test-math-no-inline.h
27835         and test-math-scalar.h.
27836         (FUNC): Remove macro.
27837         (FUNC_TEST): Likewise.
27838         (FLOAT): Likewise.
27839         (MATHCONST): Likewise.
27840         (PRINTF_EXPR): Likewise.
27841         (PRINTF_XEXPR): Likewise.
27842         (PRINTF_NEXPR): Likewise.
27843         (TEST_DOUBLE): Likewise.
27844         (TEST_MATHVEC): Likewise.
27845         (__NO_MATH_INLINES): Likewise.
27846         * math/test-float.c: Include test-float.h, test-math-no-inline.h
27847         and test-math-scalar.h.
27848         (FUNC): Remove macro.
27849         (FUNC_TEST): Likewise.
27850         (FLOAT): Likewise.
27851         (MATHCONST): Likewise.
27852         (PRINTF_EXPR): Likewise.
27853         (PRINTF_XEXPR): Likewise.
27854         (PRINTF_NEXPR): Likewise.
27855         (TEST_FLOAT): Likewise.
27856         (TEST_MATHVEC): Likewise.
27857         (__NO_MATH_INLINES): Likewise.
27858         * math/test-idouble.c: Include test-double.h, test-math-inline.h
27859         and test-math-scalar.h.
27860         (FUNC): Remove macro.
27861         (FUNC_TEST): Likewise.
27862         (FLOAT): Likewise.
27863         (MATHCONST): Likewise.
27864         (PRINTF_EXPR): Likewise.
27865         (PRINTF_XEXPR): Likewise.
27866         (PRINTF_NEXPR): Likewise.
27867         (TEST_DOUBLE): Likewise.
27868         (TEST_MATHVEC): Likewise.
27869         (TEST_INLINE): Likewise.
27870         (__NO_MATH_INLINES): Likewise.
27871         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
27872         test-math-scalar.h.
27873         (FUNC): Remove macro.
27874         (FUNC_TEST): Likewise.
27875         (FLOAT): Likewise.
27876         (MATHCONST): Likewise.
27877         (PRINTF_EXPR): Likewise.
27878         (PRINTF_XEXPR): Likewise.
27879         (PRINTF_NEXPR): Likewise.
27880         (TEST_FLOAT): Likewise.
27881         (TEST_MATHVEC): Likewise.
27882         (TEST_INLINE): Likewise.
27883         (__NO_MATH_INLINES): Likewise.
27884         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
27885         and test-math-scalar.h.
27886         (FUNC): Remove macro.
27887         (FUNC_TEST): Likewise.
27888         (FLOAT): Likewise.
27889         (MATHCONST): Likewise.
27890         (PRINTF_EXPR): Likewise.
27891         (PRINTF_XEXPR): Likewise.
27892         (PRINTF_NEXPR): Likewise.
27893         (TEST_LDOUBLE): Likewise.
27894         (TEST_MATHVEC): Likewise.
27895         (TEST_INLINE): Likewise.
27896         (__NO_MATH_INLINES): Likewise.
27897         * math/test-ldouble.c: Include test-ldouble.h,
27898         test-math-no-inline.h and test-math-scalar.h.
27899         (FUNC): Remove macro.
27900         (FUNC_TEST): Likewise.
27901         (FLOAT): Likewise.
27902         (MATHCONST): Likewise.
27903         (PRINTF_EXPR): Likewise.
27904         (PRINTF_XEXPR): Likewise.
27905         (PRINTF_NEXPR): Likewise.
27906         (TEST_LDOUBLE): Likewise.
27907         (TEST_MATHVEC): Likewise.
27908         (__NO_MATH_INLINES): Likewise.
27909         * math/test-double-vlen2.h: Include test-double.h,
27910         test-math-no-inline.h and test-math-vector.h.
27911         (FLOAT): Remove macro.
27912         (FUNC): Likewise.
27913         (MATHCONST): Likewise.
27914         (PRINTF_EXPR): Likewise.
27915         (PRINTF_XEXPR): Likewise.
27916         (PRINTF_NEXPR): Likewise.
27917         (TEST_DOUBLE): Likewise.
27918         (TEST_MATHVEC): Likewise.
27919         (__NO_MATH_INLINES): Likewise.
27920         (CNCT): Likewise.
27921         (CONCAT): Likewise.
27922         (WRAPPER_NAME): Likewise.
27923         (WRAPPER_DECL): Likewise.
27924         (WRAPPER_DECL_ff): Likewise.
27925         (WRAPPER_DECL_fFF): Likewise.
27926         (VECTOR_WRAPPER): Likewise.
27927         (VECTOR_WRAPPER_ff): Likewise.
27928         (VECTOR_WRAPPER_fFF): Likewise.
27929         (VEC_LEN): New macro.
27930         * math/test-double-vlen4.h: Include test-double.h,
27931         test-math-no-inline.h and test-math-vector.h.
27932         (FLOAT): Remove macro.
27933         (FUNC): Likewise.
27934         (MATHCONST): Likewise.
27935         (PRINTF_EXPR): Likewise.
27936         (PRINTF_XEXPR): Likewise.
27937         (PRINTF_NEXPR): Likewise.
27938         (TEST_DOUBLE): Likewise.
27939         (TEST_MATHVEC): Likewise.
27940         (__NO_MATH_INLINES): Likewise.
27941         (CNCT): Likewise.
27942         (CONCAT): Likewise.
27943         (WRAPPER_NAME): Likewise.
27944         (WRAPPER_DECL): Likewise.
27945         (WRAPPER_DECL_ff): Likewise.
27946         (WRAPPER_DECL_fFF): Likewise.
27947         (VECTOR_WRAPPER): Likewise.
27948         (VECTOR_WRAPPER_ff): Likewise.
27949         (VECTOR_WRAPPER_fFF): Likewise.
27950         (VEC_LEN): New macro.
27951         * math/test-double-vlen8.h: Include test-double.h,
27952         test-math-no-inline.h and test-math-vector.h.
27953         (FLOAT): Remove macro.
27954         (FUNC): Likewise.
27955         (MATHCONST): Likewise.
27956         (PRINTF_EXPR): Likewise.
27957         (PRINTF_XEXPR): Likewise.
27958         (PRINTF_NEXPR): Likewise.
27959         (TEST_DOUBLE): Likewise.
27960         (TEST_MATHVEC): Likewise.
27961         (__NO_MATH_INLINES): Likewise.
27962         (CNCT): Likewise.
27963         (CONCAT): Likewise.
27964         (WRAPPER_NAME): Likewise.
27965         (WRAPPER_DECL): Likewise.
27966         (WRAPPER_DECL_ff): Likewise.
27967         (WRAPPER_DECL_fFF): Likewise.
27968         (VECTOR_WRAPPER): Likewise.
27969         (VECTOR_WRAPPER_ff): Likewise.
27970         (VECTOR_WRAPPER_fFF): Likewise.
27971         (VEC_LEN): New macro.
27972         * math/test-float-vlen4.h: Include test-float.h,
27973         test-math-no-inline.h and test-math-vector.h.
27974         (FLOAT): Remove macro.
27975         (FUNC): Likewise.
27976         (MATHCONST): Likewise.
27977         (PRINTF_EXPR): Likewise.
27978         (PRINTF_XEXPR): Likewise.
27979         (PRINTF_NEXPR): Likewise.
27980         (TEST_FLOAT): Likewise.
27981         (TEST_MATHVEC): Likewise.
27982         (__NO_MATH_INLINES): Likewise.
27983         (CNCT): Likewise.
27984         (CONCAT): Likewise.
27985         (WRAPPER_NAME): Likewise.
27986         (WRAPPER_DECL): Likewise.
27987         (WRAPPER_DECL_ff): Likewise.
27988         (WRAPPER_DECL_fFF): Likewise.
27989         (VECTOR_WRAPPER): Likewise.
27990         (VECTOR_WRAPPER_ff): Likewise.
27991         (VECTOR_WRAPPER_fFF): Likewise.
27992         (VEC_LEN): New macro.
27993         * math/test-float-vlen8.h: Include test-float.h,
27994         test-math-no-inline.h and test-math-vector.h.
27995         (FLOAT): Remove macro.
27996         (FUNC): Likewise.
27997         (MATHCONST): Likewise.
27998         (PRINTF_EXPR): Likewise.
27999         (PRINTF_XEXPR): Likewise.
28000         (PRINTF_NEXPR): Likewise.
28001         (TEST_FLOAT): Likewise.
28002         (TEST_MATHVEC): Likewise.
28003         (__NO_MATH_INLINES): Likewise.
28004         (CNCT): Likewise.
28005         (CONCAT): Likewise.
28006         (WRAPPER_NAME): Likewise.
28007         (WRAPPER_DECL): Likewise.
28008         (WRAPPER_DECL_ff): Likewise.
28009         (WRAPPER_DECL_fFF): Likewise.
28010         (VECTOR_WRAPPER): Likewise.
28011         (VECTOR_WRAPPER_ff): Likewise.
28012         (VECTOR_WRAPPER_fFF): Likewise.
28013         (VEC_LEN): New macro.
28014         * math/test-float-vlen16.h: Include test-float.h,
28015         test-math-no-inline.h and test-math-vector.h.
28016         (FLOAT): Remove macro.
28017         (FUNC): Likewise.
28018         (MATHCONST): Likewise.
28019         (PRINTF_EXPR): Likewise.
28020         (PRINTF_XEXPR): Likewise.
28021         (PRINTF_NEXPR): Likewise.
28022         (TEST_FLOAT): Likewise.
28023         (TEST_MATHVEC): Likewise.
28024         (__NO_MATH_INLINES): Likewise.
28025         (CNCT): Likewise.
28026         (CONCAT): Likewise.
28027         (WRAPPER_NAME): Likewise.
28028         (WRAPPER_DECL): Likewise.
28029         (WRAPPER_DECL_ff): Likewise.
28030         (WRAPPER_DECL_fFF): Likewise.
28031         (VECTOR_WRAPPER): Likewise.
28032         (VECTOR_WRAPPER_ff): Likewise.
28033         (VECTOR_WRAPPER_fFF): Likewise.
28034         (VEC_LEN): New macro.
28035         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
28036         test-vec-loop.h.
28037         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28038         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28039         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28040         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28041         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28042         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28043         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28045 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28047         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
28048         (__getlogin_r): ... this.
28050 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28052         [BZ #18594]
28053         * math/s_ccosh.c (__ccosh): Compare with least normal value
28054         instead of comparing class with FP_SUBNORMAL.
28055         * math/s_ccoshf.c (__ccoshf): Likewise.
28056         * math/s_ccoshl.c (__ccoshl): Likewise.
28057         * math/s_cexp.c (__cexp): Likewise.
28058         * math/s_cexpf.c (__cexpf): Likewise.
28059         * math/s_cexpl.c (__cexpl): Likewise.
28060         * math/s_csin.c (__csin): Likewise.
28061         * math/s_csinf.c (__csinf): Likewise.
28062         * math/s_csinh.c (__csinh): Likewise.
28063         * math/s_csinhf.c (__csinhf): Likewise.
28064         * math/s_csinhl.c (__csinhl): Likewise.
28065         * math/s_csinl.c (__csinl): Likewise.
28066         * math/s_ctan.c (__ctan): Likewise.
28067         * math/s_ctanf.c (__ctanf): Likewise.
28068         * math/s_ctanh.c (__ctanh): Likewise.
28069         * math/s_ctanhf.c (__ctanhf): Likewise.
28070         * math/s_ctanhl.c (__ctanhl): Likewise.
28071         * math/s_ctanl.c (__ctanl): Likewise.
28072         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
28073         csin, csinh, ctan and ctanh.
28074         * math/auto-libm-test-out: Regenerated.
28075         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
28076         * sysdeps/i386/fpu/libm-test-ulps: Update.
28077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28079 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28081         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
28082         return value is wrong, print the expected value too.
28084 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28086         [BZ #18585]
28087         * elf/readlib.c (is_gdb_python_file): New.
28088         (process_file): Don't issue errors on filenames with -gdb.py
28089         suffix.
28091 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28093         * math/auto-libm-test-in: Add more tests of csin and csinh.
28094         * math/auto-libm-test-out: Regenerated.
28095         * math/libm-test.inc (csin_test_data): Remove tests moved to
28096         auto-libm-test-in.
28097         (csinh_test_data): Likewise.
28099         [BZ #18593]
28100         * math/s_csin.c (__csin): Negate before rather than after possibly
28101         overflowing multiplication.
28102         * math/s_csinf.c (__csinf): Likewise.
28103         * math/s_csinh.c (__csinh): Likewise.
28104         * math/s_csinhf.c (__csinhf): Likewise.
28105         * math/s_csinhl.c (__csinhl): Likewise.
28106         * math/s_csinl.c (__csinl): Likewise.
28107         * math/auto-libm-test-in: Add some tests of csin and csinh.
28108         * math/auto-libm-test-out: Regenerated.
28109         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
28110         (csinh_test_data): Likewise.
28111         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28113         [BZ #18586]
28114         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
28115         underflow exception for small results.
28117 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
28119         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
28120         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
28121         variable and included header.
28122         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
28123         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
28124         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
28125         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
28126         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
28127         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
28128         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
28129         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
28130         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
28131         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
28132         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
28133         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
28134         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
28135         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
28136         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
28137         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
28139 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28141         [BZ #16526]
28142         [BZ #16538]
28143         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
28144         (__sin): Force underflow exception for arguments with small
28145         absolute value.
28146         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
28147         (__kernel_sinf): Force underflow exception for arguments with
28148         small absolute value.
28149         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
28150         (__kernel_sincosl): Force underflow exception for arguments with
28151         small absolute value.
28152         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
28153         (__kernel_sinl): Force underflow exception for arguments with
28154         small absolute value.
28155         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
28156         (__kernel_sincosl): Force underflow exception for arguments with
28157         small absolute value.
28158         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
28159         (__kernel_sinl): Force underflow exception for arguments with
28160         small absolute value.
28161         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
28162         (__kernel_sinl): Force underflow exception for arguments with
28163         small absolute value.
28164         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
28165         (__kernel_sinf): Force underflow exception for arguments with
28166         small absolute value.
28167         * math/auto-libm-test-in: Add more tests of sin and sincos.
28168         * math/auto-libm-test-out: Regenerated.
28170         [BZ #18245]
28171         [BZ #18583]
28172         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
28173         (__kernel_standard_l): Use feholdexcept and fesetenv around
28174         conversion to double instead of special-casing overflow and
28175         underflow.
28176         * math/libm-test.inc (fmod_test_data): Add more tests.
28177         (remainder_test_data): Likewise.
28178         (sqrt_test_data): Likewise.
28180 2015-06-23  Torvald Riegel  <triegel@redhat.com>
28182         [BZ #17403]
28183         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
28184         atomic_read_barrier, atomic_write_barrier): Define.
28185         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
28186         atomic_read_barrier, atomic_write_barrier): Define.
28188 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28190         * math/Makefile [$(PERL) != no]
28191         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
28192         dependency on libm-test.stmp below the inclusion of Rules.
28194 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
28196         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
28197         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
28198         and included header.
28199         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
28200         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
28201         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
28202         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
28203         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
28204         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
28205         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
28206         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
28207         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
28208         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
28209         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
28210         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
28211         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
28212         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
28213         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
28214         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
28215         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
28216         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
28217         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
28219 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28221         [BZ #18371]
28222         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
28223         intermediate but not final result might underflow.
28224         * math/s_csqrtf.c (__csqrtf): Likewise.
28225         * math/s_csqrtl.c (__csqrtl): Likewise.
28226         * math/auto-libm-test-in: Add more tests of csqrt.
28227         * math/auto-libm-test-out: Regenerated.
28228         * sysdeps/i386/fpu/libm-test-ulps: Update.
28230         [BZ #18219]
28231         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
28232         threshold on absolute value of exponent for which scaling is used.
28233         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28234         * math/auto-libm-test-in: Add more tests of exp2.
28235         * math/auto-libm-test-out: Regenerated.
28237 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
28239         [BZ #17977]
28240         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
28241         when initializing interface list, based on the bug analysis
28242         and the patch proposed by Eric Newton.
28243         * resolv/tst-res_hconf_reorder.c: New test.
28244         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
28245         tst-res_hconf_reorder.
28246         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
28247         and $(shared-thread-library).
28248         (tst-res_hconf_reorder-ENV): New variable.
28250         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
28251         in comment.
28253 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
28255         [BZ #16353]
28256         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
28257         (__expm1): Force underflow exception for arguments with small
28258         absolute value.
28259         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
28260         (__expm1f): Force underflow exception for arguments with small
28261         absolute value.
28262         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
28263         (__expm1): Force underflow exception for arguments with small
28264         absolute value.
28265         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
28266         (__expm1f): Force underflow exception for arguments with small
28267         absolute value.
28268         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28269         Check for small arguments before calling __expm1.
28270         * math/auto-libm-test-in: Do not mark underflow exceptions as
28271         possibly missing for bug 16353.
28272         * math/auto-libm-test-out: Regenerated.
28274 2015-06-22  Andreas Schwab  <schwab@suse.de>
28276         [BZ #18513]
28277         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
28278         PTR queries.
28280 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
28282         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
28284         * string/strcoll_l.c: Remove unused struct element idxnow.
28286 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
28288         [BZ #18569]
28289         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
28290         underflow and return argument in case of subnormal argument.
28291         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28292         Likewise.
28293         * math/auto-libm-test-in: Add more tests of expm1.
28294         * math/auto-libm-test-out: Regenerated.
28296         [BZ #16361]
28297         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28298         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28299         tiny results.
28300         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28301         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28302         tiny results.
28303         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
28304         mark underflow exceptions as possibly missing for bug 16361.
28305         * math/auto-libm-test-out: Regenerated.
28307 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
28309         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
28310         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
28311         Remove variable.
28312         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
28313         (test-xfail-XOPEN2K8/utmpx.h/conform).
28315         * conform/conformtest.pl ($xerrors): New variable.
28316         (note_error): New function.
28317         (compiletest): New argument $xfail.  Use not_error.
28318         (runtest): Likewise.
28319         (top level): Handle xfail- lines.  Update calls to compiletest and
28320         runtest.  Handle xfail- and optional- in headers listed with
28321         allow-header.
28322         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
28323         (O_EXEC): Likewise.
28324         (O_SEARCH): Likewise.
28325         * conform/data/stropts.h-data (ioctl): Likewise.
28326         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
28327         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
28328         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
28329         (msghdr.msg_controllen): Likewise.
28330         (cmsghdr.cmsg_len): Likewise.
28331         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
28332         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
28333         variable.
28334         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28335         (test-xfail-XPG4/stropts.h/conform): Likewise.
28336         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28337         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28338         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28339         (test-xfail-UNIX98/stropts.h/conform): Likewise.
28340         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28341         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28342         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28343         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28344         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28345         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28346         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28347         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28348         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28349         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28350         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28351         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28352         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28353         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28354         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28356 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
28358         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
28359         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
28360         definitions for proper unfolding of __MATHDECL_VEC.
28362 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28364         * benchtests/bench-strcoll.c:
28365         Include string.h.
28366         (main): Remove unused variable res.
28368 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28370         * timezone/Makefile (%/UTC %/Universal):
28371         Generate test-result files for UTC and Universal.
28373 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28375         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28377 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
28379         [BZ #16350]
28380         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
28381         for arguments with small absolute value.
28382         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
28383         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
28384         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
28385         (__asinh): Force underflow exception for arguments with small
28386         absolute value.
28387         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
28388         (__asinhf): Force underflow exception for arguments with small
28389         absolute value.
28390         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
28391         (__asinhl): Force underflow exception for arguments with small
28392         absolute value.
28393         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
28394         (__asinhl): Force underflow exception for arguments with small
28395         absolute value.
28396         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
28397         (__asinhl): Force underflow exception for arguments with small
28398         absolute value.
28399         * math/auto-libm-test-in: Do not mark underflow exceptions as
28400         possibly missing for bug 16350.
28401         * math/auto-libm-test-out: Regenerated.
28403         * include/bits/ipc.h: Remove file.
28404         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
28405         variable.
28406         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28407         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28408         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28409         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28410         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28411         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28412         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28413         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28414         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28416         * math/auto-libm-test-in: Remove spurious underflow allowance for
28417         tests of cexp.
28418         * math/auto-libm-test-out: Regenerated.
28420         [BZ #18558]
28421         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
28422         unconditional definition.
28423         (MCAST_BLOCK_SOURCE): Likewise.
28424         (MCAST_UNBLOCK_SOURCE): Likewise.
28425         (MCAST_LEAVE_GROUP): Likewise.
28426         (MCAST_JOIN_SOURCE_GROUP): Likewise.
28427         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28428         (MCAST_MSFILTER): Likewise.
28429         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
28430         Remove variable.
28431         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28432         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28433         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28434         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28435         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28437 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
28439         * NEWS: Mention addition of x86_64 vector sincosf.
28440         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
28441         * math/test-float-vlen4.h: Likewise.
28442         * math/test-float-vlen8.h: Likewise.
28443         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28444         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
28445         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28446         * sysdeps/x86_64/fpu/Versions: New versions added.
28447         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28448         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28449         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28450         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
28451         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
28452         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
28453         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
28454         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
28455         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
28456         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
28457         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
28458         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
28459         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
28460         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
28461         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
28462         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
28463         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
28464         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28465         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28466         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28467         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28468         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28469         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28470         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28472         * NEWS: Mention addition of x86_64 vector sincos.
28473         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
28474         * math/math.h (__MATHDECL_VEC): New macro.
28475         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
28476         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
28477         declaration under condition.
28478         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
28479         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
28480         TEST_VEC_LOOP change.
28481         * math/test-double-vlen4.h: Likewise.
28482         * math/test-double-vlen8.h: Likewise.
28483         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
28484         * math/test-float-vlen4.h: Likewise.
28485         * math/test-float-vlen8.h: Likewise.
28486         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28487         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
28488         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28489         * sysdeps/x86_64/fpu/Versions: New versions added.
28490         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28491         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28492         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28493         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
28494         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
28495         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
28496         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
28497         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
28498         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
28499         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
28500         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
28501         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
28502         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
28503         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
28504         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
28505         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
28506         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
28507         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28508         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28509         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28510         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28511         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28512         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28513         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28515         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28516         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28517         redirections for powf.
28518         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28519         * sysdeps/x86_64/fpu/Versions: New versions added.
28520         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28521         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28522         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28523         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
28524         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
28525         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
28526         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
28527         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
28528         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
28529         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
28530         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
28531         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
28532         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
28533         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
28534         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
28535         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
28536         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
28537         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28538         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28539         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28540         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28541         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28542         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28543         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28544         * math/test-float-vlen16.h: Fixed 2 argument macro.
28545         * math/test-float-vlen4.h: Likewise.
28546         * math/test-float-vlen8.h: Likewise.
28547         * NEWS: Mention addition of x86_64 vector powf.
28549 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
28551         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28552         and redefine.
28553         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28554         and redefine.
28555         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
28556         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28557         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28559         [BZ #18553]
28560         * resource/getpriority.c (getpriority): Rename to __getpriority
28561         and define as weak alias of __getpriority.
28562         * resource/setpriority.c (setpriority): Rename to __setpriority
28563         and define as weak alias of __setpriority.
28564         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
28565         __getpriority and define as weak alias of __getpriority.
28566         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
28567         __setpriority and define as weak alias of __setpriority.
28568         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
28569         strong name.
28570         (setpriority): Use __setpriority as strong name.
28571         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
28572         __getpriority and define as weak alias of __getpriority.
28573         * include/sys/resource.h (__getpriority): Declare.  Use
28574         libc_hidden_proto.
28575         (__setpriority): Likewise.
28576         (getpriority): Don't use libc_hidden_proto.
28577         (setpriority): Likewise.
28578         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
28579         getpriority.  Call __setpriority instead of setpriority.
28580         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
28581         Remove variable.
28583         [BZ #18547]
28584         * misc/getttyent.c (getttynam): Rename to __getttynam and define
28585         as weak alias of __getttynam.  Use prototype function definition.
28586         Call __setttyent, __getttyent and __endttyent instead of
28587         setttyent, getttyent and endttyent.
28588         (getttyent): Rename to __getttyent and define as weak alias of
28589         __getttyent.  Call __setttyent instead of setttyent.  Call
28590         __fgets_unlocked instead of fgets_unlocked.
28591         (setttyent): Rename to __setttyent and define as weak alias of
28592         __setttyent.
28593         (endttyent): Rename to __endttyent and define as weak alias of
28594         __endttyent.
28595         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
28596         (__setttyent): Likewise.
28597         (__endttyent): Likewise.
28598         (getttyent): Don't use libc_hidden_proto.
28599         (setttyent): Likewise.
28600         (endttyent): Likewise.
28601         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
28602         __endttyent instead of setttyent, getttyent and endttyent.
28603         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
28604         Remove variable.
28606         [BZ #18546]
28607         * socket/recv.c (__recv): Use libc_hidden_def.
28608         * socket/socket.c (__socket): Likewise.
28609         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28610         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28611         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
28612         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
28613         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
28614         libc_hidden_def.
28615         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
28616         libc_hidden_weak.
28617         * include/sys/socket.h (__socket): Do not use attribute_hidden.
28618         Use libc_hidden_proto.
28619         (__recv): Likewise.
28620         * socket/Versions (libc): Export __recv and __socket at version
28621         GLIBC_PRIVATE.
28622         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
28623         instead of recv.
28624         (init_mq_netlink): Call __socket instead of socket.
28625         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
28626         Remove variable.
28628         [BZ #18545]
28629         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
28630         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
28631         hidden_weak.
28632         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
28633         define as alias of __mq_timedsend.  Use hidden_weak.
28634         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
28635         __mq_timedsend as strong name.
28636         (mq_timedreceive): Use __mq_timedreceive as strong name.
28637         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
28638         (__mq_timedreceive): Likewise.
28639         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
28640         __mq_timedreceive instead of mq_timedreceive.
28641         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
28642         instead of mq_timedsend.
28643         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
28644         Remove variable.
28646         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
28647         hidden_def and hidden_weak instead of libc_hidden_def and
28648         libc_hidden_weak.
28649         (top level): Refer to hidden_def in comment.
28650         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
28651         macro.  Use it instead of libc_hidden_def.
28652         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
28653         specify __GI_* name explicitly.
28654         (mq_timedreceive): Likewise.
28655         (mq_setattr): Likewise.
28657         [BZ #18544]
28658         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
28659         __pthread_barrier_init and define as weak alias of
28660         __pthread_barrier_init.
28661         * sysdeps/sparc/nptl/pthread_barrier_init.c
28662         (pthread_barrier_init): Likewise.
28663         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
28664         __pthread_barrier_wait and define as weak alias of
28665         __pthread_barrier_wait.
28666         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28667         (pthread_barrier_wait): Likewise.
28668         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28669         (pthread_barrier_wait): Likewise.
28670         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
28671         (pthread_barrier_wait): Likewise.
28672         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
28673         (pthread_barrier_wait): Likewise.
28674         * nptl/Versions (libpthread): Export __pthread_barrier_init and
28675         __pthread_barrier_wait at version GLIBC_PRIVATE.
28676         * include/pthread.h (__pthread_barrier_init): Declare.
28677         (__pthread_barrier_wait): Likewise.
28678         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
28679         Call __pthread_barrier_wait instead of pthread_barrier_wait.
28680         (helper_thread): Likewise.
28681         (init_mq_netlink): Call __pthread_barrier_init instead of
28682         pthread_barrier_init.
28684         [BZ #18542]
28685         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
28686         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
28687         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
28688         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
28689         vswscanf.
28690         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
28691         Remove variable.
28693         [BZ #18540]
28694         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
28695         strong alias of _IO_fflush.  Use libc_hidden_def.
28696         * libio/iofflush_u.c (fflush_unlocked): Rename to
28697         __fflush_unlocked and define as weak alias of __fflush_unlocked.
28698         Use libc_hidden_weak.
28699         * include/stdio.h (__fflush_unlocked): Declare.  Use
28700         libc_hidden_proto.
28701         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
28702         fflush_unlocked.
28703         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
28704         Remove variable.
28706         [BZ #18539]
28707         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
28708         define as weak alias of __addseverity.
28709         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
28710         Remove variable.
28711         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28712         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28713         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28715         [BZ #18536]
28716         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
28717         (__tfind): Likewise.
28718         (__tdelete): Likewise.
28719         (__twalk): Likewise.
28720         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
28721         __twalk to GLIBC_PRIVATE.
28722         * include/search.h (__tsearch): Use libc_hidden_proto.
28723         (__tfind): Likewise.
28724         (__tdelete): Likewise.
28725         (__twalk): Likewise.
28726         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
28727         Call __tdelete instead of tdelete.
28728         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
28729         tfind.  Call __tsearch instead of tsearch.
28730         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
28731         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
28732         Remove variable.
28733         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28735         [BZ #18534]
28736         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
28737         (dprintf): Define as a weak alias of __dprintf, not a strong
28738         alias.
28739         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
28740         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
28741         dprintf.
28742         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
28743         Remove variable.
28744         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28745         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28747         [BZ #18533]
28748         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
28749         not a strong alias.
28750         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
28751         Remove variable.
28753         [BZ #18532]
28754         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
28755         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
28756         (in6addr_loopback): Rename to __in6addr_loopback and define as
28757         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
28758         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
28759         libc_hidden_proto.
28760         (__in6addr_any): Likewise.
28761         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
28762         in6addr_any.
28763         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
28764         variable.
28765         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28767 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
28769         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
28770         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
28771         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28772         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28773         redirections for pow.
28774         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28775         * sysdeps/x86_64/fpu/Versions: New versions added.
28776         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28777         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28778         build of SSE, AVX2 and AVX512 IFUNC versions.
28779         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
28780         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
28781         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
28782         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
28783         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
28784         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
28785         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
28786         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
28787         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
28788         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
28789         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
28790         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
28791         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
28792         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
28793         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28794         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28795         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28796         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28797         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28798         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28799         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28800         * NEWS: Mention addition of x86_64 vector pow.
28802         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28803         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28804         redirections for expf.
28805         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28806         * sysdeps/x86_64/fpu/Versions: New versions added.
28807         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28808         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28809         build of SSE, AVX2 and AVX512 IFUNC versions.
28810         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
28811         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
28812         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
28813         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
28814         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
28815         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
28816         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
28817         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
28818         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
28819         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
28820         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
28821         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
28822         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
28823         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28824         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28825         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28826         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28827         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28828         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28829         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28830         * NEWS: Mention addition of x86_64 vector expf.
28832         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
28833         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
28834         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28835         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28836         redirections for exp.
28837         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28838         * sysdeps/x86_64/fpu/Versions: New versions added.
28839         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28840         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28841         build of SSE, AVX2 and AVX512 IFUNC versions.
28842         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
28843         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
28844         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
28845         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
28846         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
28847         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
28848         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
28849         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
28850         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
28851         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
28852         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
28853         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
28854         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
28855         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28856         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28857         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28858         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28859         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28860         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28861         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28862         * NEWS: Mention addition of x86_64 vector exp.
28864         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28865         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28866         redirections for logf.
28867         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28868         * sysdeps/x86_64/fpu/Versions: New versions added.
28869         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28870         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28871         build of SSE, AVX2 and AVX512 IFUNC versions.
28872         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
28873         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
28874         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
28875         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
28876         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
28877         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
28878         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
28879         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
28880         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
28881         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
28882         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
28883         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
28884         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
28885         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28886         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28887         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28888         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28889         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28890         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28891         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28892         * NEWS: Mention addition of x86_64 vector logf.
28894         * bits/libm-simd-decl-stubs.h: Added stubs for log.
28895         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
28896         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28897         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28898         redirections for log.
28899         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28900         * sysdeps/x86_64/fpu/Versions: New versions added.
28901         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28902         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28903         build of SSE, AVX2 and AVX512 IFUNC versions.
28904         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
28905         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
28906         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
28907         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
28908         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
28909         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
28910         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
28911         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
28912         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
28913         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
28914         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
28915         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
28916         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
28917         test.
28918         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28919         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28920         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28921         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28922         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28923         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28924         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28925         * NEWS: Mention addition of x86_64 vector log.
28927 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28929         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
28930         cfi_adjust_cfa_offset argument.
28931         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
28932         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
28934         [BZ #18034]
28935         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
28936         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
28937         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
28938         ordering using ldar.
28939         (_dl_tlsdesc_dynamic): Likewise.
28940         (_dl_tlsdesc_return_lazy): Likewise.
28941         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
28942         relaxed atomics instead of volatile and synchronize with release store.
28943         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
28944         volatile.
28945         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28947 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
28949         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28950         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
28951         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28952         * sysdeps/x86_64/fpu/Versions: New versions added.
28953         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28954         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28955         build of SSE, AVX2 and AVX512 IFUNC versions.
28956         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
28957         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
28958         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
28959         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
28960         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
28961         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
28962         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
28963         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
28964         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
28965         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
28966         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
28967         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
28968         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
28969         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28970         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28971         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28972         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28973         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28974         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28975         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28976         * NEWS: Mention addition of x86_64 vector sinf.
28978 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
28980         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
28981         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
28982         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
28983         Remove variable.
28984         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28985         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28987 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28989         [BZ #18530]
28990         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
28991         strong alias of _IO_fputs.  Use libc_hidden_def.
28992         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
28993         and define as weak alias of __fputs_unlocked.  Use
28994         libc_hidden_weak.
28995         * include/stdio.h (__fputs_unlocked): Declare.  Use
28996         libc_hidden_proto.
28997         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
28998         fputs_unlocked.
29000         [BZ #18529]
29001         * resolv/netdb.h [__USE_POSIX]: Change condition to
29002         [__USE_XOPEN2K].
29003         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
29004         not expect.
29005         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
29006         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
29007         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
29008         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
29009         [XPG4 || UNIX98] (AI_ALL): Likewise.
29010         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
29011         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
29012         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
29013         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
29014         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
29015         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
29016         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
29017         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
29018         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
29019         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
29020         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
29021         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
29022         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
29023         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
29024         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
29025         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29026         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29027         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
29028         [XPG4 || UNIX98] (gai_strerror): Likewise.
29029         [XPG4 || UNIX98] (getaddrinfo): Likewise.
29030         [XPG4 || UNIX98] (getnameinfo): Likewise.
29032         [BZ #18528]
29033         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
29034         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
29035         __USE_XOPEN2K8].
29036         (getgrent): Likewise.
29037         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
29038         expect.
29039         [XPG3 || POSIX2008] (endgrent): Likewise.
29040         [XPG3] (setgrent): Likewise.
29041         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
29042         variable.
29043         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29045         [BZ #18527]
29046         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
29047         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
29048         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
29049         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
29050         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
29051         * include/unistd.h (__getlogin_r): Declare.  Use
29052         libc_hidden_proto.
29053         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
29054         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
29055         variable.
29056         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29057         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29058         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29060 2015-06-12  Martin Sebor  <msebor@redhat.com>
29062         [BZ #18512]
29063         * Makerules (check-install-supported): New target.
29064         (install): Add check-install-supported as a dependency.
29065         * manual/install.texi (Installing the C Library): Document
29066         that overriding prefix and exec_prefix is not supported.
29067         Mention DESTDIR.
29068         * INSTALL: Regenerate from the above.
29070 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29072         [BZ #18519]
29073         * posix/Versions (libc): Export __libc_pread at version
29074         GLIBC_PRIVATE.
29075         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
29076         instead of pread.
29077         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
29078         variable.
29080         [BZ #18522]
29081         * misc/efgcvt_r.c
29082         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
29083         (cvt_symbol): Use weak_alias instead of strong_alias.
29084         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
29085         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
29086         Remove variable.
29087         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29088         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29090         [BZ #18520]
29091         * inet/herrno.c (h_errno): Rename to __h_errno.
29092         (__libc_h_errno): Define as alias of __h_errno not h_errno.
29093         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
29094         to __h_errno instead of h_errno.
29095         * nptl/herrno.c (h_errno): Rename to __h_errno.
29096         (__h_errno_location): Refer to __h_errno not h_errno.
29097         * resolv/Versions (h_errno): Rename to __h_errno.
29098         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
29099         Remove variable.
29100         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29102 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
29104         * configure.ac: More strict check for AVX512 assembler support.
29105         * configure: Regenerated.
29107         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
29108         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
29109         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29110         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
29111         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29112         * sysdeps/x86_64/fpu/Versions: New versions added.
29113         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29114         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29115         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29116         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
29117         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
29118         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
29119         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
29120         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
29121         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
29122         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
29123         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
29124         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
29125         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
29126         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
29127         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
29128         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
29129         test.
29130         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29131         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29132         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29133         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29134         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29135         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29136         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29137         * NEWS: Mention addition of x86_64 vector sin.
29139 2015-06-11  Florian Weimer  <fweimer@redhat.com>
29141         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
29142         comment.
29144 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29146         [BZ #18479]
29147         * nptl/pt-interp.c: New file.
29148         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
29149         Add pt-interp.
29150         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
29151         $(common-objpfx)runtime-linker.h.
29153 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
29155         * Makeconfig (+interp): Remove unused variable.
29156         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
29157         only.  Depend on $(common-objpfx)runtime-linker.h instead of
29158         $(elf-objpfx)runtime-linker.h.
29159         ($(elf-objpfx)runtime-linker.h): Rename to
29160         $(common-objpfx)runtime-linker.h and move ...
29161         * Makerules [$(build-shared) = yes]: ... here.
29162         * elf/interp.c: Include <runtime-linker.h> instead of
29163         <elf/runtime-linker.h>.
29165 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29167         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
29168         (__gettimeofday_syscall): Remove vsyscall fallback.
29169         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
29170         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
29171         Add syscall fallback function.
29172         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
29173         if vDSO is not present.
29174         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
29175         fallback function.
29176         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
29177         present.
29178         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
29179         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29181 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
29183         [BZ #18497]
29184         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
29185         of wcscmp.
29186         (wcscmp): Define as weak alias of WCSCMP.
29187         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
29188         wcscoll.
29189         (USE_HIDDEN_DEF): Define.
29190         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
29191         __wcscoll.  Don't use libc_hidden_weak.
29192         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
29193         wcscmp.
29194         * sysdeps/i386/i686/multiarch/wcscmp-c.c
29195         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
29196         __GI_wcscmp.
29197         (weak_alias): Undefine and redefine.
29198         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
29199         __wcscmp and define as weak alias of __wcscmp.
29200         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
29201         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
29202         (__wcscoll): Likewise.
29203         (wcscmp): Don't use libc_hidden_proto.
29204         (wcscoll): Likewise.
29205         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
29206         wcscoll.
29207         * posix/regexec.c (check_node_accept_bytes): Likewise.
29208         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
29209         variable.
29210         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29211         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29213         [BZ #18507]
29214         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
29215         __fstatvfs and define as weak alias of __fstatvfs.  Use
29216         libc_hidden_weak.
29217         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
29218         and define as weak alias of __statvfs.  Use libc_hidden_weak.
29219         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
29220         Define as alias of __fstatvfs, not fstatvfs.
29221         (fstatvfs64): Likewise.
29222         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
29223         Define as alias of __statvfs, not statvfs.
29224         (statvfs64): Likewise.
29225         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
29226         Remove variable.
29228 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29231         (HAVE_GETCPU_VSYSCALL): Define.
29232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29233         (HAVE_GETCPU_VSYSCALL): Likewise.
29234         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
29235         * sysdeps/unix/sysv/linux/sched_getcpu.c
29236         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
29237         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
29238         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
29239         prototype.
29240         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29241         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
29242         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
29243         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
29244         Define.
29245         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
29246         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29247         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
29248         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29250 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
29252         * sysdeps/x86_64/fpu/Makefile: New file.
29253         * sysdeps/x86_64/fpu/Versions: New file.
29254         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
29255         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
29256         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
29257         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
29258         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
29259         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
29260         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
29261         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
29262         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
29263         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
29264         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
29265         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
29266         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
29267         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29268         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29269         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
29270         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
29271         * sysdeps/x86_64/configure.ac: Options for libmvec build.
29272         * sysdeps/x86_64/configure: Regenerated.
29273         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
29274         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
29275         * manual/install.texi (Configuring and compiling): Document
29276         --disable-mathvec.
29277         * INSTALL: Regenerated.
29278         * NEWS: Mention addition of libmvec and x86_64 vector cos.
29280         * math/Makefile: Added rules for vector tests.
29281         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
29282         declaration under condition.
29283         * math/test-double-vlen2.h: New file.
29284         * math/test-double-vlen4.h: New file.
29285         * math/test-double-vlen8.h: New file.
29286         * math/test-vec-loop.h: Added initialization macro.
29287         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
29288         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
29289         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
29290         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
29291         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
29292         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
29293         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
29294         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
29295         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
29296         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
29297         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
29299         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29300         * sysdeps/x86_64/fpu/Versions: New versions added.
29301         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
29302         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
29303         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
29304         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
29305         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
29306         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
29307         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
29308         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
29309         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
29310         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
29311         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
29312         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
29313         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
29314         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29315         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29316         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29317         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
29318         * NEWS: Mention addition of x86_64 vector cosf.
29320         * math/Makefile: Added CFLAGS for new tests.
29321         * math/test-float-vlen16.h: New file.
29322         * math/test-float-vlen4.h: New file.
29323         * math/test-float-vlen8.h: New file.
29324         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
29325         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
29326         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29327         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
29328         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
29329         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
29330         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
29331         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
29332         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
29333         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
29334         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
29336 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
29338         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
29339         * locale/programs/ld-ctype.c: Likewise.
29341 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
29343         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
29344         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
29345         bit_ZMM16_31_state): New macro.
29346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29347         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
29349 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
29351         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
29353 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
29355         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
29357 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
29359         [BZ #18498]
29360         * libio/memstream.c (open_memstream): Rename to __open_memstream
29361         and define as weak alias of __open_memstream.
29362         * include/stdio.h (__open_memstream): Declare.  Use
29363         libc_hidden_proto.
29364         (open_memstream): Don't use libc_hidden_proto.
29365         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
29366         open_memstream.
29367         * posix/getopt.c (_getopt_internal_r): Likewise.
29368         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
29369         variable.
29370         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29371         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29372         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29374         [BZ #18496]
29375         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
29376         instead of wcrtomb.
29378         [BZ #18483]
29379         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
29380         [__USE_XOPEN2K8].  Remove redundant #endif.
29381         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
29382         Remove redundant #if.
29383         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
29384         Remove variable.
29385         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29386         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29388         [BZ #18495]
29389         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
29390         (__iswlower): Likewise.
29391         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
29392         (__iswlower): Likewise.
29393         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
29394         instead of towlower.
29395         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
29396         instead of iswlower.  Call __towupper instead of towupper.
29397         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
29398         instead of iswalnum.
29400 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29402         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
29403         errors to stderr.
29405 2015-06-05  Florian Weimer  <fweimer@redhat.com>
29407         [BZ #15661]
29408         [BZ #17322]
29409         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29410         Check for overflow properly.  Check for O_APPEND.  Ignore large
29411         file system block sizes.  Add comments about problems.
29412         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
29413         * manual/filesys.texi (Storage Allocation): New node.
29415 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29417         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
29418         cancellable syscalls.
29419         (SYS_ify): Add guard to no redefine it.
29420         (INLINE_SYSCALL): Likewise.
29421         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
29422         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
29423         SYSCALL_CANCEL instead.
29424         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
29425         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29426         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29427         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29428         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29429         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
29430         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
29431         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
29432         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29433         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29434         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
29435         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
29436         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
29437         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
29438         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
29439         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29440         Likewise.
29441         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29442         (__libc_pread64): Likewise.
29443         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
29444         (__libc_preadv): Likewise.
29445         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
29446         (__libc_readv64): Likewise.
29447         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29448         (__libc_pwrite): Likewise.
29449         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29450         (__libc_pwrite64): Likewise.
29451         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
29452         (__libc_pwritev): Likewise.
29453         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
29454         (__libc_pwritev64): Likewise.
29455         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
29456         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
29457         (sync_file_range): Likewise.
29458         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
29459         Likewise.
29460         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
29461         Likewise.
29462         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29463         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29464         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29465         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29466         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29467         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29468         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29469         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
29470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29471         Likewise.
29472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29473         (__libc_read64): Likewise.
29474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
29475         Likewise.
29476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
29477         Likewise.
29478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
29479         Likewise.
29480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
29481         Likewise.
29482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29483         (__libc_pread64): Likewise.
29484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
29485         Likewise.
29486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29487         (__libc_pwrite64): Likewise.
29488         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
29489         (sync_file_range): Likewise.
29490         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
29491         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29492         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29493         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
29494         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
29495         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29496         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29497         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
29498         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
29499         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29500         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29501         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29502         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29503         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29504         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
29505         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29506         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29507         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29508         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29509         Likewise.
29510         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
29511         Likewise.
29512         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
29513         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
29514         Likewise.
29515         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
29516         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
29517         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
29518         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
29519         Likewise.
29520         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
29521         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
29522         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
29523         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
29524         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
29526 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
29528         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
29529         Include dl-vdso.
29530         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
29531         Use VDSO routines for gettimeofday, clock_gettime if
29532         available.
29533         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
29534         Declare VDSO symbols.
29535         * sysdeps/unix/sysv/linux/arm/sysdep.h:
29536         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
29537         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29538         * sysdeps/unix/sysv/linux/arm/Versions: Add
29539         __vdso_clock_gettime.
29541 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29543         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
29544         be an inline implementation regardless of library is built within.
29545         (open_not_cancel_2): Likewise.
29546         (__read_nocancel): Likewise.
29547         (__write_nocancel): Likewise.
29548         (openat_not_cancel): Likewise.
29549         (openat_not_cancel_3): Likewise.
29550         (openat64_not_cancel): Likewise.
29551         (openat64_not_cancel_3): Likewise.
29552         (__close_nocancel): Likewise.
29553         (pause_not_cancel): Likewise.
29554         (nanosleep_not_cancel): Likewise.
29555         (sigsuspend_not_cancel): Likewise.
29557 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29559         [BZ #14958]
29560         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
29561         wake-up.
29562         (__pthread_rwlock_rdlock_slow): Likewise.
29563         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29564         Likewise.
29565         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
29566         Likewise.
29567         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
29568         * nptl/tst-rwlock16.c: New file.
29569         * nptl/Makefile (tests): Add new test.
29571 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29573         [BZ #18324]
29574         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
29575         missing wake-up of readers.
29576         * nptl/tst-rwlock15.c: New file.
29577         * nptl/Makefile (tests): Add new test.
29579 2015-06-03  Roland McGrath  <roland@hack.frob.com>
29581         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
29582         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
29583         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
29584         and __nacl_supply_interface_rtld.
29585         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
29586         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
29587         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
29588         Add __nacl_supply_interface_rtld.
29589         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
29591 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29593         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
29594         isfinite.
29595         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29596         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
29598 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29600         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
29601         __signbit* with standard C99 macros.
29602         * math/e_exp10l.c: Likewise.
29603         * math/e_exp2l.c: Likewise.
29604         * math/e_scalb.c: Likewise.
29605         * math/e_scalbf.c: Likewise.
29606         * math/e_scalbl.c: Likewise.
29607         * math/s_ldexp.c: Likewise.
29608         * math/s_ldexpf.c: Likewise.
29609         * math/s_ldexpl.c: Likewise.
29610         * math/w_atan2.c: Likewise.
29611         * math/w_atan2f.c: Likewise.
29612         * math/w_atan2l.c: Likewise.
29613         * math/w_cosh.c: Likewise.
29614         * math/w_coshf.c: Likewise.
29615         * math/w_coshl.c: Likewise.
29616         * math/w_exp10.c: Likewise.
29617         * math/w_exp10f.c: Likewise.
29618         * math/w_exp10l.c: Likewise.
29619         * math/w_exp2.c: Likewise.
29620         * math/w_exp2f.c: Likewise.
29621         * math/w_exp2l.c: Likewise.
29622         * math/w_fmod.c: Likewise.
29623         * math/w_fmodf.c: Likewise.
29624         * math/w_fmodl.c: Likewise.
29625         * math/w_hypot.c: Likewise.
29626         * math/w_hypotf.c: Likewise.
29627         * math/w_hypotl.c: Likewise.
29628         * math/w_jnl.c: Likewise.
29629         * math/w_lgamma.c: Likewise.
29630         * math/w_lgamma_r.c: Likewise.
29631         * math/w_lgammaf.c: Likewise.
29632         * math/w_lgammaf_r.c: Likewise.
29633         * math/w_lgammal.c: Likewise.
29634         * math/w_lgammal_r.c: Likewise.
29635         * math/w_pow.c: Likewise.
29636         * math/w_powf.c: Likewise.
29637         * math/w_powl.c: Likewise.
29638         * math/w_remainder.c: Likewise.
29639         * math/w_remainderf.c: Likewise.
29640         * math/w_remainderl.c: Likewise.
29641         * math/w_scalb.c: Likewise.
29642         * math/w_scalbf.c: Likewise.
29643         * math/w_scalbl.c: Likewise.
29644         * math/w_scalbln.c: Likewise.
29645         * math/w_scalblnf.c: Likewise.
29646         * math/w_scalblnl.c: Likewise.
29647         * math/w_sinh.c: Likewise.
29648         * math/w_sinhf.c: Likewise.
29649         * math/w_sinhl.c: Likewise.
29650         * math/w_tgamma.c: Likewise.
29651         * math/w_tgammaf.c: Likewise.
29652         * math/w_tgammal.c: Likewise.
29653         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29654         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
29655         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29656         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29657         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29658         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29659         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29660         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29661         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29662         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29663         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29664         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29665         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29666         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29667         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29668         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29669         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29670         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29671         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29672         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29673         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29674         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29675         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29676         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29677         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29678         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29679         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
29680         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29681         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29682         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29683         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
29684         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
29685         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
29686         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
29687         * stdio-common/printf_fp.c: Likewise.
29688         * stdio-common/printf_fphex.c: Likewise.
29689         * stdio-common/printf_size.c: Likewise.
29691 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
29693         [BZ #18470]
29694         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
29695         strnlen.
29696         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
29697         Remove variable.
29698         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29699         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29700         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29701         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29702         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29703         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29704         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29705         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29706         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29707         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29709         [BZ #18468]
29710         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
29711         weak alias of __wmemchr.  Use libc_hidden_weak.
29712         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
29713         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
29714         instead of wmemchr.
29716 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29718         [BZ #18383]
29719         * elf/tst-tlsalign-extern.c: New file.
29720         * elf/tst-tlsalign-extern-static.c: New file.
29721         * elf/tst-tlsalign-vars.c: New file.
29722         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
29723         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
29724         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
29725         ($(objpfx)tst-tlsalign-extern-static): Likewise.
29726         (test-xfail-tst-tlsalign-extern-static): New variable.
29728 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
29730         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
29731         Use variable name _sc_err instead of err.
29732         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
29733         instead of ret.
29734         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
29735         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
29736         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
29737         (INLINE_SYSCALL): Likewise.
29739         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
29740         * include/string.h (__strnlen): Use libc_hidden_proto.
29741         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
29742         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
29743         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
29744         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
29745         (libc_hidden_def): Undefine and redefine.
29746         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
29747         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
29748         __GI_strnlen.
29749         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
29750         libc_hidden_def.
29751         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
29753         [BZ #18469]
29754         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
29755         weak alias of __towlower.  Use libc_hidden_weak.
29756         (towupper): Rename to __towupper and define as weak alias of
29757         __towupper.  Use libc_hidden_weak.
29758         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
29759         (__towupper): Likewise.
29760         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
29761         __towlower instead of towlower.
29763 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29765         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
29766         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
29768 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29770         * sysdeps/aarch64/libm-test-ulps: Update.
29772 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29774         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
29775         Define.
29776         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29777         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29778         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29779         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29780         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
29781         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
29782         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
29784 2015-06-01  Martin Sebor  <msebor@redhat.com>
29786         [BZ #18116]
29787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29788         (__setcontext): Use extended four-operand version of mtsf whenever
29789         possible.
29790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29791         (__novec_swapcontext): Likewise.
29793 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29795         * benchtests/scripts/compare_bench.py: New file.
29796         * benchtests/scripts/import_bench.py (mean): New function.
29797         (split_list): Likewise.
29798         (do_for_all_timings): Likewise.
29799         (compress_timings): Likewise.
29801         * benchtests/scripts/import_bench.py: New file.
29802         * benchtests/scripts/validate_benchout.py: Import import_bench
29803         instead of jsonschema.
29804         (validate_bench): Remove function.
29805         (main): Use import_bench.
29807 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
29809         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
29810         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
29812 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29816 2015-05-28  Roland McGrath  <roland@hack.frob.com>
29818         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
29819         set THREAD_SELF->tid to a magic value and futex-wake it.
29820         Pass its address to the thread_exit system call.
29821         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
29822         bit is clear.
29823         * sysdeps/nacl/lowlevellock.h: New file.
29824         * sysdeps/nacl/lll_timedwait_tid.c: New file.
29826         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
29827         Add TIMEOUT to current time, don't subtract it.
29829 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
29831         [BZ #2981]
29832         [BZ #18422]
29833         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
29834         ($(objpfx)tst-audit2.out): Also depend on
29835         $(objpfx)tst-auditmod9b.so.
29836         * elf/tst-audit2.c: Include <dlfcn.h>.
29837         (calloc_called): New.
29838         (calloc): Allow to be called more than once.
29839         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
29841 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
29843         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
29844         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
29846 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
29848         * stdlib/monetary.h: Fix comment.
29850 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
29852         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
29853         Avoid using variables in #defines that might cause shadowing.
29854         (INTERNAL_VSYSCALL_CALL): Likewise.
29856 2015-05-26  Roland McGrath  <roland@hack.frob.com>
29858         * sysdeps/nacl/lll_timedlock_wait.c: New file.
29860         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
29861         * nptl/lll_timedlock_wait.c: ... to this new file.
29862         * nptl/Makefile (libpthread-routines): Add it.
29863         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
29864         * nptl/lll_timedwait_tid.c: ... to this new file.
29865         * nptl/Makefile (libpthread-routines): Add it.
29866         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
29867         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
29868         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
29869         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
29870         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
29871         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
29872         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
29873         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
29874         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
29875         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
29877 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29879         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
29880         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29881         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29882         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
29883         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
29884         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29885         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29886         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29887         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29888         * sysdeps/unix/sysv/linux/tile/sysdep.h
29889         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29890         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
29891         using vDSO syscall macro.
29893 2015-05-26  Andriy Rysin  <arysin@gmail.com>
29895         [BZ #17293]
29896         * uk_UA: Fix sorting order for Ukrainian locale
29898 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
29900         * stdlib/monetary.h: Fix comment.
29902 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29904         [BZ #18234]
29905         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
29906         st_mtim and st_ctim members.
29907         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
29908         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
29909         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
29910         (struct stat64): Likewise.
29911         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
29912         (struct stat64): Likewise.
29913         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
29914         (struct stat64): Likewise.
29916 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29918         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
29919         Define and include sysdep-vdso.h.
29920         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
29921         Likewise.
29922         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
29923         Likewise.
29924         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
29925         Define with VDSO_SYMBOL and use PTR_MANGLE.
29926         (__vdso_clock_gettime): Likewise.
29927         (__vdso_clock_getres): Likewise.
29928         (_libc_vdso_platform_setup): Likewise.
29929         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29930         Likewise.
29931         (_libc_vdso_platform_setup): Likewise.
29932         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
29933         Likewise.
29934         (__vdso_clock_gettime): Likewise.
29935         (__vdso_clock_getres): Likewise.
29936         (__vdso_get_tbfreq): Likewise.
29937         (__vdso_getcpu): Likewise.
29938         (__vdso_time): Likewise.
29939         (__vdso_sigtramp_rt64): Likewise.
29940         (__vdso_signtramp32): Likewise.
29941         (__vdso_sigtramp_rt32): Likewise.
29942         (_libc_vdso_platform_setup): Likewise.
29943         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
29944         Likewise.
29945         (__vdso_clock_gettime): Likewise.
29946         (__vdso_clock_getres): Likewise.
29947         (_libc_vdso_platform_setup): Likewise.
29948         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
29949         Likewise.
29950         (__vdso_clock_gettime): Likewise.
29951         (_libc_vdso_platform_setup): Likewise.
29952         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29953         Likewise.
29954         (__vdso_getcpu): Likewise.
29955         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
29956         Use VDSO_SYMBOL macro to define.
29957         (__vdso_clock_gettime): Likewise.
29958         (__vdso_clock_getres): Likewise.
29959         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
29960         Likewise.
29961         (__vdso_clock_gettime): Likewise.
29962         (__vdso_clock_getres): Likewise.
29963         (__vdso_get_tbfreq): Likewise.
29964         (__vdso_getcpu): Likewise.
29965         (__vdso_time): Likewise.
29966         (__vdso_sigtramp_rt64): Likewise.
29967         (__vdso_signtramp32): Likewise.
29968         (__vdso_sigtramp_rt32): Likewise.
29969         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
29970         Likewise.
29971         (__vdso_clock_gettime): Likewise.
29972         (__vdso_clock_getres): Likewise.
29973         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
29974         Likewise.
29975         (__vdso_clock_gettime): Likewise.
29976         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29977         Likewise.
29978         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
29979         macro.
29980         (INTERNAL_VSYSCALL): Likewise.
29981         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
29982         Remove macro.
29983         (INTERNAL_VSYSCALL): Likewise.
29984         (INTERNAL_VSYSCALL_NCS): Likewise.
29985         (INTERNAL_VSYSCALL_CALL): New macro.
29986         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29987         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
29988         Likewise.
29989         (INTERNAL_VSYSCALL): Likewise.
29990         (INTERNAL_VSYSCALL_NCS): Likewise.
29991         (INTERNAL_VSYSCALL_CALL): New macro.
29992         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29994         (INLINE_VSYSCALL): Remove macro.
29995         (INTERNAL_VSYSCALL): Remove macro.
29996         (INTERNAL_VSYSCALL_NCS): Remove macro.
29997         (INTERNAL_VSYSCALL_CALL): New macro.
29998         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
29999         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
30000         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30001         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
30002         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30004         (INLINE_VSYSCALL): Remove macro.
30005         (INTERNAL_VSYSCALL): Likewise.
30006         (INTERNAL_VSYSCALL_NCS): Likewise.
30007         (INTERNAL_VSYSCALL_CALL): New macro.
30008         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
30009         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
30010         PTR_DEMANGLE on vDSO pointer.
30011         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30012         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
30013         macro.
30014         (INTERNAL_SYSCALL): Likewise.
30015         (INTERNAL_VSYSCALL_NCS): Remove macro.
30016         (INTERNAL_VSYSCALL_CALL): New macro.
30017         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
30018         Remove macro.
30019         (INTERNAL_VSYSCALL): Likewise.
30020         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
30021         sysdep-vdso.h instead of libc-vdso.h.
30022         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
30023         definition.
30024         (INLINE_VSYSCALL): Likewise.
30025         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
30026         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
30027         definition.
30028         (INLINE_VSYSCALL): Likewise.
30029         (INTERNAL_VSYSCALL): Likewise.
30030         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30031         * sysdeps/unix/sysv/linux/timespec_get.c
30032         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30033         (timespec_get): Use ANSI prototype.
30034         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
30035         and definition for Linux.
30037 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
30039         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
30040         * include/libc-symbols.h: libmvec_hidden_* macro series added.
30042 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30044         [BZ #2981]
30045         [BZ #18410]
30046         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
30047         for missing DT_PLTRELSZ.
30049 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
30051         Remove obsolete aliases that broke 'locale -a'
30052         [BZ #18412]
30053         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
30054         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
30055         breaking some applications that use 'locale -a' output.
30056         Change the encoding of this file from Latin-1 to ASCII to avoid
30057         other potential problems with people grepping this file.
30059 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30061         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
30062         -fasynchronous-unwind-tables.
30063         (CFLAGS-sendto.c): Likewise.
30064         (CFLAGS-sendmsg.c): Likewise.
30065         (CFLAGS-connect.c): Likewise.
30066         (CFLAGS-recvmsg.c): Likewise.
30067         (CFLAGS-recvfrom.c): Likewise.
30068         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
30069         (SOCKETCALL): New macro: non-cancellable socketcall.
30070         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
30071         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
30072         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
30073         * sysdeps/unix/sysv/linux/accept.c: New file.
30074         * sysdeps/unix/sysv/linux/bind.c: Likewise.
30075         * sysdeps/unix/sysv/linux/connect.c: Likewise.
30076         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
30077         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
30078         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
30079         * sysdeps/unix/sysv/linux/listen.c: Likewise.
30080         * sysdeps/unix/sysv/linux/recv.c: Likewise.
30081         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
30082         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
30083         * sysdeps/unix/sysv/linux/send.c: Likewise.
30084         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
30085         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
30086         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
30087         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
30088         * sysdeps/unix/sysv/linux/socket.c: Likewise.
30089         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
30090         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
30091         prototype.
30092         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
30093         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30094         instead of __internal_xxx function.
30095         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
30096         prototype.
30097         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
30098         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30099         instead of __internal_xxx function.
30100         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
30101         prototype.
30102         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
30103         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30104         instead of __internal_xxx function.
30105         * sysdeps/unix/sysv/linux/accept.S: Remove file.
30106         * sysdeps/unix/sysv/linux/bind.S: Likewise.
30107         * sysdeps/unix/sysv/linux/connect.S: Likewise.
30108         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
30109         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
30110         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
30111         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
30112         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
30113         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
30114         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
30115         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
30116         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30117         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
30118         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
30119         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
30120         * sysdeps/unix/sysv/linux/listen.S: Likewise.
30121         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
30122         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
30123         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
30124         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
30125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
30126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
30127         * sysdeps/unix/sysv/linux/recv.S: Likewise.
30128         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
30129         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
30130         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
30131         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30132         * sysdeps/unix/sysv/linux/send.S: Likewise.
30133         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
30134         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
30135         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
30136         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
30137         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
30138         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
30139         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
30140         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
30141         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
30142         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
30143         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
30144         socketcall is implemented in GLIBC.
30146 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
30148         * soft-fp/fmadf4.c: Include <libc-internal.h>.
30149         (__fma): Ignore uninitialized warnings around packing.
30150         * soft-fp/fmasf4.c: Include <libc-internal.h>.
30151         (__fmaf): Ignore uninitialized warnings around packing.
30152         * soft-fp/fmatf4.c: Include <libc-internal.h>.
30153         (__fmal): Ignore uninitialized warnings around packing.
30155         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
30156         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30157         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
30158         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30160         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
30161         switch statement into default case.
30162         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
30164         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
30165         a conditional in forcing "inexact".
30166         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30167         Likewise.
30169 2015-05-22  Roland McGrath  <roland@hack.frob.com>
30171         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30172         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
30173         for each INTERNAL_SYSCALL use.
30175 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
30177         [BZ #438]
30178         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
30179         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
30180         variable.
30182         [BZ #18444]
30183         * string/basename.c (basename): Rename to __basename and define as
30184         weak alias of __basename.  Use libc_hidden_weak.
30185         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
30186         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
30187         __basename instead of basename.
30188         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
30189         Remove variable.
30190         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
30192 2015-05-18  Florian Weimer  <fweimer@redhat.com>
30194         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
30195         (_IO_JUMPS_FILE_plus): New.
30196         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
30197         _IO_CAST_FIELD_ACCESS.
30198         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
30199         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
30200         * libio/freopen.c (freopen): Likewise.
30201         * libio/freopen64.c (freopen64): Likewise.
30202         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
30203         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
30204         * libio/iofwide.c (_IO_fwide): Likewise.
30205         * libio/memstream.c (open_memstream): Likewise.
30206         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30207         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
30208         * libio/oldiopopen.c (_IO_old_popen): Likewise.
30210 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
30212         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
30213         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
30214         NADJ.
30215         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
30216         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
30217         NADJ.
30218         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
30219         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
30220         NADJ.
30222         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
30223         (p == 4) case.
30225         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
30226         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
30227         Remove variable.
30228         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
30229         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
30230         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
30232 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30234         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
30235         Adjust jump table label generation macros.
30237 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30239         * stdio-common/vfprintf.c (vfprintf): Move local variables
30240         args_malloced, specs, specs_malloced, and the code after
30241         do_positional to the printf_positional function.
30242         (printf_positional): New function.
30244 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30246         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
30247         function.
30248         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
30249         STEP4_TABLE, process_arg): Move macro definitions
30250         out of the vfprintf function.  (Cosmetic change only.)
30252 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
30254         * benchtests/Makefile (stdio-common-bench): Define.
30255         (benchset): Add stdio-common-bench.
30256         * sprintf-inputs: New file.
30257         * sprintf-source.c: New file.
30259 2015-05-21  Andreas Schwab  <schwab@suse.de>
30261         [BZ #13028]
30262         [BZ #17053]
30263         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
30264         of struct __res_state.
30265         * resolv/res_send.c (__libc_res_nsend): Likewise.
30266         (get_nsaddr): New function.
30267         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
30268         statp directly.
30270 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
30272         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
30273         -D_POSIX_C_SOURCE=199506L.
30275         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
30277         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
30278         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
30279         Do not mention otherwise.
30280         [POSIX] (_XOPEN_VERSION): Do not expect.
30281         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
30282         [POSIX] (_POSIX2_C_BIND): Likewise.
30283         [POSIX] (_POSIX2_VERSION): Likewise.
30284         [POSIX] (_XOPEN_XPG2): Likewise.
30285         [POSIX] (_XOPEN_XPG3): Likewise.
30286         [POSIX] (_XOPEN_XPG4): Likewise.
30287         [POSIX] (_XOPEN_UNIX): Likewise.
30288         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
30289         [POSIX] (_POSIX_BARRIERS): Likewise.
30290         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
30291         [POSIX] (_POSIX_CPUTIME): Likewise.
30292         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
30293         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
30294         [POSIX] (_POSIX_SHELL): Likewise.
30295         [POSIX] (_POSIX_SPAWN): Likewise.
30296         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
30297         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
30298         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
30299         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
30300         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
30301         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
30302         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
30303         [POSIX] (_XBS5_LP64_OFF64): Likewise.
30304         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
30305         [POSIX] (_POSIX_TIMEOUTS): Likewise.
30306         [POSIX] (_POSIX2_PBS): Likewise.
30307         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
30308         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
30309         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
30310         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
30311         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
30312         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
30313         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
30314         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
30315         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
30316         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
30317         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
30318         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
30319         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
30320         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
30321         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
30322         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
30323         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
30324         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
30325         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
30326         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
30327         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
30328         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
30329         [POSIX] (_SC_2_C_BIND): Likewise.
30330         [POSIX] (_SC_2_C_VERSION): Likewise.
30331         [POSIX] (_SC_2_PBS): Likewise.
30332         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
30333         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
30334         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
30335         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
30336         [POSIX] (_SC_2_PBS_TRACK): Likewise.
30337         [POSIX] (_SC_ATEXIT_MAX): Likewise.
30338         [POSIX] (_SC_BARRIERS): Likewise.
30339         [POSIX] (_SC_BASE): Likewise.
30340         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
30341         [POSIX] (_SC_DEVICE_IO): Likewise.
30342         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
30343         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
30344         [POSIX] (_SC_FD_MGMT): Likewise.
30345         [POSIX] (_SC_FIFO): Likewise.
30346         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
30347         [POSIX] (_SC_FILE_LOCKING): Likewise.
30348         [POSIX] (_SC_FILE_SYSTEM): Likewise.
30349         [POSIX] (_SC_IOV_MAX): Likewise.
30350         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
30351         [POSIX] (_SC_NETWORKING): Likewise.
30352         [POSIX] (_SC_PAGE_SIZE): Likewise.
30353         [POSIX] (_SC_PASS_MAX): Likewise.
30354         [POSIX] (_SC_PIPE): Likewise.
30355         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
30356         [POSIX] (_SC_REGEXP): Likewise.
30357         [POSIX] (_SC_SHELL): Likewise.
30358         [POSIX] (_SC_SIGNALS): Likewise.
30359         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
30360         [POSIX] (_SC_SPIN_LOCKS): Likewise.
30361         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
30362         [POSIX] (_SC_USER_GROUPS): Likewise.
30363         [POSIX] (_SC_USER_GROUPS_R): Likewise.
30364         [POSIX] (_SC_STREAMS): Likewise.
30365         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
30366         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
30367         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
30368         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
30369         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
30370         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
30371         [POSIX] (_PC_FILESIZEBITS): Likewise.
30372         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
30373         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
30374         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
30375         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
30376         [POSIX] (uid_t): Likewise.
30377         [POSIX] (gid_t): Likewise.
30378         [POSIX] (off_t): Likewise.
30379         [POSIX] (pid_t): Likewise.
30380         [POSIX] (cuserid): Allow.
30381         (_SC_2_CHAR_TERM): Require constant.
30382         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
30383         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
30384         variable.
30386 2015-05-20  Roland McGrath  <roland@hack.frob.com>
30388         * sysdeps/nacl/pthread-pids.h: New file.
30389         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
30390         (create_thread): Use __nacl_get_tid to initialize PD->tid.
30392         * nptl/pthread-pids.h: New file.
30393         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
30394         * nptl/nptl-init.c: Include <pthread-pids.h>.
30395         (__pthread_initialize_minimal_internal):
30396         Call __pthread_initialize_pids instead of set_tid_address syscall.
30398         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
30399         * sysdeps/posix/usleep.c: ... here.
30401 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30403         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
30404         call_pselect6 object.
30405         [$(subdir) = io]: Remove call_sync_file_range object.
30406         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
30407         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
30408         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
30409         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
30411 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
30413         * math/s_cproj.c: Add include "math_private.h".
30414         * math/s_cprojf.c: Likewise.
30415         * math/s_cprojl.c: Likewise.
30417 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
30419         [BZ #18244]
30420         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
30421         high mantissa bit when testing whether P is a NaN.
30422         * math/libm-test.inc (remainder_test_data): Add more tests.
30423         (remquo_test_data): Likewise.
30425         [BZ #18049]
30426         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
30427         below -32, return the argument, with underflow if subnormal.
30428         * math/auto-libm-test-in: Add more tests of atanh.
30429         * math/auto-libm-test-out: Regenerated.
30431 2015-05-19  Roland McGrath  <roland@hack.frob.com>
30433         [BZ #18434]
30434         * nptl/tst-sem15.c: New file.
30435         * nptl/Makefile (tests): Add it.
30436         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
30437         s/<</>>/ to fix typo in EOVERFLOW check.
30438         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
30440 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30442         * manual/strings.texi (envz_remove): Fix typo in safety
30443         annotations.
30445 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
30446             Steve Ellcey  <sellcey@imgtec.com>
30448         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
30449         in order to avoid strict alias warnings.
30450         (iruserok_af): Ditto for ra.
30452 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
30454         [BZ #17581]
30455         * malloc/hooks.c
30456         (magicbyte): Convert to a function and avoid returning 0x01.
30457         (mem2mem_check): Avoid using a length byte equal to the magic byte.
30458         (mem2chunk_check): Fix unsigned comparisons to zero.
30459         Hoist defs of sz and magic.
30461 2015-05-19  Richard Henderson  <rth@redhat.com>
30463         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
30465         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30467 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30469         [BZ #16159]
30470         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
30471         * malloc/arena.c (arena_lock): Check if arena is corrupt.
30472         (reused_arena): Find a non-corrupt arena.
30473         (heap_trim): Pass arena to unlink.
30474         * malloc/hooks.c (malloc_check_get_size): Pass arena to
30475         malloc_printerr.
30476         (top_check): Likewise.
30477         (free_check): Likewise.
30478         (realloc_check): Likewise.
30479         * malloc/malloc.c (malloc_printerr): Add arena argument.
30480         (unlink): Likewise.
30481         (munmap_chunk): Adjust.
30482         (ARENA_CORRUPTION_BIT): New macro.
30483         (arena_is_corrupt): Likewise.
30484         (set_arena_corrupt): Likewise.
30485         (sysmalloc): Use mmap if there are no usable arenas.
30486         (_int_malloc): Likewise.
30487         (__libc_malloc): Don't fail if arena_get returns NULL.
30488         (_mid_memalign): Likewise.
30489         (__libc_calloc): Likewise.
30490         (__libc_realloc): Adjust for additional argument to
30491         malloc_printerr.
30492         (_int_free): Likewise.
30493         (malloc_consolidate): Likewise.
30494         (_int_realloc): Likewise.
30495         (_int_memalign): Don't touch corrupt arenas.
30496         * malloc/tst-malloc-backtrace.c: New test case.
30498         * Makefile (summarize-tests): Fix return value on success.
30500         * manual/string.texi (Envz Functions): Add envz_remove.
30502 2015-05-18  Roland McGrath  <roland@hack.frob.com>
30504         * sysdeps/posix/opendir.c: Include <stdbool.h>.
30505         (invalid_name): New function, broken out of ...
30506         (__opendirat): ... here.  Call it.
30507         (need_isdir_precheck): New function, broken out of ...
30508         (__opendirat): ... here.  Call it.
30509         Use __fxstatat64, not __xstatat64.
30510         (opendir_oflags): New function, broken out of ...
30511         (__opendirat): ... here.  Call it.
30512         (opendir_tail): New function, broken out of ...
30513         (__opendirat): ... here.  Call it.
30514         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
30515         opendir_tail, rather than punting to __opendirat.
30516         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
30518 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30520         * .gitignore: Ignore generated *.pyc.
30522 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
30524         * include/stdio.h: Define __need_wint_t.
30525         * test-skeleton.c: Avoid `for' loop initial declaration.
30526         * nptl/tst-initializers1.c: Use test-skeleton.c.
30528 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30530         [BZ #18418]
30531         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
30533 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30535         [BZ #16352]
30536         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
30537         (__ieee754_atanh): Force underflow exception for results with
30538         small absolute value.
30539         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
30540         (__ieee754_atanhf): Force underflow exception for results with
30541         small absolute value.
30542         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
30543         (__ieee754_atanh): Force underflow exception for results with
30544         small absolute value.
30545         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
30546         (__ieee754_atanhf): Force underflow exception for results with
30547         small absolute value.
30548         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
30549         (__ieee754_atanhl): Force underflow exception for results with
30550         small absolute value.
30551         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
30552         (__ieee754_atanhl): Force underflow exception for results with
30553         small absolute value.
30554         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
30555         (__ieee754_atanhl): Force underflow exception for results with
30556         small absolute value.
30557         * math/auto-libm-test-in: Do not allow missing underflow
30558         exceptions from atanh.
30559         * math/auto-libm-test-out: Regenerated.
30561         [BZ #18221]
30562         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
30563         2**-28 as threshold for returning x or +/- 1/x.
30564         * math/auto-libm-test-in: Add more tests of tan.
30565         * math/auto-libm-test-out: Regenerated.
30567         [BZ #18220]
30568         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30569         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
30570         * math/auto-libm-test-in: Add another test of lgamma.
30571         * math/auto-libm-test-out: Regenerated.
30573 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
30575         * stdio-common/printf_fp.c (___printf_fp): Use abs.
30576         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
30577         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
30578         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
30579         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
30580         (ADD2A): Use fabs.  (SUB2A): Use fabs.
30581         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
30582         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
30583         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
30584         (log1): Use fabs.  (my_log2): Use fabs.
30585         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
30586         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
30587         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
30588         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
30589         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
30590         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
30591         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
30592         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
30593         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
30594         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
30595         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
30597 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30599         [BZ #18217]
30600         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
30601         as threshold for returning 1 - x.
30602         * math/auto-libm-test-in: Add more tests of erfc.
30603         * math/auto-libm-test-out: Regenerated.
30605 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
30607         [BZ #18196]
30608         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
30609         threshold for large arguments.
30610         * math/auto-libm-test-in: Add another test of atan.
30611         * math/auto-libm-test-out: Regenerated.
30613         [BZ #16339]
30614         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
30615         (__log1p): Force underflow exception for results with small
30616         absolute value.
30617         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
30618         (__log1pf): Force underflow exception for results with small
30619         absolute value.
30620         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
30621         (__log1p): Force underflow exception for results with small
30622         absolute value.
30623         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
30624         (__log1pf): Force underflow exception for results with small
30625         absolute value.
30626         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
30627         (__log1pl): Force underflow exception for results with small
30628         absolute value.
30629         * math/auto-libm-test-in: Do not allow missing underflow
30630         exceptions from log1p.
30631         * math/auto-libm-test-out: Regenerated.
30633 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
30634             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30636         [BZ #16704]
30637         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
30639 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
30641         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
30642         (libmvec): New variable.
30643         * configure.ac: Added option for mathvec build.
30644         * configure: Regenerated.
30645         * mathvec/Depend: New file.
30646         * mathvec/Makefile: New file.
30647         * shlib-versions: Added libmvec.
30648         * math/Makefile: Added rule for libm.so installation.
30650         * bits/math-vector.h: New file.
30651         * bits/libm-simd-decl-stubs.h: New header.
30652         * math/Makefile (headers): Added new header
30653         libm-simd-decl-stubs.h.
30654         * math/math.h (__MATHCALL_VEC): New macro.
30656         * math/gen-libm-have-vector-test.sh: Script generates series of macros
30657         for conditions in testing functions.
30658         * math/Makefile: Added call of libm-have-vector-test.sh.
30659         * math/libm-test.inc (HAVE_VECTOR): New macros.
30661         * math/libm-test.inc: START refactored.
30662         * math/test-double.c (TEST_MATHVEC): Add define.
30663         * math/test-float.c: Likewise.
30664         * math/test-idouble.c: Likewise.
30665         * math/test-ifloat.c: Likewise.
30666         * math/test-ildoubl.c: Likewise.
30667         * math/test-ldouble.c: Likewise.
30668         * sysdeps/generic/math-tests-arch.h
30669         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
30670         architecture check.
30672         * math/test-double.c (FUNC_TEST): New macro.
30673         * math/test-float.c: Likewise.
30674         * math/test-idouble.c: Likewise.
30675         * math/test-ifloat.c: Likewise.
30676         * math/test-ildoubl.c: Likewise.
30677         * math/test-ldouble.c: Likewise.
30678         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
30680 2015-05-13  Roland McGrath  <roland@hack.frob.com>
30682         * sysdeps/nacl/fdopendir.c: New file.
30684         * dirent/scandir-tail.c: New file.
30685         * dirent/scandir64-tail.c: New file.
30686         * dirent/Makefile (routines): Add them.
30687         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
30688         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
30689         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
30690         [!SCANDIR] (SCANDIR_TAIL): New macro.
30691         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
30692         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
30693         (SCANDIRAT): Macro removed.
30694         (SCANDIR_TAIL): New macro.
30695         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
30696         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
30697         (SCANDIRAT): Just call __opendirat and __scandir_tail.
30698         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
30699         (READDIR): Macro removed.
30700         (SCANDIR_TAIL): New macro.
30701         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
30702         (SCANDIR_TAIL): New macro.
30704         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
30705         * dirent/scandir-cancel.c: ... to this new file.
30706         * dirent/Makefile (routines): Add it.
30707         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
30708         * sysdeps/unix/sysv/linux/i386/scandir64.c
30709         (SKIP_SCANDIR_CANCEL): Macro removed.
30710         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
30712         * dirent/tst-scandir.c: New file.
30713         * dirent/tst-scandir64.c: New file.
30714         * dirent/Makefile (tests): Add them.
30716 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
30718         [BZ #18409]
30719         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
30721 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30723         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
30724         list.
30726 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
30728         * benchtests/bench-strcoll.c: New benchmark.
30729         * benchtests/Makefile: Generate locales and run benchmark.
30730         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
30731         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
30732         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
30733         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
30734         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
30735         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
30736         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
30737         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
30738         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
30739         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
30740         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
30741         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
30742         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
30743         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
30744         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
30745         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
30746         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
30747         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
30748         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
30749         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
30750         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
30751         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
30752         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
30753         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
30755 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
30757         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
30758         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30760 2015-05-12  Roland McGrath  <roland@hack.frob.com>
30762         * posix/uname-values.h: New file.
30763         * posix/uname.c: Include that instead of <config-name.h>.
30764         * sysdeps/nacl/uname-values.h: New file.
30765         * sysdeps/arm/nacl/uname-values.h: New file.
30767 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
30769         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
30770         splitting into fields.
30772 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
30774         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
30775         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
30776         * locale/localeinfo.h: Add enum collation_encoding_type.
30777         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
30778         * programs/ld-collate.c (collate_output): Add encoding type info.
30779         * string/strcoll_l.c (STRDIFF): New function.
30780         * (STRCOLL): Use STRDIFF to skip over equal prefix.
30781         * wcsmbs/wcscoll_l.c: Define STRDIFF.
30783 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
30785         [BZ #18397]
30786         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
30787         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
30788         <fpu_control.h> instead of <math/fpu_control.c>.
30789         * sysdeps/mips/mips32/fpu/Makefile: New file.
30791 2015-05-11  Andreas Schwab  <schwab@suse.de>
30793         [BZ #18007]
30794         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
30795         nss_endgrent.
30796         (_nss_compat_endgrent): Call nss_endgrent.
30797         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
30798         nss_endpwent.
30799         (_nss_compat_endpwent): Call nss_endpwent.
30800         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
30801         needent, call nss_setspent only if non-zero.
30802         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
30803         (internal_endspent): Don't call nss_endspent.
30804         (_nss_compat_endspent): Call nss_endspent.
30805         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
30806         Remove.  All uses removed.
30807         (internal_setent): Remove parameter stayopen, add parameter
30808         stream.  Use it instead of global variable.
30809         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
30810         (internal_endent, internal_getent): Add parameter stream.  Use it
30811         instead of global variable.
30812         (CONCAT(_nss_files_end,ENTNAME))
30813         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
30814         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
30815         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
30816         uses removed.
30817         (internal_setent, internal_endent): Add parameter stream.  Use it
30818         instead of global variable.
30819         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
30820         stream.
30821         (get_next_alias): Add parameter stream.
30822         (_nss_files_getaliasent_r): Pass global stream.
30823         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
30824         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
30825         (_nss_files_gethostbyname4_r): Pass local stream to
30826         internal_setent, internal_getent and internal_endent.  Remove
30827         locking.
30829 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30831         * tst-strfmon1.c (tests): Update expected currency symbol.
30833 2015-05-08  Roland McGrath  <roland@hack.frob.com>
30835         * sysdeps/nacl/gethostname.c: New file.
30837 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
30839         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
30840         and sinh.
30841         * math/auto-libm-test-out: Regenerated.
30842         * sysdeps/i386/fpu/libm-test-ulps: Update.
30843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30845 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
30847         [BZ #18125]
30848         * stdlib/tst-setcontext3.c: New file.
30849         * stdlib/tst-setcontext3.sh: New file.
30850         * stdlib/Makefile (tests): Add tst-setcontext3.
30851         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
30852         to verify test program created output file.
30853         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
30854         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
30855         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
30856         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
30858 2015-05-06  Roland McGrath  <roland@hack.frob.com>
30860         [BZ #18383]
30861         * elf/tst-tlsalign.c: New file.
30862         * elf/tst-tlsalign-static.c: New file.
30863         * elf/tst-tlsalign-lib.c: New file.
30864         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
30865         (tests-static): Add tst-tlsalign-static.
30866         (modules-names): Add tst-tlsalign-lib.
30867         (test-xfail-tst-tlsalign): New variable.
30868         (test-xfail-tst-tlsalign-static): New variable.
30870         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
30871         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
30873 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
30875         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
30876         csqrt, erfc, sin and sincos.
30877         * math/auto-libm-test-out: Regenerated.
30878         * sysdeps/i386/fpu/libm-test-ulps: Update.
30879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30881 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30883         * sysdeps/aarch64/libm-test-ulps: Update.
30885 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
30887         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
30888         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
30889         * math/auto-libm-test-out: Regenerated.
30890         * sysdeps/i386/fpu/libm-test-ulps: Update.
30891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30893 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30895         [BZ #18265]
30896         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
30897         (wcsncpy): Likewise.
30899 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30901         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30902         Assume __ASSUME_FALLOCATE is always true.
30903         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30904         (__posix_fallocate64_l64): Likewise.
30905         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
30906         (posix_fallocate): Likewise.
30907         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
30908         (__posix_fallocate64_l64): Likewise.
30909         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30910         [!__ASSUME_FALLOCATE]: Add comment.
30912 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30914         * sysdeps/unix/sysv/linux/i386/Makefile
30915         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
30916         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
30917         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
30918         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30919         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30920         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
30921         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
30923 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
30925         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
30926         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
30927         tgamma.
30928         * math/auto-libm-test-out: Regenerated.
30929         * sysdeps/i386/fpu/libm-test-ulps: Update.
30930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30932 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30934         * math/auto-libm-test-in: Add more tests of tgamma.
30935         * math/auto-libm-test-out: Regenerated.
30936         * sysdeps/i386/fpu/libm-test-ulps: Update.
30937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30939         * math/auto-libm-test-in: Add more tests of tanh.
30940         * math/auto-libm-test-out: Regenerated.
30941         * sysdeps/i386/fpu/libm-test-ulps: Update.
30942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30944         * math/auto-libm-test-in: Add more tests of tan.
30945         * math/auto-libm-test-out: Regenerated.
30946         * sysdeps/i386/fpu/libm-test-ulps: Update.
30947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30949         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
30950         * math/auto-libm-test-out: Regenerated.
30951         * sysdeps/i386/fpu/libm-test-ulps: Update.
30952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30954         * math/auto-libm-test-in: Add another test of pow.
30955         * math/auto-libm-test-out: Regenerated.
30956         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30958         * math/auto-libm-test-in: Add more tests of lgamma.
30959         * math/auto-libm-test-out: Regenerated.
30960         * sysdeps/i386/fpu/libm-test-ulps: Update.
30961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30963         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
30964         log1p.
30965         * math/auto-libm-test-out: Regenerated.
30966         * sysdeps/i386/fpu/libm-test-ulps: Update.
30967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30969 2015-05-01  Mark Wielaard  <mjw@redhat.com>
30971         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
30972         Elf64_Chdr structs and ELFCOMPRESS constants.
30974 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30976         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
30977         expm1.
30978         * math/auto-libm-test-out: Regenerated.
30979         * sysdeps/i386/fpu/libm-test-ulps: Update.
30980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30982         * math/auto-libm-test-in: Add more tests of erf and erfc.
30983         * math/auto-libm-test-out: Regenerated.
30984         * sysdeps/i386/fpu/libm-test-ulps: Update.
30985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30987 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30989         * config.h.in (HAVE_AARCH64_BE): Add.
30991 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
30993         * math/auto-libm-test-in: Add more tests of csqrt.
30994         * math/auto-libm-test-out: Regenerated.
30995         * sysdeps/i386/fpu/libm-test-ulps: Update.
30996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30998         * math/auto-libm-test-in: Add more tests of cosh and sinh.
30999         * math/auto-libm-test-out: Regenerated.
31000         * sysdeps/i386/fpu/libm-test-ulps: Update.
31001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31003         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
31005 2015-04-29  Roland McGrath  <roland@hack.frob.com>
31007         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
31008         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
31010         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
31011         (euidaccess, eaccess): Define as weak aliases.
31013         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
31014         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
31015         but __suseconds_t is often 'long int' so some sources assume that
31016         type is being used (e.g. they use %ld to print tv_usec).
31018 2015-04-29  Florian Weimer  <fweimer@redhat.com>
31020         [BZ #18007]
31021         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
31022         (CVE-2014-8121)
31023         * nss/tst-nss-getpwent.c: New file.
31024         * nss/Makefile (tests): Add new test.
31026 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
31028         [BZ #18346]
31029         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
31030         exponents less than 48 as cases where high part of mantissa needs
31031         examining to determine whether argument is integral.
31032         * math/libm-test.inc (round_test_data): Add more tests.
31034 2015-04-28  Mark Wielaard  <mjw@redhat.com>
31036         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
31038 2015-04-27  David S. Miller  <davem@davemloft.net>
31040         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
31041         __tls_get_addr.
31042         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31044 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
31046         [BZ#18333]
31047         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
31049 2015-04-27  Florian Weimer  <fweimer@redhat.com>
31051         [BZ#18333]
31052         * time/tzset.c (parse_tzname): Return error on memory allocation
31053         failure.
31054         * test-skeleton.c (struct temp_name_list): Change type of name
31055         member to non-const.
31056         (add_temp_file): Create a copy of the file name.
31057         (delete_temp_files): Deallocate memory.
31058         (create_temp_file): Add comment.
31060 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31062         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
31063         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
31065 2015-04-24  Roland McGrath  <roland@hack.frob.com>
31067         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
31068         * sysdeps/arm/configure: Regenerated.
31070 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31072         [BZ #17715]
31073         * time/tzfile.c (__tzfile_read): Check for large values of
31074         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
31075         * time/tzset.c (__tzstring_len): New function, based on the old
31076         __tzstring function.
31077         (__tzstring): Call __tzstring_len.
31078         (parse_tzname): New helper function extracted from
31079         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
31080         the input string.
31081         (parse_offset): New helper function extracted from
31082         __tzset_parse_tz.  Replace switch with fallthrough with
31083         initialization before sscanf.
31084         (parse_rule): Likewise.
31085         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
31086         new-style function definition.
31087         * timezone/Makefile (tests): Add tst-tzset.
31088         (tst-tzset.out): Dependencies on time zone files.
31089         (tst-tzset-ENV): Set TZDIR.
31090         (testdata/XT%): Copy crafted time zone files.
31091         * timezone/README: Mention crafted time zone files.
31092         * timezone/testdata/XT1, timezone/testdata/XT2,
31093         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
31094         files.
31095         * timezone/tst-tzset.c: New test.
31097 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31099         * Makeconfig (+gccwarn): Remove -Winline.
31101 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31103         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
31105 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31107         * NEWS: Mention sysconf() cache information support for s390.
31108         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
31110 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
31112         * math/k_casinh.c (__kernel_casinh): Use __copysign.
31113         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
31114         (__nearbyint): Likewise.
31115         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
31116         (copysignl): Likewise.
31118 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
31120         [BZ #18287]
31121         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
31122         based on padding.  (CVE-2015-1781)
31124 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31126         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
31127         libc-vdso.h.
31128         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
31129         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
31130         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
31131         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31132         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31133         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
31134         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
31135         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31136         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31137         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
31138         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31139         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31140         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
31141         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
31142         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31143         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
31144         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
31145         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
31146         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
31147         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
31148         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
31149         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
31150         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
31152 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
31154         * stdlib/setenv.c (__add_to_environ):
31155         Dump core quickly if setenv (..., NULL, ...) is called.
31156         This time, do it the right way, and pacify GCC with a pragma.
31158 2015-04-17  Roland McGrath  <roland@hack.frob.com>
31160         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
31161         IMAP->l_prev cannot be null, and #if out the code for the contrary
31162         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
31163         believe that NS (&_dl_ns[NSID]) could point outside the array.
31165         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
31166         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
31167         before using NSID as an index.
31169 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
31171         [BZ #17825]
31172         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
31173         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
31174         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31176 2015-04-17  Roland McGrath  <roland@hack.frob.com>
31178         Add preliminary port to Google Native Client on ARM.
31179         * abi-tags (.*-.*-nacl.*): New entry.
31180         * sysdeps/arm/nacl: New directory.
31181         * sysdeps/nacl: New directory.
31183 2015-04-16  David S. Miller  <davem@davemloft.net>
31185         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
31186         lowlevellock-futex.h
31188 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
31190         * sysdeps/tile/configure.ac: New file.
31191         * sysdeps/tile/configure: Regenerated.
31193 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31195         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
31196         conditionals for weak_alias and libc_hidden_weak.
31197         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
31198         libc_hidden_weak and weak_alias.
31199         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
31200         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
31201         and weak_alias for static one.
31203 2015-04-15  David S. Miller  <davem@davemloft.net>
31205         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31207 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31209         [BZ #18206]
31210         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
31211           Use signed comparision instead of substraction to avoid
31212           overflow bug.
31213         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
31214           Take the sign of ret.
31215         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
31216           Do not expect precise return values. Only the sign matters.
31217         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
31218         * wcsmbs/test-wcsncmp.c: New File.
31219         * string/test-strncmp.c: Add wcsncmp support.
31221 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31223         [BZ #6792]
31224         * math/w_log1p.c: New file.
31225         * math/w_log1pf.c: Likewise.
31226         * math/w_log1pl.c: Likewise.
31227         * math/Makefile (libm-calls): Add w_log1p.
31228         * math/s_log1pl.c (log1pl): Remove weak_alias.
31229         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
31230         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
31231         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
31232         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
31233         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
31234         [NO_LONG_DOUBLE] (log1pl): Likewise.
31235         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
31236         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
31237         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
31238         (log1p): Remove long_double_symbol.
31239         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
31240         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
31241         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
31242         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
31243         remove weak_alias for corresponding log1p function.
31244         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
31245         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
31246         * sysdeps/ia64/fpu/w_log1p.c: New file.
31247         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
31248         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
31249         * math/libm-test.inc (log1p_test_data): Add errno expectations.
31251 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
31253         [BZ #18247]
31254         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
31255         decimal exponent by 1.
31256         * stdlib/tst-strtod-round-data: Add more tests.
31257         * stdlib/tst-strtod-round.c (tests): Regenerated.
31259 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
31261         * math/auto-libm-test-in: Add more tests of clog and clog10.
31262         * math/auto-libm-test-out: Regenerated.
31263         * sysdeps/i386/fpu/libm-test-ulps: Update.
31264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31266 2015-04-09  Roland McGrath  <roland@hack.frob.com>
31268         * Makeconfig (module-cppflags): Exclude all .v.i files.
31269         (skip-module-cppflags): Variable removed.
31271         * configure.ac (libc_config_ok): Initialize before reading
31272         preconfigure scripts, not after.
31273         * configure: Regenerated.
31275         * test-skeleton.c (TIMEOUT): Move #define to top level.
31276         (main): Grok environment variable TEST_DIRECT.  If set, print
31277         test expectation details into that file and then behave as if
31278         given --direct.
31280 2015-04-09  Florian Weimer  <fweimer@redhat.com>
31282         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
31283         warning on 32-bit.
31285 2015-04-08  David S. Miller  <davem@davemloft.net>
31287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31289 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
31291         * math/auto-libm-test-in: Add more tests of atanh.
31292         * math/auto-libm-test-out: Regenerated.
31293         * sysdeps/i386/fpu/libm-test-ulps: Update.
31294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31296         * math/auto-libm-test-in: Add more tests of atan.
31297         * math/auto-libm-test-out: Regenerated.
31298         * sysdeps/i386/fpu/libm-test-ulps: Update.
31299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31301 2015-04-08  Florian Weimer  <fweimer@redhat.com>
31303         * elf/pldd.c (main): Rewrite to use struct
31304         scratch_buffer instead of extend_alloca.
31305         * elf/pldd-xx.c (find_maps): Likewise.
31306         * grp/initgroups.c: Include <scratch_buffer.h> instead of
31307         <alloca.h>.
31308         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
31309         scratch_buffer instead of extend_alloca.
31310         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
31311         grp/compat-initgroups.c.
31312         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
31313         Rewrite to use struct scratch_buffer instead of extend_alloca.
31314         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
31315         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31317 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
31319         * math/auto-libm-test-in: Add more tests of cbrt.
31320         * math/auto-libm-test-out: Regenerated.
31321         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31323         * math/auto-libm-test-in: Add more tests of cabs.
31324         * math/auto-libm-test-out: Regenerated.
31325         * sysdeps/i386/fpu/libm-test-ulps: Update.
31326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31328         [BZ #18210]
31329         [BZ #18211]
31330         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
31331         (__ieee754_atan2): Set FE_TONEAREST mode for internal
31332         computations.
31333         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
31334         clog10.
31335         * math/auto-libm-test-out: Regenerated.
31336         * sysdeps/i386/fpu/libm-test-ulps: Update.
31337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31339         [BZ #18197]
31340         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
31341         (atan): Set FE_TONEAREST mode for internal computations.
31342         * math/auto-libm-test-in: Add more tests of atan.
31343         * math/auto-libm-test-out: Regenerated.
31345 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
31347         [BZ #17930]
31348         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
31350 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31352         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
31354 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31356         * include/scratch_buffer.h: New file.
31357         * malloc/scratch_buffer_grow.c: Likewise.
31358         * malloc/scratch_buffer_grow_preserve.c: Likewise.
31359         * malloc/scratch_buffer_set_array_size.c: Likewise.
31360         * malloc/tst-scratch_buffer.c: Likewise.
31361         * malloc/Makefile (routines): Add scratch_buffer_grow.
31362         (tests): Add test case.
31363         * malloc/Versions (GLIBC_PRIVATE): Export
31364         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
31365         __libc_scratch_buffer_set_array_size.
31367 2015-04-06  Richard Henderson  <rth@redhat.com>
31369         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
31370         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31372         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
31373         unsigned int before printing.
31375 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31377         [BZ #17596]
31378         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
31379         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31381 2015-04-02  Florian Weimer  <fweimer@redhat.com>
31383         * include/libc-internal.h (libc_max_align_t): Define.
31385 2015-04-02  Andreas Schwab  <schwab@suse.de>
31387         [BZ #16850]
31388         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
31390 2015-04-02  Mel Gorman  <mgorman@suse.de>
31392         [BZ #17195]
31393         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
31394         as well as the main arena.
31396 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31398         [BZ #18185]
31399         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
31400         sharing L2 cache to 2 for Silvermont/Knights Landing.
31402 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31404         [BZ #17711]
31405         * config.make.in (have-protected-data): New.
31406         * configure.ac: Check linker support for protected data symbol.
31407         * configure: Regenerated.
31408         * elf/Makefile (modules-names): Add tst-protected1moda and
31409         tst-protected1modb if $(have-protected-data) is yes.
31410         (tests): Add tst-protected1a and tst-protected1b if
31411         $(have-protected-data) is yes.
31412         ($(objpfx)tst-protected1a): New.
31413         ($(objpfx)tst-protected1b): Likewise.
31414         (tst-protected1modb.so-no-z-defs): Likewise.
31415         * elf/tst-protected1a.c: New file.
31416         * elf/tst-protected1b.c: Likewise.
31417         * elf/tst-protected1mod.h: Likewise.
31418         * elf/tst-protected1moda.c: Likewise.
31419         * elf/tst-protected1modb.c: Likewise.
31421 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31423         [BZ #17711]
31424         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
31425         indicates it is called from do_lookup_x on relocation against
31426         protected data, skip the data definion in the executable from
31427         copy reloc.
31428         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
31429         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
31430         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
31431         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
31432         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
31433         otherwise to 0.
31434         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31435         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
31436         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
31437         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31438         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
31439         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
31441 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
31443         * sysdeps/nptl/pthread.h: Remove duplicate definition of
31444         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
31446 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
31448         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
31449         THREAD_SETMEM_NC.
31450         * sysdeps/x86_64/nptl/tls.h: Ditto.
31452 2015-03-27  Roland McGrath  <roland@hack.frob.com>
31454         * dlfcn/tststatic.c (main): Converted to ...
31455         (do_test): ... this.
31456         (TEST_FUNCTION): New macro.
31457         Include test-skeleton.c.
31459 2015-03-26  Alan Modra  <amodra@gmail.com>
31461         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
31462         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
31463         zero for undefined weak.
31464         (elf_machine_plt_conflict): Similarly.
31466 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31468         * math/auto-libm-test-in: Add more tests of acosh, asinh and
31469         atanh.
31470         * math/auto-libm-test-out: Regenerated.
31471         * sysdeps/i386/fpu/libm-test-ulps: Update.
31472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31474         * math/auto-libm-test-in: Add another test of asin.
31475         * math/auto-libm-test-out: Regenerated.
31476         * sysdeps/i386/fpu/libm-test-ulps: Update.
31477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31479         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
31480         Remove macro.
31481         (LLL_EBX_REG): Likewise.
31482         (LLL_ENTER_KERNEL): Likewise.
31484         * math/auto-libm-test-in: Add more tests of asin.
31485         * math/auto-libm-test-out: Regenerated.
31486         * sysdeps/i386/fpu/libm-test-ulps: Update.
31487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31489         [BZ #18138]
31490         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
31491         libc_do_syscall_args): New structure.
31492         (INTERNAL_SYSCALL_MAIN_0): New macro.
31493         (INTERNAL_SYSCALL_MAIN_1): Likewise.
31494         (INTERNAL_SYSCALL_MAIN_2): Likewise.
31495         (INTERNAL_SYSCALL_MAIN_3): Likewise.
31496         (INTERNAL_SYSCALL_MAIN_4): Likewise.
31497         (INTERNAL_SYSCALL_MAIN_5): Likewise.
31498         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
31499         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
31500         Replace conditional definitions by conditional definitions of ....
31501         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
31502         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
31503         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
31504         (libpthread-sysdep_routines): Add libc-do-syscall.
31505         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
31506         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
31507         to __NR_futex not 240.
31509 2015-03-25  Alan Modra  <amodra@gmail.com>
31511         * NEWS: Advertise TLS optimization.
31512         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
31513         (DT_PPC_NUM): Increment.
31514         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
31515         (CHECK_STATIC_TLS): Use here.
31516         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
31517         TLS descriptors.
31518         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31519         * sysdeps/powerpc/dl-tls.c: New file.
31520         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
31521         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
31522         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
31523         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
31524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
31525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
31526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
31528 2015-03-25  Alan Modra  <amodra@gmail.com>
31530         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
31531         for overlapping .opd entries" to "support...".
31532         * sysdeps/powerpc/powerpc64/configure: Regenerate
31534 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31536         * math/auto-libm-test-in: Add more tests of acos.
31537         * math/auto-libm-test-out: Regenerated.
31538         * sysdeps/i386/fpu/libm-test-ulps: Update.
31539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31541         * math/auto-libm-test-in: Add more tests of expm1.
31542         * math/auto-libm-test-out: Regenerated.
31543         * sysdeps/i386/fpu/libm-test-ulps: Update.
31544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31546 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
31548         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31549         * math/auto-libm-test-out: Regenerated.
31550         * sysdeps/i386/fpu/libm-test-ulps: Update.
31551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31553         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31556         * math/auto-libm-test-in: Add more tests of log2.
31557         * math/auto-libm-test-out: Regenerated.
31558         * sysdeps/i386/fpu/libm-test-ulps: Update.
31559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31561 2015-03-23  Roland McGrath  <roland@hack.frob.com>
31563         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
31564         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
31565         _IO_IS_APPENDING bit in READ_WRITE instead.
31567 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31569         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
31570         (__determine_cpumask_size): Replace extend_alloca with a
31571         variable-length array.  Do not treat res == 0 as an error.
31573 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31575         [BZ #18100]
31576         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
31577         and integer overflow.
31578         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
31579         (main): Add integer overflow tests.
31580         * manual/pattern.texi (Calling Wordexp): Document additional use
31581         for WRDE_SYNTAX.
31583 2015-03-23  Alan Modra  <amodra@gmail.com>
31585         * config.h.in: Remove HAVE_ASM_PPC_REL16.
31586         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
31587         and false branch of conditional.
31588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31589         Likewise.
31591 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
31593         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
31594         libc-modules.h
31595         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
31596         unused declaration of _hurd_intr_rpc_msg_in_trap.
31597         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
31598         defined instead of whether it is non-zero.
31599         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
31600         input constraint instead of both input and output constraint.  Use ecx
31601         clobber instead of %ecx.
31602         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
31603         mutex_unlock): Use a statement expression instead of an expression list.
31604         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
31605         type to vm_size_t instead of vm_address_t.
31606         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
31607         defined instead of whether it is non-zero.
31608         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
31609         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
31610         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
31611         comparisons with mapaddr.
31612         * nscd/nscd-client.h: Include <time.h>.
31613         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
31614         9th parameter to __vm_region instead of int.
31615         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
31616         * scripts/check-local-headers.sh (exclude): Add device/,
31617         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
31618         cthreads.h.
31620 2015-03-19  Roland McGrath  <roland@hack.frob.com>
31622         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
31623         to account for alignment padding.
31624         * sysdeps/arm/memmove.S: Likewise.
31626 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
31628         * sysdeps/unix/sysv/linux/generic/README: New file.
31630 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
31632         [BZ #18138]
31633         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
31634         (futex_abstimed_wait)
31635         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
31636         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
31637         of lll_futex_timed_wait.
31639 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
31641         [BZ #17542]
31642         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
31644 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
31646         [BZ #17090]
31647         [BZ #17620]
31648         [BZ #17621]
31649         [BZ #17628]
31650         * NEWS: Update.
31651         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
31652         entries with Static TLS too.  Skip entries past the end of the
31653         allocated DTV, from Alan Modra.
31654         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
31655         Static TLS DTV entry set up from...
31656         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
31657         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
31658         * nptl/allocatestack.c (init_one_static_tls): ... and here...
31659         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
31660         for Static TLS.
31661         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
31662         that the slot we find is associated with the given map before
31663         using its generation count.
31664         * nptl_db/db_info.c: Include ldsodefs.h.
31665         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
31666         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
31667         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
31668         (link_map::l_tls_offset): New struct field.
31669         (dtv_t::counter): Likewise.
31670         (rtld_global): New struct.
31671         (_rtld_global): New rtld variable.
31672         (dl_tls_dtv_slotinfo_list): New rtld global field.
31673         (dtv_slotinfo_list): New struct.
31674         (dtv_slotinfo): Likewise.
31675         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
31676         (td_lookup): Rename to...
31677         (td_mod_lookup): ... this.  Use new mod parameter instead of
31678         LIBPTHREAD_SO.
31679         * nptl_db/td_thr_tlsbase.c: Include link.h.
31680         (dtv_slotinfo_list, dtv_slotinfo): New functions.
31681         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
31682         addresses even if the DTV is out of date or missing them.
31683         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
31684         index zero-length arrays.
31685         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
31686         (td_lookup): Make it a macro implemented in terms of...
31687         (td_mod_lookup): ... this declaration.
31688         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
31689         (DB_MAIN_VARIABLE): Likewise.
31691 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31693         [BZ #18134]
31694         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31696 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
31698         * stdlib/setenv.c (__add_to_environ): Revert previous change.
31700 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
31702         [BZ #18128]
31703         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
31704         (atomic_add, atomic_increment_and_test)
31705         (atomic_decrement_and_test): Fix 64-bit arithmetic.
31707 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
31709         * stdlib/setenv.c (__add_to_environ):
31710         Dump core quickly if setenv (..., NULL, ...) is called.
31712 2015-03-13  Roland McGrath  <roland@hack.frob.com>
31714         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
31715         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
31716         all the necessary asm magic in one place.
31717         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
31718         using those.
31720 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
31722         [BZ #14906]
31723         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
31724         traced file mtime. Use consistent log message.
31725         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
31726         (register_traced_file): Call install_watches. Always set mtime.
31727         (invalidate_cache): Iterate over all trace files. Call install_watches.
31728         (inotify_check_files): Don't inline. Handle watching parent
31729         directories and configuration file movement in and out.
31730         (handle_inotify_events): New function.
31731         (main_loop_poll): Call handle_inotify_events.
31732         (main_loop_epoll): Likewise.
31733         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
31734         (struct traced_file): Use array of inotify fds. Add parent directory,
31735         and basename.
31736         (struct database_dyn): Remove unused file_mtime.
31737         (init_traced_file): New inline function.
31738         (define_traced_file): New macro.
31739         * nss/nss_db/db-init.c: Use define_traced_file.
31740         (_nss_db_init): Use init_traced_file.
31741         * nss/nss_files/files-init.c: Use define_traced_file.
31742         (_nss_files_init): Use init_traced_file.
31744 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
31746         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
31747         [_LIBC]: Do not include <stdlib.h>.
31748         [!_LIBC] (abort): Remove declaration.
31749         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
31750         _FP_STATIC_ASSERT instead of conditionally calling abort.
31751         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
31752         (_FP_EXTEND_CNAN): Likewise.
31753         (FP_TRUNC): Likewise.
31754         (__FP_CLZ): Likewise.
31755         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
31757 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
31759         * manual/string.texi (XPG basename): Fix prototype.
31761 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31763         [BZ #18080]
31764         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
31765         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31766         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
31767         (__setcontext): Likewise.
31768         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
31769         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31770         Call rt_sigprocmask syscall one time to set new signal mask
31771         and retrieve the current signal mask instead of two calls.
31772         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
31773         (__swapcontext): Likewise.
31774         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
31775         * stdlib/tst-setcontext2.c: New file.
31777 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31779         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31781 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
31783         [BZ #18093]
31784         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
31785         the wrong size.
31787 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31789         [BZ #18043]
31790         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
31792 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31794         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
31795         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
31796         Remove define.
31797         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
31798         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
31799         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
31800         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
31801         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
31802         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
31803         define.
31804         * nptl_db/td_symbol_list.c (td_lookup): Remove
31805         HAVE_ASM_GLOBAL_DOT_NAME code.
31806         * sysdeps/powerpc/powerpc64/configure.ac: Remove
31807         HAVE_ASM_GLOBAL_DOT_NAME check.
31808         * sysdeps/powerpc/powerpc64/configure: Regenerate.
31809         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
31810         (DOT_LABEL): Remove define.
31811         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
31812         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
31813         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
31814         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
31815         (__TLS_GET_ADDR): Likewise.
31816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
31817         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
31819 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
31821         [BZ #18111]
31822         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
31823         (_FPU_SETCW): Initialize cw from fpsr before storing.
31824         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
31825         (fesetexceptflag): Rewrite using fpu_control.h.
31826         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
31828 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
31830         [BZ #18110]
31831         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
31832         asms.
31833         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
31835 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
31837         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
31838         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
31839         abort.
31840         (_FP_FMA): Likewise.
31841         (_FP_DIV): Likewise.
31843 2015-03-10  Roland McGrath  <roland@hack.frob.com>
31845         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
31846         with 0 in that case.
31847         * Makefile (summarize-tests): New canned sequence, factored out of
31848         commands for targets tests and xtests.  Display summary lines that
31849         don't start with PASS: or XFAIL: rather than ones that do start with
31850         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
31851         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
31852         do start with ERROR: or FAIL:.
31853         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
31854         (except for [$(build-shared) = yes]).
31855         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
31856         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
31857         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
31858         * nptl/Makefile: Revert 2015-03-04 changes.
31859         [$(CXX) empty] (tests-unsupported): New variable.
31860         * debug/Makefile: Likewise.
31862         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
31863         gnulib file.  Replace __attribute with __attribute__ throughout.
31865 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
31867         * sysdeps/hppa/fpu/libm-test-ulps: Update.
31869 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31871         [BZ #18104]
31872         * math/auto-libm-test-in: Add another test of pow.
31873         * math/auto-libm-test-out: Regenerated.
31875 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31877         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
31878         $(config-cflags-nofma).
31880 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31882         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
31883         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
31884         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
31885         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
31886         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
31887         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
31888         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
31889         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
31890         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
31891         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
31892         Add comment on closing #endif.
31894 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31896         * posix/wordexp.c (CHAR_IN_SET): New macro.
31897         (parse_param): Use it.
31899 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31901         * sysdeps/powerpc/fpu/libm-test-ulps: update.
31903 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31905         [BZ #18043]
31906         * posix/wordexp.c (parse_param): Fix buffer overflow.
31907         * posix/wordexp-test.c (test_case): Add test case.
31909 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31911         [BZ #18042]
31912         * posix/wordexp.c (parse_backtick): Fix off-by-one.
31913         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
31915 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31917         [BZ #18043]
31918         * posix/wordexp-test.c (test_case): Add test for BZ #18043
31919         (do_bz18043): Delete.
31920         (at_page_end): New.
31921         (testit): Refactor to have words at the edge of unreadable page.
31923 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31925         [BZ #16734]
31926         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
31927         Cleanup read-only streams as well.
31928         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
31930 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31932         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
31933         <bits/libc-lockP.h>
31935 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
31937         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
31938         on [__KERNEL__].
31939         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
31940         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
31941         * soft-fp/op-common.h (_FP_DECL): Likewise.
31943 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
31945         * elf/ifuncdep2.c (global): Replace
31946         __attribute__((visibility("protected"))) with
31947         asm (".protected global").
31948         * elf/ifuncmod1.c (global): Likewise.
31949         * elf/ifuncmod5.c (global): Likewise.
31951 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
31953         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
31954         <asm/sfp-machine.h> instead of <sfp-machine.h>.
31956 2015-03-06  Roland McGrath  <roland@hack.frob.com>
31958         * manual/install.texi (Configuring and compiling):
31959         Document test-wrapper-env-only.
31960         * INSTALL: Regenerated.
31962 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31964         [BZ #18043]
31965         * posix/wordexp.c (parse_param): Fix buffer overflow.
31966         * posix/wordexp-test.c (do_bz18043): Add test case.
31968 2015-03-06  Vincent Bernat  <vincent@bernat.im>
31970         * time/tst-strptime2.c (do_test): Ensure failing tests are
31971         reported correctly.
31972         * time/tst-strptime3.c (do_test): Likewise.
31974 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
31976         Fix aio_error thread-safety.
31977         * sysdeps/pthread/aio_error.c: New file
31978         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
31979         synchronization.
31981 2015-03-06  Florian Weimer  <fweimer@redhat.com>
31983         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
31984         (group_number, vfprintf): Use it.
31985         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
31986         (JUMP, REF): Use it.
31987         (WORK_BUFFER_SIZE): New enum constant.
31988         (process_arg, vfprintf): Use it.
31990 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
31992         * manual/errno.texi (Error Messages): Complete example function
31993         by adding missing #define.
31994         (program_invocation_name): Add statement indicating GNU
31995         extension and reference which header file declares the variable.
31996         (program_invocation_short_name): Likewise.
31998 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
32000         * manual/errno.texi (Error Messages): Delete strerror ISO C89
32001         compatibility note.
32003 2015-03-05  Roland McGrath  <roland@hack.frob.com>
32005         * Makeconfig (test-wrapper-env-only): New variable.
32006         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
32007         then use that with $(test-wrapper-env-only) rather than using
32008         $(test-wrapper-env) $(run-program-env) $($*-ENV).
32010 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
32012         [BZ #18082]
32013         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
32014         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
32015         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
32016         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
32017         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
32018         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
32019         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
32020         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
32021         Likewise.
32022         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
32023         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
32024         Likewise.
32025         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
32026         Likewise.
32027         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
32028         Likewise.
32029         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
32030         Likewise.
32031         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
32032         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
32033         Likewise.
32034         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
32035         Likewise.
32036         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
32037         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
32039 2015-03-04  Roland McGrath  <roland@hack.frob.com>
32041         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
32042         (ETH_ALEN): New macro.
32043         (struct ether_addr): Use it for length of ether_addr_octet.
32045         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
32046         (setdb): Don't call __nss_configure_lookup for "rpc".
32047         (do_test): Don't call test_rpc.
32048         (output_rpcent, test_rpc): Functions moved ...
32049         * sunrpc/test-rpcent.c: ... to this new file.
32050         * sunrpc/Makefile (tests): Add it.
32052         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
32053         __xpg_sigpause.
32054         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
32055         * nptl/tst-signal6.c: Likewise.
32056         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
32057         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
32059         * configure.ac (libc_cv_cxx_link_ok): New check.
32060         Reset CXX to empty if it fails to link.
32061         * configure: Regenerated.
32062         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
32063         bug-atexit3-lib only if $(CXX) is nonempty.
32064         * nptl/Makefile (tests): Likewise for tst-cancel24.
32065         (tests, tests-static): Likewise for tst-cancel24-static.
32066         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
32067         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
32068         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
32069         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
32071 2015-03-04  Andreas Schwab  <schwab@suse.de>
32073         [BZ #17631]
32074         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
32075         for non-GCC compilers.
32076         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32077         Likewise.
32079 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32081         [BZ #17776]
32082         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
32083         integer before bitwise and assembly operations.
32084         (feclearexcept): Likewise.
32085         * math/test-fenvinline.c: New file.
32086         * math/Makefile: Add test-fenvinline test.
32088 2015-03-03  Alan Modra  <amodra@gmail.com>
32090         [BZ #16512]
32091         * scripts/localplt.awk: Strip off symbol version.
32092         * NEWS: Mention bug fix.
32094 2015-03-02  Roland McGrath  <roland@hack.frob.com>
32096         * sysdeps/pthread/timer_routines.c
32097         (timer_free_list, thread_free_list, thread_active_list): Make static.
32099 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
32101         [BZ #17779]
32102         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32103         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32104         Undefine.
32105         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32106         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32107         Likewise.
32108         * sysdeps/unix/sysv/linux/sh/kernel-features.h
32109         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32110         Likewise.
32112 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
32114         [BZ #18036]
32115         * posix/fnmatch_loop.c (END): Detect invalid pattern.
32116         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
32118 2015-03-02  Andreas Schwab  <schwab@suse.de>
32120         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
32121         variable name.
32123 2015-03-02  Florian Weimer  <fweimer@redhat.com>
32125         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
32126         Return error status.
32128 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
32130         [BZ #15969]
32131         * locale/findlocale.c (_nl_find_locale): Introduce const
32132         version of loc_name and drop unsafe type casts.
32134 2015-02-27  Roland McGrath  <roland@hack.frob.com>
32136         * dlfcn/tststatic2.c (main): Converted to ...
32137         (do_test): ... this.
32138         (TEST_FUNCTION): New macro.
32139         Include test-skeleton.c.
32141 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
32143         [BZ #17711]
32144         * elf/Makefile (tests): Add vismain only if PIE is enabled.
32145         (tests-pie): Add vismain.
32146         (CFLAGS-vismain.c): New.
32147         * elf/vismain.c: Add comments for PIE requirement.
32149 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
32151         [BZ #18046]
32152         [BZ #18047]
32153         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
32154         0x1p-56L as threshold for just returning the argument.
32155         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
32156         0x1p-32L as threshold for just returning the argument.
32157         * math/auto-libm-test-in: Add more tests of atanh.
32158         * math/auto-libm-test-out: Regenerated.
32159         * sysdeps/i386/fpu/libm-test-ulps: Update.
32160         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
32162 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
32164         * string/bcopy.c (bcopy): Call memmove for performance.
32166 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
32168         * string/bzero.c (__bzero): Call memset for performance.
32170 2015-02-27  John David Anglin  <dave.anglin@bell.net>
32172         [BZ #18068]
32173         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
32174         to 00100000.
32176 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
32178         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
32180 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
32182         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
32183         (__kernel_standard): Use CSTR macro when setting exc.name.
32184         * sysdeps/ieee754/Makefile [$(subdir) = math]
32185         (CFLAGS-k_standard.c): Remove variable.
32187         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
32188         setting p and q from "else if" to "else".
32189         (qzero): Likewise.
32190         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
32191         (qone): Likewise.
32192         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
32193         (qzerof): Likewise.
32194         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
32195         (qonef): Likewise.
32196         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
32197         (qzero): Likewise.
32198         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
32199         (qone): Likewise.
32201         [BZ #18038]
32202         [BZ #18039]
32203         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
32204         return pi/2 for arguments below 0x1p-113L.
32205         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
32206         return pi/2 for arguments below 0x1p-106L.
32207         * math/auto-libm-test-in: Add more tests of acos.
32208         * math/auto-libm-test-out: Regenerated.
32210         [BZ #16351]
32211         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
32212         (MO): New macro.
32213         (__ieee754_asin): Force underflow exception for results with small
32214         absolute value.
32215         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
32216         (MO): New macro.
32217         (__ieee754_asinf): Force underflow exception for results with
32218         small absolute value.
32219         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
32220         (__ieee754_asin): Force underflow exception for results with small
32221         absolute value.
32222         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
32223         (__ieee754_asinf): Force underflow exception for results with
32224         small absolute value.
32225         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
32226         (__ieee754_asinl): Force underflow exception for results with
32227         small absolute value.
32228         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
32229         (__ieee754_asinl): Force underflow exception for results with
32230         small absolute value.
32231         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
32232         (__ieee754_asinl): Force underflow exception for results with
32233         small absolute value.
32234         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
32235         Include <math.h>.
32236         * math/auto-libm-test-in: Do not mark underflow exceptions as
32237         possibly missing for bug 16351.
32238         * math/auto-libm-test-out: Regenerated.
32240         [BZ #18030]
32241         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
32242         of power of 2 down when low part has opposite sign.
32243         * math/libm-test.inc (logb_test_data): Add more tests.
32245 2015-02-26  Andreas Schwab  <schwab@suse.de>
32247         [BZ #18032]
32248         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
32249         over collating symbol inside a bracket expression.  Minor cleanup.
32250         * posix/tst-fnmatch3.c (do_test): Add test case.
32252 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
32254         [BZ #18029]
32255         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
32256         Adjust exponent of power of 2 down when low part has opposite
32257         sign.
32258         * math/libm-test.inc (ilogb_test_data): Add more tests.
32260 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
32262         [BZ #15969]
32263         * locale/findlocale.c (_nl_find_locale): Fix constness error in
32264         the previous change.
32266         [BZ #15969]
32267         * locale/findlocale.c (_nl_find_locale): Retry archive search
32268         after alias expansion.
32270 2015-02-25  Roland McGrath  <roland@hack.frob.com>
32272         * iconv/tst-iconv3.c (main): Converted to ...
32273         (do_test): ... this.
32274         (TEST_FUNCTION): New macro.
32275         Include test-skeleton.c.
32277         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
32278         (convert): Make function static.
32279         (test_unalign): Likewise.  Add const to argument pointee types.
32280         (main): Replace with static function do_test.
32281         Print "Succeeded." only if RET is zero.
32282         (TEST_FUNCTION): New macro.
32283         Include test-skeleton.c.
32285         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
32286         returns a null pointer.
32288 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32290         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
32291         to __memcpy_ppc only for static builds.
32293 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
32295         [BZ #18020]
32296         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
32297         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
32298         * math/auto-libm-test-in: Add more tests of asinh.
32299         * math/auto-libm-test-out: Regenerated.
32300         * sysdeps/i386/fpu/libm-test-ulps: Update.
32301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32303 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
32305         [BZ #15850]
32306         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
32307         and ip6_mtuinfo definitions here.
32308         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
32309         in this define too.  Update comment.
32311 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
32313         * elf/sprof.c (load_shobj): Tweak error message to match others.
32315 2015-02-24  Kevin Easton  <kevin@guarana.org>
32317         [BZ #16145] (partial fix)
32318         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
32319         to reduce lock contention.
32321 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
32323         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
32324         (struct timex): Update time comment.
32325         (ADJ_SETOFFSET): Define.
32327 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32329         [BZ #18019]
32330         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32331         2**56 not 2**28 as threshold for log (2x) formula.
32332         * math/auto-libm-test-in: Add more tests of acosh.
32333         * math/auto-libm-test-out: Regenerated.
32334         * sysdeps/i386/fpu/libm-test-ulps: Update.
32335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32337 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32339         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
32340         parenthesis around the buf assignment.
32341         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
32343 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32345         [BZ #16783]
32346         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
32347         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
32348         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
32349         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32350         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32351         * math/libm-test.inc (scalb_test_data): Add more tests.
32353 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32355         [BZ #17916]
32356         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
32357         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
32359 2015-02-24  Eric Rannaud  <e@nanocritical.com>
32361         [BZ #17523]
32362         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
32363         * io/bits/fcntl2.h (open): Use it.
32364         (openat): Likewise.
32365         * io/open.c (__libc_open): Likewise.
32366         * io/open64.c (__libc_open64): Likewise.
32367         * io/open64_2.c (__open64_2): Likewise.
32368         * io/open_2.c (__open_2): Likewise.
32369         * io/openat.c (__openat): Likewise.
32370         * io/openat64.c (__openat64): Likewise.
32371         * io/openat64_2.c (__openat64_2): Likewise.
32372         * io/openat_2.c (__openat_2): Likewise.
32373         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
32374         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
32375         * sysdeps/posix/open64.c (__libc_open64): Likewise.
32376         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
32377         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32378         (__open_nocancel): Likewise.
32379         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32380         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32381         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
32383 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32385         [BZ #14841]
32386         * resolv/gethnamaddr.c (getanswer): Skip logging if
32387         RES_USE_DNSSEC is set.
32388         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32390 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32392         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
32394 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
32396         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
32397         201304L, for Unicode 7.
32399 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
32401         [BZ #17836]
32402         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
32403         shared library.  Add gmon-start.os otherwise.
32404         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
32405         $(objpfx)gmon-start.os if builing shared library.
32406         ($(objpfx)g$(static-start-installed-name)): Likewise.
32408 2015-02-23  Andreas Schwab  <schwab@suse.de>
32410         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
32412 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32414         [BZ #17269]
32415         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
32416         (enlarge_userbuf): Likewise.
32418 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
32420         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
32421         * math/atest-exp.c (TIMEOUT): Adjust to 200.
32422         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
32423         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
32425 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
32427         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
32428         expression inside statement expression.
32430 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32432         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
32433         <sysdeps/nptl/lowlevellock.h> and remove macros and
32434         functions that are now defined there.
32435         (SYS_futex): Remove.
32436         (lll_compare_and_swap): Remove.
32437         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
32439 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
32441         [BZ #17999]
32442         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
32443         instead of scandirat.
32444         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
32445         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
32446         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
32447         __scandirat.
32448         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
32449         (__scandirat): Declare.  Use libc_hidden_proto.
32450         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
32451         Remove variable.
32452         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
32454 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32456         [BZ #15319]
32457         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
32458         (MO): New macro.
32459         (__ieee754_atan2): For results with small absolute value, force
32460         underflow exception and remove excess range and precision from
32461         return value.
32462         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
32463         (MO): New macro.
32464         (__ieee754_atan2f): For results with small absolute value, force
32465         underflow exception and remove excess range and precision from
32466         return value.
32467         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
32468         (MO): New macro.
32469         (__atan): For results with small absolute value, force underflow
32470         exception and remove excess range and precision from return value.
32471         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
32472         (MO): New macro.
32473         (__atanf): For results with small absolute value, force underflow
32474         exception and remove excess range and precision from return value.
32475         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
32476         <math.h>.
32477         (__ieee754_atan2): Force underflow exception for results with
32478         small absolute value.
32479         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
32480         <math_private.h>.
32481         (atan): Force underflow exception for results with small absolute
32482         value.
32483         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
32484         (__atanf): Force underflow exception for results with small
32485         absolute value.
32486         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
32487         <math.h>.
32488         (__atanl): Force underflow exception for results with small
32489         absolute value.
32490         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
32491         (__atanl): Force underflow exception for results with small
32492         absolute value.
32493         * sysdeps/x86/fpu/bits/mathinline.h
32494         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
32495         (__ieee754_atan2): Only define inline for long double.
32496         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
32497         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
32498         * math/auto-libm-test-in: Do not mark underflow exceptions as
32499         possibly missing for bug 15319.  Add more tests of atan2.
32500         * math/auto-libm-test-out: Regenerated.
32501         * math/libm-test.inc (casin_test_data): Do not mark underflow
32502         exceptions as possibly missing for bug 15319.
32503         (casinh_test_data): Likewise.
32504         * sysdeps/i386/fpu/libm-test-ulps: Update.
32506 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
32508         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
32509         * sysdeps/mips/bits/endian.h: Fix comments.
32511 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32513         [BZ #17996]
32514         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
32515         (hdestroy_r): Likewise.
32516         (hsearch_r): Likewise.
32517         (__hcreate_r): Declare and use libc_hidden_proto.
32518         (__hdestroy_r): Likewise.
32519         (__hsearch_r): Likewise.
32520         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
32521         (hcreate): Call __hcreate_r instead of hcreate_r.
32522         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
32523         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
32524         as weak alias of __hcreate_r.
32525         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
32526         __hdestroy_r.
32527         (hsearch_r): Rename to __hsearch_r and define as weak alias of
32528         __hsearch_r.
32529         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
32530         Remove variable.
32531         (test-xfail-XPG4/search.h/linknamespace): Likewise.
32532         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
32533         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
32534         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
32536 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32538         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
32539         arena_lock into a single arena_get.
32541 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
32543         * dl-reloc.c: Inlucde libc-internal.h.
32544         (_dl_try_allocate_static_tls): Call ALIGN_UP.
32545         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
32546         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
32547         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
32548         (grow_heap): Likewise.
32549         * malloc/malloc.c: Include libc-internal.h.
32550         (do_check_malloc): Call powerof2.
32551         (sysmalloc): Use pagesize. Call ALIGN_UP.
32552         (systrim): Use pagesize.
32553         (mremap_chunk): Use pagesize. Call ALIGN_UP.
32554         (__libc_valloc): Use pagesize.
32555         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
32557 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32559         [BZ #17991]
32560         * include/sys/resource.h (__getrlimit64): Declare.  Use
32561         libc_hidden_proto.
32562         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
32563         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
32564         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
32565         getrlimit64.
32566         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
32567         __getrlimit64.
32568         [!getrlimit64] (getrlimit64): Define as weak alias of
32569         __getrlimit64.  Use libc_hidden_weak.
32570         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
32571         using __getrlimit64 not __new_getrlimit64.
32572         (__GI_getrlimit64): Likewise.
32573         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
32574         Likewise.
32575         (__GI_getrlimit64): Likewise.
32576         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
32577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
32578         (getrlimit): Add __getrlimit64 alias.
32579         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
32580         Likewise.
32581         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
32582         Remove variable.
32583         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
32584         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
32586 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
32588         * libio/fileops.c: Add missing sys/mman.h
32589         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
32591 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32593         * manual/math.texi (Errors in Math Functions): Clarify goals
32594         regarding inexact and underflow exceptions.
32596 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32598         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
32599         * sysdeps/mips/memset.S: Ditto.
32601 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32603         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
32605 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
32607         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
32608         (__v1longjmp): Remove versioned symbol.
32609         (__v1siglongjmp): Remove alias and versioned symbol.
32610         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
32611         (__v2siglongjmp): Likewise.
32613 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32615         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
32617 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
32619         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
32621 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32623         [BZ #17987]
32624         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
32625         zero result does not depend on the sign resulting from
32626         subtraction.
32627         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32628         Likewise.
32629         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32630         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32631         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32632         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32633         * math/libm-test.inc (remquo_test_data): Add more tests.
32635 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
32637         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
32638         Problem reported by J William Piggott.
32640 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32642         [BZ #17978]
32643         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
32644         products 4 * y and 2 * y where those would overflow.
32645         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32646         Likewise.
32647         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32648         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32649         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32650         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32651         * math/libm-test.inc (remquo_test_data): Add more tests.
32653         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
32655         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
32656         [defined _COMPILING_NEWLIB].
32657         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
32658         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
32660         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
32661         [!defined __mips_isa_rev || __mips_isa_rev < 6].
32663 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32665         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
32666         acquired.
32668 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
32670         [BZ #17792]
32671         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
32672         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
32673         HOST_STACK_END_ADDR): Likewise.
32675 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
32677         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
32678         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
32679         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
32681 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32683         * sysdeps/generic/c++-types.data: New file.
32684         * sysdeps/generic/ld.abilist: New file.
32685         * sysdeps/generic/libBrokenLocale.abilist: New file.
32686         * sysdeps/generic/libanl.abilist: New file.
32687         * sysdeps/generic/libc.abilist: New file.
32688         * sysdeps/generic/libcrypt.abilist: New file.
32689         * sysdeps/generic/libdl.abilist: New file.
32690         * sysdeps/generic/libm.abilist: New file.
32691         * sysdeps/generic/libpthread.abilist: New file.
32692         * sysdeps/generic/libresolv.abilist: New file.
32693         * sysdeps/generic/librt.abilist: New file.
32695 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32697         [BZ #17569]
32698         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32699         Compute absolute value of x as modified by fmod, not original
32700         value of x.
32701         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
32702         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
32703         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
32704         RUN_TEST_ffI_f1_mod8.
32705         (remquo_test_data): Add more tests.
32707 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32709         * sysdeps/init_array/pt-crti.S: New file.
32711 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32713         [BZ #17967]
32714         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
32715         __builtin_fmaf instead of relying on contraction of a * b + c.
32717 2015-02-12  J William Piggott  <elseifthen@gmx.com>
32719         [BZ #17969]
32720         * manual/time.texi: correct the zoneinfo path in the TZ Variable
32721         node.
32723 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32725         [BZ #17964]
32726         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
32727         __builtin_fma instead of relying on contraction of a * b + c.
32729 2015-02-12  Roland McGrath  <roland@hack.frob.com>
32731         * Makeconfig (ASFLAGS): Add -Werror=undef.
32732         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
32733         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
32734         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
32736         * Makeconfig (after-link): New variable.
32737         (+link-pie, +link-pie-tests): Use it.
32738         (+link-static, +link-static-tests): Likewise.
32739         (+link, +link-tests): Likewise.
32740         * Makerules (build-module, build-module-asneeded): Likewise.
32741         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
32742         Likewise.
32743         * elf/Makefile ($(objpfx)ld.so): Likewise.
32745 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
32747         [BZ #17965]
32748         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
32749         both struct timeval and struct timespec.
32751 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32753         [BZ #16560]
32754         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32755         and redefine.
32756         (__ieee754_exp2l): Do not multiply small fractional parts by
32757         M_LN2l.
32758         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
32759         small argument.
32760         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32761         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
32762         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
32763         * math/auto-libm-test-in: Add more tests of exp2.
32764         * math/auto-libm-test-out: Regenerated.
32766 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32768         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
32769         unaligned path.
32771 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32773         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
32774         little endian.
32776 2015-02-12  Andreas Schwab  <schwab@suse.de>
32778         [BZ #15790]
32779         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
32780         Filter out elision flags from value returned in kind.
32781         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
32782         * nptl/tst-pthread-mutexattr.c: New file.
32784 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32786         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
32787         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
32788         into gnu-gnu, and update comment to refer to abi-tags.
32790 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
32792         [BZ #15467]
32793         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
32794         (__sincos): Set errno to EDOM for infinite argument.
32795         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
32796         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
32797         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
32798         (__sincosl): Set errno to EDOM for infinite argument.
32799         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
32800         (__sincosl): Set errno to EDOM for infinite argument.
32801         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
32802         (__sincosl): Set errno to EDOM for infinite argument.
32803         * math/libm-test.inc (sincos_test_data): Test errno setting.
32805 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
32807         * string/strxfrm_l.c: Remove #define STRCMP.
32808         * string/strcoll_l.c: Remove #define STRLEN.
32809         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
32810         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
32812 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
32814         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
32815         * sysdeps/mips/mips32/sfp-machine.h: ... here.
32816         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
32817         * sysdeps/mips/mips64/Makefile: ... here.
32818         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
32819         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
32820         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
32821         * sysdeps/mips/mips64/sfp-machine.h: ... here.
32822         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
32823         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
32824         * sysdeps/mips/mips64/n64/Implies: Likewise.
32826 2015-02-10  Roland McGrath  <roland@hack.frob.com>
32828         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
32829         <sys/time.h>, <string.h>, and <errno.h>.
32830         (dest_offset, dest_address, value, zero): Remove unused variables.
32831         (ldouble): Remove typedef.
32832         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
32833         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
32834         1).  Fix code style.
32835         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
32836         (check): Function removed.
32837         (CHECK): New macro.
32838         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
32839         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
32840         Don't call set_sigaction_FP and remove_sigaction_FP here.
32841         (ldouble_test): Just use 'long double' as macro argument, no need for
32842         the 'ldouble' typedef.
32843         (do_test): Set up SIGFPE handler at start, using plain signal rather
32844         than sigaction.  Fix code style.
32846 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
32848         [BZ #17949]
32849         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
32850         jump label.
32852 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32854         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
32855         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32857         * sysdeps/powerpc/configure.ac: Remove file.
32858         * sysdeps/powerpc/configure: Likewise.
32860         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32861         [sysdep_routines]: Remove wordcopy-power6 object.
32862         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32863         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
32864         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
32865         (__memmove_ppc32): Likewise.
32866         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
32867         file.
32868         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
32869         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
32870         Remove preprocessor.
32872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32873         [sysdep_routines]: Remove wide chars objects.
32874         [wcsmbs]: New rule for wide char objects.
32876         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32877         Remove wordcopy-power6 obejct.
32878         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
32879         Use local call for wordcopy and memcpy symbols.
32880         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
32881         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
32882         implementation for loader.
32883         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
32885         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32886         Remove wordcopy-power7 object.
32887         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
32888         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
32889         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
32890         (_wordcopy_fwd_dest_aligned): Likewise.
32891         (_wordcopy_bwd_aligned): Likewise.
32892         (_wordcopy_bwd_dest_aligned): Likewise.
32894         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
32895         Rewrite to call __memmove_ppc instead of include default
32896         implementation.
32898         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32899         Remove wide chars objects.
32900         [wcsmbs]: New rule for wide char objects.
32902 2015-02-09  Andreas Schwab  <schwab@suse.de>
32904         [BZ #17912]
32905         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32906         in terms of __O_DIRECTORY.
32908 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32910         * time/getdate.c: Include <stdbool.h>.
32911         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
32912         call PTR_MANGLE.
32913         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
32914         PTR_DEMANGLE.
32916 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
32918         Add ersatz _Static_assert on older C hosts
32919         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
32920         pre-C11 C platform that is not known to support _Static_assert.
32922 2015-02-07  Richard Braun  <rbraun@sceen.net>
32924         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
32925         sigstate.
32926         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
32928 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32930         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
32931         priority against unexistent AIO_PRIO_DELTA_MAX.
32932         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
32933         instead of int.
32934         * misc/fchflags.c (fchflags): Likewise.
32935         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
32936         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
32937         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
32938         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
32939         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
32940         Declare macros.
32941         [__USE_MISC] (chflags, fchflags): Declare functions.
32942         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
32943         EINVAL when nfds is greater than FD_SETSIZE.
32944         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
32945         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
32946         45.
32947         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
32948         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
32949         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
32950         MACH_RCV_TIMED_OUT.
32951         * hurd/hurd/signal.h (_hurd_self_sigstate,
32952         _hurd_critical_section_lock, _hurd_critical_section_unlock):
32953         Explicit casts from void *.
32954         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
32955         * abi-tags: Rename gnu-gnu os into gnu.
32957         [BZ #4719]
32958         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
32959         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
32960         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
32961         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
32962         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
32963         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
32965         [BZ #17944]
32966         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
32967         duplicates ADDR->sun_path with sockaddr LEN limitation.
32968         * sysdeps/mach/hurd/connect.c: Include <string.h>
32969         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
32970         * sysdeps/mach/hurd/sendmsg.c: Likewise.
32971         * sysdeps/mach/hurd/sendto.c: Likewise.
32972         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
32973         implementing it by hand.
32975 2015-02-06  Roland McGrath  <roland@hack.frob.com>
32977         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
32978         Use sfi_breg on ldr.
32979         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
32980         Likewise.
32982         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
32983         it's defined.
32984         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
32985         Test SIGSETXID only if it's defined.
32987         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
32989         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
32990         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
32992         * nptl/tst-align2.c: Moved ...
32993         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
32994         * nptl/Makefile (tests): Remove tst-align2.
32995         * sysdeps/unix/sysv/linux/Makefile
32996         [$(subdir) = nptl] (tests): Add tst-align-clone.
32997         * nptl/tst-getpid1.c: Moved ...
32998         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
32999         * nptl/tst-getpid2.c: Moved ...
33000         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
33001         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
33002         * sysdeps/unix/sysv/linux/Makefile
33003         [$(subdir) = nptl] (tests): ... here.
33004         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
33005         * sysdeps/unix/sysv/linux/Makefile
33006         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
33008         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
33009         Drop trailing \n from perror argument.  Use return rather than exit.
33011         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
33012         on [SA_SIGINFO].
33013         * nptl/tst-cancel21.c (do_test): Likewise.
33014         * debug/tst-backtrace6.c: Include <signal.h> first thing.
33015         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
33016         [!SA_SIGINFO]: Make it a stub test.
33018         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
33019         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
33021         * posix/tst-getlogin.c: Move to ...
33022         * login/tst-getlogin.c: ... here.
33023         * posix/Makefile (tests): Move tst-getlogin to ...
33024         * login/Makefile (tests): ... here.
33026         * libio/tst-atime.c (do_test): Move local variables SV and E
33027         inside [ST_NOATIME] conditional.
33029         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
33031         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
33033         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
33034         (wait_code): New function replaces macro.
33035         Call nanosleep rather than syscall.
33037         * nptl/pt-system.c: Rewritten.  Put everything under
33038         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33039         Use IFUNC to redirect when possible.
33041         * nptl/pt-longjmp.c: Rewritten.  Put everything under
33042         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33043         Use IFUNC to redirect when possible.
33045         * nptl/pt-fork.c: Rewritten.  Put everything under
33046         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33047         Use IFUNC to redirect when possible.
33048         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
33050         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
33051         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
33052         unconditionally nowadays.  This included the only reference to
33053         __vdso_clock_gettime that appears outside libc proper.
33054         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
33055         Remove version set (containing only __vdso_clock_gettime).
33056         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
33057         Add attribute_hidden.
33058         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33059         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
33060         libc_hidden_data_def.
33061         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33062         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33064         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
33065         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
33066         setrpcent, and getrpcport to ...
33067         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
33068         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
33069         getrpcbynumber_r, and getrpcent_r to ...
33070         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
33071         * inet/getrpcbyname.c: Moved ...
33072         * sunrpc/getrpcbyname.c: ... here.
33073         * inet/getrpcbyname_r.c: Moved ...
33074         * sunrpc/getrpcbyname_r.c: ... here.
33075         * inet/getrpcbynumber.c: Moved ...
33076         * sunrpc/getrpcbynumber.c: ... here.
33077         * inet/getrpcbynumber_r.c: Moved ...
33078         * sunrpc/getrpcbynumber_r.c: ... here.
33079         * inet/getrpcent.c: Moved ...
33080         * sunrpc/getrpcent.c: ... here.
33081         * inet/getrpcent_r.c: Moved ...
33082         * sunrpc/getrpcent_r.c: ... here.
33083         * inet/Makefile (routines): Move those to ...
33084         * sunrpc/Makefile (routines): ... here.
33085         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
33086         the $(subdirs) list.
33087         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
33088         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
33089         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
33090         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
33092         * elf/Makefile (routines): Include $(all-dl-routines), not just
33093         $(dl-routines).
33094         (rtld-routines): Likewise.  Use = rather than :=.
33095         * sysdeps/aarch64/Makefile [$(subdir) = elf]
33096         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
33097         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
33098         * sysdeps/arm/Makefile: Likewise.
33099         * sysdeps/i386/Makefile: Likewise.
33100         * sysdeps/x86_64/Makefile: Likewise.
33101         * sysdeps/hppa/Makefile [$(subdir) = elf]
33102         (sysdep_routines, sysdep-rtld-routines): Don't add
33103         $(sysdep-dl-routines) to these.
33104         * sysdeps/ia64/Makefile: Likewise.
33105         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
33106         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
33107         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
33108         Don't add dl-static to these; sysdep-dl-routines alone is enough.
33109         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
33110         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
33111         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
33112         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
33113         * sysdeps/powerpc/Makefile [$(subdir) = elf]
33114         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
33115         these; sysdep-dl-routines alone is enough.
33117 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
33119         [BZ #17932]
33120         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
33121         where multiplication results in zero and third argument is finite
33122         and nonzero.
33123         * math/auto-libm-test-in: Add more tests of fma.
33124         * math/auto-libm-test-out: Regenerated.
33126         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
33127         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
33128         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
33129         (_FP_CMP_EQ): Likewise.
33130         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
33132         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
33133         extra argument CHECK_NAN.  Redefine as wrapper around
33134         _FP_EXTEND_CNAN.
33136 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
33138         * version.h (RELEASE): Set to "stable".
33139         (VERSION): Set to "2.21"
33140         * include/features.h (__GLIBC_MINOR__): Set to 21.
33142         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
33144 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33145             Paul Eggert  <eggert@cs.ucla.edu>
33147         [BZ #16618]
33148         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
33149         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
33150         size in bytes. Store needed elements in wpmax. Use needed size
33151         in bytes for extend_alloca.
33153 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
33155         * manual/install.texi: Latest tested versions are GCC 4.9.2,
33156         binutls 2.25, and texinfo 5.2.
33157         * INSTALL: Regenerate.
33158         * sysdeps/nios2/configure: Regenerate.
33159         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
33160         * manual/contrib.texi: Update.
33161         * po/be.po: Update.
33162         * po/bg.po: Update.
33163         * po/ca.po: Update.
33164         * po/cs.po: Update.
33165         * po/da.po: Update.
33166         * po/de.po: Update.
33167         * po/el.po: Update.
33168         * po/eo.po: Update.
33169         * po/es.po: Update.
33170         * po/fi.po: Update.
33171         * po/fr.po: Update.
33172         * po/gl.po: Update.
33173         * po/hr.po: Update.
33174         * po/hu.po: Update.
33175         * po/ia.po: Update.
33176         * po/id.po: Update.
33177         * po/it.po: Update.
33178         * po/ja.po: Update.
33179         * po/ko.po: Update.
33180         * po/lt.po: Update.
33181         * po/nb.po: Update.
33182         * po/nl.po: Update.
33183         * po/pl.po: Update.
33184         * po/pt_BR.po: Update.
33185         * po/ru.po: Update.
33186         * po/rw.po: Update.
33187         * po/sk.po: Update.
33188         * po/sl.po: Update.
33189         * po/sv.po: Update.
33190         * po/tr.po: Update.
33191         * po/uk.po: Update.
33192         * po/vi.po: Update.
33193         * po/zh_CN.po: Update.
33194         * po/zh_TW.po: Update.
33196         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
33197         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
33198         * sysdeps/hppa/dl-irel.h: Remove #warning.
33199         * sysdeps/hppa/entry.h: Provide prototype for
33200         __canonicalize_funcptr_for_compare and cast argument.
33201         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
33202         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
33203         * sysdeps/hppa/sotruss-lib.c: New file.
33204         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
33205         (atomic_compare_and_exchange_val_acq): Use __typeof__.
33206         (atomic_compare_and_exchange_bool_acq): Likewise.
33207         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
33208         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
33210         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
33211         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
33212         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
33214 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
33216         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
33217         called function in non-PIC case.
33219 2015-01-31  David S. Miller  <davem@davemloft.net>
33221         * sysdeps/sparc/sparc32/bits/atomic.h
33222         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
33223         unlock not after it.
33224         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
33225         volatile register usage warnings from the compiler.
33227         * sysdeps/sparc/nptl/sem_init.c: Delete.
33228         * sysdeps/sparc/nptl/sem_post.c: Delete.
33229         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
33230         * sysdeps/sparc/nptl/sem_wait.c: Delete.
33231         * sysdeps/sparc/sparc32/sem_init.c: New file.
33232         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
33233         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
33234         padding explicitly initialized.
33235         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
33236         padding for in-semaphore spinlock.
33237         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
33238         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
33239         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
33240         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
33241         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
33242         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
33243         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
33244         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
33245         version.
33246         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
33247         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
33249 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
33251         [BZ #17801]
33252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33253         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
33254         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
33255         New.
33256         (index_AVX_Fast_Unaligned_Load): Likewise.
33257         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
33258         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
33259         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
33260         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
33261         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
33262         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
33263         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
33264         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
33265         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
33267 2015-01-29  Andreas Schwab  <schwab@suse.de>
33269         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
33271 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
33273         [BZ #17892]
33274         * nscd/nscd_stat.c (send_stats): Initialize DATA.
33276 2015-01-28  Martin Sebor  <msebor@redhat.com>
33278         * math/README.libm-test: Clarify. Add "How to read the test output."
33280 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
33282         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
33283         Define to 0.
33285 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
33287         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
33288         (__HAVE_64B_ATOMICS): Define to 0.
33290 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33292         [BZ #17885]
33293         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
33294         value to set as new flag.
33296         [BZ #16576]
33297         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
33298         and use _ARCH_PPCSQ instead.
33299         (__ieee754_sqrt): Likewise.
33300         (__ieee754_sqrtf): Likewise.
33301         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
33302         _ARCH_PPCSQ is defined.
33303         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
33304         fsqrt instruction.
33305         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
33306         _ARCH_PPCSQ is defined.
33307         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
33308         fsqrts instruction.
33309         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
33311 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33313         * iconv/loop.c: Suppress array out of bound warning caused by GCC
33314         bug (GCC BZ #64739).
33316 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
33318         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
33319         Mark _retval as used.
33320         (lll_futex_wake_unlock): Likewise.
33321         (lll_futex_timed_wait_requeue_pi): Likewise.
33323         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33324         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
33325         register variables.
33327         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
33328         libm_hidden_def.
33330         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
33331         (__bswap_64): Mark as __always_inline.
33333 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
33335         [BZ #15378]
33336         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
33337         when none of the search directories exist.
33339 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33341         [BZ #17869]
33342         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
33343         power8 in .machine directive.
33345         [BZ #17868]
33346         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
33347         set dependency from opd value.
33349 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33351         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33352         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
33353         architecture.
33355 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33357         [BZ #17870]
33358         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
33359         with uint64_t.
33360         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
33361         (uint64_t) 1.
33362         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
33363         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
33364         Replace 1UL with (uint64_t) 1.
33365         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
33366         int with uint64_t.
33368 2015-01-23  Roland McGrath  <roland@hack.frob.com>
33370         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
33371         (if_freenameindex): Likewise.
33373         * resource/getrlimit64.c: Add missing libc_hidden_def.
33375 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
33377         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
33378         __label__.
33379         (_FP_FMA): Likewise.
33380         (_FP_TO_INT_ROUND): Likewise.
33381         (_FP_FROM_INT): Likewise.
33383 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33385         [BZ #16418]
33386         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33387         Make code racy and cancel safe.
33389 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
33391         * sysdeps/arm/unwind-resume.h: Fix copyright year.
33392         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
33393         attribution.
33395         * pwd/tst-getpw.c: Rewrite.
33397         [BZ #17702]
33398         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
33399         (modules-names): Add moddummy1 and moddummy2.
33400         ($(objpfx)tst-rec-dlopen): Define.
33401         * dlfcn/moddummy1.c: New file.
33402         * dlfcn/moddummy2.c: New file.
33403         * dlfcn/tst-rec-dlopen.c: New file.
33404         * elf/dl-cache.c (_dl_load_cache_lookup):
33405         Return char*. Copy result with alloca/strcpy/strdup.
33406         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
33407         returns char*. Free cached. If not saving realname
33408         free cached.
33409         * elf/dl-open.c (dl_open_worker): Do not assert that
33410         _r_debug->r_state is RT_CONSISTENT.
33411         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
33412         returns char*.
33414 2015-01-21  Torvald Riegel  <triegel@redhat.com>
33415             Carlos O'Donell  <carlos@redhat.com>
33417         [BZ #12674]
33418         * nptl/sem_waitcommon.c: New file.
33419         * nptl/sem_wait.c: Include sem_waitcommon.c.
33420         (__sem_wait_cleanup, do_futex_wait): Remove.
33421         (__new_sem_wait): Adapt.
33422         (__new_sem_trywait): New function.
33423         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
33424         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
33425         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
33426         (sem_timedwait): Adapt.
33427         * nptl/sem_post.c (__new_sem_post): Adapt.
33428         (futex_wake): New function.
33429         (__old_sem_post): Add release MO fence.
33430         * nptl/sem_open.c (sem_open): Adapt.
33431         * nptl/sem_init.c (__new_sem_init): Adapt.
33432         (futex_private_if_supported): New function.
33433         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
33434         (__old_sem_getvalue): Add using previous code.
33435         * sysdeps/nptl/internaltypes.h: Adapt.
33436         * nptl/tst-sem13.c (do_test): Adapt.
33437         * nptl/tst-sem11.c (main): Adapt.
33438         * nptl/sem_trywait.c: Remove.
33439         * nptl/DESIGN-sem.txt: Remove.
33440         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
33441         (gen-as-const-headers): Remove structsem.sym.
33442         * nptl/structsem.sym: Remove.
33443         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
33444         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
33445         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
33446         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
33447         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
33448         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
33449         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
33450         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
33451         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
33452         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
33453         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
33454         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
33455         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
33456         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
33457         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
33458         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
33459         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
33460         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
33461         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
33462         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
33463         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
33464         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
33466 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
33468         * INSTALL: Regenerated.
33470         * po/libc.pot: Regenerated.
33472 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
33473             Sandra Loosemore  <sandra@codesourcery.com>
33474             Andrew Jenner  <andrew@codesourcery.com>
33475             Joseph Myers  <joseph@codesourcery.com>
33476             Nathan Sidwell  <nathan@codesourcery.com>
33478         * NEWS: Mention new Nios II port.
33479         * sysdeps/nios2/Implies: New file.
33480         * sysdeps/nios2/Makefile: New file.
33481         * sysdeps/nios2/Subdirs: New file.
33482         * sysdeps/nios2/Versions: New file.
33483         * sysdeps/nios2/__longjmp.S: New file.
33484         * sysdeps/nios2/abort-instr.h: New file.
33485         * sysdeps/nios2/backtrace.c: New file.
33486         * sysdeps/nios2/bits/endian.h: New file.
33487         * sysdeps/nios2/bits/fenv.h: New file.
33488         * sysdeps/nios2/bits/link.h: New file.
33489         * sysdeps/nios2/bits/setjmp.h: New file.
33490         * sysdeps/nios2/bsd-_setjmp.S: New file.
33491         * sysdeps/nios2/bsd-setjmp.S: New file.
33492         * sysdeps/nios2/configure: New generated file.
33493         * sysdeps/nios2/configure.ac: New file.
33494         * sysdeps/nios2/crti.S: New file.
33495         * sysdeps/nios2/crtn.S: New file.
33496         * sysdeps/nios2/dl-init.c: New file.
33497         * sysdeps/nios2/dl-machine.h: New file.
33498         * sysdeps/nios2/dl-sysdep.h: New file.
33499         * sysdeps/nios2/dl-tls.h: New file.
33500         * sysdeps/nios2/dl-trampoline.S: New file.
33501         * sysdeps/nios2/gccframe.h: New file.
33502         * sysdeps/nios2/gmp-mparam.h: New file.
33503         * sysdeps/nios2/jmpbuf-offsets.h: New file.
33504         * sysdeps/nios2/jmpbuf-unwind.h: New file.
33505         * sysdeps/nios2/ldsodefs.h: New file.
33506         * sysdeps/nios2/libc-tls.c: New file.
33507         * sysdeps/nios2/libm-test-ulps: New file.
33508         * sysdeps/nios2/machine-gmon.h: New file.
33509         * sysdeps/nios2/math-tests.h: New file.
33510         * sysdeps/nios2/math_private.h: New file.
33511         * sysdeps/nios2/memusage.h: New file.
33512         * sysdeps/nios2/nptl/Makefile: New file.
33513         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
33514         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
33515         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
33516         * sysdeps/nios2/nptl/pthreaddef.h: New file.
33517         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
33518         * sysdeps/nios2/nptl/tls.h: New file.
33519         * sysdeps/nios2/preconfigure: New file.
33520         * sysdeps/nios2/s_fma.c: New file.
33521         * sysdeps/nios2/s_fmaf.c: New file.
33522         * sysdeps/nios2/setjmp.S: New file.
33523         * sysdeps/nios2/sfp-machine.h: New file.
33524         * sysdeps/nios2/sotruss-lib.c: New file.
33525         * sysdeps/nios2/stackguard-macros.h: New file.
33526         * sysdeps/nios2/stackinfo.h: New file.
33527         * sysdeps/nios2/start.S: New file.
33528         * sysdeps/nios2/sysdep.h: New file.
33529         * sysdeps/nios2/tls-macros.h: New file.
33530         * sysdeps/nios2/tst-audit.h: New file.
33531         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
33532         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
33533         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
33534         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
33535         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
33536         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
33537         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
33538         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
33539         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
33540         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
33541         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
33542         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
33543         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
33544         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
33545         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
33546         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
33547         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
33548         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
33549         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
33550         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
33551         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
33552         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
33553         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
33554         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
33555         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
33556         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
33557         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
33558         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
33559         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
33560         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
33561         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
33562         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
33563         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
33564         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
33565         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
33566         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
33567         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
33568         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
33569         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
33570         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
33571         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
33572         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
33573         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
33574         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
33576 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33578         [BZ #17844]
33579         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
33580         (getutent): Use weak_alias in non SHARED case
33581         and default_symbol_version in SHARED case.
33582         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
33583         (getutent_r, pututline): Likewise.
33584         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
33585         (getutid): Likewise.
33586         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
33587         (getutid_r): Likewise.
33588         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
33589         (getutline): Likewise.
33590         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
33591         (getutline_r): Likewise.
33592         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
33593         (updwtmp): Likewise.
33595 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33597         [BZ #17848]
33598         * sysdeps/s390/s390-32/memcmp.S
33599         (memcmp_g5): Rename to __memcmp_g5.
33600         * sysdeps/s390/s390-32/memcpy.S
33601         (memcpy_g5): Rename to __memcpy_g5.
33602         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33603         (memcpy_mvcle) Rename to __memcpy_mvcle.
33604         * sysdeps/s390/s390-32/memset.S
33605         (memset_g5): Rename to __memset_g5.
33606         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33607         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33608         and use prefixed functions.
33609         * sysdeps/s390/s390-32/multiarch/memcmp.S
33610         (memcmp_z196): Rename to __memcmp_z196.
33611         (memcmp_z10): Rename to __memcmp_z10.
33612         (memcmp): Set alias to __memcmp_g5.
33613         (bcmp): Set alias to __memcmp_g5.
33614         * sysdeps/s390/s390-32/multiarch/memcpy.S
33615         (memcpy_z196): Rename to __memcpy_z196.
33616         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33617         (memcpy_z10): Rename to __memcpy_z10.
33618         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33619         (memcpy): Set alias to __memcpy_g5.
33620         * sysdeps/s390/s390-32/multiarch/memset.S
33621         (memset_z196): Rename to __memset_z196.
33622         Jump to __memset_mvcle instead of memset_mvcle.
33623         (memset_z10): Rename to __memset_z10.
33624         Jump to __memset_mvcle instead of memset_mvcle.
33625         (memset_mvcle) Rename to __memset_mvcle.
33626         (memset): Set alias to __memset_g5.
33627         * sysdeps/s390/s390-64/memcmp.S
33628         (memcmp_z900): Rename to __memcmp_z900.
33629         * sysdeps/s390/s390-64/memcpy.S
33630         (memcpy_z900): Rename to __memcpy_z900.
33631         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33632         (memcpy_mvcle) Rename to __memcpy_mvcle.
33633         * sysdeps/s390/s390-64/memset.S
33634         (memset_z900): Rename to __memset_z900.
33635         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
33636         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33637         and use prefixed functions.
33638         * sysdeps/s390/s390-64/multiarch/memcmp.S
33639         (memcmp_z196): Rename to __memcmp_z196.
33640         (memcmp_z10): Rename to __memcmp_z10.
33641         (memcmp): Set alias to __memcmp_z900.
33642         (bcmp): Set alias to __memcmp_z900.
33643         * sysdeps/s390/s390-64/multiarch/memcpy.S
33644         (memcpy_z196): Rename to __memcpy_z196.
33645         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33646         (memcpy_z10): Rename to __memcpy_z10.
33647         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33648         (memcpy): Set alias to __memcpy_z900.
33649         * sysdeps/s390/s390-64/multiarch/memset.S
33650         (memset_z196): Rename to __memset_z196.
33651         Jump to __memset_mvcle instead of memset_mvcle.
33652         (memset_z10): Rename to __memset_z10.
33653         Jump to __memset_mvcle instead of memset_mvcle.
33654         (memset_mvcle) Rename to __memset_mvcle.
33655         (memset): Set alias to __memset_z900.
33657 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
33659         [BZ #17748]
33660         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
33661         __fesetenv instead of fesetenv.
33663 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33665         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
33666         macro.
33668 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33670         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
33671         regression on LE.
33673         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
33674         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
33675         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33676         strncmp-power8 object.
33677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33678         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
33679         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
33680         * NEWS: Update.
33682 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33683             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33685         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
33686         trailing byte check.
33688 2015-01-13  David S. Miller  <davem@davemloft.net>
33690         * include/signal.h (__sigreturn): Guard with __USE_MISC.
33692 2015-01-13  Roland McGrath  <roland@hack.frob.com>
33694         * login/logout.c (logout): Use memset rather than bzero.
33695         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
33696         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
33697         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
33698         (_gethtbyaddr): Likewise.
33699         * locale/programs/simple-hash.c (bcopy): Macro removed.
33701 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33703         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33704         Add strcmp-power8 object.
33705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33706         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
33707         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
33708         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
33709         __strcmp_power8 implementation.
33710         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
33711         * NEWS: Update.
33713         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33714         Add strncpy-power8 and stpncpy-power8 objects.
33715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33716         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
33717         implementations.
33718         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
33719         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
33720         __stpncpy_power8 implementation.
33721         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
33722         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
33723         __strncpy_power8 implementation.
33724         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
33725         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
33726         * NEWS: Update.
33728         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
33729         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
33730         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
33732         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33733         strncat-power8 object.
33734         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
33735         __strcat_power8 implementation.
33736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33737         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
33738         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
33739         optimized strcat for power8.
33741         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33742         strcpy-power8 and stpcpy-power8 objects.
33743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33744         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
33745         implementations.
33746         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
33747         multiarch stpcpy implementation for POWER8.
33748         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
33749         multiarch strcpy implementation for POWER8.
33750         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
33751         __strcpy_power8 function.
33752         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
33753         stpcpy for POWER8.
33754         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
33755         strcpy for POWER8.
33756         * NEWS: Update.
33758 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
33760         [BZ #16009]
33761         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
33762         weights and rules. Use do_xfrm_cached if data fits in cache,
33763         do_xfrm otherwise.  Moved former main loop to...
33764         * (do_xfrm_cached): New function.
33765         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
33766         find_idx, find_position and stack_push.
33767         * (find_idx): New function.
33768         * (find_position): Likewise.
33769         * localedata/sort-test.sh: Added test run for do_xfrm.
33770         * localedata/xfrm-test.c (main): Added command line option
33771         -nocache to run the test with strings that are too large for
33772         the STRXFRM cache.
33774 2015-01-13  Torvald Riegel  <triegel@redhat.com>
33776         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
33777         variable to lll_futex_wake call, not the value itself.
33779 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
33781         [BZ #17803]
33782         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
33783         twom64.  Adjust value to 0x1p-64L.
33784         (__scalblnl): Only return standard underflowing result for K <=
33785         -64 not K <= -63; adjust exponent for underflowing result by 64
33786         not 63.
33787         * math/libm-test.inc (scalbn_test_data): Add more tests.
33788         (scalbln_test_data): Likewise.
33790         [BZ #17834]
33791         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
33792         0x1p63L.
33793         (__scalblnl): Get new exponent of adjusted subnormal value from ES
33794         not HX.
33795         * math/libm-test.inc (scalbn_test_data): Add more tests.
33796         (scalbln_test_data): Likewise.
33798 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33799             Stefani Seibold  <stefani@seibold.net>
33801         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
33802         (sysdep_routines): Add dl-vdso here, ...
33803         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
33804         (sysdep_routines): ... not here.
33805         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
33806         fallback when vDSO is not presented.
33807         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33808         Define with libc_hidden_proto/libc_hidden_data_def definitions.
33809         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
33810         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
33811         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
33812         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
33813         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
33814         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
33815         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
33816         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
33817         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
33818         fallback configurable symbol when vDSO is not available.
33819         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
33820         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
33821         be able to redefine fallback symbol when vDSO is not available.
33822         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
33823         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
33825 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33827         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
33828         (TLS_INIT_TP): Add tm_capable initialization.
33829         (TLS_DEFINE_INIT_TP): Likewise.
33830         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
33831         TCB.
33832         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
33833         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
33834         calculation.
33835         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
33836         transactoion is lock elision is built and TCB tm_capable is set.
33837         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
33838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33839         (INTERNAL_SYSCALL_NCS): Likewise.
33840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33841         (INTERNAL_SYSCALL_NCS): Likewise.
33842         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
33844         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
33845         for powerpc.
33846         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33847         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
33848         and remove it for 32 bits case.
33849         [pthread_rwlock_t] (__rwelision): New field for lock elision.
33850         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
33851         initialization.
33852         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
33853         Disable lock elision with rdlocks if elision is not available.
33855         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
33856         (sysdep_routines): Add lock elision objects.
33857         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33858         [pthread_mutex_t] (__spins): Rework to add lock elision field.
33859         [pthread_mutex_t] (__elision): Add field.
33860         [__PTHREAD_SPINS]: Adjust to init lock elision field.
33861         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
33862         elision definitions for powerpc.
33863         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
33864         implementation of lock elision for powerpc.
33865         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
33866         implementation of timed lock elision for powerpc.
33867         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
33868         implementation of trylock with lock elision for powerpc.
33869         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
33870         implementaion of unlock for lock elision for powerpc.
33871         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
33872         automatic enable lock elision for mutexes.
33873         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
33874         transaction execution definitions for powerpc.
33875         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
33876         definitions.
33877         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
33878         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
33879         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
33880         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
33881         * NEWS: Update.
33883 2015-01-09  Roland McGrath  <roland@hack.frob.com>
33885         * sysdeps/posix/shm-directory.c: Use <> rather than ""
33886         for #include of <shm-directory.h>.
33888 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
33890         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
33891         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
33893 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
33895         [BZ #17791]
33896         * NEWS: Mention bug fix.
33897         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
33898         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
33899         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
33901 2015-01-09  Torvald Riegel <triegel@redhat.com>
33903         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
33905 2015-01-09  Torvald Riegel <triegel@redhat.com>
33907         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
33909 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33911         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
33912         pointer and cast to uintptr_t.
33914 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33916         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
33917         removed.
33918         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
33920 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33922         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
33923         of 0.
33925 2015-01-08  Roland McGrath  <roland@hack.frob.com>
33927         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
33928         <nptl/pthreadP.h> instead.
33929         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
33931         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
33932         already defined.
33933         [__SIGRTMIN] (init): Function removed.
33934         [__SIGRTMIN] (initialized): Variable removed.
33935         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
33936         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
33937         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
33938         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
33939         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
33940         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
33941         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
33942         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
33943         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
33944         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
33945         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
33946         * sysdeps/nptl/allocrtsig.c: New file.
33947         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
33948         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
33949         * sysdeps/generic/testrtsig.h: File removed.
33951         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
33952         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
33954         * nptl/nptl-init.c (pthread_functions): Conditionalize
33955         .ptr__nptl_setxid initialization on [SIGSETXID].
33957         * sysdeps/nptl/sys/procfs.h: New file.
33958         * nptl_db/Makefile (headers): Add it.
33959         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
33961         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
33962         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
33963         * nptl/pthread_attr_setaffinity.c: Include it.
33964         * nptl/pthread_setattr_default_np.c: Likewise.
33965         * nptl/check-cpuset.h: New file.
33967 2015-01-08  Richard Henderson  <rth@redhat.com>
33969         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
33970         (CFLAGS-tst-execstack-prog.c): Likewise.
33971         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
33973 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
33974             Sandra Loosemore  <sandra@codesourcery.com>
33975             Andrew Jenner  <andrew@codesourcery.com>
33976             Joseph Myers  <joseph@codesourcery.com>
33977             Nathan Sidwell  <nathan@codesourcery.com>
33979         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
33980         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
33981         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
33982         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
33983         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
33984         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
33985         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
33986         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
33987         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
33988         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
33989         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
33990         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
33991         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
33992         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
33993         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
33994         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
33995         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
33997 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33999         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
34000         timespec struct member in syscall macro.
34001         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
34002         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
34003         first timeval struct member in syscall macro.
34004         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
34006 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
34008         [BZ #17748]
34009         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
34010         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
34011         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
34012         __feupdateenv and define as weak alias of __feupdateenv.  Use
34013         libm_hidden_weak.
34014         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
34015         libm_hidden_def.
34016         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
34017         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
34018         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34019         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
34020         libm_hidden_def.
34021         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
34022         __feupdateenv and define as weak alias of __feupdateenv.  Use
34023         libm_hidden_weak.
34024         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
34025         libm_hidden_def.
34026         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
34027         __feupdateenv and define as weak alias of __feupdateenv.  Use
34028         libm_hidden_weak.
34029         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
34030         libm_hidden_def.
34031         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34032         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
34033         (__feupdateenv): Likewise.
34034         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
34035         __feupdateenv and define as weak alias of __feupdateenv.  Use
34036         libm_hidden_weak.
34037         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34038         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
34039         libm_hidden_def.
34040         * sysdeps/tile/math_private.h (__feupdateenv): New inline
34041         function.
34042         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
34043         libm_hidden_def.
34044         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
34045         __feupdateenv instead of feupdateenv.
34046         (default_libc_feupdateenv_test): Likewise.
34047         (libc_feresetround_ctx): Likewise.
34049 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34051         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
34052         prototype.
34054 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
34056         * posix/regcomp.c (parse_bracket_exp): Initialize type to
34057         COLL_SYM in a couple of places to avoid uninitialized variable
34058         wanings on tilegx gcc 4.8.2.
34060 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34062         * sysdeps/aarch64/strcpy.S: New file.
34063         * sysdeps/aarch64/stpcpy.S: New file.
34064         * NEWS: Updated.
34066 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34068         * sysdeps/aarch64/strrchr.S: New file.
34069         * NEWS: Updated.
34071 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
34073         [BZ #17658]
34074         * stdlib/setenv.c: Fix memory leak when setting large,
34075         duplicate string.
34077 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
34079         [BZ #17273]
34080         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
34081         and tabs from buffer before parsing fstab entry.
34082         * misc/tst-mntent.c (main): Add test for mount entry with
34083         trailing spaces and tabs.
34085 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
34087         [BZ #17748]
34088         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
34089         * math/fesetround.c (fesetround): Rename to __fesetround and
34090         define as weak alias of __fesetround.  Use libm_hidden_weak.
34091         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
34092         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
34093         * sysdeps/arm/fesetround.c (fesetround): Likewise.
34094         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
34095         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
34096         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
34097         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
34098         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
34099         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
34100         __fesetround_inline.
34101         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
34102         __fesetround_inline instead of __fesetround.
34103         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
34104         __fesetround and define as weak alias of __fesetround.  Use
34105         libm_hidden_weak.  Call __fesetround_inline instead of
34106         __fesetround.
34107         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
34108         __fesetround and define as weak alias of __fesetround.  Use
34109         libm_hidden_weak.
34110         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
34111         Likewise.
34112         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
34113         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34114         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
34115         * sysdeps/tile/math_private.h (__fesetround): New inline function.
34116         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
34117         __fesetround and define as weak alias of __fesetround.  Use
34118         libm_hidden_weak.
34119         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
34120         __fesetround instead of fesetround.
34121         (default_libc_feholdexcept_setround): Likewise.
34122         (libc_feholdsetround_ctx): Likewise.
34123         (libc_feholdsetround_noex_ctx): Likewise.
34125         [BZ #17748]
34126         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
34127         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
34128         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34129         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34130         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34131         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
34132         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34133         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
34134         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34135         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34136         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34137         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34138         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34139         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34140         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
34141         libm_hidden_def.
34142         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
34143         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
34144         Likewise.
34145         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34146         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34147         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34148         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34149         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
34150         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34151         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34152         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
34153         __fesetenv instead of fesetenv.
34154         (libc_feresetround_noex_ctx): Likewise.
34155         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34156         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34157         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
34158         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34159         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34160         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34161         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34162         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
34163         (__feupdateenv): Likewise.
34164         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34165         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34166         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34167         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
34169 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
34171         [BZ #17806]
34172         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
34173         addresses have been freed.
34175 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
34177         * resolv/res_init.c (__res_vinit): Improve comments about nserv
34178         and nservall.
34180 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
34182         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
34183         Clean up check_pf allocation pattern. addresses
34185 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34187         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
34188         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
34189         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
34190         * nptl/pthread_exit.c (__pthread_exit): Likewise.
34191         * nptl/pthread_join.c (pthread_join): Likewise.
34192         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
34193         * sysdeps/posix/waitid.c (__waitid): Likewise.
34194         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34195         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34196         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34197         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34198         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34199         Likewise.
34200         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34201         (__libc_pread64): Likewise.
34202         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34203         (__libc_pwrite): Likewise.
34204         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34205         (__libc_pwrite64): Likewsie.
34206         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34207         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34208         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34209         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34210         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34211         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34212         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34214         Likewise.
34215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34216         (__libc_pread64): Likewise.
34217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
34218         Likewise.
34219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34220         (__libc_pwrite64): Likewise.
34221         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
34222         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
34223         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
34224         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
34225         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
34226         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
34227         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
34228         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
34229         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
34230         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
34231         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
34232         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
34233         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
34234         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
34235         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
34236         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
34237         Likewise.
34239 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
34241         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
34242         (CFLAGS-test-double.c): Likewise.
34243         (CFLAGS-test-ldouble.c): Likewise.
34244         (CPPFLAGS-test-ifloat.c): Likewise.
34245         (CPPFLAGS-test-idouble.c): Likewise.
34246         (CPPFLAGS-test-ildoubl.c): Likewise.
34247         (CFLAGS-test-test-fenv.c): Remove variable.
34248         (CFLAGS-test-misc.c): Likewise.
34250 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
34252         [BZ #17797]
34253         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
34254         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
34255         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
34256         CLOCKS_PER_SEC == 1000000.
34257         * time/clocktest.c (main): Replace %ld with %jd and cast to
34258         intmax_t.
34260 2015-01-05  Roland McGrath  <roland@hack.frob.com>
34262         * sysdeps/generic/unwind-resume.h: New file.
34263         * sysdeps/gnu/unwind-resume.c: Include it.
34264         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
34265         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
34266         argument list.
34267         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
34268         global rather than static.
34269         (_Unwind_Resume): Update user.
34270         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
34271         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
34272         rather than static.  Add __attribute__ ((cold)).
34273         (_Unwind_Resume, __gcc_personality_v0): Update callers.
34274         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
34275         * sysdeps/arm/arm-unwind-resume.S: New file.
34276         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
34277         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
34278         * sysdeps/arm/Makefile [$(subdir) = csu]
34279         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
34280         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34281         Add rt-arm-unwind-resume.
34282         [$(subdir) = nptl]
34283         (libpthread-sysdep_routines, libpthread-shared-only-routines):
34284         Add pt-arm-unwind-resume.
34285         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
34286         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
34288 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34290         [BZ #17748]
34291         * include/fenv.h (__feholdexcept): Declare.  Use
34292         libm_hidden_proto.
34293         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
34294         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
34295         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34296         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
34297         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
34298         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
34299         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
34300         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34301         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
34302         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
34303         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34304         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
34305         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
34306         (feholdexcept): Likewise.
34307         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34308         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34309         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34310         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34311         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
34312         __feholdexcept instead of feholdexcept.
34313         (default_libc_feholdexcept_setround): Likewise.
34315 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34317         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
34318         to avoid using stl/str to align destination.
34320 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34322         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
34324 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34326         [BZ #17796]
34327         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
34328         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
34329         Define as weak alias not strong alias.
34331 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34333         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
34334         bltzal with addiupc.
34335         (RTLD_START): Ditto.
34337 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
34339         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
34340         for __vdso_* functions in declarations.
34341         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
34342         definitions.
34343         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
34344         INTERNAL_VSYSCALL): Use struct return types to check for error.
34346         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
34347         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
34348         function with cast from llround().
34349         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
34350         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
34351         Define.
34353 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34355         [BZ #17793]
34356         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
34357         Define as weak alias not strong alias.
34359         [BZ #17635]
34360         * ctype/ctype-c99.c: New file.  isblank implementation moved from
34361         ...
34362         * ctype/ctype-extn.c: ... here.
34363         (__isblank_l): Move to ...
34364         * ctype/ctype-c99_l.c: ... here.  New file.
34365         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
34366         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
34367         Remove variable.
34368         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
34369         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
34370         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
34371         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
34372         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34374         [BZ #17777]
34375         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
34376         (posix_fadvise64): Define as weak alias not strong alias.
34377         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34378         (posix_fallocate64): Likewise.
34379         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
34380         Remove variable.
34381         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
34382         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34383         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34384         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34385         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34387 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
34389         [BZ #16191]
34390         * NEWS: Mention bug fix.
34391         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
34392         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
34393         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
34394         (HOST_STACK_END_ADDR): Likewise.
34396 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34398         [BZ #17748]
34399         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
34400         * math/fegetround.c (fegetround): Rename to __fegetround and
34401         define as weak alias of __fegetround.  Use libm_hidden_weak.
34402         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
34403         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
34404         * sysdeps/arm/fegetround.c (fegetround): Likewise.
34405         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
34406         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34407         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
34408         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
34409         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
34410         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34411         Undefine after rather than before function definition; use
34412         parentheses around function name in definition.
34413         (__fegetround): Also undefine macro after function definition.
34414         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
34415         __fegetround and define as weak alias of __fegetround.  Use
34416         libm_hidden_weak.  Do not undefine as macro.
34417         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34418         Likewise.
34419         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
34420         __fegetround and define as weak alias of __fegetround.  Use
34421         libm_hidden_weak.
34422         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34423         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34424         * sysdeps/tile/math_private.h (__fegetround): New inline function.
34425         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
34426         __fegetround and define as weak alias of __fegetround.  Use
34427         libm_hidden_weak.
34428         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
34429         __fegetround instead of fegetround.
34431         [BZ #17782]
34432         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
34433         Condition macro definition on [__USE_MISC].
34435         [BZ #17781]
34436         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34437         (struct sigaction): Change type of sa_flags field to int.
34439         [BZ #17780]
34440         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
34441         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
34442         __glibc_reserved0.
34444         * nptl/version.c (banner): Use single year in copyright notice.
34446         * NEWS: Update copyright dates.
34447         * catgets/gencat.c (print_version): Likewise.
34448         * csu/version.c (banner): Likewise.
34449         * debug/catchsegv.sh: Likewise.
34450         * debug/pcprofiledump.c (print_version): Likewise.
34451         * debug/xtrace.sh (do_version): Likewise.
34452         * elf/ldconfig.c (print_version): Likewise.
34453         * elf/ldd.bash.in: Likewise.
34454         * elf/pldd.c (print_version): Likewise.
34455         * elf/sotruss.sh: Likewise.
34456         * elf/sprof.c (print_version): Likewise.
34457         * iconv/iconv_prog.c (print_version): Likewise.
34458         * iconv/iconvconfig.c (print_version): Likewise.
34459         * locale/programs/locale.c (print_version): Likewise.
34460         * locale/programs/localedef.c (print_version): Likewise.
34461         * login/programs/pt_chown.c (print_version): Likewise.
34462         * malloc/memusage.sh (do_version): Likewise.
34463         * malloc/memusagestat.c (print_version): Likewise.
34464         * malloc/mtrace.pl: Likewise.
34465         * manual/libc.texinfo: Likewise.
34466         * nptl/version.c (banner): Likewise.
34467         * nscd/nscd.c (print_version): Likewise.
34468         * nss/getent.c (print_version): Likewise.
34469         * nss/makedb.c (print_version): Likewise.
34470         * posix/getconf.c (main): Likewise.
34471         * scripts/test-installation.pl: Likewise.
34472         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
34474 2015-01-02  Will Newton  <will.newton@linaro.org>
34476         * sysdeps/arm/armv7/configure: Removed.
34477         * sysdeps/arm/armv7/configure.ac: Likewise.
34479 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34481         * All files with FSF copyright notices: Update copyright dates
34482         using scripts/update-copyrights.
34483         * intl/plural.c: Regenerated.
34484         * locale/programs/charmap-kw.h: Likewise.
34485         * locale/programs/locfile-kw.h: Likewise.
34487 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34489         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
34491 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34493         [BZ #17748]
34494         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
34495         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
34496         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34497         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34498         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34499         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
34500         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34501         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
34502         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34503         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34504         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34505         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34506         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34507         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34508         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
34509         libm_hidden_def.
34510         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
34511         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
34512         Likewise.
34513         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34514         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34515         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34516         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34517         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
34518         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34519         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34520         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
34521         __fegetenv instead of fegetenv.
34522         (libc_feholdsetround_noex_ctx): Likewise.
34524 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34526         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
34527         (Elf_MIPS_ABIFlags_v0): New structure.
34528         (EF_MIPS_FP64): Define.
34529         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
34530         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
34531         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
34532         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
34533         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
34534         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
34535         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
34536         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
34537         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
34538         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
34539         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
34540         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
34541         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
34542         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
34543         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
34544         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
34545         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
34546         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
34547         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
34548         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
34549         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
34550         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
34551         field.
34552         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
34553         EF_MIPS_FP64.
34554         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
34555         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
34556         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
34557         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
34558         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
34559         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
34560         * sysdeps/mips/tst-abi-interlink.c: Likewise.
34561         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
34562         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
34563         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
34564         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
34565         record the current FP ABI extension.
34566         (mips-mode-switch): Define to show if kernel headers support mode
34567         switching.
34568         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
34569         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
34570         supported SYSV ABI version to 3.
34571         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
34572         feature.
34574 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34575             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34577         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
34578         path.
34579         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
34581 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34583         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
34584         __fegetround and redefine to call __fegetround.  Remove condition
34585         on [!__NO_MATH_INLINES].
34586         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
34587         function.
34588         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
34589         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
34590         Remove macro.
34591         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
34592         instead of <fenv_libc.h>.
34593         (__llrintl): Call fegetround instead of __fegetround.
34594         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
34595         instead of <fenv_libc.h>.
34596         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34597         (__lrintl): Call fegetround instead of __fegetround.
34598         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
34599         instead of <fenv_libc.h>.
34600         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34601         (__rintl): Call fegetround instead of __fegetround.
34603 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34605         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
34606         arrays.
34608 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34610         [BZ #17775]
34611         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
34612         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
34613         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
34615 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34617         * sysdeps/i386/tls-macros.h: Include <features.h>.
34618         (TLS_LE): Use non-PIC version for GCC >= 5.0.
34619         (TLS_IE): Likewise.
34620         (TLS_LD): Likewise.
34621         (TLS_GD): Likewise.
34622         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
34623         define for GCC >= 5.0.
34625 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
34627         * math/test-fenv.c (test_single_exception, set_single_exc,
34628         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
34629         feexcp_mask_test, feenable_test, fe_single_test): Add
34630         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
34631         case where they are not used.
34632         * math/libm-test.inc: Likewise.
34633         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
34634         unused in the absence of FP rounding/exception support.
34635         * stdio-common/tst-printf-round.c: Likewise.
34636         * stdlib/tst-strtod-round.c: Likewise.
34637         * stdlib/tst-strtod-underflow.c: Likewise.
34639 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
34641         [BZ #17723]
34642         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
34643         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
34644         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34645         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34646         libm_hidden_weak.
34647         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
34648         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34649         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
34650         libm_hidden_def.
34651         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34652         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34653         libm_hidden_weak.
34654         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
34655         Likewise.
34656         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
34657         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34658         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34659         libm_hidden_weak.
34660         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34661         libm_hidden_def.
34662         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
34663         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
34664         (__feraiseexcept): Likewise.
34665         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34666         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34667         libm_hidden_weak.
34668         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34669         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34670         libm_hidden_def.
34671         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
34672         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
34673         Use libm_hidden_def.
34674         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
34675         libm_hidden_def.
34676         (feraiseexcept): Define as weak not strong alias.  Use
34677         libm_hidden_weak.
34678         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
34679         New inline function.  Factored out of ...
34680         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
34681         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
34682         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
34683         feraiseexcept.
34684         * math/w_acos.c (__acos): Likewise.
34685         * math/w_asin.c (__asin): Likewise.
34686         * math/w_ilogb.c (__ilogb): Likewise.
34687         * math/w_j0.c (y0): Likewise.
34688         * math/w_j1.c (y1): Likewise.
34689         * math/w_jn.c (yn): Likewise.
34690         * math/w_log.c (__log): Likewise.
34691         * math/w_log10.c (__log10): Likewise.
34692         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
34693         * sysdeps/aarch64/fpu/math_private.h
34694         (libc_feupdateenv_test_aarch64): Likewise.
34695         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34696         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
34697         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
34698         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34699         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34700         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34701         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
34702         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34703         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34704         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34706 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34708         [BZ #17732]
34709         * io/test-utime.c (main): Replace %ld with %jd and cast to
34710         intmax_t.
34711         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
34712         * nptl/tst-mutex5.c: Include <stdint.h>.
34713         (do_test): Replace %ld with %jd and cast to intmax_t.
34714         * posix/tst-regex.c (run_test): Likewise.
34715         (run_test_backwards): Likewise.
34716         * rt/tst-clock.c: Include <stdint.h>.
34717         (clock_test): Replace %ld with %jd and cast to intmax_t.
34718         * rt/tst-cpuclock1.c: Include <stdint.h>.
34719         (do_test): Replace %lu with %ju and cast to uintmax_t.
34720         * rt/tst-cpuclock2.c: Include <stdint.h>.
34721         (do_test): Replace %lu with %ju and cast to uintmax_t.
34722         * rt/tst-mqueue1.c: Include <stdint.h>.
34723         (check_attrs): Replace %ld with %jd and cast to intmax_t.
34724         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
34725         intmax_t.
34726         * rt/tst-mqueue4.c (do_test): Likewise.
34727         * rt/tst-timer4.c: Include <stdint.h>.
34728         (check_ts): Replace %ld with %jd and cast to intmax_t.
34729         (do_test): Likewise.
34730         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
34731         and cast to intmax_t.
34732         * sysdeps/pthread/tst-timer.c (main): Likewise.
34733         * time/clocktest.c (main): Likewise.
34734         * time/tst-posixtz.c (do_test): Likewise.
34735         * timezone/tst-timezone.c (main): Likewise.
34737 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34738             H.J. Lu  <hongjiu.lu@intel.com>
34740         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
34741         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34742         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
34743         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
34744         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
34745         version if bit_Fast_Unaligned_Load is set.
34746         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34747         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34748         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34749         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34750         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34751         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34752         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34753         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
34754         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
34755         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
34756         to 4.
34757         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
34758         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
34759         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
34760         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
34762 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
34764         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
34765         instead of #if to avoid a Wundef warning.
34766         * stdlib/tst-limits.c (do_test): Likewise.
34768         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
34769         parallel other exception macros.
34770         (fegetenv): Convert from macro to extern inline so that it applies
34771         retroactively to inline functions already seen by the compiler.
34772         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
34774         * posix/Makefile (before-compile): Use $(objpfx) for
34775         posix-conf-vars-def.h.
34777 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34779         * posix/getconf.c (main): Use size_t for type of I.
34780         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
34781         NSPEC.
34783         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
34784         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
34785         * posix/posix-envs.def: Likewise.
34786         * sysdeps/posix/sysconf.c: Likewise.
34787         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
34788         (specs): Remove array.
34789         * scripts/gen-posix-conf-vars.awk: Support generation of specs
34790         array.
34792         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
34793         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
34794         (__sysconf): Use CONF_IS_* macros.
34796         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
34797         ($(objpfx)posix-conf-vars-def.h): New target.
34798         * posix/posix-conf-vars.list: New file.
34799         * posix/posix-conf-vars.h: New file.
34800         * posix/confstr.c: Include posix-conf-vars.h.
34801         (confstr): Use CONF_IS_* macros.
34802         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
34803         CONF_IS_* macros.
34804         * scripts/gen-posix-conf-vars.awk: New file.
34806 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
34808         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
34809         fegetround): Add no-op macros to avoid linknamespace issues.
34811         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
34812         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
34814         * sysdeps/unix/sysv/linux/tile/sysdep.h
34815         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
34816         assembly-specific section to avoid a redefinition warning.
34818         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
34819         long before casting to pointer to avoid a cast warning.
34821 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
34823         * sysdeps/tile/tilegx/Implies: New file.
34825 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
34827         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
34829 2014-12-23  Florian Weimer  <fweimer@redhat.com>
34831         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
34833 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34835         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
34836         not define.
34837         * sysdeps/unix/sysv/linux/utimes.c: Do not include
34838         <kernel-features.h>.
34839         (__utimes) [__NR_utimes]: Make code unconditional.
34840         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
34841         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34842         (__ASSUME_UTIMES): Do not undefine.
34843         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34844         (__ASSUME_UTIMES): Likewise.
34845         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34846         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
34847         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
34848         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
34850 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34852         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
34854 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
34856         [BZ #17747]
34857         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
34858         alias to weak alias for j0l, y0l.
34859         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
34860         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
34862         [BZ #17746]
34863         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
34864         conversion.
34866 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34868         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
34869         to zero if not already defined.
34871 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34873         [BZ #17724]
34874         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
34875         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
34876         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
34877         (char *) casts added.
34878         * sysdeps/ieee754/k_standardf.c: New file.
34879         * sysdeps/ieee754/k_standardl.c: Likewise.
34880         * math/Makefile (libm-support): Remove k_standard.
34881         (libm-calls): Add k_standard.
34883 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34885         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34886         Optimize to avoid an unnecessary FPCR read.
34888 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34890         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
34891         Optimize to reduce FPCR/FPSR accesses.
34893 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34895         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
34896         Call libc_fetestexcept_aarch64.
34898 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34900         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
34901         Call libc_fesetround_aarch64.
34903 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34905         [BZ #17733]
34906         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
34907         (__bind): Do not define as weak alias.
34908         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
34909         define.
34910         (__getsockname): Do not define as weak alias.
34912 2014-12-22  Will Newton  <will.newton@linaro.org>
34914         * manual/install.texi: Document that we require bison 2.7
34915         or above.
34916         * INSTALL: Regenerate.
34917         * configure.ac: Use AC_CHECK_PROG_VER instead of
34918         AC_PATH_PROG when checking for bison and check for
34919         version 2.7 or above.
34920         * configure: Regenerate.
34922 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
34924         [BZ #17745]
34925         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
34926         * sysdeps/tile/ffsll.c (ffsll): To here.
34928         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
34930 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34932         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
34933         if not defined.
34934         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
34935         definition.
34936         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34937         hidden ___tls_get_addr.
34938         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34939         hidden __tls_get_addr.
34940         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
34941         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
34942         Likewise.
34944 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
34946         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
34947         _dl_init call.
34949 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34951         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
34952         from "call _dl_init@PLT".
34953         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
34955 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
34957         * manual/search.texi: (Array Sort Function): Clarify stable sorting
34958         guarantees.
34960 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
34962         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
34964 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34966         [BZ #17744]
34967         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
34968         strnlen.
34970 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34972         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
34973         of multu on MIPSr6.
34974         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
34975         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
34976         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
34977         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
34978         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
34980 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34982         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
34983         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
34984         (PTR_SUBU): Use subu for mips32r6/mips64r6.
34985         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
34986         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
34987         mips32r6/mips64r6.
34988         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
34990 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
34992         * string/strncat.c (STRNCAT): Simplify implementation.
34994 2014-12-19  David S. Miller  <davem@davemloft.net>
34996         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
34997         access the quad as both a long double and as a series of 4 words.
34999         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
35000         link_map->l_info array access.
35002 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35004         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
35006         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
35007         * math/atest-exp2.c (TIMEOUT): Likewise.
35008         * math/atest-sincos.c (TIMEOUT): Likewise.
35010 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35012         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
35013         -Wno-error with -fno-builtin-lround.
35015 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35017         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
35018         Contains futex constants and functions moved over from ...
35019         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
35020         <lowlevellock-futex.h>.
35021         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35022         (lll_timedwait_tid): Add comments and parentheses around macro
35023         arguments.
35025 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35027         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
35028         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
35029         (__lll_private_flag): Remove.
35030         (lll_futex_wait): Likewise.
35031         (lll_futex_timed_wait): Likewise.
35032         (lll_futex_wake): Likewise.
35033         (lll_futex_requeue): Likewise.
35034         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35035         (__lll_timedwait_tid): Spell out argument names.
35036         (lll_timedwait_tid): Add comments and parentheses around macro
35037         arguments.
35038         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
35039         LLL_SHARED and LLL_PRIVATE usable from assembly code.
35041 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35043         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
35044         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
35045         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35046         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
35047         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
35048         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
35049         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
35050         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
35051         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
35052         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
35053         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
35054         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
35055         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
35056         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
35057         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
35058         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
35059         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
35060         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
35061         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
35063 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35065         * sysdeps/x86_64/x32/Makefile: New file.
35067 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35069         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
35070         1L with (mp_limb_t) 1.
35072 2014-12-17  Roland McGrath  <roland@hack.frob.com>
35074         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
35075         * nptl/libc_pthread_init.c: ... here.
35076         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
35077         * nptl/register-atfork.c: ... here.
35079         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
35080         Use pthread_sigmask rather than INTERNAL_SYSCALL.
35081         Use assert_perror to check its return value.
35082         (__gai_create_helper_thread): Likewise.
35084         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
35086         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
35088 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
35090         [BZ #17725]
35091         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
35092         __profil_counter.
35093         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
35094         Likewise.
35095         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
35096         Likewise.
35097         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
35098         Likewise.
35099         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
35100         (profil_counter): Likewise.
35101         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
35102         (profil_counter): Likewise.
35103         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
35104         Likewise.
35105         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
35106         Likewise.
35107         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
35108         (profil_counter): Likewise.
35109         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
35110         Likewise.
35111         [!__profil_counter] (profil_counter): Define as weak alias of
35112         __profil_counter.
35113         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
35114         (profil_counter): Rename to __profil_counter.
35115         [!__profil_counter] (profil_counter): Define as weak alias of
35116         __profil_counter.
35117         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
35118         (profil_counter): Rename to __profil_counter.
35119         [!__profil_counter] (profil_counter): Define as weak alias of
35120         __profil_counter.
35121         * sysdeps/posix/profil.c: Update comment referring to
35122         profil_counter.
35123         (__profil): Use __profil_counter instead of profil_counter.
35124         * sysdeps/posix/sprofil.c (profil_counter): Rename to
35125         __profil_counter.  Use __profil_counter_ushort and
35126         __profil_counter_uint in definitions.
35127         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
35128         instead of profil_counter_uint and profil_counter_ushort.
35130         [BZ #17722]
35131         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
35132         define as weak alias of __inet_makeaddr.
35133         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
35134         as weak alias of __inet_addr.
35135         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
35136         as weak alias of __inet_pton.  Use libc_hidden_weak.
35137         * include/arpa/inet.h (__inet_pton): Declare.  Use
35138         libc_hidden_proto.
35139         (inet_makeaddr): Don't use libc_hidden_proto.
35140         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
35141         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
35142         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
35143         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
35144         Remove variable.
35145         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35146         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35148 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
35150         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
35152 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35154         * stdio-common/bug-vfprintf-nargs.c (do_test):
35155         Cast value to intptr_t to avoid format warning
35156         for usage with PRIdPTR printing macro.
35158 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35160         * libio/tst-widetext.c (do_test):
35161         Use format type %td instead of %Zd for ptrdiff_t
35162         in order to avoid format warning.
35164 2014-12-17  Andreas Schwab  <schwab@suse.de>
35166         * nscd/mem.c (gc): Add size_t cast to match printf format.
35168 2014-12-16  Roland McGrath  <roland@hack.frob.com>
35170         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
35171         (init): Apply PTR_MANGLE to pointers before storing them.
35172         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
35173         before using them.
35175 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
35177         [BZ #17719]
35178         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
35179         define as weak alias of __memrchr.
35180         (__memrchr): Do not define as strong alias of memrchr.
35181         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
35182         Remove variable.
35183         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35184         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35185         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35187         [BZ #17717]
35188         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
35189         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
35190         (if_indextoname): Rename to __if_indextoname and define as weak
35191         alias of __if_indextoname.  Use libc_hidden_weak.
35192         (if_freenameindex): Rename to __if_freenameindex and define as
35193         weak alias of __if_freenameindex.
35194         (if_nameindex): Rename to __if_nameindex and define as weak alias
35195         of __if_nameindex.
35196         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
35197         __if_nametoindex and define as weak alias of __if_nametoindex.
35198         Use libc_hidden_weak.
35199         (if_freenameindex): Rename to __if_freenameindex and define as
35200         weak alias of __if_freenameindex.
35201         (if_nameindex): Rename to __if_nameindex and define as weak alias
35202         of __if_nameindex.
35203         (if_indextoname): Rename to __if_indextoname and define as weak
35204         alias of __if_indextoname.  Use libc_hidden_weak.
35205         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
35206         __if_nametoindex and define as weak alias of __if_nametoindex.
35207         Use libc_hidden_weak.
35208         (if_freenameindex): Rename to __if_freenameindex and define as
35209         weak alias of __if_freenameindex.  Use libc_hidden_weak.
35210         (if_nameindex_netlink): Use __if_freenameindex instead of
35211         if_freenameindex.
35212         (if_nameindex): Rename to __if_nameindex and define as weak alias
35213         of __if_nameindex.  Use libc_hidden_weak.
35214         (if_indextoname): Rename to __if_indextoname and define as weak
35215         alias of __if_indextoname.  Use libc_hidden_weak.
35216         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
35217         libc_hidden_proto.
35218         [!_ISOMAC] (__if_freenameindex): Likewise.
35219         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
35220         if_nametoindex.
35221         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
35222         variable.
35223         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35224         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35225         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35226         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35227         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35228         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35229         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35231         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
35232         Remove variable.
35233         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35234         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35236 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35238         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
35239         subscript above bounds'
35241         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
35242         bounds.
35244 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
35246         * libio/tst-fopenloc.c: Use test-skeleton.c.
35248         * stdlib/tst-bsearch.c: Use test-skeleton.c.
35249         (entry): Rename to ITEM.
35250         (do_test, comp): Adjust.
35252         * stdio-common/tst-fseek.c: Use test-skeleton.c.
35254 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35256         * string/tester.c: Include <libc-internal.h>.
35257         (test_memset): Ignore -Wmemset-transposed-args.
35259 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35261         * misc/tst-mntent2.c (do_test): Fix warning.
35263 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35265         * elf/tst-unique4lib.cc(a): Mark as used.
35267 2014-12-16  Florian Weimer  <fweimer@redhat.com>
35269         [BZ #17630]
35270         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
35271         names.
35273 2014-12-16  Allan McRae  <allan@archlinux.org>
35275         * stdio-common/Makefile (tests): Re-add bug26.
35277 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
35279         [BZ #17657]
35280         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
35281         static array.
35283 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
35285         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
35286         (__lll_lock_wait): Likewise.
35287         (__lll_timedlock_wait): Likewise.
35288         (__lll_timedwait_tid): Likewise.
35289         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
35290         (__lll_robust_timedlock_wait): Likewise.
35291         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
35292         (lll_cond_trylock): Likewise.
35293         (__lll_lock): Likewise.
35294         (__lll_robust_lock): Likewise.
35295         (__lll_cond_lock): Likewise.
35296         (lll_robust_cond_lock): Likewise.
35297         (__lll_timedlock): Likewise.
35298         (__lll_robust_timedlock): Likewise.
35299         (__lll_unlock): Likewise.
35300         (__lll_robust_unlock): Likewise.
35301         (lll_wait_tid): Likewise.
35302         (lll_timedwait_tid): Likewise.
35304 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35306         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
35308 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35310         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
35312 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35314         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
35315         * stdio-common/tst-sprintf.c: Likewise.
35317 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35319         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
35321 2014-12-15  Jeff Law  <law@redhat.com>
35323         [BZ #16617]
35324         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
35325         on the heap.  (CVE-2012-3406)
35326         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
35327         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
35328         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
35330 2014-12-15  Will Newton  <will.newton@linaro.org>
35332         * manual/install.texi: Bump required version of texinfo
35333         to 4.7 from 4.5.
35334         * INSTALL: Regenerated.
35335         * configure.ac: Check for makeinfo version 4.7 and above.
35336         * configure: Regenerated.
35338 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35340         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
35341         PREFIX, string constant to insert between directory and name.
35342         * sysdeps/posix/shm_open.c: Update caller.
35343         * sysdeps/posix/shm_unlink.c: Likewise.
35344         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
35345         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
35346         (SEM_SHM_PREFIX): New macro.
35347         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
35348         [$(have-thread-library) = no].
35349         * nptl/Makefile (libpthread-routines): Add shm-directory.
35350         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
35351         * sysdeps/nptl/shm-directory.h: New file.
35352         * sysdeps/posix/shm-directory.c
35353         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
35354         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
35355         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
35356         INTERNAL_SYSCALL.
35357         (__where_is_shmfs): Function removed.
35358         (mountpoint, defaultmount, defaultdir, __namedsem_once):
35359         Variables removed.
35360         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
35361         Use SHM_GET_NAME.
35362         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
35364         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
35365         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
35366         unconditional for use inside libpthread.
35367         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
35369 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35371         * nptl/pthread_getaffinity.c: New file.
35372         * nptl/pthread_setaffinity.c: New file.
35373         * nptl/pthread_getname.c: New file.
35374         * nptl/pthread_setname.c: New file.
35376         * nptl/pthread_create.c (START_THREAD_DEFN)
35377         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
35379 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35380             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35382         * resolv/res_send.c (send_vc): Disable warning resplen may
35383         be used uninitialized.
35385 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35387         * nptl/tst-mutex6.c
35388         (ATTR_NULL): New define checks ATTR against NULL.
35389         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
35390         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
35392 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
35394         [BZ #17581]
35395         * malloc/hooks.c
35396         (mem2mem_check): Revert my previous change.
35397         (malloc_check_get_size): Revert my previous change.
35398         (mem2chunk_check): Revert my previous change.
35400 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35402         * sysdeps/posix/shm-directory.c: New file.
35403         * sysdeps/posix/shm-directory.h: New file.
35404         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
35405         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
35406         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
35407         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
35408         Transmute EPERM to EACCES.
35409         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
35410         from ...
35411         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
35412         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
35414 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35416         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
35417         pointer and cast to uintptr_t.
35418         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
35419         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
35420         Add cast to avoid warning.
35421         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
35423 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35425         * nptl/semaphore.h: Move to ...
35426         * sysdeps/pthread/semaphore.h: ... here.
35427         * Makefile (installed-headers): Change nptl/semaphore.h to
35428         sysdeps/pthread/semaphore.h.
35430 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35432         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
35433         generated error format strings.
35435         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
35436         -Wformat-extra-args warnings for scanf formats.
35437         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
35438         test of zero-length format (duh).
35439         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
35440         corner-case scanf format test.
35441         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
35442         generated fprintf format string.
35443         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
35444         corner-case sprintf format tests.
35445         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
35446         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
35447         -Wformat-extra-args warnings throughout.
35448         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
35449         (CFLAGS-scanf4.c): Likewise.
35450         (CFLAGS-scanf7.c): Likewise.
35451         (CFLAGS-tst-sprintf.c): Likewise.
35452         (CFLAGS-tst-printf.c): Likewise.
35453         (CFLAGS-tst-printfsz.c): Likewise.
35455 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35457         * include/cpio.h: New file.
35458         * include/fmtmsg.h: Likewise.
35460         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
35461         corresponding format argument to size_t.
35462         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
35463         arguments.
35464         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
35465         corresponding format argument to size_t.
35466         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
35467         arguments.
35468         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
35469         corresponding format argument to size_t.
35470         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
35471         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
35472         (CFLAGS-tst-mbswcs2.c): Likewise.
35473         (CFLAGS-tst-mbswcs3.c): Likewise.
35474         (CFLAGS-tst-mbswcs4.c): Likewise.
35475         (CFLAGS-tst-mbswcs5.c): Likewise.
35476         (CFLAGS-tst-trans.c): Likewise.
35478 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35480         * posix/regexbug1.c (main): Use "%s" format with regerror results,
35481         rather than assuming they won't contain any '%'s.
35483 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
35485         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
35486         inhibit_loop_to_libcall to avoid recursive calls.
35487         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
35488         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
35490 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35492         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
35493         prototype.
35495 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35497         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
35498         integer value instead of boolean.
35500 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35502         * malloc/malloc.c: Fix powerof2 check.
35504 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35506         * locale/programs/locfile.h (maybe_swap_uint32):
35507         Remove inline and add unused attribute.
35509 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35511         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35512         Truncating assembler expression to a .long expression.
35514 2014-12-11  Andreas Schwab  <schwab@suse.de>
35516         * elf/rtld.c (struct map_args): Constify str member.
35517         (do_preload): Constify fname argument.
35519 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35521         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
35522         constants definition.
35524 2014-12-11  Andreas Schwab  <schwab@suse.de>
35526         [BZ #16657]
35527         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
35528         FORCE_ELISION instead of DO_ELISION.
35529         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
35530         Remove.
35531         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
35532         Likewise.
35534         * iconvdata/gconv-modules: Remove duplicate entry.
35536 2014-12-11  Will Newton  <will.newton@linaro.org>
35538         Merge gettext 0.19.3 into intl/.
35540         This involves a number of cosmetic changes to comments
35541         and ANSI function definitions and prototypes throughout
35542         all the files. The gettext copyright header is used but
35543         with the date ranges taken from the glibc copy.
35545         * NEWS: Add gettext merge to 2.21.
35546         * intl/bindtextdom.c: Switch to gettext copyright.
35547         Use ANSI definitions and prototypes.
35548         Use gl_* locking primitives rather than __libc_* ones.
35549         Use __builtin_expect rather than __glibc_likely/unlikely.
35550         * intl/dcgettext.c: Switch to gettext copyright.
35551         Use ANSI definitions and prototypes.
35552         * intl/dcigettext.c: Switch to gettext copyright.
35553         Use ANSI definitions and prototypes.
35554         (INTDIV0_RAISES_SIGFPE): New define.
35555         Use gl_* locking primitives rather than __libc_* ones.
35556         Include eval-plural.h instead of plural-eval.c.
35557         Use __builtin_expect rather than __glibc_likely/unlikely.
35558         * intl/dcngettext.c: Switch to gettext copyright.
35559         Use ANSI definitions and prototypes.
35560         * intl/dgettext.c: Likewise.
35561         * intl/dngettext.c: Likewise.
35562         * intl/plural-eval.c: Renamed to...
35563         * intl/eval-plural.h: ...this.
35564         * intl/explodename.c: Switch to gettext copyright.
35565         Use ANSI definitions and prototypes.
35566         (_nl_explode_name): Use strchr instead of __rawmemchr.
35567         * intl/finddomain.c: Switch to gettext copyright.
35568         Use ANSI definitions and prototypes.
35569         Use gl_* locking primitives rather than __libc_* ones.
35570         (_nl_find_domain): Use malloc rather than alloca for
35571         allocation of temporary locale name.
35572         * intl/gettext.c: Switch to gettext copyright.
35573         Use ANSI definitions and prototypes.
35574         * intl/gettextP.h: Switch to gettext copyright.
35575         Use ANSI definitions and prototypes.
35576         Use gl_* locking primitives rather than __libc_* ones.
35577         * intl/gmo.h: Switch to gettext copyright.
35578         (struct sysdep_string): Move struct segment_pair outside of
35579         struct definition.
35580         * intl/hash-string.c: Use ANSI definitions and prototypes.
35581         * intl/hash-string.h: Switch to gettext copyright.
35582         Use ANSI definitions and prototypes.
35583         * intl/l10nflist.c: Switch to gettext copyright.
35584         Use ANSI definitions and prototypes.
35585         (_nl_normalize_codeset): Avoid integer overflow.
35586         * intl/loadinfo.h: Switch to gettext copyright.
35587         Use ANSI definitions and prototypes.
35588         (LIBINTL_DLL_EXPORTED): New define.
35589         (PATH_SEPARATOR): New define.
35590         * intl/loadmsgcat.c: Switch to gettext copyright.
35591         * intl/localealias.c: Switch to gettext copyright.
35592         Use ANSI definitions and prototypes.
35593         (_nl_expand_alias): Use PATH_SEPARATOR.
35594         * intl/ngettext.c: Switch to gettext copyright.
35595         Use ANSI definitions and prototypes.
35596         * intl/plural-exp.c: Likewise.
35597         * intl/plural-exp.h: Switch to gettext copyright.
35598         Use ANSI definitions and prototypes.
35599         (struct expression): Move definition of enum operator outside
35600         of struct definition.
35601         * intl/plural.c: Regenerate.
35602         * intl/plural.y: Switch to gettext copyright.
35603         Use ANSI definitions and prototypes.
35604         Port to bison 3.0.
35605         * intl/textdomain.c: Switch to gettext copyright.
35606         Use ANSI definitions and prototypes.
35607         Use gl_* locking primitives rather than __libc_* ones.
35609 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
35611         * debug/warning-nop.c: Add used atrribute.
35613 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35615         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
35617         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
35618         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
35619         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
35621 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35622             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35624         [BZ #17634]
35625         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
35626         Undefine after defining function.  Define as weak alias of
35627         __wcschr.  Use libc_hidden_weak.
35628         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
35629         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
35630         (libc_hidden_def): Also define __GI___wcschr alias.
35631         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
35632         __wcschr and define as weak alias of __wcschr.
35633         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
35634         __wcschr.
35635         [!WCSCHR] (DEFAULT_WCSCHR): Define.
35636         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
35637         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
35638         libc_hidden_weak.  Do not use libc_hidden_def.
35639         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
35640         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
35641         __GI___wcschr alias.
35642         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
35643         [IS_IN (libc)] (wcschr): Define as macro expanding to
35644         __redirect_wcschr.
35645         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
35646         [IS_IN (libc)] (__wcschr_power6): Likewise.
35647         [IS_IN (libc)] (__wcschr_power7): Likewise.
35648         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
35649         instead of wcschr.
35650         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
35651         __libc_wcschr.
35652         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
35653         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
35654         __wcschr and define as weak alias of __wcschr.  Use
35655         libc_hidden_builtin_def.
35656         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
35657         as weak alias of __wcschr.  Use libc_hidden_weak.
35658         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
35659         wcschr.
35660         * time/era.c (_nl_init_era_entries): Likewise.
35661         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
35662         variable.
35663         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35664         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35666 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35668         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
35669         format for long int variable.
35671 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
35673         [BZ #10672]
35674         * manual/search.texi: (Array Sort Function): Remove claim how to make
35675         qsort stable.
35677 2014-12-10  Andreas Schwab  <schwab@suse.de>
35679         [BZ #12847]
35680         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
35681         user-controlled locks.
35683 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
35685         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
35686         register.
35688 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35690         * configure.ac (--disable-werror): New configure option.
35691         (enable_werror): New AC_SUBST.
35692         * configure: Regenerated.
35693         * config.make.in (enable-werror): New variable.
35694         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
35695         -Wno-error=undef.
35696         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
35697         * manual/install.texi (Configuring and compiling): Document
35698         --disable-werror.
35699         * INSTALL: Regenerated.
35700         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
35701         (CFLAGS-tst-chk2.c): Likewise.
35702         (CFLAGS-tst-chk3.c): Likewise.
35703         (CFLAGS-tst-chk4.cc): Likewise.
35704         (CFLAGS-tst-chk5.cc): Likewise.
35705         (CFLAGS-tst-chk6.cc): Likewise.
35706         (CFLAGS-tst-lfschk1.c): Likewise.
35707         (CFLAGS-tst-lfschk2.c): Likewise.
35708         (CFLAGS-tst-lfschk3.c): Likewise.
35709         (CFLAGS-tst-lfschk4.cc): Likewise.
35710         (CFLAGS-tst-lfschk5.cc): Likewise.
35711         (CFLAGS-tst-lfschk6.cc): Likewise.
35713         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
35714         (main): Disable -Wdeprecated-declarations around calls to
35715         register_printf_function.
35717         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
35718         (do_test): Disable -Wdiv-by-zero around some calls to
35719         fwrite_unlocked and fread_unlocked.
35721         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
35722         (DIAG_POP_NEEDS_COMMENT): Likewise.
35723         (_DIAG_STR1): Likewise.
35724         (_DIAG_STR): Likewise.
35725         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
35726         * stdio-common/bug21.c: Include <libc-internal.h>.
35727         (do_test): Disable -Wformat around call to sscanf.
35728         * stdio-common/scanf14.c: Include <libc-internal.h>.
35729         (main): Disable -Wformat around some calls to scanf functions.
35731 2014-12-09  Torvald Riegel  <triegel@redhat.com>
35733         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
35735 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35737         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
35738         stack variable alignment.
35740 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
35742         [BZ #17682]
35743         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
35744         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
35745         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
35746         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
35747         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
35748         __getrlimit instead of getrlimit.
35749         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
35750         __gettimeofday instead of gettimeofday.
35751         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35752         Likewise.
35753         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
35754         Likewise.
35755         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35756         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
35757         Remove variable.
35758         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35759         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35761 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35763         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
35764         for wide-character tests.
35766 2014-12-04  Roland McGrath  <roland@hack.frob.com>
35768         * io/openat64.c: #include <libc-internal.h>
35769         (__openat64): Prototypify.  Use ignore_value on MODE.
35770         * io/openat.c: Likewise.
35771         * misc/reboot.c: #include <libc-internal.h>
35772         (reboot): Prototypify.  Use ignore_value on HOWTO.
35773         * misc/ptrace.c: #include <libc-internal.h>
35774         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
35776 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
35778         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
35779         XPG4, UNIX98 and XOPEN2K.
35780         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
35781         Remove variable.
35782         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35784 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35786         * libio/fileops.c: Use ISO C style for function definitions.
35787         * libio/iofopen.c: Likewise.
35788         * libio/wfileops.c: Likewise.
35790         [BZ #17653]
35791         * libio/fileops.c (_IO_new_file_underflow): Unset cached
35792         offset on EOF.
35793         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
35794         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
35795         (fgets_func): Function pointer to fgets and fgetws.
35796         (do_ftell_test): Add test to verify ftell value after read
35797         EOF.
35798         (do_test): Set fgets_func.
35800         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
35801         O_TRUNC flag for w and w+ modes.
35802         (do_rewind_test): Likewise.
35803         (do_ftell_test): Likewise.
35804         (do_write_test): Likewise.
35806         [BZ #17647]
35807         * libio/fileops.c (do_ftell): Seek only when there are
35808         unflushed writes.
35809         * libio/wfileops.c (do_ftell_wide): Likewise.
35810         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
35811         test case.
35812         (do_one_test): Call it.
35814 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
35816         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
35817         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
35818         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
35819         Remove variable.
35820         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35821         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35822         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35824 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35826         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
35827         Remove variable.
35828         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35830         [BZ #17668]
35831         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
35832         as weak alias of __getifaddrs.  Use libc_hidden_weak.
35833         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35834         __freeifaddrs.  Use libc_hidden_weak.
35835         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
35836         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
35837         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35838         __freeifaddrs.  Use libc_hidden_weak.
35839         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
35840         __getifaddrs and define as weak alias of __getifaddrs.  Use
35841         libc_hidden_weak.
35842         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35843         __freeifaddrs.  Use libc_hidden_weak.
35844         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
35845         Remove variable.
35846         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35847         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35849 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
35851         [BZ #17601]
35852         * sysdeps/mips/start.S (__start): Use indirect jump to call
35853         __libc_start_main.
35855 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35857         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
35859         * nptl/tst-mutex1.c: Include <stdbool.h>.
35860         [!ATTR] (ATTR_NULL): New macro.
35861         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
35862         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
35863         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
35865         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
35866         to char *.
35868         [BZ #17665]
35869         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
35870         Change conditional to [__USE_MISC].
35872         [BZ #17664]
35873         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
35874         fgets_unlocked.
35875         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
35876         __fgets_unlocked.
35877         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
35878         fgets_unlocked.
35879         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
35880         Remove variable.
35881         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35882         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35883         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35884         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35885         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35886         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35887         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35888         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35889         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35891         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
35893 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35895         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35896         Remove strpbrk objects.
35897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35898         (__libc_ifunc_impl_list): Remove strpbrk implementation.
35899         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
35900         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
35901         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
35902         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
35904         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35905         Remove strcspn objects.
35906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35907         (__libc_ifunc_impl_list): Remove strcspn implementation.
35908         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
35909         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
35910         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
35911         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
35913         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35914         Remove strspn objetcs.
35915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35916         (__libc_ifunc_impl_list): Remove strspn implementation.
35917         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
35918         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35919         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
35920         * sysdeps/powerpc/powerpc64/strspn.S: New file.
35922 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
35924         [BZ #17581]
35925         * malloc/hooks.c
35926         (mem2mem_check): Add a terminator to the chain of checking blocks.
35927         (malloc_check_get_size): Use it here.
35928         (mem2chunk_check): Ditto.
35930 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35932         * sysdeps/powerpc/powerpc64/strtok.S: New file.
35933         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
35935 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
35937         * bits/ioctl-types.h: Indent preprocessor directives correctly.
35939         * nptl/nptl-init.c: Include libc-internal.h.
35940         (__pthread_initialize_minimal_internal): Use ROUND_UP.
35942         * elf/ldconfig.c (search_dir): Expand comment.
35944 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
35946         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
35947         variable.
35948         (linknamespace-symlist-stdlibs-tests): Likewise.
35949         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
35950         instead of $(objpfx)symlist-stdlibs.
35951         (linknamespace-libs-isoc): New variable.
35952         (linknamespace-libs): Use $(linknamespace-libs-isoc).
35953         (linknamespace-libs-ISO): New variable.
35954         (linknamespace-libs-ISO99): Likewise.
35955         (linknamespace-libs-ISO11): Likewise.
35956         (linknamespace-libs-XPG3): Likewise.
35957         (linknamespace-libs-XPG4): Likewise.
35958         (linknamespace-libs-POSIX): Likewise.
35959         (linknamespace-libs-UNIX98): Likewise.
35960         (linknamespace-libs-XOPEN2K): Likewise.
35961         (linknamespace-libs-POSIX2008): Likewise.
35962         (linknamespace-libs-XOPEN2K8): Likewise.
35963         ($(objpfx)symlist-stdlibs): Replace by
35964         $(linknamespace-symlist-stdlibs-tests).  Use
35965         $(linknamespace-libs-$*) as set of libraries.
35966         ($(linknamespace-header-tests)): Update dependencies.  Use
35967         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
35968         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
35969         * conform/linknamespace.pl: Remove comment about considering
35970         definitions of symbols from irrelevant libraries.
35972 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
35974         [BZ #13862]
35975         * elf/dl-tls.c: Include <atomic.h>.
35976         (oom): Remove #ifdef SHARED/#endif.
35977         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
35978         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
35979         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
35980         big enough.
35981         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
35982         * nptl/Makefile (tests): Add tst-stack4.
35983         (modules-names): Add tst-stack4mod.
35984         ($(objpfx)tst-stack4): New.
35985         (tst-stack4mod.sos): Likewise.
35986         ($(objpfx)tst-stack4.out): Likewise.
35987         ($(tst-stack4mod.sos)): Likewise.
35988         (clean): Likewise.
35989         * nptl/tst-stack4.c: New file.
35990         * nptl/tst-stack4mod.c: Likewise.
35992 2014-11-27  J. Brown  <jb999@gmx.de>
35994         * sysdeps/x86/bits/string.h: Add recent CPUs.
35996 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35998         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
35999         sigblock.
36001         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
36002         feof.
36004         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
36005         variable.
36007 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
36009         * nscd/connections.c: Include libc-internal.h because of macro
36010         usage ignore_value.
36012 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36014         * string/bits/string3.h (__warn_memset_zero_len): Don't
36015         declare for gcc newer than 5.0.
36016         (memset): Don't test for zero-length __LEN for gcc newer than
36017         5.0.
36019 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36021         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
36022         size_t for %zu format.
36024         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
36025         difference, not %ju.
36027 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36029         * include/libc-internal.h (ignore_value): New macro.
36030         * nscd/connections.c (restart): Wrap calls to setuid and setgid
36031         with ignore_value.
36033         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
36034         definition.
36036         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
36037         pthread_cleanup_push to void *.
36039         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
36040         Undefine.
36042         [BZ #16619]
36043         [BZ #16740]
36044         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
36045         instead of 1L << 52.
36047         * libio/bug-rewind.c (do_test): Check fwscanf return values.
36048         * libio/bug-rewind2.c (do_test): Likewise.
36050         * debug/test-stpcpy_chk-ifunc.c: Remove file.
36051         * debug/test-strcpy_chk-ifunc.c: Likewise.
36052         * wcsmbs/test-wcschr-ifunc.c: Likewise.
36053         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36054         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36055         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36056         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36057         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36058         * Rules [$(multi-arch) = no] (tests): Do not filter out
36059         $(tests-ifunc).
36060         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
36061         * debug/Makefile (tests-ifunc): Remove variable.
36062         (tests): Do not add $(tests-ifunc).
36063         * wcsmbs/Makefile (tests-ifunc): Remove variable.
36064         (tests): Do not add $(tests-ifunc).
36065         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
36066         [TEST_IFUNC]: Remove conditionals.
36067         * string/test-string.h (TEST_IFUNC): Remove macro.
36068         [TEST_IFUNC]: Remove conditionals.
36070         * string/test-strchr.c [!WIDE] (L): New macro.
36071         [WIDE] (L): Likewise.
36072         (check1): Use CHAR instead of char.  Use L on string and character
36073         constants.
36075 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
36077         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
36078         tests.
36079         * sysdeps/powerpc/bits/atomic.h
36080         (__arch_atomic_exchange_and_add_32_acq): Add definition.
36081         (__arch_atomic_exchange_and_add_32_rel): Likewise.
36082         (atomic_exchange_and_add_acq): Likewise.
36083         (atomic_exchange_and_add_rel): Likewise.
36084         * sysdeps/powerpc/powerpc32/bits/atomic.h
36085         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36086         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36087         * sysdeps/powerpc/powerpc64/bits/atomic.h
36088         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36089         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36091 2014-11-26  Torvald Riegel  <triegel@redhat.com>
36093         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
36094         Change synchronization of __sched_fifo_min_prio and
36095         __sched_fifo_max_prio.
36096         * nptl/pthread_mutexattr_getprioceiling.c
36097         (pthread_mutexattr_getprioceiling): Likewise.
36098         * nptl/pthread_mutexattr_setprioceiling.c
36099         (pthread_mutexattr_setprioceiling): Likewise.
36100         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
36101         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
36102         Likewise.
36104 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36106         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
36107         void.
36109 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36111         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
36112         third argument const.
36114 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
36116         fnmatch: work around GCC compiler warning bug with uninit var
36117         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
36118         This works around a bug with x86-64 GCC 4.9.2 and earlier
36119         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
36120         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
36121         used uninitialized in this function [-Wmaybe-uninitialized]".
36123 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36125         * posix/bug-regex31.c (main): Return RES not 0.
36127 2014-11-25  Anton Blanchard <anton@samba.org>
36129         * sysdeps/powerpc/bits/atomic.h
36130         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
36132 2014-11-24  Sterling Augustine  <saugustine@google.com>
36134         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
36136 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
36138         [BZ #17608]
36139         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
36141 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
36143         [BZ #17633]
36144         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
36145         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
36146         variable.
36147         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36148         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36150 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36152         * string/strncpy.c (strncpy): Improve performance by using memset.
36154 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36156         * string/strcpy.c (strcpy):
36157         Improve performance by using strlen and memcpy.
36159 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
36161         * string/strcoll_l.c (get_next_seq): __always_inline.
36162         * string/strcoll_l.c (do_compare): __always_inline.
36164 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36166         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
36167         defined.
36168         * include/mqueue.h: Likewise.
36169         * include/stdlib.h: Likewise.
36171         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
36172         (get_null_defines): Adjust.
36173         * sunrpc/Makefile: Adjust comment.
36174         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
36175         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
36176         (CFLAGS-interp.c): Likewise.
36177         (CFLAGS-ldconfig.c): Likewise.
36178         (CPPFLAGS-.os): Likewise.
36179         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36180         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36181         * extra-modules.mk (extra-modules.mk): Likewise.
36182         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
36183         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
36184         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
36185         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
36186         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
36187         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
36188         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
36189         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
36190         * iconvdata/Makefile (CPPFLAGS): Likewise.
36191         (cpp-srcs-left): Add libof for all iconvdata routines.
36192         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
36193         * include/assert.h: Likewise.
36194         * include/ctype.h: Likewise.
36195         * include/errno.h: Likewise.
36196         * include/libc-symbols.h: Likewise.
36197         * include/math.h: Likewise.
36198         * include/netdb.h: Likewise.
36199         * include/resolv.h: Likewise.
36200         * include/stdio.h: Likewise.
36201         * include/stdlib.h: Likewise.
36202         * include/string.h: Likewise.
36203         * include/sys/stat.h: Likewise.
36204         * include/wctype.h: Likewise.
36205         * intl/l10nflist.c: Likewise.
36206         * libidn/idn-stub.c: Likewise.
36207         * libio/libioP.h: Likewise.
36208         * nptl/libc_multiple_threads.c: Likewise.
36209         * nptl/pthreadP.h: Likewise.
36210         * posix/regex_internal.h: Likewise.
36211         * resolv/res_hconf.c: Likewise.
36212         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
36213         * sysdeps/arm/memmove.S: Likewise.
36214         * sysdeps/arm/sysdep.h: Likewise.
36215         * sysdeps/generic/_itoa.h: Likewise.
36216         * sysdeps/generic/symbol-hacks.h: Likewise.
36217         * sysdeps/gnu/errlist.awk: Likewise.
36218         * sysdeps/gnu/errlist.c: Likewise.
36219         * sysdeps/i386/i586/memcpy.S: Likewise.
36220         * sysdeps/i386/i586/memset.S: Likewise.
36221         * sysdeps/i386/i686/memcpy.S: Likewise.
36222         * sysdeps/i386/i686/memmove.S: Likewise.
36223         * sysdeps/i386/i686/mempcpy.S: Likewise.
36224         * sysdeps/i386/i686/memset.S: Likewise.
36225         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36226         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36227         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
36228         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
36229         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36230         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36231         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
36232         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36233         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36234         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36235         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36236         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36237         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36238         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36239         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36240         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36241         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
36242         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
36243         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
36244         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36245         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36246         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36247         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36248         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36249         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36250         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36251         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
36252         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36253         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
36254         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36255         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36256         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36257         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36258         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36259         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36260         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36261         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36262         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36263         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36264         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36265         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36266         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36267         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36268         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36269         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36270         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36271         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
36272         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
36273         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36274         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36275         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36276         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
36277         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
36278         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36279         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36280         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
36281         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36282         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
36283         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
36284         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36285         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36286         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36287         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
36288         * sysdeps/nptl/bits/libc-lock.h: Likewise.
36289         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36290         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
36291         * sysdeps/posix/closedir.c: Likewise.
36292         * sysdeps/posix/opendir.c: Likewise.
36293         * sysdeps/posix/readdir.c: Likewise.
36294         * sysdeps/posix/rewinddir.c: Likewise.
36295         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
36296         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
36297         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36298         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36299         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36300         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
36301         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
36302         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
36303         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
36304         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
36305         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
36306         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
36307         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
36308         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
36309         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
36310         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
36311         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
36312         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
36313         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
36314         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
36315         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
36316         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
36317         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
36318         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
36319         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
36320         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
36321         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
36322         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
36323         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
36324         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
36325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
36326         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
36327         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
36328         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
36329         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
36330         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
36331         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36332         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36333         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
36334         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
36335         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
36336         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
36337         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
36338         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
36339         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
36340         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
36341         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
36342         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
36343         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
36344         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
36345         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
36346         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
36347         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
36348         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
36349         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
36350         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
36351         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
36352         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
36353         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
36354         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
36355         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
36356         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
36357         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
36358         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
36359         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
36360         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
36361         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
36362         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
36363         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
36364         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
36365         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
36366         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
36367         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
36368         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
36369         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
36370         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
36371         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
36372         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
36373         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36374         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
36375         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
36376         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36377         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
36378         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
36379         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36380         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
36381         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
36382         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36383         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36384         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36385         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
36386         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
36387         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
36388         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36389         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36390         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
36391         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36392         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36393         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
36394         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
36395         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36396         * sysdeps/unix/alpha/sysdep.S: Likewise.
36397         * sysdeps/unix/alpha/sysdep.h: Likewise.
36398         * sysdeps/unix/make-syscalls.sh: Likewise.
36399         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36400         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36401         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36402         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
36403         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36404         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
36405         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
36406         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36407         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36408         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
36409         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36410         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36411         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36412         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36413         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36414         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36415         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36416         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36417         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36418         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36419         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
36420         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36421         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36422         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36423         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36424         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36425         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36428         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
36429         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36430         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36431         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36432         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36433         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36434         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36435         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36436         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36437         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36438         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36439         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36440         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36441         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36442         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36443         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36444         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36445         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36446         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36447         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36448         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36449         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36450         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36451         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36452         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36453         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
36454         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36455         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36456         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36457         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
36458         * sysdeps/x86_64/memcpy.S: Likewise.
36459         * sysdeps/x86_64/memmove.c: Likewise.
36460         * sysdeps/x86_64/memset.S: Likewise.
36461         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
36462         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36463         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36464         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
36465         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
36466         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36467         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36468         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36469         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36470         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36471         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36472         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36473         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
36474         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36475         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36476         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
36477         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36478         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36479         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36480         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36481         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
36482         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36483         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36484         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36485         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36486         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36487         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36488         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
36489         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36490         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36491         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
36492         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36493         * sysdeps/x86_64/strcmp.S: Likewise.
36495         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
36497         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
36498         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
36499         * elf/rtld-Rules: Likewise.
36500         * elf/setup-vdso.h: Likewise.
36501         * include/assert.h: Likewise.
36502         * include/bits/stdlib-float.h: Likewise.
36503         * include/errno.h: Likewise.
36504         * include/sys/stat.h: Likewise.
36505         * include/unistd.h: Likewise.
36506         * sysdeps/aarch64/setjmp.S: Likewise.
36507         * sysdeps/alpha/setjmp.S: Likewise.
36508         * sysdeps/arm/__longjmp.S: Likewise.
36509         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
36510         * sysdeps/arm/setjmp.S: Likewise.
36511         * sysdeps/arm/sysdep.h: Likewise.
36512         * sysdeps/generic/_itoa.h: Likewise.
36513         * sysdeps/generic/dl-sysdep.h: Likewise.
36514         * sysdeps/generic/ldsodefs.h: Likewise.
36515         * sysdeps/i386/dl-tls.h: Likewise.
36516         * sysdeps/i386/setjmp.S: Likewise.
36517         * sysdeps/m68k/setjmp.c: Likewise.
36518         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
36519         * sysdeps/mach/hurd/opendir.c: Likewise.
36520         * sysdeps/posix/getcwd.c: Likewise.
36521         * sysdeps/posix/opendir.c: Likewise.
36522         * sysdeps/posix/profil.c: Likewise.
36523         * sysdeps/powerpc/dl-procinfo.h: Likewise.
36524         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36525         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36526         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36527         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36528         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
36529         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36530         * sysdeps/s390/dl-tls.h: Likewise.
36531         * sysdeps/s390/s390-32/setjmp.S: Likewise.
36532         * sysdeps/s390/s390-64/setjmp.S: Likewise.
36533         * sysdeps/sh/sh3/setjmp.S: Likewise.
36534         * sysdeps/sh/sh4/setjmp.S: Likewise.
36535         * sysdeps/unix/alpha/sysdep.h: Likewise.
36536         * sysdeps/unix/arm/sysdep.S: Likewise.
36537         * sysdeps/unix/i386/sysdep.S: Likewise.
36538         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36539         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
36540         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36541         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36542         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36543         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36544         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36545         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36546         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36547         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36548         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
36549         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36550         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36553         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36554         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36555         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36556         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36557         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36558         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36559         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36560         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36561         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36562         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36563         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36564         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36565         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36566         * sysdeps/x86_64/setjmp.S: Likewise.
36568         * include/math.h: Use IS_IN instead of IS_IN_libm.
36569         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
36570         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36571         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36572         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
36573         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36574         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36575         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36576         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36577         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36578         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36579         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
36580         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
36581         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
36582         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
36583         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
36584         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
36585         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
36586         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
36587         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
36588         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
36589         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
36590         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
36591         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
36592         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
36593         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
36594         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
36595         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
36596         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
36597         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
36598         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
36599         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
36600         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36601         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
36602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
36603         Likewise.
36604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
36605         Likewise.
36606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
36607         Likewise.
36608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
36609         Likewise.
36610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
36611         Likewise.
36612         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36613         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
36614         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36615         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36616         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36617         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
36619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
36620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
36621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
36622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
36623         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
36624         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
36625         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
36626         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
36627         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36628         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
36629         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
36630         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36631         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36632         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
36633         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
36634         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
36635         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
36636         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
36637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36638         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
36640         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
36641         * nptl/pthreadP.h: Likewise.
36642         * nptl_db/structs.def: Likewise.
36643         * sysdeps/arm/sysdep.h: Likewise.
36644         * sysdeps/nptl/bits/libc-lock.h: Likewise.
36645         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36646         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
36647         * sysdeps/unix/alpha/sysdep.h: Likewise.
36648         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36649         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36650         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36651         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36652         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36653         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36654         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36655         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36656         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36657         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36658         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36659         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36660         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36661         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36664         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36665         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36666         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36667         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36668         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36669         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36670         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36671         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36672         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
36673         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36675         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
36676         * nptl/pthreadP.h: Likewise.
36677         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36678         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36679         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36680         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36681         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36682         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36683         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36684         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36685         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36686         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36687         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36688         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36690         Likewise.
36691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36692         Likewise.
36693         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36694         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36695         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36696         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36697         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36698         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36699         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36700         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36702         * dlfcn/dladdr.c: Use IS_IN.
36703         * dlfcn/dladdr1.c: Likewise.
36704         * dlfcn/dlclose.c: Likewise.
36705         * dlfcn/dlerror.c: Likewise.
36706         * dlfcn/dlinfo.c: Likewise.
36707         * dlfcn/dlmopen.c: Likewise.
36708         * dlfcn/dlopen.c: Likewise.
36709         * dlfcn/dlsym.c: Likewise.
36710         * dlfcn/dlvsym.c: Likewise.
36712         * include/ifaddrs.h: Use IS_IN.
36713         * inet/check_pf.c: Likewise.
36714         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36715         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
36717         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
36718         IS_IN_ldconfig.
36719         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
36720         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
36722         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
36723         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
36724         IS_IN (libc).
36726         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
36728         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
36729         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36730         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36731         * include/libc-symbols.h (IS_IN_LIB): New macro.
36732         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
36733         * include/netdb.h: Likewise.
36734         * include/stap-probe.h: Remove all uses of IN_LIB.
36736         * Makeconfig (module-cppflags-real): Define MODULE_NAME
36737         instead of IN_MODULE.
36738         * include/libc-symbols.h (IN_MODULE): Define using
36739         MODULE_NAME.
36740         (PASTE_NAME, PASTE_NAME1): New macros.
36741         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
36742         of IN_LIB.
36743         (STAP_PROBE_ASM): Likewise.
36745 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36747         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
36748         __mach_init in dlopened libc.
36750 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
36752         * sysdeps/arm/preconfigure.ac: Delete EABI check.
36753         * sysdeps/arm/preconfigure: Regenerate.
36755 2014-11-21  Roland McGrath  <roland@hack.frob.com>
36757         * nptl/pthread_create.c (__pthread_create_2_1): Set
36758         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
36759         when copying values from IATTR into PD.
36761 2014-11-21  Will Newton  <will.newton@linaro.org>
36762             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
36764         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
36765         Refactor inline-asm.  Also add comment.
36767         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
36768         ElfW macro instead of hardcoded Elf64 types.
36769         (la_aarch64_gnu_pltenter): Likewise.
36770         * sysdeps/aarch64/dl-machine.h
36771         (elf_machine_runtime_setup): Use ElfW(Addr).
36773         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
36774         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
36775         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
36776         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
36777         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
36778         (R_AARCH64_TLS_DTPMOD64): Rename to ..
36779         (R_AARCH64_TLS_DTPMOD): This.
36780         (R_AARCH64_TLS_DTPREL64): Rename to ...
36781         (R_AARCH64_TLS_DTPREL): This.
36782         (R_AARCH64_TLS_TPREL64): Rename to ...
36783         (R_AARCH64_TLS_TPREL): This.
36784         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
36785         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
36786         R_AARCH64_TLS_TPREL64.
36787         (elf_machine_rela): Likewise.
36789 2014-11-21  Torvald Riegel  <triegel@redhat.com>
36791         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
36792         by setting it to 0.  64b atomics are not supported currently.
36794 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36796         [BZ #16469]
36797         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
36798         search domain names.
36800 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36802         [BZ #16469]
36803         * NEWS: Update.
36804         * resolv/res_query.c (__libc_res_nquerydomain): Retain
36805         trailing dot.
36806         * posix/tst-getaddrinfo5.c: New.
36807         * posix/Makefile (tests): Add it.
36809 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36811         [BZ #14498]
36812         * NEWS: Fixed.
36813         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
36814         after parsing line but before break_if_match.
36815         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
36816         if there is a protocol mismatch.
36818 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
36820         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
36821         because the potential race is on the user-supplied stream.
36823 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36825         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
36826         string literal if not passed a buffer.
36827         * manual/job.texi (ctermid): Update reasoning, note deviation
36828         from posix, suggest mtasurace when not passed a buffer, for
36829         future non-preliminary safety notes.
36831 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36833         * manual/users.texi (cuserid): Fix MT-Safety note for the case
36834         of not passing it a buffer.
36835         Reported by Peng Haitao.
36837 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36839         * manual/Makefile ($(objpfx)stamp-summary): Require
36840         check-safety.sh to pass.
36841         * manual/check-safety.sh: Wish for verification that every
36842         @deftypefn and @deftypefun is followed by a @safety remark.
36844 2014-11-20  Roland McGrath  <roland@hack.frob.com>
36846         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
36848         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
36849         PTHREAD_CANCEL_ASYNCHRONOUS.
36850         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
36851         send SIGCANCEL.
36853         * nptl/default-sched.h: New file.
36854         * sysdeps/unix/sysv/linux/default-sched.h: New file.
36855         * nptl/pthread_create.c: Include it.
36856         (__pthread_create_2_1): Use collect_default_sched instead of making
36857         Linux syscalls here directly.
36859 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36861         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
36862         __pthread_once): Use C11 atomics.
36864 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36866         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
36868 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36870         * include/atomic.h (__atomic_link_error, __atomic_check_size,
36871         atomic_thread_fence_acquire, atomic_thread_fence_release,
36872         atomic_thread_fence_seq_cst, atomic_load_relaxed,
36873         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
36874         atomic_compare_exchange_weak_relaxed,
36875         atomic_compare_exchange_weak_acquire,
36876         atomic_compare_exchange_weak_release,
36877         atomic_exchange_acquire, atomic_exchange_release,
36878         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
36879         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
36880         atomic_fetch_and_acquire,
36881         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
36883 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36885         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
36886         USE_ATOMIC_COMPILER_BUILTINS): Define.
36887         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
36888         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36889         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
36890         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36891         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
36892         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36893         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
36894         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36895         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
36896         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36897         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
36898         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36899         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
36900         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36901         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
36902         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36903         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36904         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36905         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36906         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36907         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
36908         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36909         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36910         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36911         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
36912         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36913         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36914         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36915         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
36916         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36917         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
36918         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36919         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
36920         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36921         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36922         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36923         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
36924         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36925         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
36926         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36928 2014-11-19  Roland McGrath  <roland@hack.frob.com>
36930         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
36931         the sched_priority value here.  It was already checked when the user
36932         called pthread_attr_setschedparam.
36934         * nptl/tst-bad-schedattr.c: New file.
36935         * nptl/Makefile (tests): Add it.
36937 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
36938             Florian Weimer  <fweimer@redhat.com>
36939             Joseph Myers  <joseph@codesourcery.com>
36940             Adam Conrad  <adconrad@0c3.net>
36941             Andreas Schwab  <schwab@suse.de>
36942             Brooks  <bmoses@google.com>
36944         [BZ #17625]
36945         * wordexp-test.c (__dso_handle): Add prototype.
36946         (__register_atfork): Likewise.
36947         (__app_register_atfork): New function.
36948         (registered_forks): New global.
36949         (register_fork): New function.
36950         (test_case): Add 3 new tests for WRDE_CMDSUB.
36951         (main): Call __app_register_atfork.
36952         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
36953         fork count is non-zero fail the test.
36954         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
36955         is set.
36956         (parse_dollars): Remove check for WRDE_NOCMD.
36957         (parse_dquote): Likewise.
36959 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36961         * Makeconfig (built-modules): List non-library modules to be
36962         built.
36963         (module-cppflags): Include libc-modules.h for
36964         everything except shlib-versions.v.i.
36965         (CPPFLAGS): Use it.
36966         (before-compile): Add libc-modules.h.
36967         ($(common-objpfx)libc-modules.h,
36968         $(common-objpfx)libc-modules.stmp): New targets.
36969         (common-generated): Add libc-modules.h and libc-modules.stmp.
36970         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
36971         * include/libc-symbols.h: Don't include libc-modules.h.
36972         * include/libc-modules.h: Remove file.
36973         * scripts/gen-libc-modules.awk: New script to generate
36974         libc-modules.h.
36975         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
36976         Depend on libc-modules.stmp.
36978         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
36980         * Makeconfig (in-module): Get value of libof set for the
36981         translation unit.
36982         (CPPFLAGS): Use $(in-module).
36983         * Makerules: Don't suffix routine names for nonlib.
36984         * include/libc-modules.h: New file.
36985         * include/libc-symbols.h: Include libc-modules.h
36986         (IS_IN): New macro to replace IS_IN_* macros.
36987         * elf/Makefile: Set libof-* for each routine.
36988         * elf/rtld-Rules: Likewise.
36989         * extra-modules.mk: Likewise.
36990         * iconv/Makefile: Likewise.
36991         * iconvdata/Makefile: Likewise.
36992         * locale/Makefile: Likewise.
36993         * malloc/Makefile: Likewise.
36994         * nss/Makefile: Likewise.
36995         * sysdeps/gnu/Makefile: Likewise.
36996         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
36997         * sysdeps/unix/sysv/linux/Makefile: Likewise.
36998         * sysdeps/s390/s390-64/Makefile: Likewise.
36999         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
37000         CPPFLAGS for nscd instead of nonlib.
37002 2014-11-18  Roland McGrath  <roland@hack.frob.com>
37004         * nptl/createthread.c: New file.
37006         * nptl/createthread.c: Moved ...
37007         * sysdeps/unix/sysv/linux/createthread.c: ... here.
37009         * nptl/createthread.c: Add proper top-line comment.
37010         (do_clone): Folded into ...
37011         (create_thread): ... here.  Take new arguments STOPPED_START and
37012         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
37013         increment __nptl_threads, do event-reporting logic, do
37014         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
37015         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
37016         resource cleanup if sched_setaffinity or sched_setscheduler fails,
37017         just send SIGCANCEL.
37018         * nptl/pthread_create.c: Forward-declare create_thread before
37019         including createthread.c.
37020         (start_thread): Use new macro START_THREAD_DEFN to replace defining
37021         declaration, and new macro START_THREAD_SELF to replace argument.
37022         Remove return statement.
37023         (report_thread_creation): New function.
37024         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
37025         synchronization logic, and __nptl_nthreads increment here, around
37026         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
37027         PD->parent_cancelhandling here, before create_thread.  When
37028         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
37029         __deallocate_stack, and ENOMEM translation here.
37031 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
37033         [BZ #17616]
37034         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
37035         (mptwo): Rename to __mptwo.
37036         (__inv): Use __mptwo instead of mptwo.
37037         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
37038         (mptwo): Rename to __mptwo.
37039         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
37040         of mpone and __mptwo instead of mptwo.
37041         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
37042         instead of mpone.
37043         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37044         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
37045         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
37046         of mpone and __mptwo instead of mptwo.
37047         (__mpranred): Use __mpone instead of mpone.
37048         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
37049         variable.
37050         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
37051         (test-xfail-ISO99/math.h/linknamespace): Likewise.
37052         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
37053         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
37054         (test-xfail-ISO11/math.h/linknamespace): Likewise.
37055         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37056         (test-xfail-XPG3/math.h/linknamespace): Likewise.
37057         (test-xfail-XPG4/math.h/linknamespace): Likewise.
37058         (test-xfail-POSIX/math.h/linknamespace): Likewise.
37059         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37060         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37061         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37062         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37063         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37064         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37065         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37066         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37067         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37068         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37070 2014-11-18  Tom de Vries  <tom@codesoucery.com>
37072         * manual/signal.texi (Primitives Interrupted by Signals): In section,
37073         replace BSD Handler xref with BSD Signal Handling.
37075 2014-11-17  Richard Henderson  <rth@redhat.com>
37077         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
37078         (_FP_PACK_RAW_2): Remove.
37079         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
37080         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
37081         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
37082         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
37083         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
37084         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
37085         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
37086         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
37087         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
37088         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
37089         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
37090         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
37091         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
37092         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
37093         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
37094         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
37096 2014-11-14  Roland McGrath  <roland@hack.frob.com>
37098         * signal/signal.h [__USE_MISC]
37099         (struct sigvec): Remove type.
37100         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
37101         (sigvec): Remove declaration.
37102         * sysdeps/posix/sigvec.c: Moved ...
37103         * signal/sigvec.c: ... here, replacing old file.
37104         (struct sigvec): New type, copied from old signal.h definition.
37105         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
37106         (__sigvec): Convert definition to prototype.
37107         (sigvec): Replace weak_alias with compat_symbol.
37108         * signal/Versions (libc: GLIBC_2.21): New version set.
37109         * include/signal.h: Remove __sigvec declaration.
37110         * sysdeps/unix/bsd/sigvec.c: Remove file.
37111         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
37112         * manual/signal.texi (BSD Handler): Remove subsection.
37113         Move siginterrupt up to ...
37114         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
37115         (Blocking in BSD): Fold subsection into its parent.
37116         * NEWS: Mention sigvec removal.
37118 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37120         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
37121         (DLA_FMS): Make definition conditional only on [__FMA4__].
37122         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
37123         definition.
37125         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
37126         Make definition conditional only on [PROF].
37127         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
37128         definition.
37129         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
37130         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
37132         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
37133         !__GNUC__].
37134         * include/signal.h (__sigpause): Move declaration above call to
37135         libc_hidden_proto.
37136         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
37137         variable.
37138         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
37139         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37141 2014-11-14  David S. Miller  <davem@davemloft.net>
37143         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
37144         Define before including <string/memcpy.c> and <string/mempcpy.c>.
37146 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37148         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
37149         * configure: Regenerated.
37150         * manual/install.texi (Tools for Compilation): Document a
37151         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
37152         compiler verified to work.
37153         * INSTALL: Regenerated.
37155         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
37156         redeclare with asm name.
37157         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
37158         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
37159         including <string.h>.
37160         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37161         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
37162         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37163         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
37164         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37165         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
37166         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37168 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
37170         * stdlib/strtol.c (__strtol): Use prototype definition.
37172         [BZ #17594]
37173         * stdlib/strtol.c (SYM__): New macro.
37174         (SYM__1): Likewise.
37175         (__strtol): Likewise.
37176         (strtol): Rename to __strtol and define as weak alias of
37177         __strtol.  Use libc_hidden_weak.
37179 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37181         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
37182         Use numbered labels in inline assembly.
37184 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37186         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
37187         Add setjmp LIBC_PROBE.
37188         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
37189         Likewise.
37190         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
37191         Add longjmp, longjmp_target LIBC_PROBE.
37192         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
37193         Likewise.
37195 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37197         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
37198         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
37199         to get rid of unused variable warning.
37201 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37203         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
37204         Check for unwind_backtrace ==  NULL only in SHARED case.
37205         (__backchain_backtrace): Compile only in SHARED case.
37206         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
37207         Likewise.
37208         (__backchain_backtrace): Declare as static.
37210 2014-11-12  Roland McGrath  <roland@hack.frob.com>
37212         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
37213         (__libc_multiple_threads_ptr): Variable moved ...
37214         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
37216 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
37218         * conform/GlibcConform.pm: New file.
37219         * conform/conformtest.pl: Use GlibcConform module.
37220         * conform/linknamespace.pl: New file.
37221         * conform/list-header-symbols.pl: Likewise.
37222         * conform/Makefile (linknamespace-symlists-base): New variable.
37223         (linknamespace-symlists-tests): Likewise.
37224         (linknamespace-header-base): Likewise.
37225         (linknamespace-header-tests): Likewise.
37226         (tests-special): Add new tests.
37227         ($(linknamespace-symlists-tests)): New rule.
37228         (linknamespace-libs): New variable.
37229         ($(objpfx)symlist-stdlibs): New rule.
37230         ($(linknamespace-header-tests)): Likewise.
37231         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
37232         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
37233         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
37234         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
37235         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
37236         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
37237         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
37238         (test-xfail-ISO/math.h/linknamespace): Likewise.
37239         (test-xfail-ISO/signal.h/linknamespace): Likewise.
37240         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
37241         (test-xfail-ISO/time.h/linknamespace): Likewise.
37242         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
37243         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
37244         (test-xfail-ISO99/math.h/linknamespace): Likewise.
37245         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
37246         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37247         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
37248         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
37249         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
37250         (test-xfail-ISO11/math.h/linknamespace): Likewise.
37251         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37252         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37253         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37254         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37255         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
37256         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
37257         (test-xfail-XPG3/math.h/linknamespace): Likewise.
37258         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
37259         (test-xfail-XPG3/search.h/linknamespace): Likewise.
37260         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
37261         (test-xfail-XPG3/time.h/linknamespace): Likewise.
37262         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
37263         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
37264         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37265         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
37266         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
37267         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
37268         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
37269         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
37270         (test-xfail-XPG4/math.h/linknamespace): Likewise.
37271         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
37272         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
37273         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
37274         (test-xfail-XPG4/search.h/linknamespace): Likewise.
37275         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
37276         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
37277         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
37278         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
37279         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
37280         (test-xfail-XPG4/time.h/linknamespace): Likewise.
37281         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
37282         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
37283         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
37284         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
37285         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
37286         (test-xfail-POSIX/math.h/linknamespace): Likewise.
37287         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
37288         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
37289         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
37290         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
37291         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
37292         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
37293         (test-xfail-POSIX/time.h/linknamespace): Likewise.
37294         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
37295         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
37296         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
37297         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37298         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
37299         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
37300         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
37301         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
37302         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
37303         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37304         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
37305         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
37306         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
37307         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
37308         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
37309         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
37310         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
37311         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
37312         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
37313         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
37314         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
37315         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
37316         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
37317         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
37318         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
37319         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
37320         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
37321         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
37322         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37323         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
37324         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
37325         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
37326         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
37327         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
37328         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
37329         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37330         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37331         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
37332         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
37333         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
37334         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37335         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37336         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37337         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
37338         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
37339         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
37340         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
37341         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37342         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37343         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
37344         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
37345         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37346         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37347         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
37348         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
37349         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
37350         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
37351         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37352         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37353         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
37354         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37355         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
37356         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37357         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37358         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37359         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
37360         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37361         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37362         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
37363         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37364         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37365         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37366         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37367         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37368         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
37369         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37370         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37371         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37372         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37373         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
37374         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
37375         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
37376         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37377         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37378         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37379         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
37380         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37381         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
37382         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37383         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37384         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
37385         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37386         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37387         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37388         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
37389         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37390         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37391         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37393         [BZ #17589]
37394         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
37395         of fgets_unlocked.
37397         [BZ #17585]
37398         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
37399         (memmem): Rename to __memmem and define as weak alias of
37400         __memmem.  Use libc_hidden_weak.
37401         (__memmem): Use libc_hidden_def.
37402         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
37403         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
37404         memmem.
37406         [BZ #17582]
37407         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
37408         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
37409         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
37410         and define as weak alias of __fgets_unlocked.  Use
37411         libc_hidden_weak.
37412         (__fgets_unlocked): Use libc_hidden_def.
37413         * include/stdio.h (__fgets_unlocked): Declare.  Use
37414         libc_hidden_proto.
37415         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
37416         __fgets_unlocked instead of fgets_unlocked.
37417         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
37418         (GET_NPROCS_CONF_PARSER): Likewise.
37419         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
37420         (GET_NPROCS_CONF_PARSER): Likewise.
37422         [BZ #17574]
37423         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
37424         weak alias of __wmemset.  Use libc_hidden_weak.
37425         (__wmemset): Use libc_hidden_def.
37426         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
37427         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
37428         of wmemset.
37430         [BZ #17573]
37431         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
37432         with asm name __mempcpy.
37433         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
37435         [BZ #17572]
37436         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
37437         and define as weak alias of __rawmemchr.
37438         (__rawmemchr): Do not define as strong alias of rawmemchr.
37440         [BZ #17571]
37441         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
37442         alias of __qsort_r.
37443         (qsort): Call __qsort_r instead of qsort_r.
37444         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
37445         (__qsort_r): Declare.  Call libc_hidden_proto.
37446         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
37447         instead of qsort_r.
37448         * nscd/gai.c (__qsort_r): Define to qsort_r.
37449         * posix/tst-rfc3484.c (__qsort_r): Likewise.
37450         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
37451         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
37453         [BZ #17570]
37454         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
37455         define as weak alias of __malloc_info.
37457         [BZ #17584]
37458         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
37459         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37460         (__rewinddir): Use libc_hidden_def.
37461         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
37462         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37463         (__rewinddir): Use libc_hidden_def.
37464         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
37465         weak alias of __rewinddir.  Don't use libc_hidden_def.
37466         (__rewinddir): Use libc_hidden_def.
37467         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
37468         (__rewinddir): Use libc_hidden_proto.
37469         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
37470         rewinddir.
37471         (__getcwd): Use __rewinddir instead of rewinddir.
37473         [BZ #17583]
37474         * libio/fileno.c (fileno): Rename to __fileno and define as weak
37475         alias of __fileno.  Use libc_hidden_weak.
37476         (__fileno): Use libc_hidden_def.
37477         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
37478         * libio/ftello.c (ftello): Rename to __ftello and define as weak
37479         alias of __ftello.
37480         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
37481         __ftello.
37482         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
37483         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
37484         libc_hidden_def.
37485         (fread_unlocked): Don't use libc_hidden_ver.
37486         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
37487         and define as weak alias of __fread_unlocked.  Don't use
37488         libc_hidden_def.
37489         (__fread_unlocked): Use libc_hidden_def.
37490         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
37491         (ftello): Don't use libc_hidden_proto.
37492         (__ftello): Declare.  Use libc_hidden_proto.
37493         (fread_unlocked): Don't use libc_hidden_proto.
37494         (__fread_unlocked): Declare.  Use libc_hidden_proto.
37495         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
37496         and __ftello instead of fileno, fread_unlocked and ftello.
37498 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37500         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
37501         GOT12.
37502         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37503         Likewise.
37504         (_dl_start_user): Likewise.
37505         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
37507 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
37508             Siddhesh Poyarekar  <siddhesh@redhat.com>
37510         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
37511         Move argv and envp down instead of moving argc up.
37512         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
37514 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
37516         [BZ #17506]
37517         * test-skeleton.c (main): Return successful if one of
37518         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
37519         * string/tst-strcoll-overflow.c: Define expected status.
37521 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
37523         [BZ #17475]
37524         * locale/iso-639.def: Define Bhili and Tulu language codes.
37526 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
37528         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
37530 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
37532         [BZ #17555]
37533         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
37535 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37537         * configure.ac: Updated check of minimal required version to
37538         2.22.
37539         * manual/install.texi (Tools for Compilation): Updated version
37540         number.
37541         * configure: Regenerated.
37542         * INSTALL: Likewise.
37544 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
37546         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
37547         __tls_get_addr.
37549 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
37551         * include/sys/wait.h (__libc_waitpid): Remove declaration.
37552         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
37553         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37554         libc_hidden_weak.
37555         (waitpid): Define as alias of __waitpid.
37556         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
37557         __waitpid.
37558         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37559         libc_hidden_weak.
37560         (waitpid): Define as alias of __waitpid.
37561         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
37562         __libc_waitpid alias.
37563         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
37564         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
37565         Likewise.
37566         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
37567         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
37568         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
37569         alias.
37570         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
37571         __waitpid.
37572         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37573         libc_hidden_weak.
37574         (waitpid): Define as alias of __waitpid.
37576 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
37578         * manual/llio.texi: Add comment that write safety has been
37579         fixed in Linux.
37581         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
37582         (localplt-build-dso): Add elf/ld.so.
37583         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
37584         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
37585         and free for ld.so.
37586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
37587         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
37588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
37589         Likewise.
37590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
37591         Likewise.
37592         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
37593         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
37594         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
37595         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
37596         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
37597         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
37598         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
37599         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
37600         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
37601         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
37602         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37604 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
37606         [BZ #14132]
37607         * include/libc-symbols.h (INTUSE): Remove macro.
37608         (INTDEF): Likewise.
37609         (INTVARDEF): Likewise.
37610         (_INTVARDEF): Likewise.
37611         (INTDEF2): Likewise.
37612         (INTVARDEF2): Likewise.
37613         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
37614         rtld_hidden_def instead of INTVARDEF.
37615         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
37616         (_dl_starting_up_internal): Remove declaration.
37617         (_dl_starting_up): Use rtld_hidden_proto.
37618         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
37619         declaration.
37620         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
37621         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
37622         _dl_starting_up.
37623         * elf/dl-writev.h (_dl_writev): Likewise.
37624         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
37625         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
37626         _dl_starting_up_internal.
37628 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37630         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
37631         test-skeleton.c.
37633 2014-11-05  Will Newton  <will.newton@linaro.org>
37635         * benchtests/Makefile: (bench-malloc): Add malloc thread
37636         scalability benchmark.
37637         * benchtests/bench-malloc-threads.c: New file.
37639 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
37641         * sysdeps/aarch64/strchrnul.S: New file.
37643 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37645         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
37646         definition.
37647         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37648         Likewise.
37649         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37650         Likewise.
37651         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37652         Likewise.
37653         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37654         Likewise.
37655         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37656         Likewise.
37658 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
37660         * catgets/test-gencat.c: Use test-skeleton.c.
37661         * catgets/tst-catgets.c: Likewise.
37662         * csu/tst-empty.c: Likewise.
37663         * elf/tst-audit2.c: Likewise.
37664         * elf/tst-global1.c: Likewise.
37665         * elf/tst-pathopt.c: Likewise.
37666         * elf/tst-piemod1.c: Likewise.
37667         * elf/tst-tls10.c: Likewise.
37668         * elf/tst-tls11.c: Likewise.
37669         * elf/tst-tls12.c: Likewise.
37670         * gnulib/tst-gcc.c: Likewise.
37671         * iconvdata/tst-e2big.c: Likewise.
37672         * iconvdata/tst-loading.c: Likewise.
37673         * iconv/tst-iconv1.c: Likewise.
37674         * iconv/tst-iconv2.c: Likewise.
37675         * inet/test-inet6_opt.c: Likewise.
37676         * inet/tst-gethnm.c: Likewise.
37677         * inet/tst-network.c: Likewise.
37678         * inet/tst-ntoa.c: Likewise.
37679         * intl/tst-codeset.c: Likewise.
37680         * intl/tst-gettext2.c: Likewise.
37681         * intl/tst-gettext3.c: Likewise.
37682         * intl/tst-ngettext.c: Likewise.
37683         * intl/tst-translit.c: Likewise.
37684         * io/test-stat.c: Likewise.
37685         * libio/test-fmemopen.c: Likewise.
37686         * libio/tst-freopen.c: Likewise.
37687         * libio/tst-sscanf.c: Likewise.
37688         * libio/tst-ungetwc1.c: Likewise.
37689         * libio/tst-ungetwc2.c: Likewise.
37690         * libio/tst-widetext.c: Likewise.
37691         * localedata/tst-ctype.c: Likewise.
37692         * localedata/tst-digits.c: Likewise.
37693         * localedata/tst-leaks.c: Likewise.
37694         * localedata/tst-mbswcs1.c: Likewise.
37695         * localedata/tst-mbswcs2.c: Likewise.
37696         * localedata/tst-mbswcs3.c: Likewise.
37697         * localedata/tst-mbswcs4.c: Likewise.
37698         * localedata/tst-mbswcs5.c: Likewise.
37699         * localedata/tst-setlocale.c: Likewise.
37700         * localedata/tst-trans.c: Likewise.
37701         * localedata/tst-wctype.c: Likewise.
37702         * localedata/tst-xlocale1.c: Likewise.
37703         * login/tst-grantpt.c: Likewise.
37704         * malloc/tst-calloc.c: Likewise.
37705         * malloc/tst-malloc.c: Likewise.
37706         * malloc/tst-mallocstate.c: Likewise.
37707         * malloc/tst-mcheck.c: Likewise.
37708         * malloc/tst-mtrace.c: Likewise.
37709         * malloc/tst-obstack.c: Likewise.
37710         * math/atest-exp2.c: Likewise.
37711         * math/atest-exp.c: Likewise.
37712         * math/atest-sincos.c: Likewise.
37713         * math/test-matherr.c: Likewise.
37714         * math/test-misc.c: Likewise.
37715         * math/test-powl.c: Likewise.
37716         * math/tst-definitions.c: Likewise.
37717         * misc/tst-dirname.c: Likewise.
37718         * misc/tst-efgcvt.c: Likewise.
37719         * misc/tst-fdset.c: Likewise.
37720         * misc/tst-hsearch.c: Likewise.
37721         * misc/tst-mntent2.c: Likewise.
37722         * nptl/tst-sem7.c: Likewise.
37723         * nptl/tst-sem8.c: Likewise.
37724         * nptl/tst-sem9.c: Likewise.
37725         * nss/test-netdb.c: Likewise.
37726         * posix/tst-fnmatch.c: Likewise.
37727         * posix/tst-getlogin.c: Likewise.
37728         * posix/tst-gnuglob.c: Likewise.
37729         * posix/tst-mmap.c: Likewise.
37730         * pwd/tst-getpw.c: Likewise.
37731         * resolv/tst-inet_ntop.c: Likewise.
37732         * rt/tst-timer.c: Likewise.
37733         * stdio-common/test-fseek.c: Likewise.
37734         * stdio-common/test-popen.c: Likewise.
37735         * stdio-common/test-vfprintf.c: Likewise.
37736         * stdio-common/tst-cookie.c: Likewise.
37737         * stdio-common/tst-fileno.c: Likewise.
37738         * stdio-common/tst-gets.c: Likewise.
37739         * stdio-common/tst-obprintf.c: Likewise.
37740         * stdio-common/tst-perror.c: Likewise.
37741         * stdio-common/tst-sprintf2.c: Likewise.
37742         * stdio-common/tst-sprintf3.c: Likewise.
37743         * stdio-common/tst-sprintf.c: Likewise.
37744         * stdio-common/tst-swprintf.c: Likewise.
37745         * stdio-common/tst-tmpnam.c: Likewise.
37746         * stdio-common/tst-unbputc.c: Likewise.
37747         * stdio-common/tst-wc-printf.c: Likewise.
37748         * stdlib/tst-environ.c: Likewise.
37749         * stdlib/tst-fmtmsg.c: Likewise.
37750         * stdlib/tst-limits.c: Likewise.
37751         * stdlib/tst-rand48-2.c: Likewise.
37752         * stdlib/tst-rand48.c: Likewise.
37753         * stdlib/tst-random2.c: Likewise.
37754         * stdlib/tst-random.c: Likewise.
37755         * stdlib/tst-strtol.c: Likewise.
37756         * stdlib/tst-strtoll.c: Likewise.
37757         * stdlib/tst-tls-atexit.c: Likewise.
37758         * stdlib/tst-xpg-basename.c: Likewise.
37759         * string/test-ffs.c: Likewise.
37760         * string/tst-bswap.c: Likewise.
37761         * string/tst-inlcall.c: Likewise.
37762         * string/tst-strtok.c: Likewise.
37763         * string/tst-strxfrm.c: Likewise.
37764         * sysdeps/x86_64/tst-audit10.c: Likewise.
37765         * sysdeps/x86_64/tst-audit3.c: Likewise.
37766         * sysdeps/x86_64/tst-audit4.c: Likewise.
37767         * sysdeps/x86_64/tst-audit5.c: Likewise.
37768         * time/tst-ftime_l.c: Likewise.
37769         * time/tst-getdate.c: Likewise.
37770         * time/tst-mktime3.c: Likewise.
37771         * time/tst-mktime.c: Likewise.
37772         * time/tst-posixtz.c: Likewise.
37773         * time/tst-strptime2.c: Likewise.
37774         * time/tst-strptime3.c: Likewise.
37775         * wcsmbs/tst-btowc.c: Likewise.
37776         * wcsmbs/tst-mbrtowc.c: Likewise.
37777         * wcsmbs/tst-mbsrtowcs.c: Likewise.
37778         * wcsmbs/tst-wchar-h.c: Likewise.
37779         * wcsmbs/tst-wcpncpy.c: Likewise.
37780         * wcsmbs/tst-wcrtomb.c: Likewise.
37781         * wcsmbs/tst-wcsnlen.c: Likewise.
37782         * wcsmbs/tst-wcstof.c: Likewise.
37784 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
37786         [BZ #14132]
37787         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
37788         INTDEF.
37789         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
37790         declaration.
37791         (_dl_mcount): Use rtld_hidden_proto.
37792         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
37793         _dl_mcount.
37794         * elf/rtld.c (_rtld_global_ro): Likewise.
37796         [BZ #14132]
37797         * elf/dl-init.c (_dl_init): Don't use INTDEF.
37798         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
37799         of _dl_init_internal.
37800         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
37801         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
37802         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
37803         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
37804         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
37805         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
37806         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
37807         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
37808         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
37809         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
37810         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
37811         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
37812         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37813         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37814         * sysdeps/tile/dl-start.S (_start): Likewise.
37815         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
37816         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
37818         [BZ #14132]
37819         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
37820         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
37821         (rtld_progname): Make macro definition unconditional.
37822         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
37823         INTDEF.
37824         (dlmopen_doit): Do not use INTUSE with _dl_argv.
37825         (dl_main): Likewise.
37826         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37827         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
37828         instead of _dl_argv_internal.
37829         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37830         __GI__dl_argv instead of INTUSE(_dl_argv).
37831         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
37832         __GI__dl_argv instead of _dl_argv_internal.
37834         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
37835         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
37836         macro.
37837         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
37838         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
37839         New macro.
37840         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
37841         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
37842         macro.
37843         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
37844         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
37846 2014-11-04  Andreas Schwab  <schwab@suse.de>
37848         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
37850 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37852         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
37853         mtvsrd instruction in binary form.
37855 2014-11-03  Andreas Schwab  <schwab@suse.de>
37857         [BZ #17522]
37858         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
37859         for less than MB_LEN_MAX use a local buffer of that size.
37860         * libio/tst-fputws.c: New file.
37861         * libio/Makefile (tests): Add tst-fputws.
37863 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
37865         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
37866         the size of the fpu_fr.fpu_dregs[] array.
37868 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
37870         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
37871         (__nanosleep): Do not define as alias.
37872         (nanosleep): Define as alias of __nanosleep.
37873         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
37874         __libc_nanosleep name.
37876 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37878         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
37879         install.texi in comment.
37881 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37883         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
37884         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
37885         ... add here and use lwsync or sync ...
37886         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
37887         ... and add here using lwsync.
37889 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
37891         * elf/dl-machine-reject-phdr.h: New file.
37892         * elf/dl-load.c: #include that.
37893         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
37894         if that returned true.
37896 2014-10-31  Roland McGrath  <roland@hack.frob.com>
37898         [BZ #17496]
37899         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
37900         gen-as-const-headers chunk.  Add a big scare comment after the last
37901         safe place to touch before-compile.
37903 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37905         * manual/install.texi (Tools for Compilation): Update autoconf
37906         version requirements.
37907         * INSTALL: Regenerated.
37909         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
37910         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
37911         (__libc_pselect): Likewise.
37913         [BZ #14138]
37914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
37915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37919 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37921         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
37922         correct barrier instruction.
37923         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
37924         Likewise.
37925         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
37926         Likewise.
37928 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37930         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
37931         after defining inlines.  Instead, just use parens to defeat macro
37932         expansion of __isctype in its declaration.
37934 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37936         * include/sys/uio.h (__libc_readv): Remove declaration.
37937         (__libc_writev): Likewise.
37938         * misc/readv.c (__libc_readv): Rename to __readv.
37939         (__readv): Do not define as alias.
37940         (readv): Define as alias of __readv.
37941         * misc/writev.c (__libc_writev): Rename to __writev.
37942         (__writev): Do not define as alias.
37943         (writev): Define as alias of __writev.
37944         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
37945         (__readv): Do not define as alias.
37946         (readv): Define unconditionally as alias of __readv.
37947         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
37948         (__writev): Do not define as alias.
37949         (writev): Define unconditionally as alias of __writev.
37950         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
37951         name.
37952         (writev): Do not define __libc_writev name.
37954 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37956         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
37957         (convert_charseq): New function, broken out of ...
37958         (use_from_charmap): ... here.  Call it.
37959         (use_to_charmap): Use convert_charseq and free instead of duplicating
37960         its code with a variable-length stack struct.
37962 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37964         * include/fcntl.h (__libc_creat): Remove declaration.
37965         * io/creat.c (__libc_creat): Rename to creat.
37966         (creat): Do not define as alias.
37967         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
37968         of creat instead of __libc_creat.
37969         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
37970         to creat.
37971         (creat): Do not define as alias.
37972         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
37973         __libc_creat.
37974         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
37975         __libc_creat name.
37976         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
37977         Likewise.
37979 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
37981         * manual/llio.texi: Add comments discussing why write() may be
37982         considered MT-unsafe on Linux.
37984 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
37986         * dl-load.c (local_strdup): Remove.
37987         (expand_dynamic_string_token): Use __strdup.
37988         (decompose_rpath): Likewise.
37989         (_dl_map_object): Likewise.
37991 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
37993         [BZ #14132]
37994         * sysdeps/generic/unwind-dw2-fde.c
37995         (__register_frame_info_bases_internal): Do not declare.
37996         (__register_frame_info_table_bases_internal): Likewise.
37997         (__deregister_frame_info_bases_internal): Likewise.
37998         (__register_frame_info_bases): Declare and use hidden_proto before
37999         definition.  Use hidden_def instead of INTDEF.
38000         (__register_frame_info_table_bases): Likewise.
38001         (__deregister_frame_info_bases): Likewise.
38002         (__register_frame_info): Do not use INTUSE.
38003         (__register_frame): Likewise.
38004         (__register_frame_info_table): Likewise.
38005         (__register_frame_table): Likewise.
38006         (__deregister_frame_info): Likewise.
38007         (__deregister_frame): Likewise.
38009 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
38011         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38012         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
38013         not undefine.
38014         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
38015         Likewise.
38016         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
38017         Likewise.
38019 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
38021         [BZ #14138]
38022         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
38023         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
38024         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
38025         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
38026         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
38027         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
38028         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
38029         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
38030         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
38031         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
38032         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
38033         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
38034         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
38035         syscall.
38036         (setfsuid): Likewise.
38037         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
38038         (setfsuid): Likewise.
38039         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
38040         (setfsuid): Likewise.
38041         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
38042         Likewise.
38043         (setfsuid): Likewise.
38044         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
38045         (setfsuid): Likewise.
38046         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
38047         Likewise.
38048         (setfsuid): Likewise.
38050 2014-10-27  Andreas Schwab  <schwab@suse.de>
38052         [BZ #17501]
38053         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
38054         check for Slow_SSE4_2 feature bit.
38055         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
38056         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38057         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
38058         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
38060 2014-10-24  Roland McGrath  <roland@hack.frob.com>
38062         * configure.ac: Validate compiler version with a empirical test of
38063         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
38064         $CC -v output.
38065         * configure: Regenerated.
38067         * inet/htons.c (htons): Prototypify.
38068         * inet/htonl.c (htonl): Likewise.
38070 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38072         * string/strncat.c (strncat): Improve performance by using strlen.
38074 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38076         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
38078 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38080         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
38081         Call libc_fetestexcept_aarch64.
38083 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38085         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
38086         Call libc_feholdexcept_aarch64.
38088 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38090         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
38091         Call get_rounding_mode.
38093 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38095         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38096         Simplify logic.
38098 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38100         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
38101         Simplify logic.
38103 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
38105         [BZ #14138]
38106         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
38107         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
38108         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
38109         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
38110         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
38111         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
38112         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
38113         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
38114         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
38115         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
38116         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38117         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
38118         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
38119         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
38120         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
38121         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
38122         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
38123         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
38124         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
38125         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
38126         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
38127         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
38128         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
38129         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
38130         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
38131         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
38132         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
38133         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
38134         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
38135         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
38136         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
38137         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
38138         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
38139         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
38140         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
38141         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
38142         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
38143         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
38144         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
38145         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
38146         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
38147         syscall.
38148         (geteuid): Likewise.
38149         (getgid): Likewise.
38150         (getuid): Likewise.
38151         (getresgid): Likewise.
38152         (getresuid): Likewise.
38153         (getgroups): Likewise.
38154         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
38155         (geteuid): Likewise.
38156         (getgid): Likewise.
38157         (getuid): Likewise.
38158         (getresgid): Likewise.
38159         (getresuid): Likewise.
38160         (getgroups): Likewise.
38161         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
38162         (geteuid): Likewise.
38163         (getgid): Likewise.
38164         (getuid): Likewise.
38165         (getresgid): Likewise.
38166         (getresuid): Likewise.
38167         (getgroups): Likewise.
38168         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
38169         Likewise.
38170         (geteuid): Likewise.
38171         (getgid): Likewise.
38172         (getuid): Likewise.
38173         (getresgid): Likewise.
38174         (getresuid): Likewise.
38175         (getgroups): Likewise.
38176         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
38177         (geteuid): Likewise.
38178         (getgid): Likewise.
38179         (getuid): Likewise.
38180         (getresgid): Likewise.
38181         (getresuid): Likewise.
38182         (getgroups): Likewise.
38183         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
38184         Likewise.
38185         (geteuid): Likewise.
38186         (getgid): Likewise.
38187         (getuid): Likewise.
38188         (getgroups): Likewise.
38190         [BZ #14138]
38191         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
38192         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
38193         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
38194         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38195         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
38196         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
38197         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
38198         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
38199         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
38200         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
38201         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
38202         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
38203         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
38204         __chown.
38205         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
38206         (lchown): Likewise.
38207         (fchown): Likewise.
38208         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
38209         Likewise.
38210         (lchown): Likewise.
38211         (fchown): Likewise.
38212         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
38213         (lchown): Likewise.
38214         (fchown): Likewise.
38215         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
38216         Likewise.
38217         (lchown): Likewise.
38218         (fchown): Likewise.
38220 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38222         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
38223         Simplify logic.
38225 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38227         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
38228         Cleanup logic.
38230 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38232         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
38233         Remove unused include.
38235 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38237         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
38238         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
38239         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
38240         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
38242 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
38243             Helge Deller <deller@gmx.de>
38245         [BZ #17508]
38246         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
38247         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
38248         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
38250 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
38252         [BZ #14132]
38253         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
38254         Remove macro definition.
38255         (__ashrdi3_v_glibc20): Likewise.
38256         (__lshrdi3_v_glibc20): Likewise.
38257         (__cmpdi2_v_glibc20): Likewise.
38258         (__ucmpdi2_v_glibc20): Likewise.
38259         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
38260         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38261         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38262         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38263         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38264         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
38266 2014-10-22  Roland McGrath  <roland@hack.frob.com>
38268         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
38269         old GNU extension [0] syntax.
38270         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
38271         alloca rather than an array member with variable length.
38272         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
38273         * nscd/nscd.c (invalidate_db): New function, broken out of ...
38274         (parse_opt): ... here.  Likewise use alloca there.
38275         Validate the -i argument before checking for rootness.
38276         (send_shutdown): New function, broken out of ...
38277         (parse_opt): ... here.
38279 2014-10-22  Roland McGrath  <roland@hack.frob.com>
38281         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
38282         macro to get at the _rt_local_ro field.
38283         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
38284         ([PIC] case) or _dl_hwcap ([!PIC] case).
38285         * sysdeps/arm/setjmp.S: Likewise.
38287         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
38288         * sysdeps/arm/configure.ac: New check to define it.
38289         * sysdeps/arm/configure: Regenerated.
38290         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
38291         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
38292         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
38293         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
38294         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
38295         Use move/movt pair instead of a load.
38296         (LDST_GLOBAL): Macro removed.
38297         (LDR_GLOBAL): New macro replaces it.
38298         (LDR_HIDDEN): New macro.
38299         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
38300         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
38302         * setjmp/tst-setjmp-static.c: New file.
38303         * setjmp/Makefile (tests): Add it.
38304         (tests-static): New variable.
38306 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
38308         [BZ #17485]
38309         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
38311 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
38313         [BZ #14132]
38314         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
38316 2014-10-21  Roland McGrath  <roland@hack.frob.com>
38318         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
38320 2014-10-20  Roland McGrath  <roland@hack.frob.com>
38322         * io/fts.c (dirent_not_directory): New function.
38323         (fts_build): Call it.
38325 2014-10-20  Roland McGrath  <roland@hack.frob.com>
38327         * nptl/version.c (__nptl_main): Use normal __write rather than
38328         INTERNAL_SYSCALL.
38329         (banner): Update copyright years.
38331         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
38332         gettimeofday.
38333         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38334         * nptl/pthread_cond_timedwait.c: Likewise.
38335         * nptl/pthread_mutex_timedlock.c: Likewise.
38336         * nptl/sem_timedwait.c: Likewise.
38338         * sysdeps/nptl/bits/libc-lock.h
38339         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38340         (__libc_lock_init_recursive): Return void, not 0.
38341         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
38342         (__libc_rwlock_init): Likewise.
38343         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
38345 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38347         [BZ #15215]
38348         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
38349         (__pthread_once_slow): ... here.
38350         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
38351         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
38353 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38355         [BZ #15215]
38356         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
38357         __PTHREAD_ONCE_FORK_GEN_INCR): New.
38358         * sysdeps/nptl/fork.c (__libc_fork): Use them.
38359         * nptl/pthread_once.c (__pthread_once): Likewise.
38360         Update comments.
38362 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
38364         [BZ #14138]
38365         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
38366         name.
38367         (writev): Use __libc_writev as strong name.
38368         * sysdeps/unix/sysv/linux/readv.c: Remove file.
38369         * sysdeps/unix/sysv/linux/writev.c: Likewise.
38371 2014-10-17  Roland McGrath  <roland@hack.frob.com>
38373         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
38375         * sysdeps/i386/nptl/tls.h
38376         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
38377         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
38378         New macros.
38379         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
38380         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
38381         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
38382         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
38383         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
38384         Call CHECK_THREAD_SYSINFO instead of doing an assert.
38386         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
38387         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
38388         on [__NR_futex].
38389         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
38390         broken out of ...
38391         (__pthread_mutex_init): ... here.  Call it.
38392         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
38393         Conditionalize PI cases on [__NR_futex].
38394         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
38395         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
38396         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
38398         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
38399         conditional on [SIGSETXID].
38400         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
38401         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
38402         is defined.  Likewise for SIGSETXID.
38403         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
38404         Conditionalize definitions on [SIGSETXID].
38405         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
38406         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
38407         unblocking on [SIGCANCEL].
38409         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
38410         [__NR_set_robust_list].
38412 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38414         * string/strcoll_l.c (get_next_seq): Fix up formatting.
38415         (do_compare): Likewise.
38417 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
38419         [BZ #15884]
38420         * string/strcoll_l.c: Don't include stdio.h.
38421         (coll_seq): Remove members idxarr and rulearr.
38422         (get_next_seq_cached): Remove function.
38423         (get_next_seq): Likewise.
38424         (get_next_seq_nocache): Rename to get_next_seq.
38425         (do_compare): Remove function.
38426         (do_compare_nocache): Rename to do_compare.
38427         (STRCOLL): Remove weight and rules cache.
38429 2014-10-16  Roland McGrath  <roland@hack.frob.com>
38431         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
38432         * sysdeps/arm/sfp-machine.h: ... to here.
38433         * sysdeps/arm/Implies: Remove arm/soft-fp.
38435 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
38437         * conform/data/sys/utsname.h-data (*_t): Allow.
38438         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
38439         [POSIX] (WEXITED): Do not expect constant.
38440         [POSIX] (WSTOPPED): Likewise.
38441         [POSIX] (WNOHANG): Likewise.
38442         [POSIX] (WNOWAIT): Likewise.
38443         [POSIX] (siginfo_t): Do not expect type or elements.
38444         [POSIX] (pid_t): Do not expect type.
38445         [POSIX] (signal.h): Do not allow header.
38446         [POSIX] (sys/resource.h): Likewise.
38447         [POSIX] (si_*): Do not allow pattern.
38448         [POSIX] (W*): Likewise.
38449         [POSIX] (P_*): Likewise.
38450         [POSIX] (BUS_*): Likewise.
38451         [POSIX] (CLD_*): Likewise.
38452         [POSIX] (FPE_*): Likewise.
38453         [POSIX] (ILL_*): Likewise.
38454         [POSIX] (POLL_*): Likewise.
38455         [POSIX] (SEGV_*): Likewise.
38456         [POSIX] (SI_*): Likewise.
38457         [POSIX] (TRAP_*): Likewise.
38458         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
38459         variable.
38461 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
38463         [BZ #12926]
38464         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
38465         infinite loop when __recvmsg returns 0.
38467 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
38469         * CANCEL-FCT-WAIVE: Remove file.
38470         * CANCEL-FILE-WAIVE: Likewise.
38472         [BZ #14132]
38473         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
38474         instead of INTVARDEF.
38475         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38476         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
38477         rtld_hidden_data_def instead of INTVARDEF.
38478         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38479         * elf/dl-deps.c (expand_dst): Likewise.
38480         * elf/dl-load.c (_dl_dst_count): Likewise.
38481         (_dl_dst_substitute): Likewise.
38482         (decompose_rpath): Likewise.
38483         (_dl_init_paths): Likewise.
38484         (open_path): Likewise.
38485         (_dl_map_object): Likewise.
38486         * elf/rtld.c (dl_main): Likewise.
38487         (process_dl_audit): Likewise.
38488         (process_envvars): Likewise.
38489         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
38490         Remove declaration.
38491         (__libc_enable_secure): Use rtld_hidden_proto.
38493 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38495         * elf/dl-load.c
38496         (add_path): New function broken out of _dl_rtld_di_serinfo.
38497         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
38499 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38501         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
38502         parentheses around macro arguments.
38503         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
38504         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
38505         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
38506         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
38507         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
38508         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38509         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38510         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
38511         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
38512         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
38513         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
38514         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
38515         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
38516         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
38517         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
38518         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
38519         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
38520         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
38521         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
38522         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
38523         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
38524         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
38525         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
38526         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38527         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38528         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
38529         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
38530         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
38531         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
38532         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
38533         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
38534         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
38535         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
38536         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
38537         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
38538         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
38539         Likewise.
38540         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
38541         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38542         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38543         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
38544         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
38545         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
38546         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
38547         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
38548         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
38549         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
38550         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
38551         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
38552         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
38553         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
38554         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
38555         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38556         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38557         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
38558         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
38559         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
38560         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
38561         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
38562         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
38563         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
38564         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
38565         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
38566         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
38567         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
38568         (_FP_FRAC_SRS_1): Likewise.
38569         (_FP_FRAC_CLZ_1): Likewise.
38570         (_FP_MUL_MEAT_1_imm): Likewise.
38571         (_FP_MUL_MEAT_1_wide): Likewise.
38572         (_FP_MUL_MEAT_1_hard): Likewise.
38573         (_FP_SQRT_MEAT_1): Likewise.
38574         (_FP_FRAC_ASSEMBLE_1): Likewise.
38575         (_FP_FRAC_DISASSEMBLE_1): Likewise.
38576         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
38577         (__FP_CLZ_2): Likewise.
38578         (_FP_MUL_MEAT_2_wide): Likewise.
38579         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
38580         (_FP_MUL_MEAT_2_gmp): Likewise.
38581         (_FP_MUL_MEAT_2_120_240_double): Likewise.
38582         (_FP_SQRT_MEAT_2): Likewise.
38583         (_FP_FRAC_ASSEMBLE_2): Likewise.
38584         (_FP_FRAC_DISASSEMBLE_2): Likewise.
38585         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
38586         (_FP_FRAC_CLZ_4): Likewise.
38587         (_FP_MUL_MEAT_4_wide): Likewise.
38588         (_FP_MUL_MEAT_4_gmp): Likewise.
38589         (_FP_SQRT_MEAT_4): Likewise.
38590         (_FP_FRAC_ASSEMBLE_4): Likewise.
38591         (_FP_FRAC_DISASSEMBLE_4): Likewise.
38592         * soft-fp/op-common.h (_FP_CMP): Likewise.
38593         (_FP_CMP_EQ): Likewise.
38594         (_FP_CMP_UNORD): Likewise.
38595         (_FP_TO_INT): Likewise.
38596         (_FP_FROM_INT): Likewise.
38597         [!__FP_CLZ] (__FP_CLZ): Likewise.
38598         (_FP_DIV_HELP_imm): Likewise.
38599         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
38600         Likewise.
38601         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
38602         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
38603         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
38604         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
38605         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
38606         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38607         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38608         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
38609         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
38610         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
38611         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
38612         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
38613         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
38614         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
38615         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
38616         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
38617         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
38618         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
38619         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
38620         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
38621         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
38622         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
38623         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
38624         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38625         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38626         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
38627         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
38628         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
38629         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
38630         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
38631         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
38632         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
38633         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
38634         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
38635         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
38636         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
38637         (FP_UNPACK_RAW_SP): Likewise.
38638         (FP_PACK_RAW_S): Likewise.
38639         (FP_PACK_RAW_SP): Likewise.
38640         (FP_UNPACK_S): Likewise.
38641         (FP_UNPACK_SP): Likewise.
38642         (FP_UNPACK_SEMIRAW_S): Likewise.
38643         (FP_UNPACK_SEMIRAW_SP): Likewise.
38644         (FP_PACK_S): Likewise.
38645         (FP_PACK_SP): Likewise.
38646         (FP_PACK_SEMIRAW_S): Likewise.
38647         (FP_PACK_SEMIRAW_SP): Likewise.
38648         (_FP_SQRT_MEAT_S): Likewise.
38649         (FP_CMP_S): Likewise.
38650         (FP_CMP_EQ_S): Likewise.
38651         (FP_CMP_UNORD_S): Likewise.
38652         (FP_TO_INT_S): Likewise.
38653         (FP_FROM_INT_S): Likewise.
38655         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
38657         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
38658         (FP_EX_INVALID_IMZ): Likewise.
38659         (FP_EX_INVALID_IMZ_FMA): Likewise.
38660         (FP_EX_INVALID_ISI): Likewise.
38661         (FP_EX_INVALID_ZDZ): Likewise.
38662         (FP_EX_INVALID_IDI): Likewise.
38663         (FP_EX_INVALID_SQRT): Likewise.
38664         (FP_EX_INVALID_CVI): Likewise.
38665         (FP_EX_INVALID_VC): Likewise.
38666         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
38667         "invalid" exceptions.
38668         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
38669         (_FP_ADD_INTERNAL): Likewise.
38670         (_FP_MUL): Likewise.
38671         (_FP_FMA): Likewise.
38672         (_FP_DIV): Likewise.
38673         (_FP_CMP_CHECK_NAN): Likewise.
38674         (_FP_SQRT): Likewise.
38675         (_FP_TO_INT): Likewise.
38676         (FP_EXTEND): Likewise.
38678 2014-10-09  Allan McRae  <allan@archlinux.org>
38680         * po/fr.po: Update French translation from translation project.
38682 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38684         [BZ #14132]
38685         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
38686         of INTDEF.
38687         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
38688         (__cxa_atexit): Use libc_hidden_proto.
38689         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
38691         [BZ #14132]
38692         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
38693         declaration.
38694         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
38695         [!_ISOMAC] (__iswspace_l_internal): Likewise.
38696         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
38697         [!_ISOMAC] (__iswctype_internal): Likewise.
38698         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
38699         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
38700         alias.
38701         (fcntl): Remove __fcntl_internal alias.
38702         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
38703         __connect_internal alias.
38704         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
38705         Likewise.
38707         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
38708         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
38709         FP_DENORM_ZERO.
38710         (_FP_CHECK_FLUSH_ZERO): New macro.
38711         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
38712         (_FP_CMP): Likewise.
38713         (_FP_CMP_EQ): Likewise.
38714         (_FP_TO_INT): Do not set inexact for subnormal arguments if
38715         FP_DENORM_ZERO.
38716         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
38717         (FP_TRUNC): Likewise.
38719         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
38720         treated as invalid conversion, not as normal exponent.
38722         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
38723         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
38724         (_FP_CMP_EQ): Likewise.
38725         (_FP_CMP_UNORD): Likewise.
38726         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
38727         (FP_CMP_EQ_D): Likewise.
38728         (FP_CMP_UNORD_D): Likewise.
38729         * soft-fp/extended.h (FP_CMP_E): Likewise.
38730         (FP_CMP_EQ_E): Likewise.
38731         (FP_CMP_UNORD_E): Likewise.
38732         * soft-fp/quad.h (FP_CMP_Q): Likewise.
38733         (FP_CMP_EQ_Q): Likewise.
38734         (FP_CMP_UNORD_Q): Likewise.
38735         * soft-fp/single.h (FP_CMP_S): Likewise.
38736         (FP_CMP_EQ_S): Likewise.
38737         (FP_CMP_UNORD_S): Likewise.
38738         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
38739         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
38740         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
38741         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
38742         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
38743         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
38744         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
38745         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
38746         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
38747         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
38748         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
38749         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
38750         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
38751         to FP_CMP_Q.
38752         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
38753         FP_CMP_Q.
38754         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
38755         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
38756         FP_CMP_EQ_Q.
38757         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
38758         FP_CMP_Q.
38759         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
38760         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
38761         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
38762         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
38763         FP_CMP_EQ_Q.
38764         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
38765         FP_CMP_Q.
38766         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
38767         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
38768         FP_CMP_EQ_Q.
38769         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
38770         FP_CMP_Q.
38771         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
38772         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
38773         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
38774         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
38775         FP_CMP_EQ_Q.
38777         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
38778         a subnormal result, set the underflow exception if trapping on
38779         underflow is enabled.
38780         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
38781         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
38782         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
38783         redefine to 0.
38784         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
38785         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38786         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38787         * soft-fp/extendxftf2.c (__extendxftf2): Use
38788         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
38790         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
38791         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
38792         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38793         FP_HANDLE_EXCEPTIONS.
38794         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
38795         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38796         FP_HANDLE_EXCEPTIONS.
38797         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
38798         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38799         FP_HANDLE_EXCEPTIONS.
38800         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
38801         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38802         FP_HANDLE_EXCEPTIONS.
38804 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
38806         [BZ #14132]
38807         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
38808         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
38809         use INTUSE.
38810         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
38811         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
38812         Remove alias.
38813         (__adjtimex): Define using libc_hidden_ver.
38814         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
38815         Remove declaration.
38816         (ntp_gettime): Call __adjtimex directly.
38817         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
38818         Remove declaration.
38819         (ntp_gettimex): Call __adjtimex directly.
38820         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
38821         __adjtimex_internal alias.
38823 2014-10-08  Roland McGrath  <roland@hack.frob.com>
38825         [BZ #17460]
38826         * nscd/nscd.c (more_help): Rewrite list of tables collection
38827         using xstrdup and asprintf.
38829         * nscd/nscd_conf.c: Remove local xstrdup declaration.
38831 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38832             Roland McGrath  <roland@hack.frob.com>
38834         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
38835         (do_lookup_unique): ... local function 'enter' here; update callers.
38837 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
38839         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
38840         compat_symbol calls on [SHARED].
38841         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
38842         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
38843         Remove.
38844         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38845         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
38846         (oldsetrlimit): Remove.
38847         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38849         (lchown): New syscall entry.
38850         (oldsetrlimit): Remove.
38851         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38852         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
38853         (oldsetrlimit): Remove.
38854         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38856         [BZ #14138]
38857         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
38858         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
38859         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
38860         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
38861         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38862         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
38863         (fchown): Likewise.
38864         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
38865         (fchown): Likewise.
38866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
38867         Likewise.
38869 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38871         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
38872         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
38873         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
38874         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
38875         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
38876         Likewise.
38877         (__old_sem_post): Likewise.
38879 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
38881         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
38882         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
38883         HAVE_CLOCK_GETTIME_VSYSCALL macros.
38884         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
38885         Use INLINE_VSYSCALL macro.
38886         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
38887         __vdso_clock_gettime.
38888         * sysdeps/unix/sysv/linux/tile/init-first.c
38889         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
38890         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
38891         __vdso_clock_gettime.
38893         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
38894         to set up frame more cleanly.
38896         * sysdeps/tile/memcmp.c: New file.
38898         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
38900         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
38901         * sysdeps/tile/tilegx/strcasestr.c: New file.
38902         * sysdeps/tile/tilegx/strnlen.c: New file.
38903         * sysdeps/tile/tilegx/strstr.c: New file.
38905         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
38907 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
38909         * nptl/tst-setuid3.c: Write errors to stdout.
38911 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38913         * elf/dl-deps.c
38914         (preload): New functions broken out of _dl_map_object_deps.
38915         (_dl_map_object_deps):  Remove a nested function. Update call sites.
38917 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
38919         [BZ #14138]
38920         * sysdeps/unix/sysv/linux/execve.c: Remove file.
38921         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
38923 2014-10-01  Steve Ellcey  <sellcey@mips.com>
38925         * sysdeps/mips/strcmp.S: New.
38927 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
38929         [BZ #14138]
38930         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
38931         (linkat): Likewise.
38932         (mkdirat): Likewise.
38933         (readlinkat): Likewise.
38934         (renameat): Likewise.
38935         (symlinkat): Likewise.
38936         (unlinkat): Likewise.
38937         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
38938         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
38939         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
38940         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
38941         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
38942         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
38943         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
38945 2014-09-30  Will Newton  <will.newton@linaro.org>
38947         * math/math.h: Define long double math functions if
38948         _LIBC_TEST is defined.
38949         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
38951         * localedata/Makefile: Move assignment to tests-special
38952         into an ifdef testing run-built-tests.
38953         * timezone/Makefile: Likewise.
38955 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
38957         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
38958         with $(BASH) not $(SHELL).
38960 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
38961             Matthew LeGendre  <legendre1@llnl.gov>
38963         [BZ #17411]
38964         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
38965         l_reloc_result.
38967 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38969         * stdio-common/printf_fp.c
38970         (hack_digit): New function, broken out of ...
38971         (__printf_fp): ... local function here.  Update call sites.
38972         hack_digit now takes an additional parameter that is a pointer
38973         to a struct of the referenced locals.  Those locals moved inside
38974         the struct and references updated.
38976 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
38978         * aclocal.m4: Require autoconf 2.69.
38979         * configure: Regenerated.
38980         * sysdeps/aarch64/configure: Likewise.
38981         * sysdeps/alpha/configure: Likewise.
38982         * sysdeps/arm/armv7/configure: Likewise.
38983         * sysdeps/arm/configure: Likewise.
38984         * sysdeps/ia64/configure: Likewise.
38985         * sysdeps/mach/configure: Likewise.
38986         * sysdeps/mips/configure: Likewise.
38987         * sysdeps/s390/configure: Likewise.
38988         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
38989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
38991         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
38992         file.
38993         * sysdeps/ia64/configure.ac: Likewise.
38995 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
38997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
38998         specify symbol version for ld.so.  Do not include entry for
38999         libpthread.
39000         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39001         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39002         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39004         [BZ #14171]
39005         * Makeconfig [$(build-shared) = yes]
39006         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
39007         makefiles.
39008         [$(build-shared) = yes && $(soversions.mk-done) = t]
39009         ($(common-objpfx)gnu/lib-names.h): Remove rule.
39010         [$(build-shared) = yes && $(soversions.mk-done) = t]
39011         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
39012         to Makerules.
39013         [$(build-shared) = yes && $(soversions.mk-done) = t]
39014         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
39015         here.
39016         [$(build-shared) = yes && $(soversions.mk-done) = t]
39017         (common-generated): Don't append gnu/lib-names.h and
39018         gnu/lib-names.stmp here.
39019         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
39020         (lib-names-h-abi): New variable.
39021         [$(build-shared) = yes && $(soversions.mk-done) = t]
39022         (lib-names-stmp-abi): Likewise.
39023         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39024         abi-variants] (before-compile): Append
39025         $(common-objpfx)$(lib-names-h-abi).
39026         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39027         abi-variants] (common-generated): Append gnu/lib-names.h.
39028         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39029         abi-variants] (install-others-nosubdir): Depend on
39030         $(inst_includedir)/$(lib-names-h-abi).
39031         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39032         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
39033         [$(build-shared) = yes && $(soversions.mk-done) = t]
39034         ($(common-objpfx)$(lib-names-h-abi)): New rule.
39035         [$(build-shared) = yes && $(soversions.mk-done) = t]
39036         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
39037         [$(build-shared) = yes && $(soversions.mk-done) = t]
39038         (common-generated): Append $(lib-names-h-abi) and
39039         $(lib-names-stmp-abi).
39040         * scripts/lib-names.awk: Do not handle multi being set.
39041         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
39042         Remove variable.
39043         (abi-lp64_be-ld-soname): Likewise.
39044         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
39045         Likewise.
39046         (abi-hard-ld-soname): Likewise.
39047         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
39048         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
39049         Remove variable.
39050         (abi-o32_hard-ld-soname): Likewise.
39051         (abi-o32_soft_2008-ld-soname): Likewise.
39052         (abi-o32_hard_2008-ld-soname): Likewise.
39053         (abi-n32_soft-ld-soname): Likewise.
39054         (abi-n32_hard-ld-soname): Likewise.
39055         (abi-n32_soft_2008-ld-soname): Likewise.
39056         (abi-n32_hard_2008-ld-soname): Likewise.
39057         (abi-n64_soft-ld-soname): Likewise.
39058         (abi-n64_hard-ld-soname): Likewise.
39059         (abi-n64_soft_2008-ld-soname): Likewise.
39060         (abi-n64_hard_2008-ld-soname): Likewise.
39061         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
39062         Likewise.
39063         (abi-64-v2-ld-soname): Likewise.
39064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
39065         ld.so entries.
39066         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
39067         variable.
39068         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
39069         entry.
39070         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
39071         variable.
39072         (abi-64-ld-soname): Likewise.
39073         (abi-x32-ld-soname): Likewise.
39074         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
39075         entry.
39076         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39078 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
39080         [BZ #14138]
39081         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
39082         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
39083         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
39084         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
39085         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
39086         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
39087         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
39088         syscall entry for GLIBC_2.2 symbol version.
39089         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
39090         Likewise.
39091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39092         (setrlimit): Likewise.
39093         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
39094         Likewise.
39096 2014-09-23  Will Newton  <will.newton@linaro.org>
39098         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
39099         _LINUX_ARM_SYSDEP_H include guard too.
39100         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
39101         define.
39103 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
39105         * sysdeps/unix/sysv/linux/eventfd.c:
39106         Make first argument unsigned.
39107         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
39108         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
39110 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
39112         [BZ #16852]
39113         * socket/recvmmsg.c (recvmmsg): Drop const argument.
39114         * socket/sys/socket.h: Likewise.
39115         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
39117 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39119         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
39121 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
39123         * time/tst-ftime.c: New test.
39124         * time/Makefile (tests): Add tst-ftime.
39126 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
39128         * soft-fp/extended.h: Fix comment formatting.
39129         * soft-fp/op-1.h: Likewise.
39130         * soft-fp/op-2.h: Likewise.
39131         * soft-fp/op-4.h: Likewise.
39132         * soft-fp/op-8.h: Likewise.
39133         * soft-fp/op-common.h: Likewise.
39134         * soft-fp/soft-fp.h: Likewise.
39136         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
39138 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
39140         [BZ #6652]
39141         * Makeconfig (soversions-default-setname): Remove variable.
39142         ($(common-objpfx)soversions.i): Don't pass default_setname to
39143         soversions.awk.
39144         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
39145         oldest_abi to abi-versions.awk.
39146         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
39147         * config.make.in (oldest-abi): Remove variable.
39148         * configure.ac (--enable-oldest-abi): Remove configure option.
39149         * configure: Regenerated.
39150         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
39151         text.
39152         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
39153         * scripts/soversions.awk: Do not handle default_setname variable.
39154         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
39155         variable.
39156         * sysdeps/mach/hurd/configure: Regenerated.
39157         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
39158         variable.
39159         * sysdeps/unix/sysv/linux/configure: Regenerated.
39161 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39163         * elf/Makefile (CFLAGS-interp.c): Remove.
39164         ($(elf-objpfx)runtime-linker.h): Generate header with linker
39165         path string.
39166         * elf/interp.c: Include generated runtime-linker.h
39168         * Makerules (lib%.so): Don't include $(+interp) in
39169         prerequisites.
39170         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
39171         * dlfcn/eval.c: Remove file.
39173         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
39174         macros.
39176         [BZ #17266]
39177         * misc/sys/cdefs.h: Define __extern_always_inline for clang
39178         4.2 and newer.
39180         [BZ #17370]
39181         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
39183 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39184             Jakub Jelinek  <jakub@redhat.com>
39186         [BZ #17266]
39187         * libio/stdio.h: Check definition of __fortify_function
39188         instead of __extern_always_inline to include bits/stdio2.h.
39189         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
39190         check if __extern_always_inline is defined.
39191         [__USE_MISC || __USE_XOPEN]: Likewise.
39192         [__USE_ISOC99] Likewise.
39193         * misc/sys/cdefs.h (__fortify_function): Define only if
39194         __extern_always_inline is defined.
39195         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
39196         __extern_always_inline and __extern_inline only for g++-4.3
39197         and newer or a compatible gcc.
39199 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
39201         [BZ #17371]
39202         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39203         last change to handle zero prefix length.
39205 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39207         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
39208         _SC_REGEX_VERSION.
39210         * posix/getconf.c (vars): Add _POSIX_IPV6 and
39211         _POSIX_RAW_SOCKETS.
39213 2014-09-13  Allan McRae  <allan@archlinux.org>
39215         * po/ru.po: Update Russian translation from translation project.
39217 2014-09-12  Roland McGrath  <roland@hack.frob.com>
39219         * locale/programs/locale.c (show_locale_vars): Inline local function
39220         into its sole call site.  Clean up some style nits.
39221         (print_item): New function, broken out of ...
39222         (show_info): ... local function here.  Clean up style nits.
39224         * locale/programs/ld-ctype.c (set_one_default): New function, broken
39225         out of ...
39226         (set_class_defaults): ... local function set_default here.
39227         Define set_default as a macro locally to pass constant parameters.
39228         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
39229         rather than a shared local.
39231         * stdlib/rpmatch.c (try): New function, broken out of ...
39232         (rpmatch): ... local function here.  Also, prototypify definition.
39234 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
39236         * scripts/soversions.awk: Do not handle configuration names.
39237         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
39238         vendor and os variables to soversions.awk.
39239         * configure.ac: Do not modify gnu-* host_os.
39240         * configure: Regenerated
39241         * shlib-versions: Remove first column with configuration names.
39242         * nptl/shlib-versions: Likewise.
39243         * nptl_db/shlib-versions: Likewise.
39244         * sysdeps/hppa/shlib-versions: Likewise.
39245         * sysdeps/m68k/shlib-versions: Likewise.
39246         * sysdeps/mach/hurd/shlib-versions: Likewise.
39247         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
39248         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
39249         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
39250         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
39251         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
39252         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
39253         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
39254         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
39255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39256         Likewise.
39257         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39258         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39259         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39260         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39261         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39262         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
39263         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39264         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39267         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
39268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39269         Regenerated.
39270         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
39271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39272         Condition symbol version definitions on [HAVE_ELFV2_ABI].
39274         * shlib-versions: Remove OS-specific entries.  Moved to files in
39275         sysdeps.
39276         * sysdeps/mach/hurd/shlib-versions: New file.
39277         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39279         * nptl/shlib-versions: Remove architecture-specific entries.
39280         Moved to files in sysdeps.
39281         * shlib-versions: Likewise.
39282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
39283         file.
39284         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39285         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39286         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39287         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39289         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
39290         (UDP_NO_CHECK6_RX): Likewise.
39292 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39294         * sysdeps/posix/sysconf.c (__sysconf): Spell
39295         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
39297 2014-08-12  Florian Weimer  <fweimer@redhat.com>
39299         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
39300         loading.
39301         * iconv/Versions (__gconv_transliterate): Export for use from
39302         gconv modules.
39303         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
39304         (struct __gconv_trans_data, __gconv_trans_fct,
39305         __gconv_trans_context_fct, __gconv_trans_query_fct,
39306         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
39307         definitions.
39308         (struct __gconv_step_data): Remove __trans member.
39309         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
39310         longer hidden.  Remove unused trans_data argument.
39311         * iconv/gconv_int.h (struct trans_struct): Remove definition.
39312         (__gconv_translit_find): Remove declaration.
39313         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
39314         prototype.
39315         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
39316         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
39317         trans_data argument.  Add hidden definition.
39318         (__gconv_translit_find): Remove.
39319         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
39320         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
39321         * iconv/skeleton.c: Remove transliteration initialization.
39322         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
39323         __gconv_step_data initialization.
39324         * libio/iofwide.c (__libio_translit_): Remove.
39325         (_IO_fwide): Adjust struct __gconv_step_data initialization.
39326         * wcsmbs/btowc.c (__btowc): Likewise.
39327         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39328         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39329         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
39330         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
39331         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
39332         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
39333         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
39334         * wcsmbs/wctob.c (wctob): Likewise.
39336 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39338         [BZ #16194]
39339         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
39340         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
39341         register usage.
39342         * sysdeps/x86/Makefile: Adjust.
39344 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39345             Roland McGrath  <roland@hack.frob.com>
39347         * locale/weight.h: Add include guard.
39348         (findidx): Make static rather than auto; take new parameters
39349         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
39350         * locale/weightwc.h: Likewise.
39351         * posix/fnmatch_loop.c
39352         (FCT): Change type of EXTRA from int32_t to wint_t.
39353         Don't include either header inside the function.
39354         Call FINDIDX rather than findidx, and pass new arguments.
39355         #undef FINDIDX at the end of the file.
39356         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
39357         FINDIDX before including fnmatch_loop.c for the non-wide version.
39358         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
39359         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
39360         for the wide version.
39361         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
39362         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
39363         Pass new arguments to findidx.
39364         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
39365         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
39366         Don't #include it inside the function.  Pass new arguments to findidx.
39367         * posix/regex_internal.h
39368         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
39369         (re_string_elem_size_at): Don't #include it inside the function.
39370         Pass new arguments to findidx.
39371         * string/strcoll_l.c: #include WEIGHT_H at top level.
39372         (get_next_seq): Don't #include it inside the function.
39373         Pass new arguments to findidx.
39374         (get_next_seq_nocache): Likewise.
39375         * string/strxfrm_l.c: #include WEIGHT_H at top level.
39376         (STRXFRM): Don't #include it inside the function.
39377         Pass new arguments to findidx.
39379 2014-09-11  Florian Weimer  <fweimer@redhat.com>
39381         [BZ #17344]
39382         * malloc/malloc.c (unlink): Turn asserts into a call to
39383         malloc_printerr.
39385 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
39387         [BZ #17370]
39388         * libio/wfileops (do_ftell_wide): Free OUT.
39390 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
39392         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
39394 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39396         [BZ #17363]
39397         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
39398         group if the current group is empty.
39400 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39402         * benchtests/bench-memset.c (test_main): Add more test from size
39403         from 32 to 512 bytes.
39404         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39405         Add POWER8 memset object.
39406         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39407         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
39408         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
39409         implementation.
39410         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
39411         Likewise.
39412         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
39413         multiarch POWER8 memset optimization.
39414         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
39415         POWER8 memset optimization.
39417         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39418         Remove bzero multiarch objects.
39419         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
39420         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
39421         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
39422         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
39423         Remove define.
39424         [__bzero]: Redefine to specific name.
39425         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
39426         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
39427         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
39428         define.
39429         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39430         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39432 2014-09-10  Florian Weimer  <fweimer@redhat.com>
39434         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
39435         warnings into errors.
39437         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
39438         __cxa_thread_atexit_impl prototype.
39440 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39442         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
39443         Fix capitalization of error message.
39445 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39447         * sysdeps/mips/preconfigure: Modify ABI tests.
39449 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
39451         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
39453 2014-09-07  Roland McGrath  <roland@hack.frob.com>
39454             Carlos O'Donell  <carlos@systemhalted.org>
39456         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
39457         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
39458         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
39459         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
39460         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
39461         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
39462         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
39463         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
39464         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
39465         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
39466         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
39467         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
39468         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
39469         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
39470         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
39471         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
39472         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
39473         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
39474         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
39475         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
39476         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
39477         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
39478         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
39479         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
39480         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
39481         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
39482         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
39483         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
39484         Deconditionalize the code that was previously under [RESET_PID].
39485         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
39486         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
39487         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
39488         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
39489         include sysdep.h.
39491 2014-09-08  Allan McRae  <allan@archlinux.org>
39493         * version.h (RELEASE): Set to "development".
39494         (VERSION): Set to "2.20.90"
39496 2014-09-07  Allan McRae  <allan@archlinux.org
39498         * version.h (RELEASE): Set to "stable".
39499         (VERSION): Set to "2.20"
39500         * include/features.h (__GLIBC_MINOR__): Set to 20.
39502         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
39503         Liebler.
39505         * po/ko.po: Update Korean translation from translation project.
39507 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
39509         [BZ #17354]
39510         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
39511         macro for handling signed relocations.
39513 2014-09-03  Florian Weimer  <fweimer@redhat.com>
39515         [BZ #17325]
39516         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
39517         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
39518         assert.
39519         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
39520         * iconvdata/ibm935.c (BODY): Likewise.
39521         * iconvdata/ibm937.c (BODY): Likewise.
39522         * iconvdata/ibm939.c (BODY): Likewise.
39523         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
39524         assert.
39525         * iconvdata/Makefile (iconv-test.out): Pass module list to test
39526         script.
39527         * iconvdata/run-iconv-test.sh: New test loop for checking for
39528         decoder crashers.
39530 2014-09-02  Khem Raj  <raj.khem@gmail.com>
39532         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
39533         libm_hidden_ver.
39535 2014-09-01  Allan McRae  <allan@archlinux.org>
39537         * po/eo.po: Update Esperanto translation from translation project.
39539         * po/ca.po: Update Catalan translation from translation project.
39541 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39543         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
39544         __proc_dostop call.
39546 2014-08-27  Mark Wielaard  <mjw@redhat.com>
39548         [BZ #17319]
39549         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
39550         to call set_thread_area instead of hand written asm.
39551         (__NR_set_thread_area): Removed define.
39552         (TLS_FLAG_WRITABLE): Likewise.
39553         (__ASSUME_SET_THREAD_AREA): Remove check.
39554         (TLS_EBX_ARG): Remove define.
39555         (TLS_LOAD_EBX): Likewise.
39557 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39559         Simplify atomicity of socket creation in bind.
39561         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
39562         looking up the name after linking the file.
39564 2014-08-27  Allan McRae  <allan@archlinux.org>
39566         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39568 2014-08-26  Florian Weimer  <fweimer@redhat.com>
39570         [BZ #17187]
39571         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
39572         trans_compare, open_translit, __gconv_translit_find):
39573         Remove module loading code.
39575 2014-08-26  Allan McRae  <allan@archlinux.org>
39577         * po/vi.po: Update Vietnamese translation from translation project.
39579         * po/uk.po: Update Ukrainian translation from translation project.
39581         * po/fr.po: Update French translation from translation project.
39583         * po/ru.po: Update Russian translation from translation project.
39585         * po/pl.po: Update Polish translation from translation project.
39587         * po/cs.po: Update Czech translation from translation project.
39589         * po/de.po: Update German translation from translation project.
39591         * po/bg.po: Update Bulgarian translation from translation project.
39593         * po/sv.po: Update Sweedish translation from translation project.
39595         * po/nl.po: Update Dutch translation from translation project.
39597         * po/es.po: Update Spanish translation from translation project.
39599 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39601         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
39603         * catgets/Makefile (CPPFLAGS-gencat): Remove.
39604         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
39605         (CPPFLAGS-iconvconfig): Likewise.
39606         * timezone/Makefile (CPPFLAGS-zic): Likewise.
39608         * include/libc-symbols.h: Remove unnecessary check for
39609         NOT_IN_libc.
39610         * nptl/pthreadP.h: Likewise.
39611         * sysdeps/aarch64/setjmp.S: Likewise.
39612         * sysdeps/alpha/setjmp.S: Likewise.
39613         * sysdeps/arm/sysdep.h: Likewise.
39614         * sysdeps/i386/setjmp.S: Likewise.
39615         * sysdeps/m68k/setjmp.c: Likewise.
39616         * sysdeps/posix/getcwd.c: Likewise.
39617         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39618         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39619         * sysdeps/s390/s390-32/setjmp.S: Likewise.
39620         * sysdeps/s390/s390-64/setjmp.S: Likewise.
39621         * sysdeps/sh/sh3/setjmp.S: Likewise.
39622         * sysdeps/sh/sh4/setjmp.S: Likewise.
39623         * sysdeps/unix/alpha/sysdep.h: Likewise.
39624         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39625         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39626         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39627         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39630         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39631         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39632         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39633         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39634         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39635         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39636         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39637         * sysdeps/x86_64/setjmp.S: Likewise.
39639 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
39641         [BZ #17263]
39642         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
39643         <stdint.h>.
39644         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
39645         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
39647 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39649         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
39651         [BZ #17262]
39652         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
39653         and __x86_64__ when disabling x87 inline functions.
39655 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
39657         [BZ #17259]
39658         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
39659         asm statement with __cpuid_count.
39661 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
39663         * configure.ac: Change __ehdr_start code to dereference the struct.
39664         Run readelf on the output to look for relocations.
39665         * configure: Regenerated.
39667 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
39669         [BZ #17261]
39670         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
39671         value to 0.
39672         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
39674 2014-08-12  Roland McGrath  <roland@hack.frob.com>
39676         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
39678 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
39680         [BZ #16892]
39681         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
39682         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
39684 2014-08-12  Sean Anderson  <seanga2@gmail.com>
39686         * malloc/malloc.c: Fix typo in comment.
39688 2014-08-09  Allan McRae  <allan@archlinux.org>
39690         * Regenerate libc.po.
39692 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
39694         * intl/tst-gettext2.sh: Check every lang file for creation.
39696 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39698         * sysdeps/aarch64/fpu/math_private.h
39699         (libc_feholdsetround_noex_aarch64_ctx): New function.
39701 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39703         * sysdeps/arm/armv6/strcpy.S (strcpy):
39704         Fix performance issue in misaligned cases.
39706 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39708         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
39709         Move definition from termios.h.
39710         (struct termio): Likewise.
39711         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39712         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39713         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39714         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39715         Likewise.
39716         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
39717         Move definition to ioctl-types.h
39718         (struct termio): Likewise.
39719         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39720         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39721         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39722         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39723         Likewise.
39725 2014-08-05  Richard Henderson  <rth@redhat.com>
39727         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
39728         exceptions.
39729         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
39730         Add fraiseexcpt.
39731         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
39732         Use __feraiseexcept.
39733         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
39734         Protect libm symbols with IS_IN_libm.
39736         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
39738 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
39740         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
39742 2014-08-04  Will Newton  <will.newton@linaro.org>
39744         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
39745         file.
39747 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
39749         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
39750         variants for each function.
39752 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39754         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
39755         appended ...
39756         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
39757         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
39758         appended ...
39759         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
39760         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
39761         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
39762         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
39763         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
39764         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
39765         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
39766         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
39767         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
39768         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
39769         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
39770         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
39771         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
39772         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
39773         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
39774         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
39775         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
39776         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
39777         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
39778         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
39779         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
39780         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
39781         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
39782         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
39783         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
39784         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
39785         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
39786         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
39787         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
39788         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
39789         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
39790         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
39791         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
39792         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
39793         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
39794         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
39795         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
39796         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
39797         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
39798         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
39799         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
39800         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
39801         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
39802         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
39803         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
39804         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
39805         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
39806         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
39807         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
39808         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
39809         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
39810         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
39811         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
39812         Update #include.
39813         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
39814         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
39816 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39818         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
39819         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
39820         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
39821         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
39822         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
39823         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
39825 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39827         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
39828         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
39829         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39830         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
39832 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39834         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
39835         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
39836         (__libc_vfork): Define function under this name.
39837         (__vfork): Define as an alias.
39838         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
39839         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
39841 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39843         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
39844         that was previously under [RESET_PID].
39845         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
39847 2014-08-04  Andreas Schwab  <schwab@suse.de>
39849         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
39851 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
39853         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
39854         (main): Likewise.
39856 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39858         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
39860 2014-08-01  Richard Henderon  <rth@redhat.com>
39862         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
39863         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
39864         typo in exact zero test.
39865         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39866         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39867         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39869 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39871         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
39872         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
39873         * sysdeps/arm/sysdep.h: ... here.
39874         [!__ASSEMBLER__]: Include <stdint.h>.
39876 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39878         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
39879         (HAVE_WCTYPE_H): Likewise.
39880         (HAVE_ISWCTYPE): Likewise.
39881         (ENABLE_NLS): Likewise.
39882         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
39883         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
39885         * posix/regex_internal.c: Check if DEBUG is defined and is
39886         set.
39888         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
39889         (HAVE_MBSRTOWCS): Likewise.
39890         * posix/fnmatch.c: Include string.h unconditionally.
39892 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39894         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
39895         reversal.
39897 2014-07-31  Roland McGrath  <roland@hack.frob.com>
39899         * sysdeps/generic/safe-fatal.h: New file.
39900         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
39901         * nptl/forward.c: Include it.
39902         (__pthread_unwind): Use __safe_fatal as default action, rather
39903         than a bogus use of INTERNAL_SYSCALL that could never work.
39905         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
39906         * configure.ac (libc_cv_builtin_trap): New test.
39907         * configure: Regenerated.
39908         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
39909         (ABORT_INSTRUCTION): Define using __builtin_trap.
39911         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
39912         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
39913         * sysdeps/nptl/nptl-signals.h: New file.
39914         * nptl/pthreadP.h: Include <nptl-signals.h>.
39916 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39918         * sysdeps/s390/s390-64/utf16-utf32-z9.c
39919         (ONE_DIRECTION): Define.
39920         * sysdeps/s390/s390-64/utf8-utf16-z9.c
39921         (ONE_DIRECTION): Define.
39922         * sysdeps/s390/s390-64/utf8-utf32-z9.c
39923         (ONE_DIRECTION): Define.
39925 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39927         * sysdeps/s390/Makefile: Delete file.
39928         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
39929         * sysdeps/s390/__longjmp.c: Delete file.
39930         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
39931         Remove fields __flags and __reserved.
39932         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
39933         and add versioning.
39934         * sysdeps/s390/rtld-__longjmp.c: Delete file.
39935         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
39936         * sysdeps/s390/rtld-setjmp.S: Likewise.
39937         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
39938         * sysdeps/s390/s390-32/__longjmp.c: ... here.
39939         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
39940         * sysdeps/s390/s390-32/setjmp.S: ... here.
39941         Add versioning.
39942         (__sigsetjmp): Remove setting __flags field.
39943         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
39944         * sysdeps/s390/s390-64/__longjmp.c: ... here.
39945         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
39946         * sysdeps/s390/s390-64/setjmp.S: ... here.
39947         Add versioning.
39948         (__sigsetjmp): Remove setting __flags field.
39949         * sysdeps/s390/setjmp.S: Delete file.
39950         * sysdeps/s390/sigjmp.c: Likewise.
39951         * sysdeps/s390/v1-longjmp.c: Likewise.
39952         * sysdeps/s390/v1-setjmp.h: Likewise.
39953         * sysdeps/s390/v1-sigjmp.c: Likewise.
39954         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
39955         Remove v1-longjmp_chk.
39956         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
39957         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
39958         Include debug/longjmp_chk.c and add versioning.
39959         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
39960         Include nptl/pt-longjmp.c and add versioning.
39961         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
39962         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
39963         Include __longjmp.c.
39964         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39965         Move to ...
39966         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
39967         (__getcontext): Remove setting __flags field.
39968         Add versioning.
39969         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39970         Don't restore upper high grps.
39971         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
39972         Likewise.
39973         (__swapcontext): Remove setting uc_flags field.
39974         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
39975         Delete file.
39976         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39977         Include __longjmp.c.
39978         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39979         Move to ...
39980         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
39981         (__getcontext): Remove setting __flags field.
39982         Add versioning.
39983         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
39984         (__swapcontext): Remove setting uc_flags field.
39985         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
39986         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
39987         Remove fields uc_high_gprs and __reserved.
39988         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
39989         New file with reverted content.
39990         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
39991         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
39992         Regenerated.
39993         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
39994         Regenerated.
39996 2014-07-31  Andreas Schwab  <schwab@suse.de>
39998         * config.h.in (HAVE_IFUNC): Define to 0.
39999         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
40000         definedness.
40002 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
40004         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40005         memmove-avx-unaligned, memcpy-avx-unaligned and
40006         mempcpy-avx-unaligned.
40007         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40008         Add tests for AVX memcpy functions.
40009         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
40010         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
40011         memcpy_chk.
40012         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
40013         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
40014         memmove_chk.
40015         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
40016         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
40017         mempcpy_chk.
40018         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
40019         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
40020         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
40022 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40024         [BZ #17213]
40025         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
40026         powerpc64le.
40028 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
40030         [BZ #16839]
40031         * manual/llio.texi: Add section about open file description locks.
40032         * manual/examples/ofdlocks.c: Example of open file description
40033         lock usage.
40034         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
40035         F_OFD_SETLK, and F_OFD_SETLKW.
40037 2014-07-23  Allan McRae  <allan@archlinux.org>
40039         * po/es.po: Update Spanish translation from translation project.
40041 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
40043         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
40045 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
40047         [BZ #17078]
40048         * sysdeps/arm/dl-machine.h (elf_machine_rela)
40049         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
40050         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
40052 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
40054         [BZ #17088]
40055         * math/fesetenv.c (__fesetenv)
40056         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
40057         * math/feupdateenv.c (__feupdateenv)
40058         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
40060         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
40061         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
40062         (__ASSUME_SOCKETCALL): Do not define.
40064         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
40065         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
40066         (__ASSUME_SOCKETCALL): Do not define.
40067         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
40068         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40069         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40070         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40071         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40072         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
40073         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40074         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40076         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
40077         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
40078         (__ASSUME_SOCKETCALL): Do not define.
40079         (__ASSUME_IPC64): Define unconditionally.
40080         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40081         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40082         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40083         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40084         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
40085         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40086         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
40087         Likewise.
40089         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
40090         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
40091         (__ASSUME_SOCKETCALL): Do not define.
40092         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
40093         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40094         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40095         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40096         (__ASSUME_REQUEUE_PI): Define unconditionally.
40097         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
40098         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
40099         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40100         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
40101         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40102         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40104         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
40105         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
40106         (__ASSUME_SOCKETCALL): Do not define.
40107         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
40108         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40109         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40110         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
40111         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40112         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40114         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
40115         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
40116         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40117         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
40118         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40119         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
40120         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40121         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
40122         (__ASSUME_GETCPU_SYSCALL): Likewise.
40124         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
40125         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
40126         cases for individual architectures.
40127         * sysdeps/gnu/configure: Regenerated.
40128         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
40129         LIBC_SLIBDIR_RTLDDIR.
40130         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
40131         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
40132         LIBC_SLIBDIR_RTLDDIR.
40133         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
40134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
40135         LIBC_SLIBDIR_RTLDDIR.
40136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40137         Regenerated.
40138         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
40139         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
40140         file.
40141         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
40142         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
40143         file.
40144         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
40145         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
40146         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
40147         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
40149         * sysdeps/aarch64/shlib-versions: Move to ...
40150         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
40151         * sysdeps/alpha/shlib-versions: Move to ...
40152         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
40153         * sysdeps/arm/shlib-versions: Move to ...
40154         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
40155         * sysdeps/hppa/shlib-versions: Move all contents except for
40156         libgcc_s entry to ...
40157         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
40158         entry from ...
40159         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
40160         * sysdeps/ia64/shlib-versions: Move to ...
40161         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
40162         entry from ...
40163         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
40164         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
40165         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
40166         * sysdeps/microblaze/shlib-versions: Move to ...
40167         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
40168         * sysdeps/mips/shlib-versions: Move to ...
40169         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
40170         entry from ...
40171         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
40172         * sysdeps/tile/shlib-versions: Move to ...
40173         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
40174         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
40175         from ...
40176         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
40177         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
40178         entry from ...
40179         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
40181 2014-07-17  Will Newton  <will.newton@linaro.org>
40183         * sysdeps/arm/bits/atomic.h
40184         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
40185         (__arch_compare_and_exchange_bool_16_int): Likewise.
40186         (__arch_compare_and_exchange_bool_64_int): Likewise.
40188         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
40189         into an #else block.
40191 2014-07-16  Roland McGrath  <roland@hack.frob.com>
40193         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
40194         just Linux configurations.  Test empirically that the compiler sets
40195         __ARM_EABI__, rather than using the tuple to decide.
40196         * sysdeps/arm/preconfigure: Regenerated.
40197         * sysdeps/unix/sysv/linux/arm/configure: File removed.
40198         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
40199         contents appended ...
40200         * sysdeps/arm/configure.ac: ... here.
40201         * sysdeps/arm/configure: Regenerated.
40203 2014-07-15  Roland McGrath  <roland@hack.frob.com>
40205         * nptl/pthread_kill.c: New file.
40206         * nptl/pthread_sigmask.c: New file.
40207         * nptl/pthread_sigqueue.c: New file.
40209         * sysdeps/nptl/lowlevellock.h: New file.
40210         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
40211         * sysdeps/nptl/lowlevellock-futex.h: New file.
40213         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
40214         Remove dead declarations.
40216 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
40218         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
40219         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
40220         config-cflags-avx2.
40221         * sysdeps/x86_64/configure.ac: Likewise.
40222         * sysdeps/i386/configure: Regenerated.
40223         * sysdeps/x86_64/configure: Likewise.
40224         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40225         memset-avx2 only if config-cflags-avx2 is yes.
40226         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40227         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
40228         defined.
40229         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
40230         only if HAVE_AVX2_SUPPORT is defined.
40231         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40233 2014-07-14  Alan Modra  <amodra@gmail.com>
40235         [BZ #17153]
40236         * elf/elf.h (DT_PPC64_NUM): Correct value.
40237         * NEWS: Add to fixed bug list.
40239 2014-07-13  Jim Meyering  <meyering@fb.com>
40241         [BZ 17150]
40242         regex: don't deref NULL upon heap allocation failure
40243         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
40244         failure in one more place.
40245         To trigger the segfault, configure grep -with-included-regex,
40246         build it, and run these commands:
40247         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
40249 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
40251         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
40253 2014-07-11  Richard Henderson  <rth@redhat.com>
40255         * sysdeps/aarch64/libm-test-ulps: Update.
40257 2014-07-10  Florian Weimer  <fweimer@redhat.com>
40259         [BZ #17135]
40260         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
40261         * nptl/allocatestack.c (__nptl_setxid_error): New function.
40262         (__nptl_setxid): Initialize error member.  Call
40263         __nptl_setxid_error.
40264         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
40265         * nptl/descr.h (struct xid_command): Add error member.
40266         * nptl/tst-setuid3.c: New file.
40267         * nptl/Makefile (tests): Add it.
40269 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40271         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
40272         New define.
40273         (__lll_trylock): Use __lll_base_trylock.
40274         (__lll_cond_trylock): Likewise.
40276 2014-07-10  Roland McGrath  <roland@hack.frob.com>
40278         * nptl/pthread_create.c (start_thread): Use atomic_or and
40279         lll_futex_wake directly rather than lll_robust_dead.
40280         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40281         (lll_robust_dead): Macro removed.
40282         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
40283         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40284         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40285         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40286         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40287         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40288         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40289         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40290         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40291         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40292         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40293         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40294         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40295         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40296         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40298         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
40299         Use atomic_compare_and_exchange_val_acq directly rather than
40300         lll_robust_trylock.
40301         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40302         (__lll_robust_trylock, lll_robust_trylock): Removed.
40303         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40304         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40305         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40306         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40307         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40308         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40309         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40310         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40311         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40312         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40313         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40314         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40315         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40316         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40318 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40320         * manual/locale.texi (Locale Names): New section documenting
40321         locale name syntax.  Adjust menu and node chaining accordingly.
40322         (Choosing Locale): Reference Locale Names, Locale Categories.
40323         Mention setting LC_ALL=C.  Reflect that name syntax is now
40324         documented.
40325         (Locale Categories): New section title.  Reference Locale Names.
40326         LC_ALL is an environment variable, but not a category.
40327         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
40328         description, now in Locale Name.  Reference that section.  Locale
40329         name syntax is now documented.
40331 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40333         [BZ #17137]
40334         * locale/findlocale.c (name_present, valid_locale_name): New
40335         functions.
40336         (_nl_find_locale): Use the loc_name variable to store name
40337         candidates.  Call name_present and valid_locale_name to check and
40338         validate locale names.  Return an error if the locale is invalid.
40340 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40342         * locale/setlocale.c (setlocale): Use strdup for allocating
40343         composite name copy.
40345 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40347         Sync up with gnulib.
40348         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
40349         [!_LIBC && ENABLE_NLS]: Include gettext.h.
40350         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
40351         and _GL_ARG_NONNULL.
40352         [USE_UNLOCKED_IO]: Include unlocked-io.h.
40353         [!_LIBC]: Include code for Windows and Cygwin.
40354         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
40355         Include prototype for int strerror_r.
40356         [!_LIBC] (is_open): New function.
40357         (flush_stdout): New function.
40358         (print_errno_message): Use it.
40359         (error): Likewise.
40360         (error_at_line): Likewise.
40361         (error_tail) Add function attribute macros.  Use
40362         __builtin_expect.
40364         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
40366         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
40368         * io/ftw.c: Include sys/param.h unconditionally.
40370         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
40372         [BZ #17125]
40373         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
40374         libc_freeres_ptr.
40375         (freecache): New function to free CACHE on exit.
40377         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
40378         initialization.
40380 2014-07-09  David S. Miller  <davem@davemloft.net>
40382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40384         * sysdeps/sparc/nptl/internaltypes.h: Delete.
40385         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
40386         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
40387         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
40388         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
40389         * sysdeps/sparc/nptl/sem_init.c: Likewise.
40390         * sysdeps/sparc/nptl/sem_post.c: Likewise.
40391         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
40392         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
40393         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
40394         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
40395         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
40396         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
40398 2014-07-09  Andreas Schwab  <schwab@suse.de>
40400         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
40401         output.
40402         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
40403         (do_test): Likewise.
40405         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40407 2014-07-09  Will Newton  <will.newton@linaro.org>
40409         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
40410         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
40411         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
40412         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
40413         * sysdeps/hppa/start.S (_start): Likewise.
40415 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40417         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
40419         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
40420         defined.
40422 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40424         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
40425         after checking that it is non-NULL.
40427         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
40429 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40431         * sysdeps/powerpc/memmove.c: Remove file.
40432         * sysdeps/powerpc/powerpc32/power4/memcopy.h
40433         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
40434         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40435         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
40436         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
40437         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
40438         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
40439         string memmove instead of removed powerpc one.
40441         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40442         [weak_alias]: Fix compiler warning due trailing data.
40443         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
40444         [weak_alias]: Likewise.
40445         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
40446         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
40448         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40449         (__libc_ifunc_impl_list): Add memmove functions.
40451 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40453         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
40454         Remove code.
40455         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
40456         Likewise.
40457         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
40458         Likewise.
40459         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
40460         Likewise.
40461         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
40462         Likewise.
40463         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
40464         Likewise.
40465         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
40466         Likewise.
40467         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
40468         Likewise.
40469         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
40470         Likewise.
40471         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
40472         Likewise.
40473         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
40474         Likewise.
40475         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
40476         Likewise.
40477         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
40478         Likewise.
40479         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
40480         Likewise.
40481         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
40482         Likewise.
40483         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
40484         Likewise.
40485         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
40486         Likewise.
40488 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40490         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
40491         to avoid alignment traps in non-cacheable memory.
40492         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40494         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
40495         multiarch objects.
40496         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
40497         file: multiarch power7 memmove.
40498         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
40499         multiarch default memmove.
40500         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
40501         multiarch memove for powerpc32/power4.
40503         * string/bcopy.c: Use full path to include memmove.c.
40504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
40505         multiarch objects.
40506         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
40507         bcopy for powerpc64.
40508         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
40509         bcopy for powerpc64.
40510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
40511         and memmove implementations.
40512         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
40513         optimized multiarch memmove for POWER7/powerpc64.
40514         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
40515         default multiarch memmove for powerpc64.
40516         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
40517         multiarch for powerpc64.
40518         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
40519         for POWER7/powerpc64.
40520         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
40521         memmove for POWER7/powerpc64.
40523         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
40524         glibc default one.
40526         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
40527         __ELF_NATIVE_CLASS equal to 64.
40529 2014-07-07  Roland McGrath  <roland@hack.frob.com>
40531         * sysdeps/nptl/lowlevellock.h: File removed.
40533         * NEWS: NPTL is no longer an add-on!
40534         * nptl/internaltypes.h: Moved ...
40535         * sysdeps/nptl/internaltypes.h: ... here.
40536         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
40537         * sysdeps/nptl/fork.c: Likewise.
40538         * sysdeps/nptl/gai_misc.h: Likewise.
40539         * sysdeps/nptl/librt-cancellation.c: Likewise.
40540         * sysdeps/nptl/jmp-unwind.c: Likewise.
40541         * sysdeps/nptl/setxid.h: Likewise.
40542         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
40543         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
40544         * sysdeps/unix/sysv/linux/arm/Implies: New file.
40545         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
40546         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
40547         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
40548         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
40549         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
40550         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
40551         * sysdeps/unix/sysv/linux/mips/Implies: New file.
40552         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
40553         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
40554         * sysdeps/unix/sysv/linux/sh/Implies: New file.
40555         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
40556         * sysdeps/unix/sysv/linux/tile/Implies: New file.
40557         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
40558         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
40559         * nptl/Makeconfig: Moved ...
40560         * sysdeps/nptl/Makeconfig: ... here.
40561         * nptl/configure: File removed.
40562         * nptl/ANNOUNCE: File removed.
40563         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
40564         * sysdeps/unix/sysv/linux/configure: Regenerated.
40566         * nptl/Makefile (routines): Add libc_pthread_init,
40567         libc_multiple_threads, register-atfork and unregister-atfork.
40568         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
40569         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
40570         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
40571         pthread-pi-defines.sym, structsem.sym.
40572         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
40573         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
40574         [$(subdir) = nptl] (tests): Add tst-setgetname.
40575         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
40576         * sysdeps/unix/sysv/linux/sigaction.c: Just include
40577         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
40578         [!LIBC_SIGACTION]: Remove aliases.
40579         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40580         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40581         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40582         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
40583         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40584         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
40585         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40586         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40587         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40588         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
40589         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
40590         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
40591         __libc_allocate_rtsig_private.
40592         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
40593         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
40594         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
40595         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
40596         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
40597         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
40598         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
40599         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
40600         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
40601         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
40602         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
40603         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
40604         * nptl/internaltypes.h: ... here.
40605         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
40606         * sysdeps/nptl/jmp-unwind.c: ... here.
40607         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
40608         * nptl/libc-lowlevellock.c: ... here.
40609         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
40610         * nptl/libc_multiple_threads.c: ... here.
40611         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
40612         * nptl/libc_pthread_init.c: ... here.
40613         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
40614         * nptl/lowlevelbarrier.sym: ... here.
40615         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
40616         * nptl/lowlevelcond.sym: ... here.
40617         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
40618         * nptl/lowlevellock.c: ... here.
40619         * nptl/lowlevellock.h: Moved ...
40620         * sysdeps/nptl/lowlevellock.h: ... here.
40621         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
40622         * nptl/lowlevelrobustlock.c: ... here.
40623         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
40624         * nptl/lowlevelrobustlock.sym: ... here.
40625         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
40626         * nptl/lowlevelrwlock.sym: ... here.
40627         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
40628         * nptl/pt-fork.c: ... here.
40629         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
40630         * nptl/pthread-pi-defines.sym: ... here.
40631         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
40632         * nptl/pthread_attr_getaffinity.c: ... here.
40633         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
40634         * nptl/pthread_attr_setaffinity.c: ... here.
40635         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
40636         * nptl/pthread_mutex_cond_lock.c: ... here.
40637         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
40638         Update #include.
40639         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
40640         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
40641         * nptl/pthread_once.c: ... here, replacing old file.
40642         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
40643         * nptl/pthread_yield.c: ... here.
40644         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
40645         * nptl/register-atfork.c: ... here.
40646         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
40647         * nptl/sem_post.c: ... here.
40648         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
40649         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
40650         * nptl/sem_timedwait.c: ... here.
40651         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
40652         * nptl/sem_trywait.c: ... here.
40653         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
40654         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
40655         * nptl/sem_wait.c: ... here.
40656         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
40657         * nptl/structsem.sym: ... here.
40658         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
40659         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
40660         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
40661         * nptl/unregister-atfork.c: ... here.
40662         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
40663         * nptl/unwindbuf.sym: ... here.
40664         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
40665         * sysdeps/nptl/fork.c: ... here.
40666         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
40667         * sysdeps/nptl/fork.h: ... here.
40668         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
40669         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
40670         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
40671         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
40672         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
40673         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
40674         * sysdeps/unix/sysv/linux/getpid.c: ... here.
40675         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
40676         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
40677         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
40678         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
40679         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
40680         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
40681         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
40682         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
40683         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
40684         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
40685         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
40686         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
40687         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
40688         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
40689         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
40690         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
40691         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
40692         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
40693         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
40694         * sysdeps/unix/sysv/linux/raise.c: ... here.
40695         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
40696         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
40697         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
40698         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
40699         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
40700         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
40701         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
40702         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
40703         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
40704         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
40705         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
40706         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
40707         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
40708         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
40709         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
40711 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40713         * sysdeps/generic/memcopy.h: Add comment for
40714         MEMCPY_OK_FOR_FWD_MEMMOVE.
40716 2014-07-04  Will Newton  <will.newton@linaro.org>
40718         * string/memchr.c: Merge from gnulib.
40719         [_LIBC]: Remove conditionals.
40720         (__ptr_t): Remove define.
40721         (LONG_MAX_32_BITS): Likewise.
40722         (LONG_MAX): Likewise.
40723         (MEMCHR): Use ANSI prototype and optimize algorithm.
40725         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
40727 2014-07-03  Roland McGrath  <roland@hack.frob.com>
40729         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
40730         (lll_futex_timed_wait_bitset): Fix syscall argument count.
40732         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
40733         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
40734         in a bare environment with no <stdlib.h> installed.
40735         * sysdeps/nptl/configure: Regenerated.
40737         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
40739         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
40740         AC_EGREP_CPP for kernel header checks, so they only succeed if
40741         including <linux/version.h> actually works right.
40742         * sysdeps/unix/sysv/linux/configure: Regenerated.
40744         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
40745         value so it's not diagnosed as unused.
40747         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
40748         thing) with "ifeq ($(subdir),rt)".
40750 2014-07-03  Richard Henderson  <rth@redhat.com>
40752         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
40753         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
40754         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
40756         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
40757         (math_force_eval): New.
40759         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
40760         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
40762         * sysdeps/alpha/fpu/s_round.c: Remove file.
40763         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
40765         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
40766         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
40767         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
40768         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
40769         (_dl_start, print_statistics): Likewise.
40770         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
40771         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
40773         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40774         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40775         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40776         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40777         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40778         (HP_SMALL_TIMING_AVAIL): Define.
40779         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40780         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40781         (HP_SMALL_TIMING_AVAIL): Define.
40782         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40783         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40785         * sysdeps/aarch64/hp-timing.h: New file.
40787         * sysdeps/generic/hp-timing.h: Remove dead comment.
40788         * sysdeps/generic/hp-timing-common.h: New file.
40789         * sysdeps/alpha/hp-timing.h: Include it.
40790         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
40791         * sysdeps/i386/i686/hp-timing.h: Likewise.
40792         * sysdeps/ia64/hp-timing.h: Likewise.
40793         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40794         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40795         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40796         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40797         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
40798         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
40799         (hp_timing_t): New.
40801         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
40802         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
40803         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
40804         * elf/rtld.c (_dl_start_final): Likewise.
40805         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
40806         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40807         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40808         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40809         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40810         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40811         (HP_TIMING_DIFF_INIT): Remove.
40812         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40813         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40814         (HP_TIMING_DIFF_INIT): Remove.
40815         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40816         * sysdeps/i386/i686/hp-timing.c: Remove file.
40817         * sysdeps/x86_64/hp-timing.c: Remove file.
40818         * sysdeps/ia64/hp-timing.c: Remove file.
40819         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
40820         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
40821         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
40822         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
40824         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
40825         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
40826         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
40827         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40828         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40829         (HP_TIMING_ACCUM): Remove.
40830         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40831         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
40832         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40834         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
40835         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
40836         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
40837         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
40838         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
40839         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40840         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
40841         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40843         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
40845 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
40847         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
40849 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40851         Sync up with gettext.
40852         * intl/loadmsgcat.c: Define O_BINARY if not defined.
40853         [_MSC_VER]: Include malloc.h
40854         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
40855         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
40856         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
40857         TEMP_FAILURE_RETRY.  Cast return of alloca.
40858         [!_LIBC] Call gl_rwlock_init.
40859         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
40861 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40863         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
40864         before checking its value.
40866 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40868         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
40870         * debug/memcpy_chk.c: Don't include pagecopy.h.
40871         * debug/mempcpy_chk.c: Likewise.
40872         * string/memcpy.c: Likewise.
40873         * string/memmove.c: Likewise.
40874         * sysdeps/powerpc/memmove.c: Likewise.
40875         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
40876         definition of PAGE_COPY_FWD_MAYBE here...
40877         * sysdeps/generic/pagecopy.h: ... from here.
40878         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
40880 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40881             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40883         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
40884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
40885         optimizations.
40886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40887         (__libc_ifunc_impl_list): Likewise.
40888         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
40889         multiarch strcat for PPC64.
40890         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
40891         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
40893 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40895         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
40897 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40899         * intl/loadmsgcat.c: Remove declaration of
40900         get_sysdep_segment_value.
40901         (get_sysdep_segment_value): Use ISO C style.
40902         (_nl_load_domain): Use ISO C style.  Get rid of redundant
40903         semicolon.  Fix typo and formatting in comment.
40904         (_nl_unload_domain): Use ISO C style.
40906         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
40908 2014-07-02  Will Newton  <will.newton@linaro.org>
40910         * malloc/obstack.c: Merge from gnulib master.
40911         [HAVE_CONFIG_H]: Remove conditional code.
40912         [!_LIBC]: Include config.h.
40913         [!ELIDE_CODE]: Don't include inttypes.h, include
40914         stdint.h unconditionally.
40915         (print_and_abort): Mark as _Noreturn.
40916         (_obstack_allocated_p): Mark as __attribute_pure__.
40917         (obstack_free): Rename to __obstack_free.
40918         [!__attribute__]: Remove conditional code.
40919         * malloc/obstack.h: Merge from gnulib master.
40920         [__cplusplus]: Move conditional down.
40921         [!__attribute_pure__]: Define __attribute_pure__ here
40922         if it is not already defined.
40923         (_obstack_memory_used): Mark as __attribute_pure__.
40924         [!__obstack_free]: Define as obstack_free.
40925         [__GNUC__]: Remove check for ancient NeXT gcc.
40927 2014-07-02  Will Newton  <will.newton@linaro.org>
40928             Paul Eggert  <eggert@cs.ucla.edu>
40930         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
40932 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40934         * resolv/gethnamaddr.c: Add comment warning that the file is
40935         not maintained.
40937 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
40939         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
40940         entries.
40942         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
40943         entry for aio_cancel and aio_cancel64.
40944         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
40945         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
40946         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
40947         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
40948         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
40949         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
40950         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
40951         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
40952         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
40953         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
40954         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
40955         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
40956         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
40958 2014-07-01  Roland McGrath  <roland@hack.frob.com>
40960         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
40961         * nptl/pthread_mutex_lock.c: Likewise.
40962         * nptl/pthread_mutex_timedlock.c: Likewise.
40963         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
40965 2014-07-01  Richard henderson  <rth@redhat.com>
40967         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
40968         (__isnan, __isnanl): Remove.
40969         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
40971         * sysdeps/alpha/fpu/libm-test-ulps: Update.
40973 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40975         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40977 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40979         * resolv/nss_dns/dns-host.c (getanswer_r)
40980         [MULTI_PTRS_ARE_ALIASES]: Remove code.
40982 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
40984         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40985         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
40986         undefine.
40987         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
40988         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
40990 2014-07-01  Roland McGrath <roland@hack.frob.com>
40992         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
40993         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
40995         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
40996         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
40998         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
40999         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
41000         ... here.
41001         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
41002         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
41004         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
41005         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
41006         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
41007         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
41009         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
41010         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
41011         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
41012         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
41013         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
41014         Moved ...
41015         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
41016         ... here.
41017         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
41018         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
41019         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
41020         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
41021         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
41022         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
41023         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
41024         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
41025         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
41026         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
41027         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
41028         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
41029         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
41030         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
41031         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
41032         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
41033         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
41034         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
41035         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
41036         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
41037         ... here.
41038         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
41039         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
41040         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
41041         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
41042         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
41043         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
41044         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
41045         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
41047 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
41049         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
41050         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
41051         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
41052         Add sysdep.
41054 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41058 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41060         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
41061         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
41063         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41065         * sysdeps/arm/libm-test-ulps: Regenerated.
41067 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41068             Roland McGrath <roland@hack.frob.com>
41070         * test-skeleton.c (signal_handler): Kill the whole process group
41071         before killing the child individually.
41072         (main): Report any failure on `setpgid'.
41074 2014-06-30  Roland McGrath  <roland@hack.frob.com>
41076         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
41077         from _TLS_H to _ARM_NPTL_TLS_H.
41078         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
41079         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
41081 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41083         [BZ #16539]
41084         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
41085         (__expm1l): Return argument unchanged when small but not
41086         subnormal.
41088         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
41089         include macro name.
41090         (_FP_UNPACK_RAW_1_P): Likewise.
41091         (_FP_PACK_RAW_1): Likewise.
41092         (_FP_PACK_RAW_1_P): Likewise.
41093         (_FP_MUL_MEAT_1_wide): Likewise.
41094         (_FP_MUL_MEAT_DW_1_hard): Likewise.
41095         (_FP_MUL_MEAT_1_hard): Likewise.
41096         (_FP_DIV_MEAT_1_imm): Likewise.
41097         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
41098         (_FP_DIV_MEAT_1_udiv): Likewise.
41099         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
41100         (_FP_UNPACK_RAW_2): Likewise.
41101         (_FP_UNPACK_RAW_2_P): Likewise.
41102         (_FP_PACK_RAW_2): Likewise.
41103         (_FP_PACK_RAW_2_P): Likewise.
41104         (_FP_MUL_MEAT_DW_2_wide): Likewise.
41105         (_FP_MUL_MEAT_2_wide): Likewise.
41106         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
41107         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
41108         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
41109         (_FP_MUL_MEAT_2_gmp): Likewise.
41110         (_FP_DIV_MEAT_2_udiv): Likewise.
41111         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
41112         (_FP_FRAC_SRL_4): Likewise.
41113         (_FP_FRAC_SRST_4): Likewise.
41114         (_FP_FRAC_SRS_4): Likewise.
41115         (_FP_UNPACK_RAW_4): Likewise.
41116         (_FP_UNPACK_RAW_4_P): Likewise.
41117         (_FP_PACK_RAW_4): Likewise.
41118         (_FP_PACK_RAW_4_P): Likewise.
41119         (_FP_MUL_MEAT_DW_4_wide): Likewise.
41120         (_FP_MUL_MEAT_4_wide): Likewise.
41121         (_FP_MUL_MEAT_4_gmp): Likewise.
41122         (umul_ppppmnnn): Likewise.
41123         (_FP_DIV_MEAT_4_udiv): Likewise.
41124         (__FP_FRAC_ADD_4): Likewise.
41125         (__FP_FRAC_SUB_3): Likewise.
41126         (__FP_FRAC_SUB_4): Likewise.
41127         (__FP_FRAC_DEC_3): Likewise.
41128         (__FP_FRAC_DEC_4): Likewise.
41129         (__FP_FRAC_ADDI_4): Likewise.
41130         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
41131         (_FP_FRAC_SRL_8): Likewise.
41132         (_FP_FRAC_SRS_8): Likewise.
41134         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
41135         include macro name.
41136         (FP_UNPACK_RAW_EP): Likewise.
41137         (FP_PACK_RAW_E): Likewise.
41138         (FP_PACK_RAW_EP): Likewise.
41139         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
41140         (_FP_ISSIGNAN): Likewise.
41141         (_FP_ADD_INTERNAL): Likewise.
41142         (_FP_FMA): Likewise.
41143         (_FP_CMP): Likewise.
41144         (_FP_SQRT): Likewise.
41145         (_FP_TO_INT): Likewise.
41146         (_FP_FROM_INT): Likewise.
41147         (FP_EXTEND): Likewise.
41148         (_FP_DIV_MEAT_N_loop): Likewise.
41150 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41152         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
41153         throughout.
41155 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
41157         [BZ #17097]
41158         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
41159         result with correct sign in case of exponents that produce
41160         overflow except for X very close to 1.
41162 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
41164         mktime: merge #if/#ifdef usage from glibc
41165         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
41166         as that works with both Glibc's and Gnulib's style.
41167         See thread starting at Siddhesh Poyarekar's bug report at:
41168         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
41170 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41172         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
41173         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
41174         * sysdeps/tile/tilegx/memmove.c: Remove file.
41176 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
41178         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
41179         abi-name definition.
41180         * scripts/soversions.awk: Do not handle or generate ABI lines.
41181         * shlib-versions: Remove ABI entries.
41182         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
41183         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
41185 2014-06-27  Roland McGrath  <roland@hack.frob.com>
41187         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
41188         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
41189         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
41190         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
41191         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
41192         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
41193         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
41194         Moved ...
41195         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
41196         ... here.
41197         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
41198         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
41199         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
41200         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
41201         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
41202         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
41203         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
41204         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
41205         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
41206         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
41207         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
41208         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
41209         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
41210         Moved ...
41211         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
41212         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
41213         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
41214         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
41215         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
41216         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
41217         Moved ...
41218         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
41219         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
41220         Moved ...
41221         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
41222         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
41223         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
41224         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
41225         Moved ...
41226         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
41227         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
41228         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
41229         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
41230         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
41231         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
41232         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
41233         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
41234         Moved ...
41235         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
41236         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
41237         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
41238         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
41239         Moved ...
41240         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
41241         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
41242         Moved ...
41243         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
41244         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
41245         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
41246         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
41247         Moved ...
41248         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
41249         ... here.
41250         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
41251         Identical file removed.
41252         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
41253         Moved ...
41254         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
41255         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
41256         Identical file removed.
41257         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
41258         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
41259         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
41260         Moved ...
41261         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
41262         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
41263         Identical file removed.
41264         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
41265         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
41266         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
41267         Identical file removed.
41268         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
41269         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
41270         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
41271         Identical file removed.
41272         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
41273         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
41274         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
41275         Identical file removed.
41276         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
41277         Moved ...
41278         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
41279         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
41280         Identical file removed.
41281         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
41282         Moved ...
41283         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
41284         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
41285         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
41286         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
41287         Identical file removed.
41288         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
41289         Moved ...
41290         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
41291         ... here.
41292         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
41293         Identical file removed.
41294         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
41295         Moved ...
41296         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
41297         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
41298         Identical file removed.
41299         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
41300         Moved ...
41301         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
41302         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
41303         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
41304         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
41305         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
41306         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
41307         Moved ...
41308         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
41309         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
41310         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
41312         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
41313         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
41314         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
41315         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
41316         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
41318 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
41320         [BZ #17092]
41321         * nscd/nscd.c (monitor_child): Return exit status of child
41322         instead of return value from wait syscall.
41324 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
41326         * configure.ac (libc_commonpagesize): Remove variable.
41327         (libc_relro_required): Likewise.
41328         (libc_cv_z_relro): Remove configure test.
41329         * configure: Regenerated.
41330         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
41331         variable.
41332         (libc_relro_required): Likewise.
41333         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
41334         (libc_relro_required): Likewise.
41335         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
41336         (libc_relro_required): Likewise.
41337         * sysdeps/arm/preconfigure: Regenerated.
41338         * sysdeps/ia64/preconfigure: Remove file.
41339         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
41340         variable.
41341         (libc_relro_required): Likewise.
41343         [BZ #16561]
41344         [BZ #16562]
41345         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
41346         (__ieee754_yn): Set FE_TONEAREST mode internally and then
41347         recompute overflowing results in original rounding mode.
41348         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
41349         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
41350         recompute overflowing results in original rounding mode.
41351         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
41352         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41353         recompute overflowing results in original rounding mode.
41354         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
41355         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41356         recompute overflowing results in original rounding mode.
41357         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
41358         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41359         recompute overflowing results in original rounding mode.
41360         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
41361         (libc_feholdsetround_ctx): New macro.
41362         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
41363         * sysdeps/i386/fpu/libm-test-ulps: Update.
41364         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
41366 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41368         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
41369         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
41370         corresponding .cpsetup call.
41372 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41374         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
41375         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
41376         * sysdeps/arm/Makefile [$(subdir) = csu]
41377         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
41378         (static-only-routines): Add aeabi_read_tp here.
41379         (shared-only-routines): Add libc-aeabi_read_tp here.
41380         (CFLAGS-libc-start.c): Add -fexceptions here.
41381         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
41382         (sysdep_routines, static-only-routines, shared-only-routines):
41383         Don't add to these here.
41384         (CFLAGS-libc-start.c): Likewise.
41386         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
41387         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41388         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
41389         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41390         * sysdeps/arm/Makefile [$(subdir) = rt]
41391         (librt-sysdep_routines, librt-shared-only-routines):
41392         Append rt-aeabi_unwind_cpp_pr1 here.
41393         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
41394         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
41395         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
41396         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41397         Append nptl-aeabi_unwind_cpp_pr1 here.
41398         (tests): Filter out tst-cleanupx4 here.
41399         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
41400         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
41401         Don't do those here.
41403 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41405         * scripts/list-sources.sh: Do not handle ports specially.
41407 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41409         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
41410         * sysdeps/arm/feupdateenv.c: Likewise.
41412         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
41414 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41416         * manual/texinfo.tex: Update to version 2014-05-05.10 with
41417         trailing whitespace removed.
41418         * scripts/config.guess: Update to version 2014-03-23.
41419         * scripts/config.sub: Update to version 2014-05-01
41420         * scripts/install-sh: Update to version 2013-12-25.23.
41421         * scripts/move-if-change: Update from gnulib.
41423 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41425         * debug/memmove_chk.c: Remove pagecopy.h include.
41427 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
41429         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
41430         identical to gnulib mktime.
41432 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41434         * configure.ac: Do not test for machine being rs6000.  Do not test
41435         for powerpc*-*soft.
41436         * configure: Regenerated.
41438         [BZ #11505]
41439         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
41440         test.
41441         * configure: Regenerated.
41442         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
41443         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
41444         Remove configure test.
41445         * sysdeps/arm/configure: Regenerated.
41446         * sysdeps/nptl/configure.ac: Do not check
41447         libc_cv_asm_cfi_directives.
41448         * sysdeps/nptl/configure: Regenerated.
41449         * sysdeps/x86_64/nptl/configure.ac: Remove file.
41450         * sysdeps/x86_64/nptl/configure: Remove generated file.
41451         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
41452         unconditional.
41453         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
41455 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41457         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
41458         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
41459         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
41460         it is defined.
41462         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
41463         instead of whether it is defined.
41464         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
41465         * sysdeps/hppa/dl-machine.h: Likewise.
41466         * sysdeps/ia64/dl-machine.h: Likewise.
41467         * sysdeps/m68k/dl-machine.h: Likewise.
41468         * sysdeps/microblaze/dl-machine.h: Likewise.
41469         * sysdeps/mips/dl-machine.: Likewise.
41470         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41471         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41472         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41473         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41474         * sysdeps/sh/dl-machine.h: Likewise.
41475         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41476         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41477         * sysdeps/tile/dl-machine.h: Likewise.
41478         * sysdeps/x86_64/dl-machine.h: Likewise.
41480         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
41481         code.
41482         (verify_persistent_db): Likewise.
41484 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
41487         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
41488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
41489         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
41490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41491         Moved ...
41492         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
41493         ... here.
41494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
41495         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
41496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
41497         Identical file removed.
41498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
41499         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
41500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
41501         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
41502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
41503         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
41504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
41505         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
41506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
41507         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
41508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41509         Moved ...
41510         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
41511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
41512         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
41513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
41514         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
41515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41516         Moved ...
41517         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
41518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
41519         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
41520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
41521         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
41522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41523         Identical file removed.
41524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
41525         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
41526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
41527         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
41528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41529         Moved ...
41530         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
41531         ... here.
41532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
41533         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
41534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
41535         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
41536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
41537         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
41538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
41539         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
41540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
41541         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
41542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41543         Moved ...
41544         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
41545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
41546         Moved ...
41547         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
41548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
41549         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
41550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41551         Moved ...
41552         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
41553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
41554         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
41556         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
41557         folded into ...
41558         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
41559         * sysdeps/unix/sysv/linux/s390/Versions
41560         (libpthread: GLIBC_2.19): New version set.
41561         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
41562         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
41563         (librt: GLIBC_2.3.3): New version set.
41564         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
41565         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
41566         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
41567         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
41568         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
41569         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
41570         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
41571         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
41572         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
41573         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
41574         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
41575         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
41576         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
41577         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
41578         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
41579         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
41580         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
41581         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
41582         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
41583         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
41584         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
41585         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
41586         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
41587         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
41588         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
41589         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
41590         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
41591         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
41592         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
41593         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
41594         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
41595         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
41596         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
41597         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
41598         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
41599         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
41600         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
41601         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
41602         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
41603         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
41604         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
41605         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
41606         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
41607         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
41608         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
41610         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
41611         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
41612         (__libc_vfork): Define the function under this name.
41613         [!NOT_IN_libc] (__vfork): Make this an alias.
41614         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41615         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
41616         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
41617         (__libc_vfork): Define the function under this name.
41618         [!NOT_IN_libc] (__vfork): Make this an alias.
41619         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41620         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
41621         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
41622         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
41623         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
41624         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41626         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
41627         code that was previously under [RESET_PID].
41628         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
41629         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
41630         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
41632         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
41633         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
41634         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
41635         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
41636         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
41637         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
41638         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
41639         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
41640         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
41641         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
41642         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
41643         Moved ...
41644         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
41645         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
41646         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
41647         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
41648         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
41649         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
41650         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
41651         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
41652         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
41653         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
41654         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
41655         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
41656         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
41657         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
41658         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
41659         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
41660         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
41661         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
41662         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
41663         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
41664         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
41665         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
41666         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
41667         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
41668         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
41669         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
41670         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
41671         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
41672         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
41674 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41676         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
41677         that was previously under [RESET_PID].
41678         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
41680 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41682         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
41683         not undefine and redefine.
41684         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
41685         [O_CLOEXEC]: Make code unconditional.
41686         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
41687         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
41688         <kernel-features.h>.
41689         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
41690         conditional variable definition.
41691         (shm_open) [O_CLOEXEC]: Make code unconditional.
41692         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
41693         code.
41695         * configure.ac (USE_REGPARMS): Don't define here.
41696         * configure: Regenerated.
41697         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
41698         * sysdeps/i386/configure: Regenerated.
41700         * nptl/createthread.c: Don't include kernel-features.h.
41701         * nptl/pthread_cancel.c: Likewise.
41702         * nptl/pthread_condattr_setclock.c: Likewise.
41703         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
41704         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
41705         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
41706         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
41707         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
41708         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
41709         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41710         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
41711         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41712         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
41713         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
41714         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
41715         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
41716         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
41717         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
41718         * nscd/gai.c: Likewise.
41719         * nss/nss_db/db-open.c: Likewise.
41720         * sysdeps/generic/ldsodefs.h: Likewise.
41721         * sysdeps/sh/nptl/tls.h: Likewise.
41722         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41723         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
41724         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
41725         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
41726         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
41727         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41728         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
41729         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41730         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41731         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
41732         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
41733         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41734         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
41735         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
41736         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
41737         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
41738         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
41739         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
41740         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
41741         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
41742         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
41743         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
41744         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
41745         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
41746         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
41747         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
41748         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
41749         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
41750         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41751         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
41752         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
41753         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
41754         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
41755         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41756         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41757         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41758         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41759         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
41760         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
41761         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
41762         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41763         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
41764         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
41765         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41766         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
41767         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
41768         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
41769         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
41770         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
41771         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
41772         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
41773         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
41774         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
41775         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41776         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
41777         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41778         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
41779         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
41780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
41782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
41783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
41784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
41785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
41786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
41787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
41788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
41791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
41792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
41793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
41794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
41800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
41801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
41802         * sysdeps/unix/sysv/linux/pread.c: Likewise.
41803         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
41804         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
41805         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
41806         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
41807         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
41808         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
41809         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
41810         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
41811         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
41812         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
41813         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
41814         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
41815         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
41816         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
41817         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
41818         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41819         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
41820         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
41821         * sysdeps/unix/sysv/linux/system.c: Likewise.
41822         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
41823         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
41824         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41825         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41826         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41827         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41828         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41830         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
41831         * configure: Regenerated.
41832         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
41834         * configure.ac (base_machine): Do not set specially for particular
41835         machines here.
41836         * configure: Regenerated.
41837         * sysdeps/powerpc/preconfigure: Move machine and base_machine
41838         settings from configure.ac.
41839         * sysdeps/i386/preconfigure: New file.
41840         * sysdeps/s390/preconfigure: Likewise.
41841         * sysdeps/sh/preconfigure: Likewise.
41842         * sysdeps/sparc/preconfigure: Likewise.
41844 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41846         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
41847         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
41848         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
41849         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
41850         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
41851         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
41852         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
41853         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
41854         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
41855         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
41856         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
41857         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
41858         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
41859         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
41860         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
41861         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
41862         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
41863         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
41864         * sysdeps/sparc/sparc64/Makefile: ... appended here.
41866         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
41867         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
41868         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
41869         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
41870         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
41871         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
41872         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
41873         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
41874         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
41875         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
41876         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
41877         * sysdeps/sparc/sparc32/sem_post.c: ... here.
41878         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
41879         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
41880         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
41881         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
41882         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
41883         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
41884         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
41885         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
41886         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
41887         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
41888         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
41889         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
41890         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
41891         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
41892         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
41893         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
41894         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
41895         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
41896         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
41897         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
41898         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
41899         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
41900         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
41901         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
41902         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
41903         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
41905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
41906         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
41907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
41908         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
41909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41910         Moved ...
41911         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
41912         ... here.
41913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
41914         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
41915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
41916         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
41917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
41918         Moved ...
41919         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
41920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
41921         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
41922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
41923         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
41924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
41925         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
41926         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41927         Moved ...
41928         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
41929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41930         Moved ...
41931         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
41932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
41933         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
41934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41935         Moved ...
41936         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
41937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
41938         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
41939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
41940         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
41941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
41942         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
41943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
41944         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
41945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41946         Moved ...
41947         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
41948         ... here.
41949         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
41950         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
41951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
41952         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
41953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
41954         Moved ...
41955         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
41956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
41957         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
41958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
41959         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
41960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
41961         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
41962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41963         Moved ...
41964         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
41965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41966         Moved ...
41967         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
41968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
41969         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
41970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41971         Moved ...
41972         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
41973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
41974         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
41975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
41976         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
41978 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41980         * timezone/checktab.awk: Update from tzcode 2014e.
41981         * timezone/private.h: Likewise.
41982         * timezone/tzfile.h: Likewise.
41983         * timezone/zdump.c: Likewise.
41984         * timezone/zic.c: Likewise.
41986         * sysdeps/unix/sysv/linux/kernel-features.h
41987         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
41988         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
41989         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
41990         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41991         Remove conditional code.
41993 2014-06-25  Will Newton  <will.newton@linaro.org>
41995         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
41996         (_dl_arm_cap_flags): Add HWCAP2 values.
41997         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
41998         (_DL_HWCAP_COUNT): Increase to 37.
41999         (_DL_HWCAP_LAST): New define.
42000         (_DL_HWCAP2_LAST): New define.
42001         (_dl_procinfo): Add support for printing
42002         AT_HWCAP2 entries.
42003         (_dl_string_hwcap): Use _dl_hwcap_string.
42005 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42009 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42011         * README: Do not mention ports directory.
42013         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
42014         Remove macro.
42015         * sysdeps/unix/sysv/linux/futimes.c: Do not include
42016         <kernel-features.h>.
42017         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
42018         conditional variable definition.
42019         (__futimes): Update comment.
42020         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
42021         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
42023         [BZ #16560]
42024         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
42025         arguments close to 0.
42026         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
42027         Likewise.
42028         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
42029         Likewise.
42030         * math/auto-libm-test-in: Add more tests of exp10.
42031         * math/auto-libm-test-out: Regenerated.
42032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42034         * sysdeps/unix/sysv/linux/kernel-features.h
42035         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
42036         * sysdeps/unix/sysv/linux/readv.c: Do not include
42037         <kernel-features.h>.
42038         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42039         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42040         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42041         unconditional.
42042         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42043         conditional code.
42044         * sysdeps/unix/sysv/linux/writev.c: Do not include
42045         <kernel-features.h>.
42046         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42047         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42048         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42049         unconditional.
42050         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42051         conditional code.
42053 2014-06-25  Will Newton  <will.newton@linaro.org>
42055         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
42056         comment changes throughout the file.  Remove checks
42057         for HAVE_*_H definitions that are not required.
42058         (__gen_tempname): Call abort if an unknown kind value is
42059         passed.
42061 2014-06-25  Andreas Schwab  <schwab@suse.de>
42063         [BZ #17086]
42064         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
42065         scalbln, scalblnf, scalblnl in libc.
42067 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42069         [BZ #17086]
42070         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
42071         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42072         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42074 2014-06-24  Roland McGrath  <roland@hack.frob.com>
42076         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
42077         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
42078         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
42079         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
42080         Update #include.
42081         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
42082         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
42083         Update #include.
42084         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
42085         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
42086         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
42087         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
42088         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
42089         * sysdeps/x86/bits/pthreadtypes.h: ... here.
42090         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
42091         * sysdeps/x86/bits/semaphore.h: ... here.
42092         * sysdeps/x86/nptl/elide.h: Moved ...
42093         * sysdeps/x86/elide.h: ... here.
42094         * sysdeps/x86_64/nptl/Implies: File removed.
42095         * sysdeps/i386/nptl/Implies: File removed.
42097 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
42099         [BZ #16539]
42100         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
42101         return the argument for normal arguments with exponent below -64.
42102         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42103         Likewise.
42104         * math/auto-libm-test-in: Add another test of expm1.
42105         * math/auto-libm-test-out: Regenerated.
42107         [BZ #16287]
42108         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
42109         calling __erfcl for arguments at least 16.
42110         * math/auto-libm-test-in: Add more tests of erf.
42111         * math/auto-libm-test-out: Regenerated.
42113         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
42114         individual architectures.
42115         * sysdeps/unix/sysv/linux/configure: Regenerated.
42116         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
42117         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
42118         * sysdeps/unix/sysv/linux/powerpc/configure.ac
42119         (ldd_rewrite_script): Define variable.
42120         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
42122         file.
42123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
42124         generated file.
42125         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
42126         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
42127         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
42128         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
42129         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
42130         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
42131         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
42132         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
42134 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42136         [BZ #17084]
42137         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
42138         Rename member __data.d to __data.__elision_data.
42140 2014-06-24  Wilco  <wdijkstr@arm.com>
42142         * NEWS: Add 16918 to fixed bug list.
42144 2014-06-24  Wilco  <wdijkstr@arm.com>
42146         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
42148 2014-06-24  Wilco  <wdijkstr@arm.com>
42150         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
42151         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
42152         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
42153         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
42154         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
42155         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
42156         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
42157         Use _FPU_MASK_RM.
42159 2014-06-24  Wilco  <wdijkstr@arm.com>
42161         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
42163 2014-06-24  Wilco  <wdijkstr@arm.com>
42165         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
42166         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
42167         * sysdeps/arm/fesetround.c (fesetround): Remove space.
42168         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
42170 2014-06-24  Wilco  <wdijkstr@arm.com>
42172         [BZ #16918]
42173         * sysdeps/arm/feupdateenv.c (feupdateenv):
42174         Rewrite to reduce FPSCR accesses and fix return value.
42176 2014-06-24  Wilco  <wdijkstr@arm.com>
42178         * sysdeps/arm/fclrexcpt.c (feclearexcept):
42179         Optimize to avoid unnecessary FPSCR writes.
42180         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
42181         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
42182         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
42183         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
42185 2014-06-24  Wilco  <wdijkstr@arm.com>
42187         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
42188         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
42189         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
42190         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
42191         Call libc_fetestexcept_vfp.
42192         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
42193         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
42194         __SOFTFP__ ifdef so that they can be built for softfp.
42196 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42198         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
42199         argument type signed char.
42201         * Makerules (check-abi): Dump diff of symlist if the test
42202         fails.
42204 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42206         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
42207         using abort.
42209         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42210         Remove unused variable ST.
42212 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42214         [BZ #16354]
42215         [BZ #17061]
42216         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
42217         small arguments before calling __expm1.
42218         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
42219         small arguments before calling __expm1f.
42220         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
42221         small arguments before calling __expm1l.
42222         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42223         Likewise.
42224         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
42225         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
42226         spurious underflow for some cosh tests.
42227         * math/auto-libm-test-out: Regenerated.
42228         * sysdeps/i386/fpu/libm-test-ulps: Update.
42230         [BZ #17050]
42231         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
42232         (__ieee754_y1): Set errno if return value overflows.
42233         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
42234         (__ieee754_y1f): Set errno if return value overflows.
42235         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
42236         (__ieee754_y1l): Set errno if return value overflows.
42237         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
42238         (__ieee754_y1l): Set errno if return value overflows.
42239         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
42240         * math/auto-libm-test-out: Regenerated.
42242         * math/gen-auto-libm-tests.c: Document use of
42243         ignore-zero-inf-sign.
42244         (input_flag_type): Add value flag_ignore_zero_inf_sign.
42245         (input_flags): Add ignore-zero-inf-sign.
42246         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
42247         * math/gen-libm-test.pl (generate_testfile): Handle
42248         ignore-zero-inf-sign.
42249         * math/auto-libm-test-in: Mark some cpow tests with
42250         ignore-zero-inf-sign and some with xfail-rounding.
42251         * math/auto-libm-test-out: Regenerated.
42252         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
42253         * sysdeps/i386/fpu/libm-test-ulps: Update.
42254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42256         [BZ #16315]
42257         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
42258         overflowing or underflowing operations take place with sign of
42259         result.
42260         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42261         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42262         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
42263         (__ieee754_pow): Recompute overflowing and underflowing results in
42264         original rounding mode.
42265         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
42266         (__powl_helper): Allow negative argument X and scale negated value
42267         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
42268         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
42269         overflowing or underflowing operations take place with sign of
42270         result.
42271         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
42272         Include <math.h>.
42273         * math/auto-libm-test-in: Add more tests of pow.
42274         * math/auto-libm-test-out: Regenerated.
42275         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
42276         (pow_tonearest_test_data): Remove.
42277         (pow_test_tonearest): Likewise.
42278         (pow_towardzero_test_data): Likewise.
42279         (pow_test_towardzero): Likewise.
42280         (pow_downward_test_data): Likewise.
42281         (pow_test_downward): Likewise.
42282         (pow_upward_test_data): Likewise.
42283         (pow_test_upward): Likewise.
42284         (main): Don't call removed functions.
42285         * sysdeps/i386/fpu/libm-test-ulps: Update.
42286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42288 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
42291         Moved ...
42292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
42293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42294         Moved ...
42295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
42296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42297         Moved ...
42298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
42299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42300         Moved ...
42301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
42302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42303         File removed.
42304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42305         File removed.
42306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
42307         File removed.
42308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
42309         File removed.
42310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
42311         File removed.
42312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
42313         File removed.
42314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
42315         File removed.
42316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42317         File removed.
42318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
42319         File removed.
42320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42321         File removed.
42322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
42323         File removed.
42324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
42325         File removed.
42326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
42327         Moved ...
42328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
42329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
42330         Moved ...
42331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
42332         ... here.
42333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
42334         Moved ...
42335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
42336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
42337         Moved ...
42338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
42339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
42340         Moved ...
42341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
42342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
42343         Moved ...
42344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
42345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
42346         Moved ...
42347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
42348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
42349         Moved ...
42350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
42351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
42352         Moved ...
42353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
42354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
42355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
42356         ... here.
42357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
42358         Moved ...
42359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
42360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42361         Moved ...
42362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
42363         ... here.
42364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
42365         Moved ...
42366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
42367         ... here.
42368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42369         Moved ...
42370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42371         ... here.
42372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42373         Moved ...
42374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
42375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42376         Moved ...
42377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
42378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
42379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
42380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42381         Moved ...
42382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
42383         ... here.
42384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42385         Moved ...
42386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
42387         ... here.
42388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42389         Moved ...
42390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
42391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42392         Moved ...
42393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
42394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42395         Moved ...
42396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
42397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42398         Moved ...
42399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
42400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42401         Moved ...
42402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
42403         ... here.
42404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42405         Moved ...
42406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
42407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42408         Moved ...
42409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
42410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42411         Moved ...
42412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
42413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42414         Moved ...
42415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
42416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
42417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
42418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42419         Moved ...
42420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
42421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42422         Moved ...
42423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
42424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42425         Moved ...
42426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
42427         ... here.
42428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42429         Moved ...
42430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
42431         ... here.
42432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42433         Moved ...
42434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
42435         ... here.
42436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42437         Moved ...
42438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
42439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42440         Moved ...
42441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
42442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42443         Moved ...
42444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
42445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42446         Moved ...
42447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
42448         ... here.
42449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42450         Moved ...
42451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
42452         ... here.
42453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42454         Moved ...
42455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
42456         ... here.
42457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42458         Moved ...
42459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
42460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42461         Moved ...
42462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
42464 2014-06-23  Will Newton  <will.newton@linaro.org>
42465             Wilco  <wdijkstr@arm.com>
42467         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
42468         implementation.  Include get-rounding-mode.h.
42469         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
42470         [!libc_feholdsetround_noex_ctx]: Define
42471         libc_feholdsetround_noex_ctx.
42472         [!libc_feholdsetround_noexf_ctx]: Define
42473         libc_feholdsetround_noexf_ctx.
42474         [!libc_feholdsetround_noexl_ctx]: Define
42475         libc_feholdsetround_noexl_ctx.
42476         (libc_feholdsetround_ctx): New function.
42477         (libc_feresetround_ctx): New function.
42478         (libc_feholdsetround_noex_ctx): New function.
42479         (libc_feresetround_noex_ctx): New function.
42481 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42483         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
42484         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
42485         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
42486         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
42487         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
42488         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
42490         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
42491         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
42492         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
42493         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
42494         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
42495         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
42496         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
42497         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
42498         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
42499         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
42500         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
42501         Moved ...
42502         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
42503         ... here.
42504         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
42505         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
42506         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
42507         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
42508         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
42509         Moved ...
42510         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
42511         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
42512         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
42513         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
42514         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
42515         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
42516         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
42517         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
42518         Moved ...
42519         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
42520         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
42521         Moved ...
42522         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
42523         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
42524         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
42525         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
42526         Moved ...
42527         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
42528         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
42529         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
42530         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
42531         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
42532         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
42533         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
42534         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
42535         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
42536         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
42537         Moved ...
42538         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
42539         ... here.
42540         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
42541         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
42542         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
42543         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
42544         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
42545         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
42546         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
42547         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
42548         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
42549         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
42550         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
42551         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
42552         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
42553         Moved ...
42554         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
42555         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
42556         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
42557         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
42558         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
42559         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
42560         Moved ...
42561         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
42562         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
42563         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
42564         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
42565         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
42567         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
42568         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
42569         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
42570         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
42571         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
42572         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
42573         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
42574         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
42575         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
42576         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
42577         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
42578         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
42579         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
42580         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
42581         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
42582         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
42583         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
42584         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
42585         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
42586         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
42587         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
42588         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
42589         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
42590         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
42591         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
42592         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
42593         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
42594         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
42596 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42598         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
42599         (FALLOC_FL_COLLAPSE_RANGE): New macro.
42600         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
42601         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
42602         (IPV6_PMTUDISC_INTERFACE): Likewise.
42603         (IPV6_PMTUDISC_OMIT): Likewise.
42605 2014-06-23  Andreas Schwab  <schwab@suse.de>
42607         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
42608         Remove unused errout label.
42610 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42612         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
42613         macro: hardware supports Vector Crypto instructions.
42615 2014-06-23  Will Newton  <will.newton@linaro.org>
42617         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
42618         rather than __builtin_expect.
42620         * elf/dl-lookup.c (undefined_msg): Remove variable.
42621         (_dl_lookup_symbol_x): Replace undefined_msg with string
42622         literal.
42624         * elf/dl-lookup.c (do_lookup_unique): New function.
42625         (do_lookup_x): Move STB_GNU_UNIQUE handling code
42626         to a separate function.
42628 2014-06-23  Andreas Schwab  <schwab@suse.de>
42630         [BZ #17079]
42631         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
42632         before reading the next line.
42634 2014-06-23  Will Newton  <will.newton@linaro.org>
42636         * test-skeleton.c (signal_handler): Use printf and %m
42637         rather than perror.  Use printf rather than fprintf to
42638         stderr.  Use puts rather than fputs to stderr.
42639         (main): Likewise.
42641 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
42643         * nscd/nscd.c (thread_info_t): Remove typedef.
42644         (thread_info): Remove variable.
42646 2014-06-21  Allan McRae  <allan@archlinux.org>
42648         * NEWS: Mention CVE-2014-4043.
42650 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42652         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
42653         * nptl/smp.h: ... here.
42655         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
42657         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
42658         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
42659         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
42660         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
42662         * nptl/allocatestack.c: Include <stack-aliasing.h>.
42663         * nptl/stack-aliasing.h: New file.
42664         * sysdeps/i386/i686/stack-aliasing.h: New file.
42665         * sysdeps/i386/i686/nptl/Makefile: File removed.
42666         * sysdeps/x86_64/stack-aliasing.h: New file.
42667         * sysdeps/x86_64/nptl/Makefile
42668         (CFLAGS-pthread_create.c): Variable removed.
42670         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
42671         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
42672         old file.
42673         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
42674         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
42675         old file.
42677 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
42679         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42680         (__ASSUME_SIGFRAME_V2): Remove macro.
42681         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
42682         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
42683         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
42684         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
42685         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
42686         Declare as function.  Remove conditional macro definitions.
42687         (__default_rt_sa_restorer): Likewise.
42688         (__default_sa_restorer_v1): Remove declaration.
42689         (__default_sa_restorer_v2): Likewise.
42690         (__default_rt_sa_restorer_v1): Likewise.
42691         (__default_rt_sa_restorer_v2): Likewise.
42692         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
42693         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
42694         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
42696 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42698         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
42699         (libpthread-routines): Add sysdep.
42700         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
42701         * sysdeps/unix/sysv/linux/sparc/Versions
42702         (libpthread: GLIBC_2.3.3): New version set.
42703         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
42704         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
42705         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
42706         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
42707         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
42708         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
42709         Moved ...
42710         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
42711         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
42712         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
42713         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
42714         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
42715         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
42716         * sysdeps/sparc/nptl/sem_init.c: ... here.
42717         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
42718         * sysdeps/sparc/nptl/sem_post.c: ... here.
42719         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
42720         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
42721         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
42722         * sysdeps/sparc/nptl/sem_wait.c: ... here.
42723         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
42724         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
42725         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
42726         (libpthread-routines): Add cpu_relax.
42727         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
42728         File removed.
42729         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
42730         (librt: GLIBC_2.3.3): New version set.
42731         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
42732         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
42733         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
42734         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
42735         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
42736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
42737         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
42738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
42739         Moved ...
42740         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
42741         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
42742         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
42743         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
42744         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
42745         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
42746         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
42747         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
42748         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
42749         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
42750         Moved ...
42751         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
42752         Update #include.
42753         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
42754         Moved ...
42755         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
42756         Update #include.
42757         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
42758         Moved ...
42759         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
42760         Update #include.
42761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
42762         Moved ...
42763         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
42764         Update #include.
42765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
42766         Moved ...
42767         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
42768         Update #include.
42769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
42770         Moved ...
42771         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
42772         Update #include.
42773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
42774         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
42775         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
42776         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
42777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
42778         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
42779         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
42780         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
42781         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
42782         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
42783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
42784         Moved ...
42785         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
42786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
42787         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
42788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
42789         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
42791 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42793         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
42794         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
42795         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42796         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
42797         * nscd/nscd.c: Likewise.
42798         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
42799         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
42800         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
42801         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
42803         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
42804         <kernel-features.h>.
42805         (init_mq_netlink): Remove conditional have_sock_cloexec
42806         definitions.  Remove code conditional on have_sock_cloexec < 0.
42807         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
42808         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
42809         * sysdeps/unix/sysv/linux/opensock.c: Do not include
42810         <kernel-features.h>.
42811         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
42812         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
42814 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42816         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42817         Add tests for memset_chk and memset.
42819         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
42820         with AVX2_Usable.
42822 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42824         [BZ #16046]
42825         * elf/tst-dl-iter-static.c: New file.
42826         * elf/Makefile (tests-static): Add tst-dl-iter-static.
42828         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
42829         error.
42831 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42833         * sysdeps/unix/sysv/linux/kernel-features.h
42834         (__ASSUME_F_GETOWN_EX): Remove macro.
42835         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
42836         <kernel-features.h>.
42837         (miss_F_GETOWN_EX): Remove variable or macro.
42838         (do_fcntl): Do not check miss_F_GETOWN_EX.
42839         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
42841         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
42842         Remove macro.
42843         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
42844         [!__ASSUME_AT_RANDOM]: Remove conditional code.
42845         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
42847         * sysdeps/unix/sysv/linux/kernel-features.h
42848         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
42849         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
42850         [ADJ_OFFSET_SS_READ]: Make code unconditional.
42851         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
42853 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42855         [BZ #17075]
42856         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
42857         Fix calculation of the symbol's value.
42858         * sysdeps/arm/tst-armtlsdescloc.c: New file.
42859         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
42860         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
42861         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
42862         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
42863         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
42864         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
42865         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
42866         (modules-names): Add `tst-armtlsdescmod',
42867         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
42868         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
42869         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42870         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
42871         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
42872         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42873         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
42874         ($(objpfx)tst-armtlsdescloc): New dependency.
42875         ($(objpfx)tst-armtlsdescextnow): Likewise.
42876         ($(objpfx)tst-armtlsdescextlazy): Likewise.
42877         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
42878         TLS scheme support.
42879         * sysdeps/arm/configure: Regenerate.
42881 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42883         * include/fcntl.h (__atfct_seterrno): Remove prototype.
42884         (__atfct_seterrno_2): Likewise.
42885         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
42886         <kernel-features.h>.
42887         (__ASSUME_ATFCTS): Do not undefine and redefine.
42888         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
42889         (__have_atfcts): Remove conditional definition.
42890         (__fxstatat([__NR_fstatat64]: Make code unconditional.
42891         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
42892         unreachable if [__ASSUME_ATFCTS].
42893         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
42894         not undefine and redefine.
42895         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
42896         <kernel-features.h>.
42897         (faccessat) [__NR_faccessat]: Make code unconditional.
42898         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
42899         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
42900         <kernel-features.h>.
42901         (fchmodat) [__NR_fchmodat]: Make code unconditional.
42902         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42903         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
42904         <kernel-features.h>.
42905         (fchownat) [__NR_fchownat]: Make code unconditional.
42906         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
42907         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
42908         <kernel-features.h>.
42909         (futimesat) [__NR_futimesat]: Make code unconditional.
42910         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
42911         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
42912         <kernel-features.h>.
42913         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42914         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42915         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
42916         <kernel-features.h>.
42917         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
42918         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42919         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
42920         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
42921         <kernel-features.h>.
42922         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
42923         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42924         * sysdeps/unix/sysv/linux/linkat.c: Do not include
42925         <kernel-features.h>.
42926         (linkat) [__NR_linkat]: Make code unconditional.
42927         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42928         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
42929         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
42930         <kernel-features.h>.
42931         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
42932         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42933         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
42934         <kernel-features.h>.
42935         (mkdirat) [__NR_mkdirat]: Make code unconditional.
42936         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
42937         * sysdeps/unix/sysv/linux/openat.c: Do not include
42938         <kernel-features.h>.
42939         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
42940         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
42941         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
42942         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
42943         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
42944         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
42945         <kernel-features.h>.
42946         (readlinkat) [__NR_readlinkat]: Make code unconditional.
42947         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
42948         result of INLINE_SYSCALL directly, not via int variable.
42949         * sysdeps/unix/sysv/linux/renameat.c: Do not include
42950         <kernel-features.h>.
42951         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
42952         (renameat) [__NR_renameat]: Make code unconditional.
42953         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
42954         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
42955         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
42956         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
42957         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
42958         (__ASSUME_ATFCTS): Do not undefine and redefine.
42959         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
42960         <kernel-features.h>.
42961         (symlinkat) [__NR_symlinkat]: Make code unconditional.
42962         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42963         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
42964         <kernel-features.h>.
42965         (unlinkat) [__NR_unlinkat]: Make code unconditional.
42966         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42967         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
42968         (__ASSUME_ATFCTS): Do not undefine and redefine.
42969         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
42970         <kernel-features.h>.
42971         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42972         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42973         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
42974         <kernel-features.h>.
42975         (__xmknodat) [__NR_mknodat]: Make code unconditional.
42976         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42978 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42980         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
42982 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
42984         [BZ #17069]
42985         * posix/regcomp.c (parse_reg_exp): Deallocate partially
42986         constructed tree before returning error.
42987         * posix/bug-regexp36.c: Expand test case.
42989 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
42991         [BZ #6803]
42992         * math/libm-test.inc (scalbln_test_date):
42993         Add errno expectations.
42994         * math/w_scalblnf.c: New File.
42995         Add wrapper which checks for setting errno to ERANGE.
42996         Add weak_alias for corresponding scalbln function.
42997         * math/w_scalbln.c: Likewise.
42998         * math/w_scalblnl.c: Likewise.
42999         * math/Makefile (libm-calls): Add w_scalbln.
43000         * sysdeps/ieee754/flt-32/s_scalblnf.c:
43001         Remove weak_alias for corresponding scalbln function.
43002         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43003         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43004         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43005         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43006         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
43007         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43008         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
43009         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43010         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
43011         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
43012         Remove long_double_symbol for scalblnl function in libm, libc.
43013         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
43014         Add wrapper which checks for setting errno to ERANGE.
43015         Add long_double_symbol for scalblnl function in libm, libc.
43016         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
43017         Remove long_double_symbol for scalblnl in libm.
43018         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
43019         Add wrapper which checks for setting errno to ERANGE.
43020         Add long_double_symbol for scalblnl function in libm.
43021         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
43022         Do not use wrapper because of own implementation.
43024 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
43026         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
43027         3 bytes for __pad1 for x32.
43028         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
43030 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
43031             H.J. Lu  <hongjiu.lu@intel.com>
43033         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
43034         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
43035         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43036         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43037         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
43039 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
43041         [BZ #17069]
43042         * posix/regcomp.c (parse_expression): Deallocate partially
43043         constructed tree before returning error.
43044         * posix/Makefile.c (tests): Add bug-regex36.
43045         (generated): Add bug-regex36.mtrace.
43046         (tests-special): Add $(objpfx)bug-regex36-mem.out
43047         (bug-regex36-ENV): New variable.
43048         ($(objpfx)bug-regex36-mem.out): New rule.
43049         * posix/bug-regex36.c: New file.
43051 2014-06-19  Will Newton  <will.newton@linaro.org>
43053         * malloc/malloc.c (systrim): If extra is zero then return
43054         early.
43056 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43058         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
43060 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
43062         * sysdeps/aarch64/strchr.S: New file.
43064 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43066         [BZ #17022]
43067         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
43068         from arguments -2 or below.
43069         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43070         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
43072 2014-06-18  Andreas Schwab  <schwab@suse.de>
43074         [BZ #17062]
43075         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
43076         of a bracket expr not to run off the end of the string.
43077         * posix/Makefile (tests): Add tst-fnmatch3.
43078         * posix/tst-fnmatch3.c: New file.
43080 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43082         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
43083         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43084         [$(cross-compiling) = no]: Likewise.
43085         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43086         [$(cross-compiling) = no]: Likewise.
43088 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43090         [BZ #17031]
43091         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
43092         double, adjusted for any remainder from the high double.
43093         * math/libm-test.inc (nearbyint): Add tests.
43094         (rint): Likewise.
43096 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43098         * nptl/sysdeps/powerpc/Makefile: Moved ...
43099         * sysdeps/powerpc/nptl/Makefile: ... here.
43100         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
43101         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
43102         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
43103         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
43104         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
43105         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
43106         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
43107         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
43108         * nptl/sysdeps/powerpc/tls.h: Moved ...
43109         * sysdeps/powerpc/nptl/tls.h: ... here.
43111 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
43113         [BZ #16681]
43114         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
43115         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
43116         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
43117         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
43118         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
43119         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
43120         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
43121         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
43122         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
43124 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
43126         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43128 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
43130         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
43131         defined operator.
43133         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
43134         $TIMEOUTFACTOR.
43136 2014-06-16  Florian Weimer  <fweimer@redhat.com>
43138         [BZ #17058]
43139         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
43140         non-executed part of the test.
43142 2014-06-16  Andreas Schwab  <schwab@suse.de>
43144         * string/bits/string2.h (strdup, strndup): Update feature guard.
43146 2014-06-14  David S. Miller  <davem@davemloft.net>
43148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43150 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
43152         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
43153         that was previously under [RESET_PID].
43154         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
43156         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
43157         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
43158         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
43159         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43160         (__libc_vfork): New strong alias.
43161         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
43163 2014-06-14 Andi Kleen  <ak@linux.intel.com>
43165         * sysdeps/generic/elide.h: New file.
43167 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43169         * Makefile (installed-headers): Adjust path of pthread.h header.
43171 2014-06-13  Roland McGrath  <roland@hack.frob.com>
43173         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
43174         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
43175         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
43176         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
43178         * nptl/sysdeps/s390/Makefile: Moved ...
43179         * sysdeps/s390/nptl/Makefile: ... here.
43180         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
43181         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
43182         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
43183         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
43184         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
43185         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
43186         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
43187         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
43188         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
43189         * sysdeps/s390/nptl/pthreaddef.h: ... here.
43190         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
43191         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
43192         * nptl/sysdeps/s390/tls.h: Moved ...
43193         * sysdeps/s390/nptl/tls.h: ... here.
43195         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
43196         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
43198 2014-06-13  David S. Miller  <davem@davemloft.net>
43200         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
43201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
43202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
43203         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
43204         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
43205         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
43206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
43207         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
43208         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
43209         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
43210         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
43211         Remove RESET_PID cpp guards.
43212         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
43213         Remove RESET_PID cpp guards.
43214         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
43216 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
43218         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
43219         __sp to uintptr_t.
43221 2014-06-13  Andi Kleen  <ak@linux.intel.com>
43223         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
43224         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
43225         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
43226         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
43227         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
43228         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
43229         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
43230         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
43231         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
43232         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
43233         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
43234         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
43235         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
43236         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
43237         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
43238         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
43239         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
43240         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
43241         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
43242         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
43244         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
43245         (pthread_rwlock_rdlock): Add elision.
43246         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
43247         (pthread_rwlock_wrlock): Add elision.
43248         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
43249         (pthread_rwlock_trywrlock): Add elision.
43250         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
43251         (pthread_rwlock_tryrdlock): Add elision.
43252         * nptl/pthread_rwlock_unlock.c: Include elide.h.
43253         (pthread_rwlock_tryrdlock): Add elision unlock.
43254         * nptl/sysdeps/pthread/pthread.h:
43255         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
43256         (PTHREAD_RWLOCK_INITIALIZER,
43257         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
43258         Handle new elision field.
43259         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
43260         * sysdeps/arm/nptl/bits/pthreadtypes.h
43261         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43262         * sysdeps/sh/nptl/bits/pthreadtypes.h
43263         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43264         * sysdeps/tile/nptl/bits/pthreadtypes.h
43265         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43266         * sysdeps/a/nptl/bits/pthreadtypes.h
43267         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43268         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43269         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43270         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43271         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43272         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
43273         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43274         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43275         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43276         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43277         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43278         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43279         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43280         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43281         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43282         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
43283         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43284         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
43285         (elision_init): Set try_xbegin to zero when no RTM.
43286         * sysdeps/x86/nptl/bits/pthreadtypes.h
43287         (pthread_rwlock_t): Change __pad1 to __rwelision.
43288         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43290 2014-06-13  Andi Kleen  <ak@linux.intel.com>
43292         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
43293         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
43294         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
43295         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
43297 2014-06-13  Meador Inge  <meadori@codesourcery.com>
43299         [BZ #16996]
43300         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
43301         that the cached result has been set before returning it.
43303 2014-06-12  Roland McGrath  <roland@hack.frob.com>
43305         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
43306         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
43307         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
43308         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
43309         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
43310         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
43312         * nptl/sysdeps/sparc/Makefile: Moved ...
43313         * sysdeps/sparc/nptl/Makefile: ... here.
43314         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
43315         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
43316         * nptl/sysdeps/sparc/tls.h: Moved ...
43317         * sysdeps/sparc/nptl/tls.h: ... here.
43318         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
43319         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
43320         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
43321         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
43322         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
43323         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
43324         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
43325         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
43326         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
43327         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
43328         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
43329         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
43330         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
43331         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
43332         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
43333         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
43334         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
43335         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
43336         Update #include.
43337         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
43338         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
43339         Update #include.
43340         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
43341         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
43342         Update #include.
43343         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
43344         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
43345         Update #include.
43347         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43349         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
43350         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
43352         * sysdeps/pthread/posix-timer.h: Include <list.h>.
43353         (struct list_links): Type removed.
43354         (struct thread_node, struct timer_node): Replace struct list_links
43355         with struct list_head.
43356         (list_unlink_ip): Likewise.
43357         * sysdeps/pthread/timer_routines.c
43358         (timer_free_list, thread_free_list, thread_active_list): Likewise.
43359         (list_append, list_insbefore): Likewise.
43360         (list_init): Function removed.
43361         (thread_init, init_module): Use INIT_LIST_HEAD instead.
43362         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
43363         * sysdeps/pthread/Makefile: ... here, new file.
43365         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
43366         * sysdeps/nptl/Implies: ... here.
43367         * sysdeps/unix/sysv/linux/Implies: Add nptl.
43368         * nptl/sysdeps/pthread/list.h: Moved ...
43369         * include/list.h: ... here.
43370         * nptl/sysdeps/pthread/createthread.c: Moved ...
43371         * nptl/createthread.c: ... here.
43372         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
43373         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
43374         * nptl/pt-longjmp.c: ... here.
43375         * nptl/sysdeps/pthread/Makefile: Moved ...
43376         * sysdeps/nptl/Makefile: ... here.
43377         * nptl/sysdeps/pthread/Subdirs: Moved ...
43378         * sysdeps/nptl/Subdirs: ... here.
43379         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
43380         * sysdeps/nptl/aio_misc.h: ... here.
43381         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
43382         * sysdeps/nptl/bits/libc-lock.h: ... here.
43383         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
43384         * sysdeps/nptl/bits/libc-lockP.h: ... here.
43385         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
43386         * sysdeps/nptl/bits/stdio-lock.h: ... here.
43387         * nptl/sysdeps/pthread/configure: Moved ...
43388         * sysdeps/nptl/configure: ... here.
43389         * nptl/sysdeps/pthread/configure.ac: Moved ...
43390         * sysdeps/nptl/configure.ac: ... here.
43391         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
43392         * sysdeps/nptl/gai_misc.h: ... here.
43393         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
43394         * sysdeps/nptl/librt-cancellation.c: ... here.
43395         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
43396         * sysdeps/nptl/malloc-machine.h: ... here.
43397         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
43398         * sysdeps/nptl/pthread-functions.h: ... here.
43399         * nptl/sysdeps/pthread/pthread.h: Moved ...
43400         * sysdeps/nptl/pthread.h: ... here.
43401         * nptl/sysdeps/pthread/setxid.h: Moved ...
43402         * sysdeps/nptl/setxid.h: ... here.
43403         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
43404         * sysdeps/nptl/sigfillset.c: ... here.
43405         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
43406         * sysdeps/nptl/tcb-offsets.h: ... here.
43407         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
43408         * sysdeps/nptl/tst-mqueue8x.c: ... here.
43409         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
43410         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
43411         * nptl/sysdeps/pthread/allocalim.h: Moved ...
43412         * sysdeps/pthread/allocalim.h: ... here.
43413         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
43414         * sysdeps/pthread/bits/sigthread.h: ... here.
43415         * nptl/sysdeps/pthread/flockfile.c: Moved ...
43416         * sysdeps/pthread/flockfile.c: ... here.
43417         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
43418         * sysdeps/pthread/ftrylockfile.c: ... here.
43419         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
43420         * sysdeps/pthread/funlockfile.c: ... here.
43421         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
43422         * sysdeps/pthread/posix-timer.h: ... here.
43423         * nptl/sysdeps/pthread/timer_create.c: Moved ...
43424         * sysdeps/pthread/timer_create.c: ... here.
43425         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
43426         * sysdeps/pthread/timer_delete.c: ... here.
43427         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
43428         * sysdeps/pthread/timer_getoverr.c: ... here.
43429         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
43430         * sysdeps/pthread/timer_gettime.c: ... here.
43431         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
43432         * sysdeps/pthread/timer_routines.c: ... here.
43433         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
43434         * sysdeps/pthread/timer_settime.c: ... here.
43435         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
43436         * sysdeps/pthread/tst-timer.c: ... here.
43437         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
43438         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
43440         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
43441         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
43443         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
43444         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
43445         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
43446         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
43447         Update #include target.
43448         * nptl/sysdeps/i386/i686/Makefile: Moved ...
43449         * sysdeps/i386/i686/nptl/Makefile: ... here.
43450         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
43451         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
43452         Update #include target.
43453         * nptl/sysdeps/i386/i686/tls.h: Moved ...
43454         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
43455         * nptl/sysdeps/i386/Makefile: Moved ...
43456         * sysdeps/i386/nptl/Makefile: ... here.
43457         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
43458         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
43459         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
43460         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
43461         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
43462         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
43463         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
43464         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
43465         * sysdeps/i386/nptl/pthreaddef.h: ... here.
43466         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
43467         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
43468         * nptl/sysdeps/i386/tls.h: Moved ...
43469         * sysdeps/i386/nptl/tls.h: ... here.
43471         * sysdeps/sh/Makefile [$(subdir) = csu]
43472         (gen-as-const-headers): Add tcb-offsets.sym.
43473         * nptl/sysdeps/sh/Makefile: File removed.
43474         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
43475         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
43476         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
43477         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
43478         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
43479         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
43480         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
43481         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
43482         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
43483         * sysdeps/sh/nptl/pthreaddef.h: ... here.
43484         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
43485         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
43486         * nptl/sysdeps/sh/tls.h: Moved ...
43487         * sysdeps/sh/nptl/tls.h: ... here.
43488         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
43489         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
43490         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
43491         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
43492         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
43493         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
43494         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
43495         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
43496         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
43497         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
43498         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
43499         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
43500         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
43501         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
43502         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
43503         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
43504         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
43505         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
43506         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
43507         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
43508         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
43509         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
43510         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
43511         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
43512         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
43513         Moved ...
43514         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
43515         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
43516         Moved ...
43517         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
43518         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
43519         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
43520         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
43521         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
43522         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
43523         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
43524         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
43525         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
43526         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
43527         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
43528         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
43529         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
43530         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
43531         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
43532         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
43533         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
43534         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
43535         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
43537 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
43539         * posix/spawn_faction_addopen.c: Include string.h.
43541 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43543         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
43544         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
43545         * nptl/sysdeps/x86_64/Makefile: Moved ...
43546         * sysdeps/x86_64/nptl/Makefile: ... here.
43547         * nptl/sysdeps/x86_64/configure: Moved ...
43548         * sysdeps/x86_64/nptl/configure: ... here.
43549         * nptl/sysdeps/x86_64/configure.ac: Moved ...
43550         * sysdeps/x86_64/nptl/configure.ac: ... here.
43551         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
43552         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
43553         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
43554         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
43555         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
43556         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
43557         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
43558         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
43559         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
43560         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
43561         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
43562         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
43563         * nptl/sysdeps/x86_64/tls.h: Moved ...
43564         * sysdeps/x86_64/nptl/tls.h: ... here.
43565         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
43566         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
43567         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
43568         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
43570         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
43572 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43576 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
43578         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
43579         type.
43580         [POSIX] (off_t): Likewise.
43581         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
43582         [POSIX] (S_ISBLK): Require macro.
43583         [POSIX] (S_ISCHR): Likewise.
43584         [POSIX] (S_ISDIR): Likewise.
43585         [POSIX] (S_ISFIFO): Likewise.
43586         [POSIX] (S_ISREG): Likewise.
43587         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
43588         optional-macro.
43589         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
43590         type.
43591         [POSIX] (time_t): Likewise.
43592         [POSIX] (timer_t): Likewise.
43594 2014-06-11  Florian Weimer  <fweimer@redhat.com>
43596         [BZ #17048]
43597         * posix/spawn_int.h (struct __spawn_action): Make the path string
43598         non-const to support deallocation.
43599         * posix/spawn_faction_addopen.c
43600         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
43601         * posix/spawn_faction_destroy.c
43602         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
43603         path in all spawn_do_open actions.
43604         * posix/tst-spawn.c (do_test): Exercise the copy operation in
43605         posix_spawn_file_actions_addopen.
43607 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
43609         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
43610         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
43611         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
43612         conditional code always true.
43613         (__libc_vfork): New alias.
43615 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43617         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43618         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
43620         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
43622         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43623         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
43625         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43626         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
43628         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43629         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
43631 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43633         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
43634         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
43635         multiarch strcmp for PPC64.
43636         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
43637         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
43638         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
43639         multiarch optimizations.
43640         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43641         (__libc_ifunc_impl_list): Likewise.
43643 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43645         * benchtests/scripts/validate_benchout.py: New script.
43646         * benchtests/Makefile (bench-func): Call it.
43647         * benchtests/scripts/benchout.schema.json: New file.
43649 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
43651         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
43652         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
43653         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
43654         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
43655         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
43656         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
43657         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
43658         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
43659         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
43660         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
43661         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
43662         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
43663         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
43664         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
43665         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
43666         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
43667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
43668         Moved ...
43669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
43670         ... here.
43671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
43672         Moved ...
43673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
43674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
43675         Moved ...
43676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
43677         ... here.
43678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
43679         Moved ...
43680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
43681         ... here.
43682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
43683         Moved ...
43684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
43685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
43686         Moved ...
43687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
43688         ... here.
43689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
43690         Moved ...
43691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
43692         ... here.
43693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
43694         Moved ...
43695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
43696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
43697         Moved ...
43698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
43699         ... here.
43700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
43701         Moved ...
43702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
43703         ... here.
43704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
43705         Moved ...
43706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
43707         ... here.
43708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
43709         Moved ...
43710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
43711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
43712         Moved ...
43713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
43714         ... here.
43715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
43716         Moved ...
43717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
43718         ... here.
43719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
43720         Moved ...
43721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
43722         ... here.
43723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
43724         Moved ...
43725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
43726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
43727         Moved ...
43728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
43729         ... here.
43730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
43731         Moved ...
43732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
43733         ... here.
43734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
43735         Moved ...
43736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
43737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
43738         Moved ...
43739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
43740         ... here.
43741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
43742         Moved ...
43743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
43744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
43745         Moved ...
43746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
43747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
43748         Moved ...
43749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
43750         ... here.
43751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
43752         Moved ...
43753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
43754         ... here.
43755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
43756         Moved ...
43757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
43758         ... here.
43759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
43760         Moved ...
43761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
43762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
43763         Moved ...
43764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
43765         ... here.
43766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
43767         Moved ...
43768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
43769         ... here.
43770         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
43771         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
43772         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
43773         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
43774         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
43775         Moved ...
43776         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
43777         ... here.
43778         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
43779         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
43780         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
43781         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
43782         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
43783         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
43784         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
43785         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
43786         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
43787         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
43788         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
43789         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
43790         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
43791         Moved ...
43792         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
43793         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
43794         Moved ...
43795         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
43796         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
43797         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
43798         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
43799         Moved ...
43800         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
43801         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
43802         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
43803         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
43804         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
43805         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
43806         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
43808 2014-06-10  Wilco  <wdijkstr@arm.com>
43810         * math/test-fenv-return.c: New file.
43811         * math/Makefile: Add new test test-fenv-return.
43813 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
43815         [BZ #17042]
43816         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
43817         when x - 1 is zero.
43818         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
43819         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
43820         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
43821         0.0L for an argument of 1.0L.
43822         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
43823         Likewise.
43824         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
43825         value when x - 1 is zero.
43826         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
43827         * sysdeps/i386/fpu/libm-test-ulps: Update.
43828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43830 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
43832         [BZ #15119]
43833         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
43835 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43837         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
43838         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
43840 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43842         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43843         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
43845         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43846         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
43848         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43849         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
43851         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43852         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
43854         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
43855         if not already defined.
43856         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
43857         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
43858         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
43859         (TLS_INIT_TP): Use it.
43860         (TLS_DEFINE_INIT_TP): New macro.
43861         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
43863 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
43865         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
43866         constant.
43867         [POSIX] (IXANY): Likewise.
43868         [POSIX] (OLCUC): Likewise.
43869         [POSIX || POSIX2008] (CBAUD): Do not allow.
43870         [POSIX || POSIX2008] (DEFECHO): Likewise.
43871         [POSIX || POSIX2008] (ECHOCTL): Likewise.
43872         [POSIX || POSIX2008] (ECHOKE): Likewise.
43873         [POSIX || POSIX2008] (ECHOPRT): Likewise.
43874         [POSIX || POSIX2008] (EXTA): Likewise.
43875         [POSIX || POSIX2008] (EXTB): Likewise.
43876         [POSIX || POSIX2008] (FLUSHO): Likewise.
43877         [POSIX || POSIX2008] (LOBLK): Likewise.
43878         [POSIX || POSIX2008] (PENDIN): Likewise.
43879         [POSIX || POSIX2008] (SWTCH): Likewise.
43880         [POSIX || POSIX2008] (VDISCARD): Likewise.
43881         [POSIX || POSIX2008] (VDSUSP): Likewise.
43882         [POSIX || POSIX2008] (VLNEXT): Likewise.
43883         [POSIX || POSIX2008] (VREPRINT): Likewise.
43884         [POSIX || POSIX2008] (VSTATUS): Likewise.
43885         [POSIX || POSIX2008] (VWERASE): Likewise.
43886         (B*): Change to B[0123456789]*.
43887         * conform/data/time.h-data [POSIX || UNIX98]
43888         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
43889         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43890         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
43891         [POSIX] (tm_*): Do not allow.
43893 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
43895         * Makefile (install): Don't set LANGUAGE.
43896         * Makefile.in (install): Likewise.
43897         * assert/Makefile (test-assert-ENV): Remove variable.
43898         (test-assert-perr-ENV): Likewise.
43899         * elf/Makefile (neededtest4-ENV): Likewise.
43900         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43901         [$(cross-compiling) = no]: Don't set LANGUAGE.
43902         * io/ftwtest-sh (LANG): Remove variable.
43903         * libio/Makefile (tst-widetext-ENV): Likewise.
43904         * manual/install.texi (Running make install): Don't refer to
43905         environment settings for make install.
43906         * INSTALL: Regenerated.
43907         * nptl/tst-tls6.sh: Don't set LANG.
43908         * posix/globtest.sh (LANG): Remove variable.
43909         * string/Makefile (tester-ENV): Likewise.
43910         (inl-tester-ENV): Likewise.
43911         (noinl-tester-ENV): Likewise.
43912         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43913         [$(cross-compiling) = no]: Don't set LANGUAGE.
43914         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
43915         without explicit environment settings.
43917 2014-06-06  Roland McGrath  <roland@hack.frob.com>
43919         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
43920         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
43921         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
43922         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
43924 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
43926         * crypt/crypt-private.h [DOS]: Add some includes taken from the
43927         other files in the crypt directory.
43928         * crypt/crypt.c: Remove duplicate includes.
43929         * crypt/crypt-entry.c: Likewise.
43930         * crypt/crypt_util.c: Likewise.
43932 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
43934         * Makeconfig (run-program-env): New variable.
43935         (run-program-prefix-before-env): Likewise.
43936         (run-program-prefix-after-env): Likewise.
43937         (run-program-prefix): Define in terms of new variables.
43938         (built-program-cmd-before-env): New variable.
43939         (built-program-cmd-after-env): Likewise.
43940         (built-program-cmd): Define in terms of new variables.
43941         (test-program-prefix-before-env): New variable.
43942         (test-program-prefix-after-env): Likewise.
43943         (test-program-prefix): Define in terms of new variables.
43944         (test-program-cmd-before-env): New variable.
43945         (test-program-cmd-after-env): Likewise.
43946         (test-program-cmd): Define in terms of new variables.
43947         * Rules (make-test-out): Use $(run-program-env).
43948         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
43949         (help): Do not mention environment variables.  Mention
43950         --timeoutfactor option.
43951         (timeoutfactor): New variable.
43952         (blacklist_exports): Remove function.
43953         (exports): Remove variable.
43954         (command): Do not include ${exports}.
43955         * manual/install.texi (Configuring and compiling): Do not mention
43956         test wrappers preserving environment variables.  Mention that last
43957         assignment to a variable must take precedence.
43958         * INSTALL: Regenerated.
43959         * benchtests/Makefile (run-bench): Use $(run-program-env).
43960         * catgets/Makefile ($(objpfx)test1.cat): Use
43961         $(built-program-cmd-before-env), $(run-program-env) and
43962         $(built-program-cmd-after-env).
43963         ($(objpfx)test2.cat): Do not specify environment variables
43964         explicitly.
43965         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
43966         $(run-program-env) and $(built-program-cmd-after-env).
43967         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
43968         $(run-program-env) and $(test-program-cmd-after-env).
43969         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
43970         explicitly.
43971         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
43972         run_program_env and test_program_cmd_after_env arguments.
43973         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
43974         * elf/tst-pathopt.sh: Use run_program_env argument.
43975         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
43976         $(test-wrapper-env) and $(run-program-env).
43977         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
43978         run_program_env arguments.
43979         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
43980         * intl/Makefile ($(objpfx)tst-gettext.out): Use
43981         $(test-program-prefix-before-env), $(run-program-env) and
43982         $(test-program-prefix-after-env).
43983         ($(objpfx)tst-gettext2.out): Likewise.
43984         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
43985         run_program_env and test_program_prefix_after_env arguments.
43986         * intl/tst-gettext2.sh: Likewise.
43987         * intl/tst-gettext4.sh: Do not set environment variables
43988         explicitly.
43989         * intl/tst-gettext6.sh: Likewise.
43990         * intl/tst-translit.sh: Likewise.
43991         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
43992         $(test-program-prefix-before-env), $(run-program-env) and
43993         $(test-program-prefix-after-env).
43994         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
43995         run_program_env and test_program_prefix_after_env arguments.
43996         * math/Makefile (run-regen-ulps): Use $(run-program-env).
43997         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
43998         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
43999         explicitly with each use of ${test_wrapper_env}.
44000         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
44001         $(test-program-prefix-before-env), $(run-program-env) and
44002         $(test-program-prefix-after-env).
44003         * posix/tst-getconf.sh: Do not set environment variables
44004         explicitly.
44005         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
44006         run_program_env and test_program_prefix_after_env arguments.
44007         * stdio-common/tst-printf.sh: Do not set environment variables
44008         explicitly.
44009         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
44010         $(test-program-prefix-before-env), $(run-program-env) and
44011         $(test-program-prefix-after-env).
44012         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
44013         run_program_env and test_program_prefix_after_env arguments.
44014         Split $test calls into $test_pre and $test.
44015         * timezone/Makefile (build-testdata): Use
44016         $(built-program-cmd-before-env), $(run-program-env) and
44017         $(built-program-cmd-after-env).
44019 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44021         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
44022         strlen for non SHARED builds.
44024 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44026         * nptl/allocatestack.c (check_list): Inlined function...
44027         (__reclaim_stacks): ... here.
44029 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44031         [BZ #15698]
44032         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44033         memory overrun.
44035 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
44037         * Rules (make-test-out): Include
44038         LOCPATH=$(common-objpfx)localedata in default environment.
44039         * debug/Makefile (tst-chk1-ENV): Remove variable.
44040         (tst-chk2-ENV): Likewise.
44041         (tst-chk3-ENV): Likewise.
44042         (tst-chk4-ENV): Likewise.
44043         (tst-chk5-ENV): Likewise.
44044         (tst-chk6-ENV): Likewise.
44045         (tst-lfschk1-ENV): Likewise.
44046         (tst-lfschk2-ENV): Likewise.
44047         (tst-lfschk3-ENV): Likewise.
44048         (tst-lfschk4-ENV): Likewise.
44049         (tst-lfschk5-ENV): Likewise.
44050         (tst-lfschk6-ENV): Likewise.
44051         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
44052         (tst-iconv7-ENV): Likewise.
44053         * intl/Makefile (LOCPATH-ENV): Likewise.
44054         (tst-codeset-ENV): Likewise.
44055         (tst-gettext3-ENV): Likewise.
44056         (tst-gettext5-ENV): Likewise.
44057         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
44058         (tst-fopenloc-ENV): Likewise.
44059         (tst-fgetws-ENV): Remove variable.
44060         (tst-ungetwc1-ENV): Likewise.
44061         (tst-ungetwc2-ENV): Likewise.
44062         (bug-ungetwc2-ENV): Likewise.
44063         (tst-swscanf-ENV): Likewise.
44064         (bug-ftell-ENV): Likewise.
44065         (tst-fgetwc-ENV): Likewise.
44066         (tst-fseek-ENV): Likewise.
44067         (tst-ftell-partial-wide-ENV): Likewise.
44068         (tst-ftell-active-handler-ENV): Likewise.
44069         (tst-ftell-append-ENV): Likewise.
44070         * posix/Makefile (tst-fnmatch-ENV): Likewise.
44071         (tst-regexloc-ENV): Likewise.
44072         (bug-regex1-ENV): Likewise.
44073         (tst-regex-ENV): Likewise.
44074         (tst-regex2-ENV): Likewise.
44075         (bug-regex5-ENV): Likewise.
44076         (bug-regex6-ENV): Likewise.
44077         (bug-regex17-ENV): Likewise.
44078         (bug-regex18-ENV): Likewise.
44079         (bug-regex19-ENV): Likewise.
44080         (bug-regex20-ENV): Likewise.
44081         (bug-regex22-ENV): Likewise.
44082         (bug-regex23-ENV): Likewise.
44083         (bug-regex25-ENV): Likewise.
44084         (bug-regex26-ENV): Likewise.
44085         (bug-regex30-ENV): Likewise.
44086         (bug-regex32-ENV): Likewise.
44087         (bug-regex33-ENV): Likewise.
44088         (bug-regex34-ENV): Likewise.
44089         (bug-regex35-ENV): Likewise.
44090         (tst-rxspencer-ENV): Likewise.
44091         (tst-rxspencer-no-utf8-ENV): Likewise.
44092         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
44093         (tst-sscanf-ENV): Likewise.
44094         (tst-swprintf-ENV): Likewise.
44095         (tst-swscanf-ENV): Likewise.
44096         (test-vfprintf-ENV): Likewise.
44097         (scanf13-ENV): Likewise.
44098         (bug14-ENV): Likewise.
44099         (tst-grouping-ENV): Likewise.
44100         * stdlib/Makefile (tst-strtod-ENV): Likewise.
44101         (tst-strtod3-ENV): Likewise.
44102         (tst-strtod4-ENV): Likewise.
44103         (tst-strtod5-ENV): Likewise.
44104         (testmb2-ENV): Likewise./
44105         * string/Makefile (tst-strxfrm-ENV): Likewise.
44106         (tst-strxfrm2-ENV): Likewise.
44107         (bug-strcoll1-ENV): Likewise.
44108         (test-strcasecmp-ENV): Likewise.
44109         (test-strncasecmp-ENV): Likewise.
44110         * time/Makefile (tst-strptime-ENV): Likewise.
44111         (tst-ftime_l-ENV): Likewise.
44112         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
44113         (tst-mbrtowc-ENV): Likewise.
44114         (tst-wcrtomb-ENV): Likewise.
44115         (tst-mbrtowc2-ENV): Likewise.
44116         (tst-c16c32-1-ENV): Likewise.
44117         (tst-mbsnrtowcs-ENV): Likewise.
44119 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44121         * manual/resource.texi (How to get information about the memory
44122         subsystem?): Fix typo.
44123         Reported by Peon de la Parra Ivan <peon@keba.com>
44125 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
44127         [BZ #16882]
44128         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
44129         (pthread_spin_lock): Branch out of spin loop to proper location.
44130         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
44131         (pthread_spin_lock): Likewise.
44133         * nptl/tst-spin4.c: New test.
44134         * nptl/Makefile (tests): Add tst-spin4.
44136 2014-06-03  Andreas Schwab  <schwab@suse.de>
44138         [BZ #15946]
44139         * resolv/res_send.c (send_dg): Reload file descriptor after
44140         calling reopen.
44142 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
44144         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44146 2014-06-03  Richard Henderson  <rth@redhat.com>
44148         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
44149         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
44150         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
44151         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
44152         in the SAVE_PID block.
44153         (__libc_vfork): New alias.
44154         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
44156         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
44157         child in registers, not on the stack.  Remove RESET_PID conditionals.
44158         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
44160 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44162         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44164 2014-06-03  Wilco  <wdijkstr@arm.com>
44166         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
44167         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
44168         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
44169         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
44170         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
44171         Likewise.
44173 2014-06-03  Wilco  <wdijkstr@arm.com>
44175         * sysdeps/aarch64/fpu/math_private.h
44176         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
44177         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
44178         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
44179         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
44180         Fix declarations.
44182 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44184         * crypt/crypt-private.h: Include ufc-crypt.h.
44185         (__b64_from_24bit): Declare extern.
44186         * crypt/crypt_util.c(__b64_from_24bit): New function.
44187         (b64t): New static const variable.
44188         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
44189         (b64t): Remove variable.
44190         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
44191         * crypt/sha256-crypt.c: Include crypt-private.h.
44192         (b64t): Remove variable.
44193         (__sha256_crypt_r): Remove b64_from_24bit and replace
44194         with __b64_from_24bit.
44195         * crypt/sha512-crypt.c: Likewise.
44197 2014-06-02  Roland McGrath  <roland@hack.frob.com>
44199         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
44200         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
44201         Label the code __libc_vfork rather than __vfork.
44202         [!NOT_IN_libc] (vfork): Define as weak alias.
44203         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
44204         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
44205         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
44207 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44209         * malloc/malloc.c (malloc_info): Fix format specifier for
44210         n_mmaps.
44212 2014-06-02  Wilco  <wdijkstr@arm.com>
44214         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
44215         FPCR write.
44217 2014-06-02  Wilco  <wdijkstr@arm.com>
44219         [BZ #17009]
44220         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
44221         Rewrite to reduce FPCR/FPSR accesses.
44223 2014-06-01  David S. Miller  <davem@davemloft.net>
44225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44227 2014-05-31  David S. Miller  <davem@davemloft.net>
44229         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
44230         to occur in round to nearest mode when |x| >= 2.0
44232 2014-05-30  Richard Henderson  <rth@twiddle.net>
44234         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
44235         (PSEUDO_RET_NOERRNO): Remove.
44236         (ret): Don't redefine.
44237         (ret_NOERRNO): Define in terms of ret.
44238         (ret_ERRVAL): Likewise.
44240         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
44241         use of PSEUDO_RET; perform the error check directly.
44243 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
44245         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
44246         with __int128_t.
44248 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44250         * malloc/malloc (malloc_info): Fix formatting.
44252 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44253             Roland McGrath  <roland@hack.frob.com>
44255         * malloc/malloc (malloc_info): Also print mmapped statistics.
44257 2014-05-30  Roland McGrath  <roland@hack.frob.com>
44259         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
44260         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
44262 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
44264         * malloc/malloc.c (malloc_info): Inline mi_arena.
44266 2014-05-29  Richard Henderson  <rth@twiddle.net>
44268         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
44269         Remove comma before expanding ASM_ARGS_##nr.
44270         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
44271         Make _x0 a strict output; make _x8 a strict input; adjust expansion
44272         of ASM_ARGS_##nr.
44273         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
44274         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
44275         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
44276         (ASM_ARGS_1): Add leading comma.
44278         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
44279         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
44280         to __errno_location.
44281         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
44282         Remove the expected plt for __errno_location.
44284         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44285         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
44286         call to __read_tp.
44288         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44289         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
44290         it and break it down.
44291         (DOCARGS_0, DOCARGS_1): Do nothing.
44292         (DOCARGS_2): Update to store into the new stack frame.
44293         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
44294         (UNDOCARGS_1): Update to restore from the new stack frame.
44295         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
44296         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
44298         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44299         (SINGLE_THREAD_P): New parameter for result regno.
44300         (PSEUDO): Update to match; use cbz instead of beq.
44302         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44303         Use ENTRY to define the _nocancel entry point.  Share the syscall
44304         and syscall error check paths with the cancel path.
44305         (PSEUDO_END): New.
44307         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
44308         whitespace; tabs before and after asm mnemonics.
44310 2014-05-29  Eric Wong  <normalperson@yhbt.net>
44312         [BZ #15132]
44313         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44314         Call fstat64 or stat64 internally, depending on arguments passed.
44315         Replace stat buffer argument with file descriptor argument.
44316         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
44317         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
44318         Pass fd to __internal_statvfs instead of calling fstat64.
44319         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
44320         Pass fd to __internal_statvfs64 instead of calling fstat64.
44321         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
44322         Pass -1 to __internal_statvfs instead of calling stat64.
44323         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
44324         Pass -1 to __internal_statvfs64 instead of calling stat64.
44326 2014-05-28  Roland McGrath  <roland@hack.frob.com>
44328         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
44329         that was previously under [RESET_PID].
44330         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
44332         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
44333         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
44335 2014-05-27  Roland McGrath  <roland@hack.frob.com>
44337         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
44339         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
44340         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
44342 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
44344         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
44346 2014-05-27  Andreas Schwab  <schwab@suse.de>
44348         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
44349         TLS_INIT_TP macro.
44350         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
44351         * elf/rtld.c (init_tls, dl_main): Likewise.
44352         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
44353         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
44354         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
44355         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
44356         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
44357         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
44358         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
44359         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
44360         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
44361         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
44362         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
44363         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
44364         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
44365         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
44366         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
44367         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
44368         * sysdeps/generic/tls.h: Update description.
44370 2014-05-27  Will Newton  <will.newton@linaro.org>
44372         [BZ #16990]
44373         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
44374         and restore r2 rather than just restoring.
44376 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44378         [BZ #16724]
44379         * libio/tst-ftell-append.c: New test case.
44380         * libio/Makefile (tests): Add test case.
44381         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
44382         append mode.
44383         * libio/wfileops.c (do_ftell_wide): Likewise.
44385 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44389         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
44390         ...
44391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
44392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44393         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
44394         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
44395         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
44396         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
44397         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
44398         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
44399         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
44400         Moved ...
44401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
44402         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
44403         Moved ...
44404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
44405         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
44406         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
44407         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
44408         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
44409         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
44410         ...
44411         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
44412         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
44413         Moved ...
44414         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
44415         here.
44416         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
44417         ...
44418         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
44419         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
44420         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
44422         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
44423         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
44424         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
44425         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
44427         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
44428         merge into ...
44429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
44430         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
44431         ...
44432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
44433         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
44434         ...
44435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
44436         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44437         Moved ...
44438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
44439         here.
44440         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44441         Moved ...
44442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
44443         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44444         Moved ...
44445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
44447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
44448         conditional [RESET_PID].
44449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
44450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
44451         removed.
44452         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
44453         removed.
44455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
44456         <tcb-offsets.h>.
44457         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44458         (__libc_vfork): New strong alias.
44459         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
44460         removed.
44461         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
44462         Removed.
44464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
44465         <tcb-offsets.h>.
44466         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
44467         (__libc_vfork): New strong alias.
44468         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
44469         removed.
44470         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
44471         removed.
44473 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
44475         * malloc/malloc.c (mi_arena): New function.
44476         (malloc_info): Remove nested function mi_arena. Call non-nosted
44477         function mi_arena.
44479 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44481         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
44482         by insrwi.
44483         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
44484         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
44485         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
44486         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
44487         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
44488         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
44489         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
44491 2014-05-26  Andreas Schwab  <schwab@suse.de>
44493         [BZ #16984]
44494         * locale/programs/repertoire.c (repertoire_read): Add slash
44495         between I18NPATH element and file name.
44496         * locale/programs/locfile.c (locfile_read): Likewise.
44498 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44500         * nptl/pthread_mutexattr_settype.c
44501         (__pthread_mutexattr_settype):
44502         Disable lock elision for PTHREAD_MUTEX_NORMAL.
44504 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44506         * nptl/tst-mutex5 (do_test):
44507         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
44509 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44511         * benchtests/README: Document 'init' directive.
44512         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
44513         BENCH_INIT.
44514         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
44515         (parse_file): Recognize 'init' directive.
44517 2014-05-26  Kyle McMartin  <kyle@redhat.com>
44519         [BZ #16796]
44520         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
44521         alignment of struct pthread.
44523 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44525         [BZ #16878]
44526         * nscd/netgroupcache.c (addgetnetgrentX): Look for
44527         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44528         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
44529         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44531 2014-05-25  Richard Henderson  <rth@twiddle.net>
44533         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44534         (SINGLE_THREAD_P_PIC): Remove.
44535         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
44536         (SINGLE_THREAD_P_PIC): Remove.
44538         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
44539         branch to syscall error ...
44540         (PSEUDO): ... here.
44541         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
44542         from __local_syscall_error to .Lsyscall_error.
44543         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
44544         (SYSCALL_ERROR): Update label name.
44546         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44547         Do not use DOARGS/UNDOARGS.
44548         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
44549         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
44550         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
44551         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
44552         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
44554         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
44555         block comment.
44557         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
44558         define if !NOT_IN_libc.
44559         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
44560         define with non-default symbol versions.
44562 2014-05-23  Richard Henderson  <rth@twiddle.net>
44564         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
44565         (vfork, __vfork): Define via compat_symbol.
44567         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
44568         [!HAVE_IFUNC] (vfork_compat): Remove.
44569         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
44571 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44573         [BZ #16978]
44574         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
44575         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
44576         variable.
44578 2014-05-23  Richard Henderson  <rth@twiddle.net>
44580         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
44581         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
44582         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
44583         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
44585         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
44586         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
44587         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
44588         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
44589         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
44590         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
44591         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
44592         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
44593         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
44594         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
44595         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
44596         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
44597         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
44598         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
44599         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
44600         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
44601         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
44602         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
44603         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
44604         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
44605         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
44606         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
44607         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
44608         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
44609         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
44610         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
44611         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
44612         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
44613         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
44614         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
44615         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
44616         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
44617         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
44618         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
44619         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
44620         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
44621         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
44622         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
44623         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
44624         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
44625         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
44626         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
44627         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
44628         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
44629         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
44630         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
44631         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
44632         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
44633         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
44634         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
44635         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
44636         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
44637         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
44638         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
44639         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
44640         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
44642         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
44643         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
44644         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
44645         before exiting on error.
44646         (__libc_vfork): New strong alias.
44647         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
44648         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
44650         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
44651         that was previously under [RESET_PID].
44652         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
44654         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
44656 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44658         [BZ #16977]
44659         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
44660         value when x - 1 is zero.
44661         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
44662         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
44663         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
44664         0.0L for an argument of 1.0L.
44665         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
44666         Likewise.
44667         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
44668         value when x - 1 is zero.
44669         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
44670         * sysdeps/i386/fpu/libm-test-ulps: Update.
44671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44673 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44675         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
44676         alphasort and versionsort.
44678 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44680         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
44681         macro.
44682         [copysignf]: Likewise.
44684 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44686         * crypt/md5-crypt.c: Fix formatting.
44688 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44690         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
44691         (b64_from_24bit): New function.
44693 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44695         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
44696         libc_hidden_builtin_def to ifunc.
44697         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44698         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
44700 2014-05-21  Roland McGrath  <roland@hack.frob.com>
44702         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
44703         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
44705 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
44707         * nscd/Depend (linuxthreads): Remove.
44708         (nptl): Add.
44709         * resolv/Depend (linuxthreads): Remove.
44710         * rt/Depend (linuxthreads): Remove.
44712         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
44713         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
44714         $(common-objpfx)elf/.
44715         (link-libc-before-gnulib): Likewise.
44716         (elfobjdir): Remove variable.
44717         * Makefile (install): Use $(elf-objpfx) instead of
44718         $(common-objpfx)elf/.
44719         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
44720         $(elfobjdir)/.
44721         (link-libc-deps): Likewise.
44722         ($(common-objpfx)libc.so): Likewise.
44723         ($(common-objpfx)linkobj/libc.so): Likewise.
44724         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
44725         instead of $(common-objpfx)elf/.
44726         (symbolic-link-list): Likewise.
44727         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44728         [$(cross-compiling) = no]: Likewise.
44729         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
44730         $(elfobjdir)/.
44731         (static-gnulib-arch): Likewise.
44732         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44733         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
44734         $(common-objpfx)elf/.
44736 2014-05-21  Richard Henderson  <rth@redhat.com>
44738         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44739         (SINGLE_THREAD_P): Use the correct width load.  Fold
44740         into the ldr offset.
44742         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
44743         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
44745 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
44747         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
44748         (libgcc_s_resume): Use __attribute_used__.
44749         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
44750         Likewise.
44752 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44754         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
44755         optimization when used with float constants.
44757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44759 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
44761         [BZ #16915]
44762         * locale/nl_langinfo_l.c: Make direct reference to every
44763         _nl_current_CATEGORY symbol.
44764         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
44765         (tests-static): Add tst-langinfo-static.
44766         (tests-special): Add tst-langinfo-static.out.
44767         ($(objpfx)tst-langinfo.out): Redirect output.
44768         ($(objpfx)tst-langinfo-static.out): New.
44769         * localedata/tst-langinfo.sh: Send output to stdout.
44770         * localedata/tst-langinfo-static.c: New file.
44772         [BZ #16965]
44773         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
44774         when the shift amount is modulo the limb size.
44776 2014-05-20  Richard Henderson  <rth@redhat.com>
44778         [BZ #16967]
44779         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
44780         Change type of sa_flags from unsigned int to int.
44782         [BZ #16966]
44783         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
44785         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
44787 2014-05-20  Will Newton  <will.newton@linaro.org>
44789         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44790         Test the return value of the system call in the nocancel case.
44792 2014-05-20  Will Newton  <will.newton@linaro.org>
44793             Yvan Roux  <yvan.roux@linaro.org>
44795         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
44796         #include of asm/ptrace.h.
44797         (PTRACE_GET_THREAD_AREA): Remove #undef.
44798         (PTRACE_GETHBPREGS): Likewise.
44799         (PTRACE_SETHBPREGS): Likewise.
44800         (struct user_regs_struct): New structure.
44801         (struct user_fpsimd_struct): New structure.
44802         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
44803         #include of asm/ptrace.h and second #include of sys/user.h.
44804         (PTRACE_GET_THREAD_AREA): Remove #undef.
44805         (PTRACE_GETHBPREGS): Likewise.
44806         (PTRACE_SETHBPREGS): Likewise.
44807         (ELF_NGREG): Use new struct user_regs_struct.
44808         (elf_fpregset_t): Use new struct user_fpsimd_struct.
44810 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44812         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
44813         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
44815 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
44817         [BZ #16958]
44818         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
44819         membar to avoid block loads/stores to overlap previous stores.
44821 2014-05-17  Richard Henderson  <rth@redhat.com>
44823         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
44824         Create the __##syscall_name##_nocancel entry point.
44825         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
44826         Remove; let the sysdep-cancel.h code create it.
44828 2014-05-17  David S. Miller  <davem@davemloft.net>
44830         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
44831         Protect with __USE_GNU.
44832         (TIOCSET_TEMPT): Likewise.
44833         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44834         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
44835         these are already provided in bits/ioctl-types.h
44837 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44839         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
44840         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
44842         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
44843         Use wait4 regardless of [__NR_waitpid].
44845 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
44847         PR libgcc/60166
44848         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44849         (_FP_NANSIGN_Q): Set the quiet bit.
44851 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
44853         * benchtests/Makefile
44854         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
44855         not $(common-objpfx)math/libm.so.
44856         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
44857         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
44858         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
44859         $(common-objpfx)dlfcn/libdl.so.
44860         ($(objpfx)tst-audit8): Depend on $(libm), not
44861         $(common-objpfx)math/libm.so.
44862         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
44863         not $(common-objpfx)dlfcn/libdl.so.
44864         * math/Makefile
44865         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44866         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
44867         [$(build-shared) = yes].
44868         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
44869         $(common-objpfx)nptl/libpthread.so.
44870         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
44871         $(common-objpfx)math/libm.so$(libm.so-version) or
44872         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
44873         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
44874         $(common-objpfx)dlfcn/libdl.so.
44875         * setjmp/Makefile (link-libm): Remove variable.
44876         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
44877         * stdio-common/Makefile (link-libm): Remove variable.
44878         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
44879         * stdlib/Makefile (link-libm): Remove variable.
44880         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
44881         ($(objpfx)tst-strtod-round): Likewise.
44882         ($(objpfx)tst-tininess): Likewise.
44883         ($(objpfx)tst-strtod-underflow): Likewise.
44884         ($(objpfx)tst-strtod6): Likewise.
44885         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
44886         $(libdl), not $(common-objpfx)nptl/libpthread.so and
44887         $(common-objpfx)dlfcn/libdl.so.
44889 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44891         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
44892         BSD terminal modes definitions.
44894 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44896         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
44897         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
44899         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
44900         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
44901         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
44902         Don't do #include_next.
44903         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
44904         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
44905         Don't do #include_next.
44906         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
44907         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
44908         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
44909         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
44911 2014-05-16  Allan McRae  <allan@archlinux.org>
44913         * po/sv.po: Update Swedish translation from translation project.
44915         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
44916         in sed expression.
44918 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
44920         [BZ #16917]
44921         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
44922         errno if the TIOCGPTN ioctl fails with an error different than
44923         EINVAL.
44924         * login/tst-ptsname.c: New file.
44925         * login/Makefile (tests): Add tst-ptsname.
44927         [BZ #16943]
44928         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
44929         and prlimit64.
44931 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44933         [BZ #16849]
44934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
44935         herrno to return EAI_AGAIN.
44937 2014-05-14  Roland McGrath  <roland@hack.frob.com>
44939         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
44940         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
44941         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
44942         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
44943         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
44944         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
44945         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
44946         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
44947         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
44948         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
44949         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
44950         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
44951         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
44952         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
44953         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
44954         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
44955         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
44956         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
44957         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
44958         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
44959         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
44960         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
44961         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
44962         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
44963         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
44964         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
44965         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
44966         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
44967         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
44968         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
44969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
44970         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
44971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
44972         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
44973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44974         Moved ...
44975         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
44976         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
44977         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
44978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
44979         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
44980         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
44981         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
44982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
44983         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
44984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
44985         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
44986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
44987         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
44988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
44989         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
44990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
44991         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
44992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
44993         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
44994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
44995         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
44996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
44997         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
44998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
44999         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
45000         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
45001         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
45002         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45003         Moved ...
45004         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
45005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
45006         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
45007         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
45008         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
45009         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
45010         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
45011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
45012         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
45013         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
45014         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
45015         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
45016         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
45017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
45018         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
45019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
45020         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
45021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
45022         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
45023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45024         Moved ...
45025         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
45026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
45027         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
45029         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
45030         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
45031         (libpthread-sysdep_routines): Add elision-related stuff here instead.
45032         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
45033         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
45034         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
45035         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
45036         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
45037         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
45038         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
45039         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
45040         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
45041         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
45042         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
45043         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
45044         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
45045         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
45046         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
45047         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
45048         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
45049         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
45050         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
45051         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
45052         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
45053         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
45054         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
45055         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
45056         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
45057         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
45058         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
45059         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
45061         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
45062         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
45064         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
45065         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
45066         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
45067         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
45068         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
45069         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
45070         Moved ...
45071         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
45072         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
45073         Moved ...
45074         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
45075         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
45076         Moved ...
45077         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
45078         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
45079         Moved ...
45080         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
45081         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
45082         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
45083         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
45084         Moved ...
45085         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
45086         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
45087         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
45088         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
45089         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
45090         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
45091         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
45092         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
45093         Moved ...
45094         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
45095         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45096         Moved ...
45097         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45098         ... here.
45099         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
45100         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
45101         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
45102         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
45103         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45104         Moved ...
45105         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45106         ... here.
45107         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
45108         Moved ...
45109         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
45110         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
45111         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
45112         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
45113         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
45114         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
45115         Moved ...
45116         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
45117         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
45118         Moved ...
45119         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
45120         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
45121         Moved ...
45122         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
45123         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
45124         Moved ...
45125         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
45126         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
45127         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
45128         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
45129         Moved ...
45130         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
45131         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
45132         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
45133         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
45134         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
45135         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
45136         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
45137         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
45138         Moved ...
45139         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
45140         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45141         Moved ...
45142         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45143         ... here.
45144         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
45145         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
45146         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
45147         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
45148         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45149         Moved ...
45150         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45151         ... here.
45152         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
45153         Moved ...
45154         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
45155         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
45156         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
45157         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
45158         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
45159         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
45160         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
45161         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
45162         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
45163         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
45164         Moved ...
45165         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
45166         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
45167         Moved ...
45168         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
45169         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
45170         Moved ...
45171         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
45172         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
45173         Moved ...
45174         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
45175         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
45176         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
45177         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
45178         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
45179         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
45180         Moved ...
45181         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
45182         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
45183         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
45184         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
45185         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
45186         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
45187         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
45188         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
45189         Moved ...
45190         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
45191         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
45192         Moved ...
45193         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
45194         ... here.
45195         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
45196         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
45197         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
45198         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
45199         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
45200         Moved ...
45201         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
45202         ... here.
45203         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
45204         Moved ...
45205         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
45206         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
45207         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
45208         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
45209         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
45210         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
45211         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
45212         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
45213         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
45214         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
45215         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
45217         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
45218         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
45220         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
45221         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
45223         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
45224         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
45225         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
45226         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
45227         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
45228         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
45229         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
45230         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
45231         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
45232         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
45233         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
45234         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
45235         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
45236         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
45237         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
45238         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
45239         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
45240         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
45241         Moved ...
45242         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
45243         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
45244         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
45245         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
45246         Moved ...
45247         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
45248         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
45249         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
45250         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
45251         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
45252         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
45253         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
45254         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
45255         Moved ...
45256         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
45257         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
45258         Moved ...
45259         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
45260         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
45261         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
45262         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
45263         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
45264         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
45265         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
45266         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
45267         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
45268         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
45269         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
45270         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
45271         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
45272         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
45273         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
45274         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
45275         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
45277         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
45278         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
45279         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
45280         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
45281         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
45283         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
45284         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
45285         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
45286         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
45287         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
45288         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
45289         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
45290         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
45291         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
45292         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
45294         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
45295         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
45297         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
45298         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
45299         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
45300         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
45301         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
45302         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
45303         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
45304         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
45305         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
45306         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
45307         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
45308         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
45309         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
45310         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
45311         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
45312         Update #include.
45313         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
45314         Likewise.
45315         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45316         Likewise.
45317         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45318         Likewise.
45319         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45320         Likewise.
45321         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
45322         Likewise.
45323         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
45324         Likewise.
45325         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
45326         Likewise.
45327         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
45328         Likewise.
45329         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
45330         Likewise.
45331         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
45332         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
45333         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
45334         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
45335         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
45336         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
45337         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
45338         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
45339         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
45340         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
45341         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
45342         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
45343         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
45344         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
45345         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
45347         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
45348         that was previously under [RESET_PID].
45349         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45350         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
45351         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
45353         * sysdeps/i386/nptl/Implies: New file.
45354         * sysdeps/x86_64/nptl/Implies: New file.
45355         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
45356         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
45357         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
45358         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
45360         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
45361         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45362         (__libc_vfork): New strong alias.
45363         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
45364         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
45366         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
45367         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45368         (__libc_vfork): New strong alias.
45369         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
45370         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
45372         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
45373         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45374         (__libc_vfork): New strong alias.
45375         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
45376         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
45377         * nptl/pt-vfork.c: New file.
45378         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
45379         (libpthread: GLIBC_2.20): New version set (empty).
45381 2014-05-14  Will Newton  <will.newton@linaro.org>
45383         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
45384         rather than #if.
45386 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45388         [BZ #16564]
45389         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
45390         arguments with exponent 65 or above.
45391         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
45392         arguments 0x1p113L or above.
45393         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
45394         to arguments 0x1p107L or above.
45395         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
45396         positive arguments with exponent 65 or above.
45397         * math/auto-libm-test-in: Add more tests of log1p.
45398         * math/auto-libm-test-out: Regenerated.
45400         [BZ #16928]
45401         * math/s_cacos.c (__cacos): Ensure zero real part of result from
45402         non-finite arguments is +0.
45403         * math/s_cacosf.c (__cacosf): Likewise.
45404         * math/s_cacosl.c (__cacosl): Likewise.
45405         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
45406         * sysdeps/i386/fpu/libm-test-ulps: Update.
45407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45409         [BZ #16927]
45410         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
45411         value.
45412         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
45413         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
45414         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
45415         for explicit high bit of mantissa when testing for argument equal
45416         to 1.
45417         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
45418         * sysdeps/i386/fpu/libm-test-ulps: Update.
45419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45421         [BZ #16516]
45422         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
45423         (__erf): Scale by 16 instead of 8 in potentially underflowing
45424         case.  Ensure exception if result actually underflows.
45425         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
45426         (__erff): Scale by 16 instead of 8 in potentially underflowing
45427         case.  Ensure exception if result actually underflows.
45428         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
45429         (efx8): Remove variable.
45430         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45431         case.  Ensure exception if result actually underflows.
45432         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
45433         (efx8): Remove variable.
45434         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45435         case.  Ensure exception if result actually underflows.
45436         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
45437         (efx8): Remove variable.
45438         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45439         case.  Ensure exception if result actually underflows.
45440         * math/auto-libm-test-in: Add more tests of erf.
45441         * math/auto-libm-test-out: Regenerated.
45443 2014-05-14  Andreas Schwab  <schwab@suse.de>
45445         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
45446         Remove code conditionalized on USE___THREAD.
45448         * config.h.in (HAVE_PT_CHOWN): Define as 0.
45449         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
45450         not definedness.
45452 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45454         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
45455         Define unconditionally.
45456         (__ASSUME_O_CLOEXEC): Likewise.
45457         (__ASSUME_SOCK_CLOEXEC): Likewise.
45458         (__ASSUME_IN_NONBLOCK): Likewise.
45459         (__ASSUME_PIPE2): Likewise.
45460         (__ASSUME_EVENTFD2): Likewise.
45461         (__ASSUME_SIGNALFD4): Likewise.
45462         (__ASSUME_DUP3): Likewise.
45463         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45464         (__ASSUME_DUP3): Do not define.
45465         (__ASSUME_EVENTFD2): Likewise.
45466         (__ASSUME_IN_NONBLOCK): Likewise.
45467         (__ASSUME_O_CLOEXEC): Likewise.
45468         (__ASSUME_PIPE2): Likewise.
45469         (__ASSUME_SIGNALFD4): Likewise.
45470         (__ASSUME_SOCK_CLOEXEC): Likewise.
45471         (__ASSUME_UTIMES): Undefine.
45472         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45473         (__ASSUME_UTIMES): Do not define.
45474         (__ASSUME_O_CLOEXEC): Likewise.
45475         (__ASSUME_SOCK_CLOEXEC): Likewise.
45476         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
45477         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
45478         0x020621].
45479         (__ASSUME_PIPE2): Likewise.
45480         (__ASSUME_EVENTFD2): Likewise.
45481         (__ASSUME_SIGNALFD4): Likewise.
45482         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
45483         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
45484         Do not define.
45485         (__ASSUME_EVENTFD2): Likewise.
45486         (__ASSUME_SIGNALFD4): Likewise.
45487         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
45488         (__ASSUME_32BITUIDS): Likewise.
45489         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45490         (__ASSUME_IPC64): Likewise.
45491         (__ASSUME_ST_INO_64_BIT): Likewise.
45492         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
45493         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
45494         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45495         (__ASSUME_UTIMES): Do not define.
45496         (__ASSUME_PSELECT): Likewise.
45497         (__ASSUME_PPOLL): Likewise.
45498         (__ASSUME_O_CLOEXEC): Likewise.
45499         (__ASSUME_SOCK_CLOEXEC): Likewise.
45500         (__ASSUME_IN_NONBLOCK): Likewise.
45501         (__ASSUME_PIPE2): Likewise.
45502         (__ASSUME_EVENTFD2): Likewise.
45503         (__ASSUME_SIGNALFD4): Likewise.
45504         (__ASSUME_DUP3): Likewise.
45505         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45506         (__ASSUME_UTIMES): Likewise.
45507         (__ASSUME_O_CLOEXEC): Likewise.
45508         (__ASSUME_SOCK_CLOEXEC): Likewise.
45509         (__ASSUME_IN_NONBLOCK): Likewise.
45510         (__ASSUME_PIPE2): Likewise.
45511         (__ASSUME_EVENTFD2): Likewise.
45512         (__ASSUME_SIGNALFD4): Likewise.
45513         (__ASSUME_DUP3): Likewise.
45514         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45515         (__ASSUME_UTIMES): Likewise.
45516         (__ASSUME_O_CLOEXEC): Likewise.
45517         (__ASSUME_SOCK_CLOEXEC): Likewise.
45518         (__ASSUME_IN_NONBLOCK): Likewise.
45519         (__ASSUME_PIPE2): Likewise.
45520         (__ASSUME_EVENTFD2): Likewise.
45521         (__ASSUME_SIGNALFD4): Likewise.
45522         (__ASSUME_DUP3): Likewise.
45523         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
45524         Likewise.
45525         (__ASSUME_UTIMES): Likewise.
45526         (__ASSUME_EVENTFD2): Likewise.
45527         (__ASSUME_SIGNALFD4): Likewise.
45528         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45529         (__ASSUME_O_CLOEXEC): Likewise.
45530         (__ASSUME_SOCK_CLOEXEC): Likewise.
45531         (__ASSUME_IN_NONBLOCK): Likewise.
45532         (__ASSUME_PIPE2): Likewise.
45533         (__ASSUME_EVENTFD2): Likewise.
45534         (__ASSUME_SIGNALFD4): Likewise.
45535         (__ASSUME_DUP3): Likewise.
45536         (__ASSUME_UTIMES): Undefine.
45538         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
45539         feclearexcept.  Remove symbol versioning code.
45540         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
45541         symbol versioning code.
45542         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
45543         symbol versioning code.
45544         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
45545         feupdateenv.  Remove symbol versioning code.
45546         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
45547         fegetexceptflag.  Remove symbol versioning code.
45548         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
45549         fesetexceptflag.  Remove symbol versioning code.
45550         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
45551         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
45552         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
45553         (__posix_fadvise64_l32): Remove prototype.
45554         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
45555         code.
45557 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45559         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
45560         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
45561         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
45562         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
45564 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
45566         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
45567         current working directory
45569 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45571         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
45572         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
45573         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
45574         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
45575         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
45576         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
45577         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
45578         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
45579         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
45580         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
45581         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
45582         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
45583         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
45584         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
45585         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
45586         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
45587         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
45588         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
45589         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
45590         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
45591         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
45592         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
45593         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
45594         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
45595         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
45596         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
45597         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
45598         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
45599         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
45600         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
45601         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
45602         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
45603         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
45604         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
45605         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
45606         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
45607         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
45608         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
45609         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
45610         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
45611         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
45612         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
45614         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
45615         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
45617         * sysdeps/unix/sysv/linux/arm/Makefile
45618         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
45619         Add rt-aeabi_unwind_cpp_pr1.
45620         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
45621         Add nptl-aeabi_unwind_cpp_pr1.
45622         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
45623         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
45624         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
45625         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45626         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
45627         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45629         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
45630         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
45631         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
45632         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
45634         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
45635         Deconditionalize the code that was previously under [RESET_PID].
45636         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
45638         * sysdeps/generic/exit-thread.h: New file.
45639         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
45640         * include/unistd.h (__exit_thread): Remove declaration.
45641         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
45642         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
45643         * csu/libc-start.c: Include <exit-thread.h>.
45644         (LIBC_START_MAIN): Pass no argument to __exit_thread.
45645         * nptl/pthread_create.c: Include <exit-thread.h>.
45646         (start_thread): Call __exit_thread in place of __exit_thread_inline.
45647         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
45648         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
45649         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
45650         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
45651         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
45652         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
45653         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
45654         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
45655         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
45656         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
45657         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
45658         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
45659         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
45660         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
45661         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
45662         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
45664 2014-05-13  Andreas Schwab  <schwab@suse.de>
45666         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
45668 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
45670         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45671         (__ASSUME_UTIMES): Do not condition on kernel version.
45672         (__ASSUME_PSELECT): Define unconditionally.
45673         (__ASSUME_PPOLL): Likewise.
45674         (__ASSUME_ATFCTS): Likewise.
45675         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
45676         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
45677         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
45678         (__ASSUME_UTIMENSAT): Define unconditionally.
45679         (__ASSUME_PRIVATE_FUTEX): Likewise.
45680         (__ASSUME_FALLOCATE): Likewise.
45681         (__ASSUME_O_CLOEXEC): Likewise.
45682         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
45683         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
45684         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
45685         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
45686         (__ASSUME_IN_NONBLOCK): Likewise.
45687         (__ASSUME_PIPE2): Likewise.
45688         (__ASSUME_EVENTFD2): Likewise.
45689         (__ASSUME_SIGNALFD4): Likewise.
45690         (__ASSUME_DUP3): Likewise.
45691         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45692         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
45693         (__ASSUME_AT_RANDOM): Likewise.
45694         (__ASSUME_PREADV): Likewise.
45695         (__ASSUME_PWRITEV): Likewise.
45696         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
45697         (__ASSUME_F_GETOWN_EX): Define unconditionally.
45698         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
45699         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45700         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
45701         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45702         (__ASSUME_O_CLOEXEC): Define unconditionally.
45703         (__ASSUME_PSELECT): Do not undefine conditionally.
45704         (__ASSUME_PPOLL): Likewise.
45705         (__ASSUME_ATFCTS): Likewise.
45706         (__ASSUME_SET_ROBUST_LIST): Likewise.
45707         (__ASSUME_UTIMENSAT): Likewise.
45708         (__ASSUME_FDATASYNC): Define unconditionally.
45709         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45710         (__ASSUME_SIGFRAME_V2): Likewise.
45711         )__ASSUME_EVENTFD2): Likewise.
45712         (__ASSUME_SIGNALFD4): Likewise.
45713         (__ASSUME_PSELECT): Do not undefine conditionally.
45714         (__ASSUME_PPOLL): Likewise.
45715         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45716         (__ASSUME_PSELECT): Define unconditionally.
45717         (__ASSUME_PPOLL): Likewise.
45718         (__ASSUME_O_CLOEXEC): Likewise.
45719         (__ASSUME_SOCK_CLOEXEC): Likewise.
45720         (__ASSUME_IN_NONBLOCK): Likewise.
45721         (__ASSUME_PIPE2): Likewise.
45722         (__ASSUME_EVENTFD2): Likewise.
45723         (__ASSUME_SIGNALFD4): Likewise.
45724         (__ASSUME_DUP3): Likewise.
45725         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45726         (__ASSUME_O_CLOEXEC): Likewise.
45727         (__ASSUME_SOCK_CLOEXEC): Likewise.
45728         (__ASSUME_IN_NONBLOCK): Likewise.
45729         (__ASSUME_PIPE2): Likewise.
45730         (__ASSUME_EVENTFD2): Likewise.
45731         (__ASSUME_SIGNALFD4): Likewise.
45732         (__ASSUME_DUP3): Likewise.
45733         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45734         (__ASSUME_EVENTFD2): Likewise.
45735         (__ASSUME_SIGNALFD4): Likewise.
45736         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45738 2014-05-12  Andreas Schwab  <schwab@suse.de>
45740         [BZ #16932]
45741         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
45742         (_nss_nis_gethostbyname4_r): Return error if item length is larger
45743         than maximum RPC packet size.
45744         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
45745         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
45746         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
45747         (_nss_nis_getservbyport_r): Likewise.
45749 2014-05-12  Will Newton  <will.newton@linaro.org>
45751         * malloc/Makefile (tests): Add tst-mallopt.
45752         * malloc/tst-mallopt.c: New file.
45754 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45756         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
45757         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
45759 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45761         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
45762         (tst-tlsmod6.so): Likewise.
45764 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45766         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
45768 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
45770         [BZ #16064]
45771         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
45772         and <dl-procinfo.h>.
45773         (__fegetenv): Save SSE state in envp->__eip if supported.
45774         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
45775         envp->__eip if supported.
45776         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
45777         and <dl-procinfo.h>.
45778         (__fesetenv): Always set __eip, __cs_selector, __opcode,
45779         __data_offset and __data_selector in environment to 0.  Set SSE
45780         state if supported.
45781         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
45782         test-fenv-sse.
45783         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
45784         -mfpmath=sse.
45785         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
45787 2014-05-09  Will Newton  <will.newton@linaro.org>
45789         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
45790         and libc_relro_required for ARM.
45791         * sysdeps/arm/preconfigure: Regenerate.
45793 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
45794             Stefan Liebler  <stli@linux.vnet.ibm.com>
45796         * config.make.in (enable-lock-elision): New Makefile variable.
45797         * configure.ac: Likewise.
45798         * configure: Regenerate.
45799         * sysdeps/s390/configure.ac:
45800         Add check for gcc transactions support.
45801         * sysdeps/s390/configure: Regenerate.
45802         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
45803         Build elision files if enabled.
45804         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
45805         Add lock elision support for s390.
45806         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
45807         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
45808         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
45809         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
45810         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
45811         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
45812         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
45813         Likewise.
45814         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
45815         Likewise.
45816         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
45817         Likewise.
45818         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
45819         Likewise.
45820         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
45821         (__lll_timedlock_elision, __lll_lock_elision)
45822         (__lll_unlock_elision, __lll_trylock_elision)
45823         (lll_timedlock_elision, lll_lock_elision)
45824         (lll_unlock_elision, lll_trylock_elision): Add.
45825         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45826         (pthread_mutex_t): Add lock elision support for s390.
45828 2014-05-14  Wilco  <wdijkstr@arm.com>
45830         * sysdeps/arm/fclrexcpt.c: Cleanup.
45831         * sysdeps/arm/fedisblxcpt.c: Cleanup.
45832         * sysdeps/arm/feenablxcpt.c: Cleanup.
45833         * sysdeps/arm/fegetenv.c: Cleanup.
45834         * sysdeps/arm/fegetexcept.c: Cleanup.
45835         * sysdeps/arm/fegetround.c: Cleanup.
45836         * sysdeps/arm/feholdexcpt.c: Cleanup.
45837         * sysdeps/arm/fesetenv.c: Cleanup.
45838         * sysdeps/arm/fesetround.c: Cleanup.
45839         * sysdeps/arm/feupdateenv.c: Cleanup.
45840         * sysdeps/arm/fgetexcptflg.c: Cleanup.
45841         * sysdeps/arm/fraiseexcpt.c: Cleanup.
45842         * sysdeps/arm/fsetexcptflg.c: Cleanup.
45843         * sysdeps/arm/ftestexcept.c: Cleanup.
45844         * sysdeps/arm/get-rounding-mode.h: Cleanup.
45845         * sysdeps/arm/setfpucw.c: Cleanup.
45847 2014-05-09  Will Newton  <will.newton@linaro.org>
45849         * sysdeps/arm/armv7/strcmp.S: New file.
45850         * NEWS: Mention addition of ARMv7 optimized strcmp.
45852 2014-05-08  Roland McGrath  <roland@hack.frob.com>
45854         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
45855         look for %.ac rather than %.in.
45857         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
45858         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
45859         * sysdeps/mach/hurd/configure: Regenerated.
45860         * sysdeps/unix/sysv/linux/configure: Regenerated.
45862         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
45864 2014-05-07  Steve Ellcey  <sellcey@mips.com>
45866         [BZ# 16922]
45867         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
45868         (LONG_SUB): Ditto.
45869         (PTR_SUB): Ditto.
45871 2014-05-07  Andreas Schwab  <schwab@suse.de>
45873         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
45874         when skipping over non-matching result from nscd.
45876 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
45878         [BZ #16876]
45879         * nptl/sockperf.c (client): Check socket return value.
45881         [BZ #16877]
45882         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
45883         nscd security class.
45885 2014-05-06  Roland McGrath  <roland@hack.frob.com>
45887         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
45888         * sysdeps/arm/unwind.h: ... here.
45890 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
45892         [BZ# 16916]
45893         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
45894         Define.
45896 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45898         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
45899         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
45900         multiarch strncpy for PPC64.
45901         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
45902         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
45903         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
45904         multiarch optimizations.
45905         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45906         (__libc_ifunc_impl_list): Likewise.
45907         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
45908         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
45909         multiarch stpncpy for PPC64.
45910         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
45911         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
45913 2014-05-06  Andreas Schwab  <schwab@suse.de>
45915         [BZ #16912]
45916         * gmon/mcount.c (_MCOUNT_DECL): Use
45917         atomic_compare_and_exchange_bool_acq instead of
45918         catomic_compare_and_exchange_bool_acq.
45920 2014-05-05  Roland McGrath  <roland@hack.frob.com>
45922         * elf/Makefile (others, install-bin): Remove pldd.
45923         (pldd-modules): Variable removed.
45924         ($(objpfx)pldd): Target removed.
45925         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
45926         (others, install-bin): Append pldd here.
45927         ($(objpfx)pldd): New target.
45929         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
45930         to 0, so the first #if test emitted later doesn't see it undefined.
45931         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
45932         * sysdeps/gnu/errlist.c: Regenerated.
45934 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45936         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45937         [libc_hidden_builtin_def]: Define to empty value.
45938         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
45939         [libc_hidden_builtin_def]: Likewise.
45940         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
45941         [libc_hidden_builtin_def]: Likewise.
45942         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
45943         [libc_hidden_builtin_def]: Likewise.
45944         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
45945         __redirect_memcpy and define ifunc as default hidden symbol.
45946         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
45947         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
45949 2014-05-04  Adam Conrad  <adconrad@0c3.net>
45951         * locale/iso-4217.def: Reintroduce XDR currency.
45953 2014-05-04  Allan McRae  <allan@archlinux.org>
45955         * po/eo.po: Update Esperanto translation from translation project.
45957 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
45959         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
45960         and FEATURE_INDEX_MAX to 1.
45961         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
45963 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45965         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
45966         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
45967         * iconvdata/big5.c (ONE_DIRECTION): Define.
45968         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
45969         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
45970         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
45971         * iconvdata/cp932.c (ONE_DIRECTION): Define.
45972         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
45973         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
45974         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
45975         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
45976         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
45977         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
45978         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
45979         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
45980         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
45981         * iconvdata/gbk.c (ONE_DIRECTION): Define.
45982         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
45983         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
45984         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
45985         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
45986         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
45987         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
45988         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
45989         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
45990         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
45991         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
45992         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
45993         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
45994         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
45995         * iconvdata/iso646.c (ONE_DIRECTION): Define.
45996         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
45997         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
45998         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
45999         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
46000         * iconvdata/johab.c (ONE_DIRECTION): Define.
46001         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
46002         * iconvdata/sjis.c (ONE_DIRECTION): Define.
46003         * iconvdata/t.61.c (ONE_DIRECTION): Define.
46004         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
46005         * iconvdata/tscii.c (ONE_DIRECTION): Define.
46006         * iconvdata/uhc.c (ONE_DIRECTION): Define.
46007         * iconvdata/unicode.c (ONE_DIRECTION): Define.
46008         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
46009         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
46010         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
46012 2014-05-01  Roland McGrath  <roland@hack.frob.com>
46014         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
46015         (_IO_JUMPS_OFFSET): Define to 0.
46017         * nptl/sysdeps/pthread/bits/libc-lock.h
46018         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
46019         (__libc_lock_define_initialized_recursive): Always define using
46020         initializer.  Modern compilers treat uninitialized (implicit zero) and
46021         explicit zero initializers the same (i.e. put the datum in bss).
46023 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46025         * nscd/nscd-client.h: Include <string.h>.
46027 2014-05-01  David S. Miller  <davem@davemloft.net>
46029         [BZ #16885]
46030         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
46031         multiple zero bytes exist at the end of a string.
46032         Reported by Aurelien Jarno <aurelien@aurel32.net>
46034         * string/test-strcmp.c (check): Add explicit test for situations where
46035         there are multiple zero bytes after the first.
46037 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46039         [BZ #16890]
46040         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
46041         when compiling wprintf.
46042         * stdio-common/tstdiomisc.c (t3): New function.
46043         (main): Call it.
46045 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46047         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
46048         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
46049         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
46050         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
46052 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46054         * stdlib/longlong.h: Updated from GCC.
46056 2014-05-01  Will Newton  <will.newton@linaro.org>
46057             Bernard Ogden  <bernie.ogden@linaro.org>
46059         * NEWS: Update fixed bug list.
46061         [BZ #15119]
46062         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
46064 2014-04-30  David S. Miller  <davem@davemloft.net>
46066         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
46067         (libc_feholdexcept_setround_sparc_ctx): New function.
46068         (libc_fesetenv_sparc_ctx): Likewise.
46069         (libc_feupdateenv_sparc_ctx): Likewise.
46070         (libc_feholdsetround_sparc_ctx): Likewise.
46071         (libc_feholdexcept_setround_ctx): Define.
46072         (libc_feholdexcept_setroundf_ctx): Likewise.
46073         (libc_feholdexcept_setroundl_ctx): Likewise.
46074         (libc_fesetenv_ctx): Likewise.
46075         (libc_fesetenvf_ctx): Likewise.
46076         (libc_fesetenvl_ctx): Likewise.
46077         (libc_feupdateenv_ctx): Likewise.
46078         (libc_feupdateenvf_ctx): Likewise.
46079         (libc_feupdateenvl_ctx): Likewise.
46080         (libc_feresetround_ctx): Likewise.
46081         (libc_feresetroundf_ctx): Likewise.
46082         (libc_feresetroundl_ctx): Likewise.
46083         (libc_feholdsetround_ctx): Likewise.
46084         (libc_feholdsetroundf_ctx): Likewise.
46085         (libc_feholdsetroundl_ctx): Likewise.
46087         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46088         with __USE_GNU instead of XOPEN cpp guards.
46090         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
46091         0.
46093         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46094         with XOPEN cpp guards.
46096 2014-04-30  Julian Brown  <julian@codesourcery.com>
46098         [BZ #16888]
46099         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
46100         handling.
46102 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
46104         [BZ #9894]
46105         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
46106         Change to 2.6.32.
46107         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
46108         * sysdeps/unix/sysv/linux/configure: Regenerated.
46109         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
46110         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
46111         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
46112         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
46113         * README: Update reference to required Linux kernel version.
46114         * manual/install.texi (Linux): Update reference to required Linux
46115         kernel headers version.
46116         * INSTALL: Regenerated.
46118         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
46119         header inclusion.
46120         [POSIX] (limits.h): Likewise.
46121         [POSIX] (math.h): Likewise.
46122         [POSIX] (sys/wait.h): Likewise.
46123         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
46124         function.
46125         [POSIX] (stddef.h): Do not allow header inclusion.
46127 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46129         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
46131 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
46133         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
46134         Return immediately after lll_futex_wake.
46136 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46138         [BZ #16791]
46139         * nscd/nscd-client.h (datahead_init_common): Initialize entire
46140         structure.
46141         (datahead_init_pos): Call datahead_init_common early.
46142         (datahead_init_neg): Likewise.
46144         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
46145         datahead_init_neg): New functions.
46146         * nscd/aicache.c (addhstaiX): Use them.
46147         * nscd/grpcache.c (cache_addgr): Likewise.
46148         * nscd/hstcache.c (cache_addhst): Likewise.
46149         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46150         * nscd/netgroupcache.c (do_notfound): Likewise.
46151         (addgetnetgrentX): Likewise.
46152         (addinnetgrX): Likewise.
46153         * nscd/pwdcache.c (cache_addpw): Likewise.
46154         * nscd/servicescache.c (cache_addserv): Likewise.
46156 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46157             Atsushi Onoe  <atsushi@onoe.org>
46159         [BZ #14308]
46160         [BZ #12994]
46161         [BZ #13651]
46162         * resolv/res_query.c (__libc_res_nsearch): Return if at least
46163         one response is valid.
46164         * resolv/res_send.c (send_dg): Check for validity of other
46165         response if the current response is a referral.
46167 2014-04-29  Steve Ellcey  <sellcey@mips.com>
46169         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
46171 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
46173         [BZ #16823]
46174         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
46175         Always divide by positive zero when computing -Inf result.
46176         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46177         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
46179 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46181         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
46182         FPSCR if value do not change.
46183         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46184         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
46185         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
46186         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
46187         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
46188         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
46189         function.
46191 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
46193         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
46194         * sysdeps/unix/sysv/linux/hppa: Move directory from
46195         ports/systeps/unix/sysv/linux/hppa.
46196         * README: Update listing for hppa-*-linux-gnu.
46198 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
46200         [BZ #16754]
46201         * manual/stdio.texi (Hook functions): Fix types of stream hook
46202         functions.
46203         [BZ #16854]
46204         * socket/sys/socket.h: Fix typo in comment.
46206 2014-04-28  Wilco  <wdijkstr@arm.com>
46208         * sysdeps/arm/fenv_private.h: New file.
46209         * sysdeps/arm/math_private.h: New file.
46210         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
46212 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
46214         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
46215         with __int128_t.
46216         (La_x86_64_retval): Likewise.
46218 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
46220         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
46221         fpsr if value didn't change.
46222         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
46223         to fpcr if value didn't change.
46224         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
46225         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
46226         fpsr or fpcr if value didn't change.
46227         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46228         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
46229         fpcr if value didn't change.
46230         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
46231         to fpsr if value didn't change.
46233 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46235         * nptl/tst-sem3.c: Use test-skeleton.c
46236         (main): Rename to do_test.  Use return instead of
46237         exit.
46238         * nptl/tst-sem4.c: Use test-skeleton.c
46239         (main): Rename to do_test.
46241 2014-04-22  David S. Miller  <davem@davemloft.net>
46243         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
46244         (struct sigaction): New struct member __glibc_reserved0, change
46245         type of sa_flags to int.
46247 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
46249         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
46250         (COUNT_LEADING_ZEROS_0): Define for AArch64.
46252 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46254         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
46255         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
46257 2014-04-22  Will Newton  <will.newton@linaro.org>
46258             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
46260         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
46261         (__longjmp): Add longjmp and longjmp_target SystemTap
46262         probes.
46263         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
46264         (__sigsetjmp): Add setjmp SystemTap probe.
46266 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
46268         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
46269         match manual order.
46271 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46273         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
46275         * sysdeps/powerpc/fpu/fenv_private.h
46276         (libc_feholdexcept_setroundl_ctx): Define to
46277         libc_feholdexcept_setround_ppc_ctx.
46278         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
46279         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
46280         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
46281         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
46283 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
46285         * sysdeps/aarch64/math-tests.h: New file.
46287 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
46289         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
46290         New.
46291         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46292         Check and set bit_AVX2_Usable.
46293         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
46294         macro.
46295         (bit_AVX2): Likewise.
46296         (index_AVX2_Usable): Likewise.
46297         (CPUID_AVX2): Likewise.
46298         (HAS_AVX2): Likewise.
46300 2014-04-17  Will Newton  <will.newton@linaro.org>
46302         * manual/setjmp.texi (System V contexts): Add note that
46303         calling setcontext on a context created by a call to a
46304         signal handler is undefined.  Update text to note that
46305         setcontext from a signal handler is possible but not
46306         recommended.
46308         [BZ #16629]
46309         * stdlib/tst-setcontext.c: Include signal.h.
46310         (main): Check that the signal stack before and
46311         after swapcontext is the same.
46313         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
46314         Re-implement to restore registers in user code and avoid
46315         rt_sigreturn system call.
46317 2014-04-17  Wilco  <wdijkstr@arm.com>
46319         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
46320         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
46321         * math/test-fenv.c: Skip exception trap tests on targets which only
46322         support non-stop mode.
46324 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
46325             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46327         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
46328         (libc_feholdsetround_aarch64_ctx)
46329         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
46330         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
46331         (libc_feresetround_ctx, libc_feresetroundf_ctx)
46332         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
46333         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
46334         (libc_feresetround_noexl_ctx): Define.
46336 2014-04-16  Richard Henderson  <rth@redhat.com>
46338         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
46340         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
46341         unwind tables.
46343         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
46344         const from the non-libc, non-ldso copy.
46346         * sysdeps/alpha/libm-test-ulps: Regenerate.
46348 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
46349             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46351         * sysdeps/aarch64/fpu/math_private.h: New file.
46353 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46355         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46357 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
46359         [BZ #16275]
46360         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
46361         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
46362         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
46363         Intel MPX bound registers before _dl_profile_fixup.
46364         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
46365         registers after _dl_profile_fixup.  Save and restore bound
46366         registers bnd0/bnd1 when calling _dl_call_pltexit.
46367         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
46368         (LR_BND_OFFSET): Likewise.
46369         (LRV_BND0_OFFSET): Likewise.
46370         (LRV_BND1_OFFSET): Likewise.
46372 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46374         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
46375         to...
46376         * sysdeps/mach/hurd/i386/tls.h: ... here.
46377         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
46378         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
46379         fields.
46381 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46383         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
46385 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46387         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46389 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46391         [BZ #14770]
46392         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
46393         * sysdeps/s390/configure: Regenerate.
46395         [BZ #16824]
46396         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
46397         Set round-to-nearest internally to reduce error accumulation.
46399 2014-04-16  Alan Modra  <amodra@gmail.com>
46401         [BZ #16740]
46402         [BZ #16619]
46403         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
46404         * math/libm-test.inc (frexp_test_data): Add tests.
46405         * NEWS: Update fixed bug list.
46407 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46409         * benchtests/Makefile: Depend on libraries in build directory.
46410         (bench-math): Separate out math tests.
46411         (bench-pthread): Separate out pthread tests.
46412         (bench): Include math and pthread tests.
46414 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
46416         [BZ #16831]
46417         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
46418         _dl_debug_initialize.
46420         * configure.ac: Remove SELinux header check.
46421         * configure: Regenerate.
46422         * nscd/selinux.c (perms): Array of const char* to permission names.
46423         (nscd_request_avc_has_perm): Call security_deny_unknown to find
46424         default policy. Call string_to_security_class and string_to_av_perm to
46425         translate strings. Enforce default policy and call avs_has_perm with
46426         results of translated strings.
46428 2014-04-13  David S. Miller  <davem@davemloft.net>
46430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46432 2014-04-12  Allan McRae  <allan@archlinux.org>
46434         [BZ #16838]
46435         * manual/string.texi (Collation Functions): Fix qsort argument
46436         order in example.
46437         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46439 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
46441         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
46442         Make the test a no-op if there are no exceptions defined.
46444 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
46446         * elf/Makefile (tests): make tst-dlopen-aout conditional on
46447         enable-hardcoded-path-in-tests
46449 2014-04-11  Will Newton  <will.newton@linaro.org>
46451         * benchtests/Makefile (extra-objs): Add json-lib.o.
46452         (bench-func): Tidy up JSON output.
46453         * benchtests/bench-skeleton.c: Include json-lib.h.
46454         (main): Use JSON library functions to do output of
46455         benchmark results.
46456         * benchtests/bench-timing-type.c (main): Output the
46457         timing type simply, leaving formatting to the user.
46458         * benchtests/json-lib.c: New file.
46459         * benchtests/json-lib.h: Likewise.
46461 2014-04-11  Torvald Riegel  <triegel@redhat.com>
46463         [BZ #15215]
46464         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
46465         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
46466         memory barriers.  Add comments.
46467         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
46468         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
46469         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
46470         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
46471         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
46472         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
46474 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46476         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
46477         * sysdeps/s390/s390-64/configure.ac: ... this ...
46478         * sysdeps/s390/configure.ac: ... to here.
46479         * sysdeps/s390/s390-32/configure: Delete file.
46480         * sysdeps/s390/s390-64/configure: Delete file.
46481         * sysdeps/s390/configure: Regenerate.
46483 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
46485         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
46487 2014-04-11  Will Newton  <will.newton@linaro.org>
46489         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
46490         to zero if it is not defined elsewhere.  (mtrim): Test
46491         the value of MALLOC_DEBUG with #if rather than #ifdef.
46493 2014-04-10 Torvald Riegel  <triegel@redhat.com>
46495         * benchtests/pthread_once-inputs: New file.
46496         * benchtests/pthread_once-source.c: New file.
46497         * benchtests/README: Update documentation.
46499 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
46500             H.J. Lu  <hongjiu.lu@intel.com>
46502         [BZ #16275]
46503         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
46504         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
46505         * sysdeps/x86_64/configure: Regenerated.
46506         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
46507         macro.
46508         (REGISTER_SAVE_RAX): Likewise.
46509         (REGISTER_SAVE_RCX): Likewise.
46510         (REGISTER_SAVE_RDX): Likewise.
46511         (REGISTER_SAVE_RSI): Likewise.
46512         (REGISTER_SAVE_RDI): Likewise.
46513         (REGISTER_SAVE_R8): Likewise.
46514         (REGISTER_SAVE_R9): Likewise.
46515         (REGISTER_SAVE_BND0): Likewise.
46516         (REGISTER_SAVE_BND1): Likewise.
46517         (REGISTER_SAVE_BND2): Likewise.
46518         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
46519         bound registers when calling _dl_fixup.
46521 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46523         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
46524         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
46525         of its definition.
46526         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
46527         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
46528         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
46529         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
46530         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
46531         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
46532         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
46534 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
46536         [BZ #15514]
46537         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
46538         pathconf(_PC_NAME_MAX).
46540 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46542         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
46543         Remove macro usage.
46544         (__PTHREAD_SPINS): Move definition to ...
46545         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46546         (__PTHREAD_SPINS): ... here.
46547         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46548         (__PTHREAD_SPIN): Likewise.
46549         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
46550         (__PTHREAD_SPIN): Likewise.
46551         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
46552         (__PTHREAD_SPIN): Likewise.
46553         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
46554         (__PTHREAD_SPIN): Likewise.
46555         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46556         (__PTHREAD_SPIN): Likewise.
46557         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46558         (__PTHREAD_SPIN): Likewise.
46559         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
46560         (__PTHREAD_SPIN): Likewise.
46561         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46562         (__PTHREAD_SPIN): Likewise.
46563         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46564         (__PTHREAD_SPIN): Likewise.
46565         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46566         (__PTHREAD_SPIN): Likewise.
46567         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46568         (__PTHREAD_SPIN): Likewise.
46569         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
46570         (__PTHREAD_SPIN): Likewise.
46572         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
46573         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
46574         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
46575         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
46576         imply folder.
46577         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
46578         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
46579         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
46580         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
46581         correct imply path.
46582         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
46583         strlen symbol for non multi-arch builds.
46584         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
46585         missing hidden_def and weak_alias.
46587 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
46589         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
46591 2014-04-07  Will Newton  <will.newton@linaro.org>
46593         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
46594         and contents.  [!_LIBC] Remove #ifndef and contents.
46595         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
46596         * string/memccpy.c (__memccpy): Use ANSI prototype.
46597         * string/memfrob.c (memfrob): Likewise.
46598         * string/strcoll.c (STRCOLL): Likewise.
46599         * string/strlen.c (strlen): Likewise.
46600         * string/strtok.c (STRTOK): Likewise.
46601         * string/strcat.c: Remove unused #include of memcopy.h.
46602         (strcat): Use ANSI prototype.
46603         * string/strchr.c: Remove unused #include of memcopy.h.
46604         (strchr): Use ANSI prototype.
46605         * string/strcmp.c: Remove unused #include of memcopy.h.
46606         (strcmp): Use ANSI prototype.
46607         * string/strcpy.c: Remove unused #include of memcopy.h.
46608         (strcpy): Use ANSI prototype.
46610 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46612         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
46613         * config.make.in (config-extra-cppflags): Set it from
46614         libc_extra_cppflags.
46615         * configure.ac (libc_extra_cflags): Make it accumulate over
46616         configure fragments.
46617         (libc_extra_cppflags): New flag.
46618         * configure. Regenerate.
46619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46620         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
46621         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
46622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
46624         [BZ #16815]
46625         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
46626         result for FE_DOWNWARD rounding mode.
46627         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
46628         Likewise.
46629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46631 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
46633         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
46634         in function argument name.
46636 2014-04-03  David Svoboda  <svoboda@cert.org>
46638         [BZ #5666]
46639         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
46640         explicitly.
46642 2014-04-03  Roland McGrath  <roland@hack.frob.com>
46644         * elf/dl-unmap-segments.h: New file.
46645         * sysdeps/generic/ldsodefs.h
46646         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
46647         * elf/dl-close.c: Include <dl-unmap-segments.h>.
46648         * elf/dl-fptr.c: Likewise.
46649         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
46650         * sysdeps/aarch64/tlsdesc.c: Likewise.
46651         * sysdeps/arm/tlsdesc.c: Likewise.
46652         * sysdeps/i386/tlsdesc.c: Likewise.
46653         * sysdeps/tile/dl-runtime.c: Likewise.
46654         * sysdeps/x86_64/tlsdesc.c: Likewise.
46655         * elf/dl-load.h: New file.
46656         * elf/dl-load.c: Include it.
46657         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
46658         Macros moved to dl-load.h.
46659         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
46660         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
46661         Use _dl_unmap_segments in place of __munmap.
46662         Break out segment-mapping loop into ...
46663         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
46665 2014-04-03  Will Newton  <will.newton@linaro.org>
46667         * elf/dl-lookup.c (do_lookup_x): Remove comment
46668         referring to nested function and move variable
46669         declarations down to before first use.
46671 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
46673         [BZ #16799]
46674         [BZ #16800]
46675         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
46676         with 0 numerator.
46677         * math/s_catanf.c (__catanf): Likewise.
46678         * math/s_catanh.c (__catanh): Likewise.
46679         * math/s_catanhf.c (__catanhf): Likewise.
46680         * math/s_catanhl.c (__catanhl): Likewise.
46681         * math/s_catanl.c (__catanl): Likewise.
46682         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
46683         by positive zero when computing -Inf result.
46684         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
46685         (catanh_test): Likewise.
46686         * sysdeps/i386/fpu/libm-test-ulps: Update.
46687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46689         [BZ #16789]
46690         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
46691         instead of using underflowing value in computing result.
46692         * math/s_clog10.c (__clog10): Likewise.
46693         * math/s_clog10f.c (__clog10f): Likewise.
46694         * math/s_clog10l.c (__clog10l): Likewise.
46695         * math/s_clogf.c (__clogf): Likewise.
46696         * math/s_clogl.c (__clogl): Likewise.
46697         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
46698         (clog10_test): Likewise.
46699         * sysdeps/i386/fpu/libm-test-ulps: Update.
46700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46702 2014-04-02  Alan Modra  <amodra@gmail.com>
46704         [BZ #16739]
46705         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
46706         output when value is near a power of two.  Use int64_t for lx and
46707         remove casts.  Use decimal rather than hex exponent constants.
46708         Don't use long double multiplication when double will suffice.
46709         * math/libm-test.inc (nextafter_test_data): Add tests.
46710         * NEWS: Add 16739 and 16786 to bug list.
46712         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
46714         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
46716 2014-04-01  Will Newton  <will.newton@linaro.org>
46718         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
46719         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
46721 2014-04-01  Florian Weimer  <fweimer@redhat.com>
46723         [BZ #13347]
46724         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
46725         * nptl/tst-setuid2.c: New file.
46726         * nptl/Makefile (xtests): Add tst-setuid2.
46728 2014-04-01  Alan Modra  <amodra@gmail.com>
46730         [BZ #16786]
46731         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
46733 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46735         [BZ #6803]
46736         [BZ #6804]
46737         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
46738         set errno as appropriate.
46739         * math/w_scalbf.c (__scalbf): Likewise.
46740         * math/w_scalbl.c (__scalbl): Likewise.
46741         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
46742         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
46743         * math/libm-test.inc (scalb_test_data): Add errno expectations.
46744         Add more NaN tests.
46746         [BZ #16349]
46747         * math/w_atan2.c: Include <errno.h>.
46748         (__atan2): Set errno for result underflowing to zero.
46749         * math/w_atan2f.c: Include <errno.h>.
46750         (__atan2f): Set errno for result underflowing to zero.
46751         * math/w_atan2l.c: Include <errno.h>.
46752         (__atan2l): Set errno for result underflowing to zero.
46753         * math/auto-libm-test-in: Don't allow missing errno for some atan2
46754         tests.
46755         * math/auto-libm-test-out: Regenerated.
46757 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46759         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
46760         Encode instruction correctly in little endian.
46761         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
46762         Likewise.
46763         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
46764         Likewise.
46765         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
46766         Likewise.
46767         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
46768         Likewise.
46770 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46772         [BZ #9894]
46773         * sysdeps/unix/sysv/linux/kernel-features.h
46774         [__sparc__ && !__arch64__ && !__sparc_v9__]
46775         (__ASSUME_SET_ROBUST_LIST): Do not define.
46776         [__sparc__ && !__arch64__ && !__sparc_v9__]
46777         (__ASSUME_FUTEX_LOCK_PI): Likewise.
46778         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
46779         Likewise.
46780         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46781         (__ASSUME_FUTEX_LOCK_PI): Undefine.
46782         (__ASSUME_REQUEUE_PI): Likewise.
46783         (__ASSUME_SET_ROBUST_LIST): Likewise.
46784         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46785         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
46786         Undefine.
46787         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46788         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
46789         Likewise.
46790         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
46791         Likewise.
46792         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
46793         Likewise.
46794         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46795         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
46796         Undefine.
46797         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
46798         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
46799         Likewise.
46801         [BZ #16648]
46802         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46803         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
46804         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
46806 2014-03-31  Will Newton  <will.newton@linaro.org>
46808         * benchtests/Makefile (bench): Add ffs and ffsll to list
46809         of tests.
46810         * benchtests/ffs-inputs: New file.
46811         * benchtests/ffsll-inputs: Likewise.
46813 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
46815         [BZ #16770]
46816         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
46817         too large before casting to int.
46818         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
46819         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
46820         * math/libm-test.inc (scalb_test_data): Add more tests.
46822 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46824         * benchtests/Makefile (DETAILED_OPT): New make option.
46825         (bench-func): Run benchmark program with -d if DETAILED_OPT is
46826         set.
46827         * benchtests/bench-skeleton.c: Include stdbool.h.
46828         (main): Store and print timings per input.
46829         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
46830         member to each argument value.
46831         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
46832         (_print_arg_data): Initialize per-input timing to 0.
46834         * benchtests/Makefile (timing-type): New binary.
46835         (bench-clean): Also remove bench-timing-type.
46836         (bench): New target for timing-type.
46837         (bench-func): Print output in JSON format.
46838         * benchtests/bench-skeleton.c (main): Print output in JSON
46839         format.
46840         * benchtests/bench-timing-type.c: New file.
46841         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
46842         (TIMING_PRINT_STATS): Remove.
46843         * benchtests/scripts/bench.py (_print_arg_data): Store variant
46844         name separately.
46846         * benchtests/bench-modf.c: Remove.
46847         * benchtests/modf-inputs: New inputs file.
46849 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
46851         [BZ #16362]
46852         * math/s_clog10.c (M_PI_LOG10E): New macro.
46853         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
46854         imaginary parts are 0.
46855         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
46856         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
46857         imaginary parts are 0.
46858         * math/s_clog10l.c (M_PI_LOG10El): New macro.
46859         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
46860         imaginary parts are 0.
46861         * math/libm-test.inc (clog10_test_data): Update expected results
46862         for when real and imaginary parts are 0.
46864 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
46866         * elf/dl-load.c: Finish conversion of __builtin_expect into
46867         __glibc_{un}likely.
46869 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
46871         [BZ #16348]
46872         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
46873         1+x for argument with exponent below -67.
46874         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
46875         Likewise.
46876         * math/auto-libm-test-in: Add more tests of exp.
46877         * math/auto-libm-test-out: Regenerated.
46879 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46881         [BZ #16759]
46882         * inet/getnetgrent_r.c (get_nonempty_val): New function.
46883         (nscd_getnetgrent): Use it.
46885         [BZ #16760]
46886         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
46887         of stpcpy.
46889 2014-03-27  Andi Kleen  <ak@linux.intel.com>
46891         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
46892         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46893         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46894         (lll_robust_unlock): Remove out of line section. Use cfi
46895         intrinsics.
46896         (LLL_STUB_UNWIND_INFO*): Remove.
46897         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
46898         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46899         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46900         (lll_robust_unlock): Remove out of line section. Use cfi
46901         intrinsics.
46902         (LLL_STUB_UNWIND_INFO*): Remove.
46904 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46906         [BZ #16758]
46907         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
46908         blank values.
46910 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
46912         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
46914 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
46916         [BZ #16198]
46917         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
46918         fnstenv.
46919         * math/test-fenv-preserve.c: New file.
46920         * math/Makefile (tests): Add test-fenv-preserve.
46922 2014-03-26  Will Newton <will.newton@linaro.org>
46924         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
46926 2014-03-25  Roland McGrath  <roland@hack.frob.com>
46928         * scripts/versionlist.awk: Partition the version sets and emit all
46929         GLIBC_* (sorted) before all others (sorted).
46931 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46933         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
46934         GLIBC_2.2.5 version.
46936 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46938         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
46939         calls.
46941         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
46942         previous change.
46944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46946 2014-03-25  Andreas Schwab  <schwab@suse.de>
46948         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
46949         label to be used after in6ailist is initialized.
46951 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46953         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46954         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46956 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46958         [BZ #16357]
46959         [BZ #16599]
46960         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
46961         min_plus_half.
46962         (fp_formats): Update initializers.
46963         (init_fp_formats): Initialize new field.
46964         (output_for_one_input_case): Allow underflow for results up to
46965         min_plus_half.
46966         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
46967         * math/auto-libm-test-in: Don't mark some underflows from asin and
46968         atanh as spurious.
46969         * math/auto-libm-test-out: Regenerated.
46970         * sysdeps/i386/fpu/libm-test-ulps: Update.
46971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46973 2014-03-25  Andreas Schwab  <schwab@suse.de>
46975         * libio/Makefile (tst-ftell-partial-wide-ENV)
46976         (tst-ftell-active-handler-ENV): Define.
46978 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
46980         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
46982 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46984         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
46986 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46988         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
46989         * sysdeps/x86_64/fpu/multiarch/e_exp.c
46990         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
46992 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46994         [BZ #16634]
46995         * elf/dl-load.c (open_verify): Add mode parameter.
46996         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
46997         (open_path): Change from boolean 'secure' to complete flag 'mode'
46998         (_dl_map_object): Adjust.
46999         * elf/Makefile (tests): Add tst-dlopen-aout.
47000         * elf/tst-dlopen-aout.c: New test.
47002 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
47004         [BZ #16714]
47005         * sysdeps/unix/sysv/linux/s390/bits/stat.h
47006         (struct stat): Rename member pad0 to __glibc_reserved0.
47008         [BZ #16712]
47009         * sysdeps/s390/s390-32/bits/wordsize.h
47010         (__WORDSIZE32_SIZE_ULONG): New define.
47011         * sysdeps/s390/s390-64/bits/wordsize.h
47012         (__WORDSIZE32_SIZE_ULONG): Likewise.
47013         * sysdeps/generic/stdint.h (SIZE_MAX):
47014         Define as UL if __WORDSIZE32_SIZE_ULONG.
47016         [BZ #16713]
47017         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
47018         (__glibc_reserved0): New variable.
47019         (sa_flags): Change type to int.
47021         * posix/Makefile (before-compile): Use += before-compile instead
47022         of a :=.
47024         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47025         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47027 2014-03-20  Andreas Schwab  <schwab@suse.de>
47029         [BZ #16743]
47030         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
47031         non-matching result from nscd.
47033 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47035         * scripts/bench.py: Moved to ...
47036         * benchtests/scripts/bench.py: ... here.
47037         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
47039 2014-03-24  Andreas Schwab  <schwab@suse.de>
47041         [BZ #16002]
47042         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
47043         alloca_account and account alloca use for struct in6ailist.
47045 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47047         [BZ #16284]
47048         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
47049         rounding mode to recompute results that overflow to infinity or
47050         underflow to zero.
47051         * math/auto-libm-test-in: Don't mark tests as expected to fail for
47052         bug 16284.
47053         * math/auto-libm-test-out: Regenerated.
47054         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
47055         (ccosh_test): Likewise.
47056         (csin_test_data): Use plus_oflow.
47057         (csin_test): Use ALL_RM_TEST.
47058         (csinh_test_data): Use plus_oflow.
47059         (csinh_test): Use ALL_RM_TEST.
47060         * sysdeps/i386/fpu/libm-test-ulps: Update.
47061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47063 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
47065         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
47066         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
47067         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
47069         [BZ #16731]
47070         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
47071         when x - 1 is zero.
47072         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
47073         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
47074         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47075         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
47076         argument is 1.
47077         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
47078         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
47079         zero.
47080         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
47081         * sysdeps/i386/fpu/libm-test-ulps: Update.
47082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47084 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47086         * scripts/bench.pl: Remove file.
47087         * scripts/bench.py: New benchmark script.
47088         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
47089         * benchtests/README: Mention python dependency.
47090         * scripts/pylintrc: New file.
47091         * scripts/pylint: New file.
47093         * bits/mathdef.h: Use #ifdef instead of #if.
47094         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
47095         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47096         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
47097         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47098         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
47099         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47101 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47102             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47104         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
47105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
47106         and strpbrk-ppc64 objects.
47107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47108         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
47109         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
47110         multiarch strpbrk for POWER7.
47111         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
47112         multiarch strpbrk for PPC64.
47113         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
47114         ifunc selector.
47115         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
47116         strpbrk for POWER7.
47118 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
47120         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
47121         (atan_test): Likewise.
47122         (atanh_test_data): Use NO_TEST_INLINE for two tests.
47123         (atanh_test): Use ALL_RM_TEST.
47124         (atan2_test_data): Likewise.
47125         (cabs_test): Likewise.
47126         (cacosh_test): Likewise.
47127         (carg_test): Likewise.
47128         (casin_test): Likewise.
47129         (casinh_test): Likewise.
47130         (cbrt_test): Likewise.
47131         (csqrt_test): Likewise.
47132         (erf_test): Likewise.
47133         (erfc_test): Likewise.
47134         (pow10_test): Likewise.
47135         (exp2_test): Likewise.
47136         (hypot_test): Likewise.
47137         (j0_test): Likewise.
47138         (j1_test): Likewise.
47139         (lgamma_test): Likewise.
47140         (gamma_test): Likewise.
47141         (sincos_test): Likewise.
47142         (tanh_test): Likewise.
47143         (y0_test): Likewise.
47144         (y1_test): Likewise.
47145         * sysdeps/i386/fpu/libm-test-ulps: Update.
47146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47148 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47150         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
47151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
47152         and strcspn-ppc64 objects.
47153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47154         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
47155         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
47156         multiarch strcspn for POWER7.
47157         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
47158         multiarch strcspn for PPC64.
47159         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
47160         ifunc selector.
47161         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
47162         strcspn for POWER7.
47164 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
47166         * math/gen-libm-test.pl (generate_testfile): Expect only function
47167         name as argument to AUTO_TESTS_* and pass results for all rounding
47168         modes to parse_args.
47169         (parse_auto_input): Separate inputs of automatic tests from
47170         outputs before storing in %auto_tests.
47171         * math/libm-test.inc (acos_test_data): Update call to
47172         AUTO_TESTS_f_f.
47173         (acos_test): Use ALL_RM_TEST.
47174         (acos_tonearest_test_data): Remove.
47175         (acos_test_tonearest): Likewise.
47176         (acos_towardzero_test_data): Likewise.
47177         (acos_test_towardzero): Likewise.
47178         (acos_downward_test_data): Likewise.
47179         (acos_test_downward): Likewise.
47180         (acos_upward_test_data): Likewise.
47181         (acos_test_upward): Likewise.
47182         (acosh_test_data): Update call to AUTO_TESTS_f_f.
47183         (asin_test_data): Likewise.
47184         (asin_test): Use ALL_RM_TEST.
47185         (asin_tonearest_test_data): Remove.
47186         (asin_test_tonearest): Likewise.
47187         (asin_towardzero_test_data): Likewise.
47188         (asin_test_towardzero): Likewise.
47189         (asin_downward_test_data): Likewise.
47190         (asin_test_downward): Likewise.
47191         (asin_upward_test_data): Likewise.
47192         (asin_test_upward): Likewise.
47193         (asinh_test_data): Update call to AUTO_TESTS_f_f.
47194         (atan_test_data): Likewise.
47195         (atanh_test_data): Likewise.
47196         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
47197         (cabs_test_data): Update call to AUTO_TESTS_c_f.
47198         (carg_test_data): Likewise.
47199         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
47200         (ccos_test_data): Update call to AUTO_TESTS_c_c.
47201         (ccosh_test_data): Likewise.
47202         (cexp_test_data): Likewise.
47203         (clog_test_data): Likewise.
47204         (clog10_test_data): Likewise.
47205         (cos_test_data): Update call to AUTO_TESTS_f_f.
47206         (cos_test): Use ALL_RM_TEST.
47207         (cos_tonearest_test_data): Remove.
47208         (cos_test_tonearest): Likewise.
47209         (cos_towardzero_test_data): Likewise.
47210         (cos_test_towardzero): Likewise.
47211         (cos_downward_test_data): Likewise.
47212         (cos_test_downward): Likewise.
47213         (cos_upward_test_data): Likewise.
47214         (cos_test_upward): Likewise.
47215         (cosh_test_data): Update call to AUTO_TESTS_f_f.
47216         (cosh_test): Use ALL_RM_TEST.
47217         (cosh_tonearest_test_data): Remove.
47218         (cosh_test_tonearest): Likewise.
47219         (cosh_towardzero_test_data): Likewise.
47220         (cosh_test_towardzero): Likewise.
47221         (cosh_downward_test_data): Likewise.
47222         (cosh_test_downward): Likewise.
47223         (cosh_upward_test_data): Likewise.
47224         (cosh_test_upward): Likewise.
47225         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
47226         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
47227         (ctan_test_data): Likewise.
47228         (ctan_test): Use ALL_RM_TEST.
47229         (ctan_tonearest_test_data): Remove.
47230         (ctan_test_tonearest): Likewise.
47231         (ctan_towardzero_test_data): Likewise.
47232         (ctan_test_towardzero): Likewise.
47233         (ctan_downward_test_data): Likewise.
47234         (ctan_test_downward): Likewise.
47235         (ctan_upward_test_data): Likewise.
47236         (ctan_test_upward): Likewise.
47237         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
47238         (ctanh_test): Use ALL_RM_TEST.
47239         (ctanh_tonearest_test_data): Remove.
47240         (ctanh_test_tonearest): Likewise.
47241         (ctanh_towardzero_test_data): Likewise.
47242         (ctanh_test_towardzero): Likewise.
47243         (ctanh_downward_test_data): Likewise.
47244         (ctanh_test_downward): Likewise.
47245         (ctanh_upward_test_data): Likewise.
47246         (ctanh_test_upward): Likewise.
47247         (erf_test_data): Update call to AUTO_TESTS_f_f.
47248         (erfc_test_data): Likewise.
47249         (exp_test_data): Likewise.
47250         (exp_test): Use ALL_RM_TEST.
47251         (exp_tonearest_test_data): Remove.
47252         (exp_test_tonearest): Likewise.
47253         (exp_towardzero_test_data): Likewise.
47254         (exp_test_towardzero): Likewise.
47255         (exp_downward_test_data): Likewise.
47256         (exp_test_downward): Likewise.
47257         (exp_upward_test_data): Likewise.
47258         (exp_test_upward): Likewise.
47259         (exp10_test_data): Update call to AUTO_TESTS_f_f.
47260         (exp10_test): Use ALL_RM_TEST.
47261         (exp10_tonearest_test_data): Remove.
47262         (exp10_test_tonearest): Likewise.
47263         (exp10_towardzero_test_data): Likewise.
47264         (exp10_test_towardzero): Likewise.
47265         (exp10_downward_test_data): Likewise.
47266         (exp10_test_downward): Likewise.
47267         (exp10_upward_test_data): Likewise.
47268         (exp10_test_upward): Likewise.
47269         (exp2_test_data): Update call to AUTO_TESTS_f_f.
47270         (expm1_test_data): Likewise.
47271         (expm1_test): Use ALL_RM_TEST.
47272         (expm1_tonearest_test_data): Remove.
47273         (expm1_test_tonearest): Likewise.
47274         (expm1_towardzero_test_data): Likewise.
47275         (expm1_test_towardzero): Likewise.
47276         (expm1_downward_test_data): Likewise.
47277         (expm1_test_downward): Likewise.
47278         (expm1_upward_test_data): Likewise.
47279         (expm1_test_upward): Likewise.
47280         (fma_test_data): Update call to AUTO_TESTS_fff_f.
47281         (fma_test): Use ALL_RM_TEST.
47282         (fma_towardzero_test_data): Remove.
47283         (fma_test_towardzero): Likewise.
47284         (fma_downward_test_data): Likewise.
47285         (fma_test_downward): Likewise.
47286         (fma_upward_test_data): Likewise.
47287         (fma_test_upward): Likewise.
47288         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
47289         (j0_test_data): Update call to AUTO_TESTS_f_f.
47290         (j1_test_data): Likewise.
47291         (jn_test_data): Update call to AUTO_TESTS_if_f.
47292         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
47293         (log_test_data): Update call to AUTO_TESTS_f_f.
47294         (log10_test_data): Likewise.
47295         (log1p_test_data): Likewise.
47296         (log2_test_data): Likewise.
47297         (pow_test_data): Update call to AUTO_TESTS_ff_f.
47298         (pow_tonearest_test_data): Likewise.
47299         (sin_test_data): Update call to AUTO_TESTS_f_f.
47300         (sin_test): Use ALL_RM_TEST.
47301         (sin_tonearest_test_data): Remove.
47302         (sin_test_tonearest): Likewise.
47303         (sin_towardzero_test_data): Likewise.
47304         (sin_test_towardzero): Likewise.
47305         (sin_downward_test_data): Likewise.
47306         (sin_test_downward): Likewise.
47307         (sin_upward_test_data): Likewise.
47308         (sin_test_upward): Likewise.
47309         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
47310         (sinh_test_data): Update call to AUTO_TESTS_f_f.
47311         (sinh_test): Use ALL_RM_TEST.
47312         (sinh_tonearest_test_data): Remove.
47313         (sinh_test_tonearest): Likewise.
47314         (sinh_towardzero_test_data): Likewise.
47315         (sinh_test_towardzero): Likewise.
47316         (sinh_downward_test_data): Likewise.
47317         (sinh_test_downward): Likewise.
47318         (sinh_upward_test_data): Likewise.
47319         (sinh_test_upward): Likewise.
47320         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
47321         (sqrt_test): Use ALL_RM_TEST.
47322         (sqrt_tonearest_test_data): Remove.
47323         (sqrt_test_tonearest): Likewise.
47324         (sqrt_towardzero_test_data): Likewise.
47325         (sqrt_test_towardzero): Likewise.
47326         (sqrt_downward_test_data): Likewise.
47327         (sqrt_test_downward): Likewise.
47328         (sqrt_upward_test_data): Likewise.
47329         (sqrt_test_upward): Likewise.
47330         (tan_test_data): Update call to AUTO_TESTS_f_f.
47331         (tan_test): Use ALL_RM_TEST.
47332         (tan_tonearest_test_data): Remove.
47333         (tan_test_tonearest): Likewise.
47334         (tan_towardzero_test_data): Likewise.
47335         (tan_test_towardzero): Likewise.
47336         (tan_downward_test_data): Likewise.
47337         (tan_test_downward): Likewise.
47338         (tan_upward_test_data): Likewise.
47339         (tan_test_upward): Likewise.
47340         (tanh_test_data): Update call to AUTO_TESTS_f_f.
47341         (tgamma_test_data): Likewise.
47342         (y0_test_data): Likewise.
47343         (y1_test_data): Likewise.
47344         (yn_test_data): Update call to AUTO_TESTS_if_f.
47345         (main): Do not call removed functions.
47347 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47349         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
47350         (ldexp_test_data): Remove.
47351         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
47352         scalbn_test_data.
47353         (scalb_test): Use ALL_RM_TEST.
47355 2014-03-19  Andreas Schwab  <schwab@suse.de>
47357         * nscd/nscd.service: Also invalidate netgroup cache on reload.
47359 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47361         [BZ #16649]
47362         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47363         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
47364         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
47365         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47366         (__ASSUME_PREADV): Undefine.
47367         (__ASSUME_PWRITEV): Likewise.
47369 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47371         * bits/mman-linux.h: Add comment about non-Linux use.
47372         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
47373         bits/mman-linux.h resting place.
47375         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
47376         * bits/mman-linux.h: ... here.
47378 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47380         * conform/conformtest.pl: Add standard definition when calling C
47381         preprocessor on data files.
47382         (checknamespace): Remove unused variable.
47384 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47386         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
47387         minus_oflow, plus_uflow and minus_uflow in expected results.
47388         * math/libm-test.inc (scalbn_test_data): Add more tests of
47389         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
47390         minus_uflow.
47391         (scalbn_test): Use ALL_RM_TEST.
47392         (scalbln_test_data): Add more tests of negative arguments.  Use
47393         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
47394         (scalbln_test): Use ALL_RM_TEST.
47396 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47398         * scripts/abilist.awk: Ignore symbols marked with .hidden.
47400 2014-03-18  Will Newton  <will.newton@linaro.org>
47402         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
47403         inaccurate comment.
47405 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47407         * Makerules [!subdir] (check-abi): Exit with error status if a
47408         test failed.
47410 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47412         * math/libm-test.inc (nearbyint_test_data): Include all tests used
47413         for rint.  Include results for all rounding modes.
47414         (nearbyint_test): Use ALL_RM_TEST.
47415         (rint_test_data): Include all tests used for nearbyint.
47417 2014-03-17  Will Newton  <will.newton@linaro.org>
47419         * nptl/sysdeps/pthread/pthread.h: Revert previous
47420         change.
47422         * sysdeps/generic/ldsodefs.h: Revert previous
47423         change.
47425         * libio/genops.c: Revert previous change.
47426         * libio/libioP.h: Likewise.
47427         * stdio-common/vfprintf.c: Likewise.
47429         * sysdeps/generic/math_private.h: Revert previous
47430         change.
47432         * sysdeps/generic/math_private.h: Check whether
47433         HAVE_RM_CTX is defined with #ifdef rather
47434         than #if.
47436         * argp/argp-fmtstream.h: Check whether
47437         __STRICT_ANSI__ is defined with #ifdef rather
47438         than #if.
47439         * argp/argp.h: Likewise.
47441         * libio/genops.c: Check whether
47442         _IO_JUMPS_OFFSET is defined with #ifdef rather
47443         than #if.
47444         * libio/libioP.h: Likewise.
47445         * stdio-common/vfprintf.c: Likewise.
47447         * sysdeps/generic/ldsodefs.h: Check whether
47448         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
47449         than #if.
47451         * nptl/sysdeps/pthread/pthread.h: Check
47452         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
47453         its value.
47455 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47457         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
47458         setting O_APPEND.
47459         * libio/tst-ftell-active-handler.c (do_append_test): Add a
47460         test case.
47462         [BZ #16680]
47463         * libio/fileops.c (_IO_file_open): Seek to end of file but
47464         don't cache the offset.
47465         (get_file_offset): Remove function.
47466         (do_ftell): Use cached offset when available.
47467         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
47468         don't cache the offset.
47469         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
47470         case.
47471         (do_one_test): Call it.
47472         (do_ftell_test): Fix up expected old offset for a+ mode.
47473         * libio/wfileops.c (do_ftell_wide): Used cached offset when
47474         available.
47476         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
47477         up test status with function return status.
47478         (do_write_test): Likewise.
47479         (do_append_test): Likewise.
47481         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
47482         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
47483         Remove.
47485 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47487         * math/gen-libm-test.pl (parse_args): Handle results specified for
47488         each rounding mode separately.
47489         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
47490         tests and results from lrint_tonearest_test_data,
47491         lrint_towardzero_test_data, lrint_downward_test_data and
47492         lrint_upward_test_data.
47493         (lrint_test): Use ALL_RM_TEST.
47494         (lrint_tonearest_test_data): Remove.
47495         (lrint_test_tonearest): Likewise.
47496         (lrint_towardzero_test_data): Likewise.
47497         (lrint_test_towardzero): Likewise.
47498         (lrint_downward_test_data): Likewise.
47499         (lrint_test_downward): Likewise.
47500         (lrint_upward_test_data): Likewise.
47501         (lrint_test_upward): Likewise.
47502         (llrint_test_data): Merge in per-rounding-mode tests and results
47503         from llrint_tonearest_test_data, llrint_towardzero_test_data,
47504         llrint_downward_test_data and llrint_upward_test_data.
47505         (llrint_test): Use ALL_RM_TEST.
47506         (llrint_tonearest_test_data): Remove.
47507         (llrint_test_tonearest): Likewise.
47508         (llrint_towardzero_test_data): Likewise.
47509         (llrint_test_towardzero): Likewise.
47510         (llrint_downward_test_data): Likewise.
47511         (llrint_test_downward): Likewise.
47512         (llrint_upward_test_data): Likewise.
47513         (llrint_test_upward): Likewise.
47514         (rint_test_data): Merge in per-rounding-mode tests and results
47515         from rint_tonearest_test_data, rint_towardzero_test_data,
47516         rint_downward_test_data and rint_upward_test_data.  Add
47517         per-rounding-mode results for tests not in those arrays.
47518         (rint_test): Use ALL_RM_TEST.
47519         (rint_tonearest_test_data): Remove.
47520         (rint_test_tonearest): Likewise.
47521         (rint_towardzero_test_data): Likewise.
47522         (rint_test_towardzero): Likewise.
47523         (rint_downward_test_data): Likewise.
47524         (rint_test_downward): Likewise.
47525         (rint_upward_test_data): Likewise.
47526         (rint_test_upward): Likewise.
47527         (main): Don't call removed functions.
47529 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47531         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
47532         "Compiled on ..." crapola.  It is anti-useful.
47534 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
47536         * scripts/evaluate-test.sh: Handle fourth argument to determine
47537         whether test run should stop on failure.
47538         * Makeconfig (stop-on-test-failure): New variable.
47539         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
47540         $(stop-on-test-failure).
47541         * Makefile (tests): Give a summary of results from testing and
47542         exit with failure status if they include an ERROR or FAIL.
47543         (xtests): Likewise.
47544         * manual/install.texi (Configuring and compiling): Mention
47545         stop-on-test-failure=y.
47546         * INSTALL: Regenerated.
47548 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47550         * scripts/versionlist.awk: New file.
47551         * Makerules [$(build-shared) = yes]
47552         (postclean-generated): Add Versions.def, not Versions.def.v and
47553         Versions.def.v.i.
47554         ($(common-objpfx)Versions.def.v.i): Target removed.
47555         ($(common-objpfx)Versions.def): New target.
47556         ($(common-objpfx)Versions.all): Depend on that rather that
47557         $(common-objpfx)Versions.def.v.
47558         * Versions.def: File removed.
47560         * Makeconfig (+gccwarn): Add -Wundef.
47561         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
47562         a dl-sysdep.h breaking its contract.
47563         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
47564         * include/stackinfo.h: New file.
47565         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
47566         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
47567         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
47568         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
47569         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
47570         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
47571         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47572         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47573         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47574         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47575         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47576         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
47577         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47578         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47579         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47581 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47583         [BZ #16707]
47584         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
47585         implementation.
47586         * math/libm-test.inc (round_test_data): Add more tests.
47588         [BZ #16706]
47589         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
47590         implementation.
47591         * math/libm-test.inc (nearbyint_test_data): Add more tests.
47593         [BZ #16701]
47594         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
47595         implementation.
47596         * math/libm-test.inc (ceil_test_data): Add more tests.
47598         * math/libm-test.inc (trunc_test_data): Add more tests related to
47599         BZ#16414.
47601 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47603         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
47604         with #if rather than #ifdef.
47605         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
47607 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
47609         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
47610         first.  Disable AVX-512 GCC support if assembler doesn't support
47611         it.
47612         * sysdeps/x86_64/configure: Regenerated.
47614 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
47616         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
47617         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
47618         (__old_pthread_attr_setstack): Likewise.
47619         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
47620         [!_STACK_GROWS_DOWN]: Likewise.
47622 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
47624         * config.make.in (have-bash2): Delete.
47625         * configure.ac (libc_cv_have_bash2): Delete.
47626         * configure: Regenerate.
47627         * elf/Makefile (common-ldd-rewrite): Rename to ...
47628         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
47629         (sh-ldd-rewrite): Delete.
47630         (bash-ldd-rewrite): Delete.
47631         (have-bash2): Delete checks.
47632         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
47633         ldd-rewrite.
47635         * config.make.in (have-ksh): Delete.
47636         (KSH): Delete.
47637         * configure.ac (libc_cv_have_ksh): Delete.
47638         * configure: Regenerate.
47640         * elf/Makefile: Delete $(have-ksh) check.
47641         ($(objpfx)sotruss): Change KSH to BASH.
47642         * elf/sotruss.ksh: Rename to ...
47643         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
47644         function style to match POSIX.  Drop ksh vim mode setting.
47646         * manual/time.texi (Specifying the Time Zone with TZ): Change
47647         Tuesday to Thursday.
47649         * debug/tst-longjmp_chk2.c: Update header comment.
47650         (stackoverflow_handler): Add comment.  Call assert on pass value.
47652 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
47654         [BZ #16194]
47655         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
47656         (HAVE_AVX512_ASM_SUPPORT): Likewise.
47657         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
47658         (La_x86_64_vector): Add zmm.
47659         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
47660         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
47661         ($(objpfx)tst-audit10): New target.
47662         ($(objpfx)tst-audit10.out): Likewise.
47663         (tst-audit10-ENV): New.
47664         (AVX512-CFLAGS): Likewise.
47665         (CFLAGS-tst-audit10.c): Likewise.
47666         (CFLAGS-tst-auditmod10a.c): Likewise.
47667         (CFLAGS-tst-auditmod10b.c): Likewise.
47668         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
47669         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
47670         * sysdeps/x86_64/configure: Regenerated.
47671         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
47672         AVX-512 zmm register support.
47673         (_dl_x86_64_save_sse): Likewise.
47674         (_dl_x86_64_restore_sse): Likewise.
47675         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
47676         size vector registers.
47677         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
47678         (ZMM_SIZE): Likewise.
47679         * sysdeps/x86_64/tst-audit10.c: New file.
47680         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
47681         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
47683 2014-03-13  Roland McGrath  <roland@hack.frob.com>
47685         * configure.ac (HAVE_EHDR_START): New check.
47686         * configure: Regenerated.
47687         * config.h.in (HAVE_EHDR_START): New #undef.
47688         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
47689         assuming the lowest-addressed segment maps the start of the file.
47691 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
47693         * INSTALL: Regenerated.
47695 2014-03-13  Will Newton  <will.newton@linaro.org>
47697         * manual/setjmp.texi (System V contexts): Improve
47698         clarity and grammar of documentation.
47700 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
47702         [BZ #16381]
47703         * elf/Makefile (tests): Add tst-pie2.
47704         (tests-pie): Add tst-pie2.
47705         * elf/tst-pie2.c: New file.
47706         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
47707         for ET_EXEC.
47708         * elf/rtld.c (map_doit): Load executable as lt_executable.
47709         (dl_main): Likewise.
47711 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
47713         [BZ #16642]
47714         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47715         (__ASSUME_PSELECT): Undefine.
47717 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47719         [BZ #16689]
47720         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
47721         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
47722         static build.
47723         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
47724         selector for static builds.
47726 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47728         [BZ #16695]
47729         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
47730         key in the buffer.
47732 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47734         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
47735         IFUNC selector for static builds.
47737 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
47739         * sysdeps/mips/math_private.h [__mips_hard_float]
47740         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
47741         libc_feresetround_mips_ctx.
47742         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
47743         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
47744         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
47746         [BZ #16677]
47747         * math/s_nextafter.c (__nextafter): Do not return value from
47748         overflowing computation.
47749         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
47750         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
47751         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
47752         Likewise.
47753         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
47754         Likewise.
47755         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
47756         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
47758 2014-03-11  Roland McGrath  <roland@hack.frob.com>
47760         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
47761         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
47762         Move sfi_sp use from the load-multiple (that no longer sets sp) to
47763         the new mov targetting sp.
47765 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47767         [BZ #16683]
47768         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
47769         Define it for static builds as well.
47770         (NO_BZERO_IMPL): Likewise.
47772 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47774         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
47775         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
47776         multiarch strspn for PPC64.
47777         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
47778         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
47779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47780         (__libc_ifunc_impl_list): Likewise.
47781         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
47782         multiarch optimizations
47783         * string/strspn.c (strspn): Using macro to redefine symbol name.
47785 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47786             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47788         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
47789         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
47790         multiarch strncat for PPC64.
47791         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
47792         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
47793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47794         (__libc_ifunc_impl_list): Likewise.
47795         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
47796         multiarch optimizations
47798 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47800         [BZ #16639]
47801         * nscd/nscd.service: Make service type forking.
47803 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47805         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
47806         sign in non default rounding modes.
47807         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
47809 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
47811         * math/libm-test.inc (ALL_RM_TEST): New macro.
47812         (ceil_test): Use ALL_RM_TEST.
47813         (cimag_test): Likewise.
47814         (conj_test): Likewise.
47815         (copysign_test): Likewise.
47816         (cproj_test): Likewise.
47817         (creal_test): Likewise.
47818         (fabs_test): Likewise.
47819         (floor_test): Likewise.
47820         (fmax_test): Likewise.
47821         (fmin_test): Likewise.
47822         (fmod_test): Likewise.
47823         (fpclassify_test): Likewise.
47824         (frexp_test): Likewise.
47825         (ilogb_test): Likewise.
47826         (isfinite_test): Likewise.
47827         (finite_test): Likewise.
47828         (isgreater_test): Likewise.
47829         (isgreaterequal_test): Likewise.
47830         (isinf_test): Likewise.
47831         (isless_test): Likewise.
47832         (islessequal_test): Likewise.
47833         (islessgreater_test): Likewise.
47834         (isnan_test): Likewise.
47835         (isnormal_test): Likewise.
47836         (issignaling_test): Likewise.
47837         (isunordered_test): Likewise.
47838         (logb_test): Likewise.
47839         (logb_downward_test_data): Remove.
47840         (logb_test_downward): Likewise.
47841         (lround_test): Use ALL_RM_TEST.
47842         (llround_test): Likewise.
47843         (modf_test): Likewise.
47844         (nexttoward_test): Likewise.
47845         (remainder_test): Likewise.
47846         (drem_test): Likewise.
47847         (remainder_tonearest_test_data): Likewise.
47848         (remainder_test_tonearest): Likewise.
47849         (drem_test_tonearest): Likewise.
47850         (remainder_towardzero_test_data): Likewise.
47851         (remainder_test_towardzero): Likewise.
47852         (drem_test_towardzero): Likewise.
47853         (remainder_downward_test_data): Likewise.
47854         (remainder_test_downward): Likewise.
47855         (drem_test_downward): Likewise.
47856         (remainder_upward_test_data): Likewise.
47857         (remainder_test_upward): Likewise.
47858         (drem_test_upward): Likewise.
47859         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
47860         (round_test): Use ALL_RM_TEST.
47861         (signbit_test): Likewise.
47862         (trunc_test): Likewise.
47863         (significand_test): Likewise.
47864         (main): Don't call removed functions.
47866 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47868         [BZ #16674]
47869         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
47870         || __USE_XOPEN2K8].
47871         (ILL_ILLOPN): Likewise.
47872         (ILL_ILLADR): Likewise.
47873         (ILL_ILLTRP): Likewise.
47874         (ILL_PRVOPC): Likewise.
47875         (ILL_PRVREG): Likewise.
47876         (ILL_COPROC): Likewise.
47877         (ILL_BADSTK): Likewise.
47878         (FPE_INTDIV): Likewise.
47879         (FPE_INTOVF): Likewise.
47880         (FPE_FLTDIV): Likewise.
47881         (FPE_FLTOVF): Likewise.
47882         (FPE_FLTUND): Likewise.
47883         (FPE_FLTRES): Likewise.
47884         (FPE_FLTINV): Likewise.
47885         (FPE_FLTSUB): Likewise.
47886         (SEGV_MAPERR): Likewise.
47887         (SEGV_ACCERR): Likewise.
47888         (BUS_ADRALN): Likewise.
47889         (BUS_ADRERR): Likewise.
47890         (BUS_OBJERR): Likewise.
47891         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47892         (TRAP_TRACE): Likewise.
47893         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47894         __USE_XOPEN2K8].
47895         (CLD_KILLED): Likewise.
47896         (CLD_DUMPED): Likewise.
47897         (CLD_TRAPPED): Likewise.
47898         (CLD_STOPPED): Likewise.
47899         (CLD_CONTINUED): Likewise.
47900         (POLL_IN): Likewise.
47901         (POLL_OUT): Likewise.
47902         (POLL_MSG): Likewise.
47903         (POLL_ERR): Likewise.
47904         (POLL_PRI): Likewise.
47905         (POLL_HUP): Likewise.
47906         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
47907         Likewise.
47908         (ILL_ILLOPN): Likewise.
47909         (ILL_ILLADR): Likewise.
47910         (ILL_ILLTRP): Likewise.
47911         (ILL_PRVOPC): Likewise.
47912         (ILL_PRVREG): Likewise.
47913         (ILL_COPROC): Likewise.
47914         (ILL_BADSTK): Likewise.
47915         (FPE_INTDIV): Likewise.
47916         (FPE_INTOVF): Likewise.
47917         (FPE_FLTDIV): Likewise.
47918         (FPE_FLTOVF): Likewise.
47919         (FPE_FLTUND): Likewise.
47920         (FPE_FLTRES): Likewise.
47921         (FPE_FLTINV): Likewise.
47922         (FPE_FLTSUB): Likewise.
47923         (SEGV_MAPERR): Likewise.
47924         (SEGV_ACCERR): Likewise.
47925         (BUS_ADRALN): Likewise.
47926         (BUS_ADRERR): Likewise.
47927         (BUS_OBJERR): Likewise.
47928         (BUS_MCEERR_AR): Likewise.
47929         (BUS_MCEERR_AO): Likewise.
47930         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47931         (TRAP_TRACE): Likewise.
47932         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47933         __USE_XOPEN2K8].
47934         (CLD_KILLED): Likewise.
47935         (CLD_DUMPED): Likewise.
47936         (CLD_TRAPPED): Likewise.
47937         (CLD_STOPPED): Likewise.
47938         (CLD_CONTINUED): Likewise.
47939         (POLL_IN): Likewise.
47940         (POLL_OUT): Likewise.
47941         (POLL_MSG): Likewise.
47942         (POLL_ERR): Likewise.
47943         (POLL_PRI): Likewise.
47944         (POLL_HUP): Likewise.
47945         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
47946         (ILL_ILLOPN): Likewise.
47947         (ILL_ILLADR): Likewise.
47948         (ILL_ILLTRP): Likewise.
47949         (ILL_PRVOPC): Likewise.
47950         (ILL_PRVREG): Likewise.
47951         (ILL_COPROC): Likewise.
47952         (ILL_BADSTK): Likewise.
47953         (FPE_INTDIV): Likewise.
47954         (FPE_INTOVF): Likewise.
47955         (FPE_FLTDIV): Likewise.
47956         (FPE_FLTOVF): Likewise.
47957         (FPE_FLTUND): Likewise.
47958         (FPE_FLTRES): Likewise.
47959         (FPE_FLTINV): Likewise.
47960         (FPE_FLTSUB): Likewise.
47961         (SEGV_MAPERR): Likewise.
47962         (SEGV_ACCERR): Likewise.
47963         (BUS_ADRALN): Likewise.
47964         (BUS_ADRERR): Likewise.
47965         (BUS_OBJERR): Likewise.
47966         (BUS_MCEERR_AR): Likewise.
47967         (BUS_MCEERR_AO): Likewise.
47968         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47969         (TRAP_TRACE): Likewise.
47970         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47971         __USE_XOPEN2K8].
47972         (CLD_KILLED): Likewise.
47973         (CLD_DUMPED): Likewise.
47974         (CLD_TRAPPED): Likewise.
47975         (CLD_STOPPED): Likewise.
47976         (CLD_CONTINUED): Likewise.
47977         (POLL_IN): Likewise.
47978         (POLL_OUT): Likewise.
47979         (POLL_MSG): Likewise.
47980         (POLL_ERR): Likewise.
47981         (POLL_PRI): Likewise.
47982         (POLL_HUP): Likewise.
47983         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
47984         Likewise.
47985         (ILL_ILLOPN): Likewise.
47986         (ILL_ILLADR): Likewise.
47987         (ILL_ILLTRP): Likewise.
47988         (ILL_PRVOPC): Likewise.
47989         (ILL_PRVREG): Likewise.
47990         (ILL_COPROC): Likewise.
47991         (ILL_BADSTK): Likewise.
47992         (ILL_BADIADDR): Likewise.
47993         (ILL_BREAK): Likewise.
47994         (FPE_INTDIV): Likewise.
47995         (FPE_INTOVF): Likewise.
47996         (FPE_FLTDIV): Likewise.
47997         (FPE_FLTOVF): Likewise.
47998         (FPE_FLTUND): Likewise.
47999         (FPE_FLTRES): Likewise.
48000         (FPE_FLTINV): Likewise.
48001         (FPE_FLTSUB): Likewise.
48002         (FPE_DECOVF): Likewise.
48003         (FPE_DECDIV): Likewise.
48004         (FPE_DECERR): Likewise.
48005         (FPE_INVASC): Likewise.
48006         (FPE_INVDEC): Likewise.
48007         (SEGV_MAPERR): Likewise.
48008         (SEGV_ACCERR): Likewise.
48009         (SEGV_PSTKOVF): Likewise.
48010         (BUS_ADRALN): Likewise.
48011         (BUS_ADRERR): Likewise.
48012         (BUS_OBJERR): Likewise.
48013         (BUS_MCEERR_AR): Likewise.
48014         (BUS_MCEERR_AO): Likewise.
48015         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48016         (TRAP_TRACE): Likewise.
48017         (TRAP_BRANCH): Likewise.
48018         (TRAP_HWBKPT): Likewise.
48019         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48020         __USE_XOPEN2K8].
48021         (CLD_KILLED): Likewise.
48022         (CLD_DUMPED): Likewise.
48023         (CLD_TRAPPED): Likewise.
48024         (CLD_STOPPED): Likewise.
48025         (CLD_CONTINUED): Likewise.
48026         (POLL_IN): Likewise.
48027         (POLL_OUT): Likewise.
48028         (POLL_MSG): Likewise.
48029         (POLL_ERR): Likewise.
48030         (POLL_PRI): Likewise.
48031         (POLL_HUP): Likewise.
48032         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
48033         (ILL_ILLOPN): Likewise.
48034         (ILL_ILLADR): Likewise.
48035         (ILL_ILLTRP): Likewise.
48036         (ILL_PRVOPC): Likewise.
48037         (ILL_PRVREG): Likewise.
48038         (ILL_COPROC): Likewise.
48039         (ILL_BADSTK): Likewise.
48040         (FPE_INTDIV): Likewise.
48041         (FPE_INTOVF): Likewise.
48042         (FPE_FLTDIV): Likewise.
48043         (FPE_FLTOVF): Likewise.
48044         (FPE_FLTUND): Likewise.
48045         (FPE_FLTRES): Likewise.
48046         (FPE_FLTINV): Likewise.
48047         (FPE_FLTSUB): Likewise.
48048         (SEGV_MAPERR): Likewise.
48049         (SEGV_ACCERR): Likewise.
48050         (BUS_ADRALN): Likewise.
48051         (BUS_ADRERR): Likewise.
48052         (BUS_OBJERR): Likewise.
48053         (BUS_MCEERR_AR): Likewise.
48054         (BUS_MCEERR_AO): Likewise.
48055         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48056         (TRAP_TRACE): Likewise.
48057         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48058         __USE_XOPEN2K8].
48059         (CLD_KILLED): Likewise.
48060         (CLD_DUMPED): Likewise.
48061         (CLD_TRAPPED): Likewise.
48062         (CLD_STOPPED): Likewise.
48063         (CLD_CONTINUED): Likewise.
48064         (POLL_IN): Likewise.
48065         (POLL_OUT): Likewise.
48066         (POLL_MSG): Likewise.
48067         (POLL_ERR): Likewise.
48068         (POLL_PRI): Likewise.
48069         (POLL_HUP): Likewise.
48070         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
48071         (ILL_ILLOPN): Likewise.
48072         (ILL_ILLADR): Likewise.
48073         (ILL_ILLTRP): Likewise.
48074         (ILL_PRVOPC): Likewise.
48075         (ILL_PRVREG): Likewise.
48076         (ILL_COPROC): Likewise.
48077         (ILL_BADSTK): Likewise.
48078         (FPE_INTDIV): Likewise.
48079         (FPE_INTOVF): Likewise.
48080         (FPE_FLTDIV): Likewise.
48081         (FPE_FLTOVF): Likewise.
48082         (FPE_FLTUND): Likewise.
48083         (FPE_FLTRES): Likewise.
48084         (FPE_FLTINV): Likewise.
48085         (FPE_FLTSUB): Likewise.
48086         (SEGV_MAPERR): Likewise.
48087         (SEGV_ACCERR): Likewise.
48088         (BUS_ADRALN): Likewise.
48089         (BUS_ADRERR): Likewise.
48090         (BUS_OBJERR): Likewise.
48091         (BUS_MCEERR_AR): Likewise.
48092         (BUS_MCEERR_AO): Likewise.
48093         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48094         (TRAP_TRACE): Likewise.
48095         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48096         __USE_XOPEN2K8].
48097         (CLD_KILLED): Likewise.
48098         (CLD_DUMPED): Likewise.
48099         (CLD_TRAPPED): Likewise.
48100         (CLD_STOPPED): Likewise.
48101         (CLD_CONTINUED): Likewise.
48102         (POLL_IN): Likewise.
48103         (POLL_OUT): Likewise.
48104         (POLL_MSG): Likewise.
48105         (POLL_ERR): Likewise.
48106         (POLL_PRI): Likewise.
48107         (POLL_HUP): Likewise.
48108         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
48109         (ILL_ILLOPN): Likewise.
48110         (ILL_ILLADR): Likewise.
48111         (ILL_ILLTRP): Likewise.
48112         (ILL_PRVOPC): Likewise.
48113         (ILL_PRVREG): Likewise.
48114         (ILL_COPROC): Likewise.
48115         (ILL_BADSTK): Likewise.
48116         (FPE_INTDIV): Likewise.
48117         (FPE_INTOVF): Likewise.
48118         (FPE_FLTDIV): Likewise.
48119         (FPE_FLTOVF): Likewise.
48120         (FPE_FLTUND): Likewise.
48121         (FPE_FLTRES): Likewise.
48122         (FPE_FLTINV): Likewise.
48123         (FPE_FLTSUB): Likewise.
48124         (SEGV_MAPERR): Likewise.
48125         (SEGV_ACCERR): Likewise.
48126         (BUS_ADRALN): Likewise.
48127         (BUS_ADRERR): Likewise.
48128         (BUS_OBJERR): Likewise.
48129         (BUS_MCEERR_AR): Likewise.
48130         (BUS_MCEERR_AO): Likewise.
48131         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48132         (TRAP_TRACE): Likewise.
48133         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48134         __USE_XOPEN2K8].
48135         (CLD_KILLED): Likewise.
48136         (CLD_DUMPED): Likewise.
48137         (CLD_TRAPPED): Likewise.
48138         (CLD_STOPPED): Likewise.
48139         (CLD_CONTINUED): Likewise.
48140         (POLL_IN): Likewise.
48141         (POLL_OUT): Likewise.
48142         (POLL_MSG): Likewise.
48143         (POLL_ERR): Likewise.
48144         (POLL_PRI): Likewise.
48145         (POLL_HUP): Likewise.
48146         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
48147         (ILL_ILLOPN): Likewise.
48148         (ILL_ILLADR): Likewise.
48149         (ILL_ILLTRP): Likewise.
48150         (ILL_PRVOPC): Likewise.
48151         (ILL_PRVREG): Likewise.
48152         (ILL_COPROC): Likewise.
48153         (ILL_BADSTK): Likewise.
48154         (ILL_DBLFLT): Likewise.
48155         (ILL_HARDWALL): Likewise.
48156         (FPE_INTDIV): Likewise.
48157         (FPE_INTOVF): Likewise.
48158         (FPE_FLTDIV): Likewise.
48159         (FPE_FLTOVF): Likewise.
48160         (FPE_FLTUND): Likewise.
48161         (FPE_FLTRES): Likewise.
48162         (FPE_FLTINV): Likewise.
48163         (FPE_FLTSUB): Likewise.
48164         (SEGV_MAPERR): Likewise.
48165         (SEGV_ACCERR): Likewise.
48166         (BUS_ADRALN): Likewise.
48167         (BUS_ADRERR): Likewise.
48168         (BUS_OBJERR): Likewise.
48169         (BUS_MCEERR_AR): Likewise.
48170         (BUS_MCEERR_AO): Likewise.
48171         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48172         (TRAP_TRACE): Likewise.
48173         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48174         __USE_XOPEN2K8].
48175         (CLD_KILLED): Likewise.
48176         (CLD_DUMPED): Likewise.
48177         (CLD_TRAPPED): Likewise.
48178         (CLD_STOPPED): Likewise.
48179         (CLD_CONTINUED): Likewise.
48180         (POLL_IN): Likewise.
48181         (POLL_OUT): Likewise.
48182         (POLL_MSG): Likewise.
48183         (POLL_ERR): Likewise.
48184         (POLL_PRI): Likewise.
48185         (POLL_HUP): Likewise.
48186         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
48187         (ILL_ILLOPN): Likewise.
48188         (ILL_ILLADR): Likewise.
48189         (ILL_ILLTRP): Likewise.
48190         (ILL_PRVOPC): Likewise.
48191         (ILL_PRVREG): Likewise.
48192         (ILL_COPROC): Likewise.
48193         (ILL_BADSTK): Likewise.
48194         (FPE_INTDIV): Likewise.
48195         (FPE_INTOVF): Likewise.
48196         (FPE_FLTDIV): Likewise.
48197         (FPE_FLTOVF): Likewise.
48198         (FPE_FLTUND): Likewise.
48199         (FPE_FLTRES): Likewise.
48200         (FPE_FLTINV): Likewise.
48201         (FPE_FLTSUB): Likewise.
48202         (SEGV_MAPERR): Likewise.
48203         (SEGV_ACCERR): Likewise.
48204         (BUS_ADRALN): Likewise.
48205         (BUS_ADRERR): Likewise.
48206         (BUS_OBJERR): Likewise.
48207         (BUS_MCEERR_AR): Likewise.
48208         (BUS_MCEERR_AO): Likewise.
48209         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48210         (TRAP_TRACE): Likewise.
48211         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48212         __USE_XOPEN2K8].
48213         (CLD_KILLED): Likewise.
48214         (CLD_DUMPED): Likewise.
48215         (CLD_TRAPPED): Likewise.
48216         (CLD_STOPPED): Likewise.
48217         (CLD_CONTINUED): Likewise.
48218         (POLL_IN): Likewise.
48219         (POLL_OUT): Likewise.
48220         (POLL_MSG): Likewise.
48221         (POLL_ERR): Likewise.
48222         (POLL_PRI): Likewise.
48223         (POLL_HUP): Likewise.
48224         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
48225         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48227         [BZ #16670]
48228         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
48229         before #include of <time.h>.
48230         [!__USE_XOPEN2K] (__need_timespec): Likewise.
48231         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
48232         (test-xfail-UNIX98/sched.h/conform): Likewise.
48234 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48236         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
48237         error absence of trapping exception support.
48238         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
48240 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48242         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
48243         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
48244         * timezone/Makefile (testdata): Move definition above include of
48245         Rules.
48246         (test-zones): New variable.
48247         (tests-special): Add zone files.
48248         (build-testdata): Use $(evaluate-test).
48250         * elf/Makefile (tests-special): Rename tests to end with .out.
48251         ($(objpfx)noload-mem): Likewise.
48252         ($(objpfx)tst-leaks1-mem): Likewise.
48253         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
48254         * iconv/Makefile (xtests-special): Change test-iconvconfig to
48255         $(objpfx)test-iconvconfig.out.
48256         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
48257         set -e inside subshell and redirect output to file.
48258         * iconvdata/Makefile (generated): Rename tests to end with .out.
48259         Correct type.
48260         (tests-special): Rename tests to end with .out.
48261         ($(objpfx)mtrace-tst-loading): Likewise.
48262         * intl/Makefile (generated): Likewise.
48263         (tests-special): Likewise.
48264         ($(objpfx)mtrace-tst-gettext): Likewise.
48265         * misc/Makefile (generated): Likewise.
48266         (tests-special): Likewise.
48267         ($(objpfx)tst-error1-mem): Likewise.
48268         * nptl/Makefile (tests-special): Likewise.
48269         ($(objpfx)tst-stack3-mem): Likewise.
48270         (generated): Likewise.
48271         * posix/Makefile (generated): Likewise.
48272         (tests-special): Likewise.
48273         (xtests-special): Likewise.
48274         ($(objpfx)tst-fnmatch-mem): Likewise.
48275         ($(objpfx)bug-regex2-mem): Likewise.
48276         ($(objpfx)bug-regex14-mem): Likewise.
48277         ($(objpfx)bug-regex21-mem): Likewise.
48278         ($(objpfx)bug-regex31-mem): Likewise.
48279         ($(objpfx)tst-vfork3-mem): Likewise.
48280         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
48281         ($(objpfx)tst-pcre-mem): Likewise.
48282         ($(objpfx)tst-boost-mem): Likewise.
48283         ($(objpfx)bug-ga2-mem): Likewise.
48284         ($(objpfx)bug-glob2-mem): Likewise.
48285         * resolv/Makefile (generate): Likewise.
48286         (tests-special): Likewise.
48287         (xtests-special): Likewise.
48288         (generated): Likewise.
48289         ($(objpfx)mtrace-tst-leaks): Likewise.
48290         ($(objpfx)mtrace-tst-leaks2): Likewise.
48292         * scripts/merge-test-results.sh: New file.
48293         * Makefile (tests-special-notdir): New variable.
48294         (tests): Run merge-test-results.sh.
48295         (xtests): Likewise.
48296         * Rules (tests-special-notdir): New variable.
48297         (xtests-special-notdir): Likewise.
48298         (tests): Run merge-test-results.sh
48299         (xtests): Likewise.
48301         * Makeconfig (test-xfail-name): New variable.
48302         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
48303         compute variable name for expected failures.
48304         * conform/Makefile (conformtest-headers-data): New variable.
48305         (conformtest-standards): Likewise.
48306         (conformtest-headers-ISO): Likewise.
48307         (conformtest-headers-ISO99): Likewise.
48308         (conformtest-headers-ISO11): Likewise.
48309         (conformtest-headers-POSIX): Likewise.
48310         (conformtest-headers-XPG3): Likewise.
48311         (conformtest-headers-XPG4): Likewise.
48312         (conformtest-headers-UNIX98): Likewise.
48313         (conformtest-headers-XOPEN2K): Likewise.
48314         (conformtest-headers-POSIX2008): Likewise.
48315         (conformtest-headers-XOPEN2K8): Likewise.
48316         (conformtest-header-list-base): Likewise.
48317         (conformtest-header-list-tests): Likewise.
48318         (conformtest-header-base): Likewise.
48319         (conformtest-header-tests): Likewise.
48320         (tests-special): Add $(conformtest-header-list-tests).  If
48321         [$(fast-check) && !$(cross-compiling)], add
48322         $(conformtest-header-tests) instead of
48323         $(objpfx)run-conformtest.out.
48324         (generated): Add $(conformtest-header-list-base).  If
48325         [$(fast-check) && !$(cross-compiling)], add
48326         $(conformtest-header-base).  Remove previous setting.
48327         ($(conformtest-header-list-tests)): New target.
48328         (test-xfail-run-conformtest): Remove variable.
48329         ($(objpfx)run-conformtest.out): Remove target.
48330         (test-xfail-ISO11/complex.h/conform): New variable.
48331         (test-xfail-ISO11/stdalign.h/conform): Likewise.
48332         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
48333         (test-xfail-XPG3/varargs.h/conform): Likewise.
48334         (test-xfail-XPG4/varargs.h/conform): Likewise.
48335         (test-xfail-UNIX98/varargs.h/conform): Likewise.
48336         (test-xfail-XPG4/ndbm.h/conform): Likewise.
48337         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
48338         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
48339         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
48340         (test-xfail-XPG3/fcntl.h/conform): Likewise.
48341         (test-xfail-XPG3/ftw.h/conform): Likewise.
48342         (test-xfail-XPG3/grp.h/conform): Likewise.
48343         (test-xfail-XPG3/langinfo.h/conform): Likewise.
48344         (test-xfail-XPG3/limits.h/conform): Likewise.
48345         (test-xfail-XPG3/pwd.h/conform): Likewise.
48346         (test-xfail-XPG3/search.h/conform): Likewise.
48347         (test-xfail-XPG3/signal.h/conform): Likewise.
48348         (test-xfail-XPG3/stdio.h/conform): Likewise.
48349         (test-xfail-XPG3/stdlib.h/conform): Likewise.
48350         (test-xfail-XPG3/string.h/conform): Likewise.
48351         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
48352         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
48353         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
48354         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
48355         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
48356         (test-xfail-XPG3/sys/types.h/conform): Likewise.
48357         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
48358         (test-xfail-XPG3/termios.h/conform): Likewise.
48359         (test-xfail-XPG3/time.h/conform): Likewise.
48360         (test-xfail-XPG3/unistd.h/conform): Likewise.
48361         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
48362         (test-xfail-XPG4/fcntl.h/conform): Likewise.
48363         (test-xfail-XPG4/langinfo.h/conform): Likewise.
48364         (test-xfail-XPG4/netdb.h/conform): Likewise.
48365         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
48366         (test-xfail-XPG4/signal.h/conform): Likewise.
48367         (test-xfail-XPG4/stdio.h/conform): Likewise.
48368         (test-xfail-XPG4/stdlib.h/conform): Likewise.
48369         (test-xfail-XPG4/stropts.h/conform): Likewise.
48370         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
48371         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
48372         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
48373         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
48374         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
48375         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
48376         (test-xfail-XPG4/sys/time.h/conform): Likewise.
48377         (test-xfail-XPG4/sys/types.h/conform): Likewise.
48378         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
48379         (test-xfail-XPG4/termios.h/conform): Likewise.
48380         (test-xfail-XPG4/ucontext.h/conform): Likewise.
48381         (test-xfail-XPG4/unistd.h/conform): Likewise.
48382         (test-xfail-XPG4/utmpx.h/conform): Likewise.
48383         (test-xfail-POSIX/sched.h/conform): Likewise.
48384         (test-xfail-POSIX/signal.h/conform): Likewise.
48385         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48386         (test-xfail-POSIX/tar.h/conform): Likewise.
48387         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
48388         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
48389         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
48390         (test-xfail-UNIX98/netdb.h/conform): Likewise.
48391         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
48392         (test-xfail-UNIX98/sched.h/conform): Likewise.
48393         (test-xfail-UNIX98/signal.h/conform): Likewise.
48394         (test-xfail-UNIX98/stdio.h/conform): Likewise.
48395         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
48396         (test-xfail-UNIX98/stropts.h/conform): Likewise.
48397         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
48398         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
48399         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
48400         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
48401         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
48402         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
48403         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
48404         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
48405         (test-xfail-UNIX98/unistd.h/conform): Likewise.
48406         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
48407         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
48408         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
48409         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
48410         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
48411         (test-xfail-XOPEN2K/math.h/conform): Likewise.
48412         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
48413         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
48414         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
48415         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
48416         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
48417         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
48418         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
48419         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
48420         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
48421         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
48422         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
48423         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
48424         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
48425         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
48426         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
48427         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
48428         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
48429         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
48430         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
48431         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
48432         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
48433         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
48434         (test-xfail-POSIX2008/signal.h/conform): Likewise.
48435         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
48436         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
48437         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
48438         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
48439         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
48440         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
48441         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
48442         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
48443         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
48444         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
48445         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
48446         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
48447         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
48448         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
48449         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
48450         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
48451         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
48452         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
48453         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
48454         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
48455         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
48456         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
48457         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
48458         (conformtest-cc-flags): Likewise.
48459         ($(conformtest-header-tests): New target.
48460         * conform/check-header-lists.sh: New file.
48461         * conform/run-conformtest.sh: Remove.
48463         * conform/conformtest.pl: Allow ' and \ in values given for
48464         constants.
48465         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
48466         inclusion.
48467         [POSIX] (sys/types.h): Likewise.
48468         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
48469         inclusion.
48470         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
48471         inclusion.
48472         * conform/data/signal.h-data (SIGIO): Remove expectation.
48473         [XPG3] (SIGBUS): Do not expect.
48474         [POSIX || XPG3] (SIGPOLL): Likewise.
48475         [POSIX || XPG3] (SIGPROF): Likewise.
48476         [POSIX || XPG3] (SIGSYS): Likewise.
48477         [XPG3] (SIGTRAP): Likewise.
48478         [POSIX || XPG3] (SIGURG): Likewise.
48479         [POSIX || XPG3] (SIGVTALRM): Likewise.
48480         [POSIX || XPG3] (SIGXCPU): Likewise.
48481         [POSIX || XPG3] (SIGXFSZ): Likewise.
48482         [POSIX] (SA_SIGINFO): Expect.
48483         [XPG3] (siginfo_t): Do not expect type or contents.
48484         [POSIX] (si_pid): Do not expect element.
48485         [POSIX] (si_uid): Likewise.
48486         [POSIX] (si_addr): Likewise.
48487         [POSIX] (si_status): Likewise.
48488         [POSIX] (si_band): Likewise.
48489         [XPG4] (si_value): Likewise.
48490         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
48491         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
48492         [POSIX || XPG3] (ILL_ILLADR): Likewise.
48493         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
48494         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
48495         [POSIX || XPG3] (ILL_PRVREG): Likewise.
48496         [POSIX || XPG3] (ILL_COPROC): Likewise.
48497         [POSIX || XPG3] (ILL_BADSTK): Likewise.
48498         [POSIX || XPG3] (FPE_INTDIV): Likewise.
48499         [POSIX || XPG3] (FPE_INTOVF): Likewise.
48500         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
48501         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
48502         [POSIX || XPG3] (FPE_FLTUND): Likewise.
48503         [POSIX || XPG3] (FPE_FLTRES): Likewise.
48504         [POSIX || XPG3] (FPE_FLTINV): Likewise.
48505         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
48506         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
48507         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
48508         [POSIX || XPG3] (BUS_ADRALN): Likewise.
48509         [POSIX || XPG3] (BUS_ADRERR): Likewise.
48510         [POSIX || XPG3] (BUS_OBJERR): Likewise.
48511         [POSIX || XPG3] (CLD_EXITED): Likewise.
48512         [POSIX || XPG3] (CLD_KILLED): Likewise.
48513         [POSIX || XPG3] (CLD_DUMPED): Likewise.
48514         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
48515         [POSIX || XPG3] (CLD_STOPPED): Likewise.
48516         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
48517         [POSIX || XPG3] (POLL_IN): Likewise.
48518         [POSIX || XPG3] (POLL_OUT): Likewise.
48519         [POSIX || XPG3] (POLL_MSG): Likewise.
48520         [POSIX || XPG3] (POLL_ERR): Likewise.
48521         [POSIX || XPG3] (POLL_PRI): Likewise.
48522         [POSIX || XPG3] (POLL_HUP): Likewise.
48523         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
48524         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
48525         (SIG*): Do not allow.
48526         [XPG3] (si_*): Likewise.
48527         [XPG3] (SI_*): Likewise.
48528         [XPG3 || XPG4] (sigev_*): Likewise.
48529         [XPG3 || XPG4] (SIGEV_*): Likewise.
48530         [XPG3 || XPG4] (sival_*): Likewise.
48531         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
48532         [POSIX || XPG3] (BUS_*): Likewise.
48533         [POSIX || XPG3] (CLD_*): Likewise.
48534         [POSIX || XPG3] (FPE_*): Likewise.
48535         [POSIX || XPG3] (ILL_*): Likewise.
48536         [POSIX || XPG3] (POLL_*): Likewise.
48537         [POSIX || XPG3] (SEGV_*): Likewise.
48538         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
48539         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
48540         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
48541         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
48542         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
48543         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
48544         Specify type and value.
48545         (TVERSLEN): Likewise.
48546         (REGTYPE): Likewise.
48547         (AREGTYPE): Likewise.
48548         (LNKTYPE): Likewise.
48549         (SYMTYPE): Likewise.
48550         (CHRTYPE): Likewise.
48551         (BLKTYPE): Likewise.
48552         (DIRTYPE): Likewise.
48553         (FIFOTYPE): Likewise.
48554         (CONTTYPE): Likewise.
48555         (TSUID): Likewise.
48556         (TSGID): Likewise.
48557         (TSVTX): Likewise.
48558         (TUREAD): Likewise.
48559         (TUWRITE): Likewise.
48560         (TUEXEC): Likewise.
48561         (TGREAD): Likewise.
48562         (TGWRITE): Likewise.
48563         (TGEXEC): Likewise.
48564         (TOREAD): Likewise.
48565         (TOWRITE): Likewise.
48566         (TOEXEC): Likewise.
48567         [POSIX] (TSVTX): Expect constant.
48569 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
48571         * Makefile (tests): Change dependencies to ....
48572         (tests-special): ... additions to this variable.
48573         (tests): Depend on $(tests-special).
48574         * Makerules (check-abi-list): New variable.
48575         (check-abi): Depend on $(check-abi-list).
48576         [$(subdir) = elf] (tests-special): Add
48577         $(objpfx)check-abi-libc.out.
48578         [$(build-shared) = yes && subdir] (tests-special): Add
48579         $(check-abi-list).
48580         [$(build-shared) = yes && subdir] (tests): Do not depend on
48581         check-abi.
48582         * Rules (tests): Depend on $(tests-special).
48583         (xtests): Depend on $(xtests-special).
48584         * catgets/Makefile (tests): Change dependencies to ....
48585         (tests-special): ... additions to this variable.
48586         * conform/Makefile (tests): Change dependencies to ....
48587         (tests-special): ... additions to this variable.
48588         * elf/Makefile (tests): Change dependencies to ....
48589         (tests-special): ... additions to this variable.
48590         * grp/Makefile (tests): Change dependencies to ....
48591         (tests-special): ... additions to this variable.
48592         * iconv/Makefile (xtests): Change dependencies to ....
48593         (xtests-special): ... additions to this variable.
48594         * iconvdata/Makefile (tests): Change dependencies to ....
48595         (tests-special): ... additions to this variable.
48596         * intl/Makefile (tests): Change dependencies to ....
48597         (tests-special): ... additions to this variable.  Also add
48598         $(objpfx)tst-gettext.out.
48599         * io/Makefile (tests): Change dependencies to ....
48600         (tests-special): ... additions to this variable.
48601         * libio/Makefile (tests): Change dependencies to ....
48602         (tests-special): ... additions to this variable.
48603         * malloc/Makefile (tests): Change dependencies to ....
48604         (tests-special): ... additions to this variable.
48605         * misc/Makefile (tests): Change dependencies to ....
48606         (tests-special): ... additions to this variable.
48607         * nptl/Makefile (tests): Change dependencies to ....
48608         (tests-special): ... additions to this variable.
48609         * nptl_db/Makefile (tests): Change dependencies to ....
48610         (tests-special): ... additions to this variable.
48611         * posix/Makefile (tests): Change dependencies to ....
48612         (tests-special): ... additions to this variable.
48613         (xtests): Change dependencies to ....
48614         (xtests-special): ... additions to this variable.
48615         * resolv/Makefile (tests): Change dependencies to ....
48616         (tests-special): ... additions to this variable.
48617         (xtests): Change dependencies to ....
48618         (xtests-special): ... additions to this variable.
48619         * stdio-common/Makefile (tests): Change dependencies to ....
48620         (tests-special): ... additions to this variable.
48621         (do-tst-unbputc): Remove target.
48622         (do-tst-printf): Likewise.
48623         * stdlib/Makefile (tests): Change dependencies to ....
48624         (tests-special): ... additions to this variable.
48625         * string/Makefile (tests): Change dependencies to ....
48626         (tests-special): ... additions to this variable.
48627         * sysdeps/x86/Makefile (tests): Change dependencies to ....
48628         (tests-special): ... additions to this variable.
48630         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
48631         whole file.
48632         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
48633         whole file.
48634         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
48635         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
48637         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
48638         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
48639         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
48640         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
48641         * conform/data/libgen.h-data [XPG3]: Likewise.
48642         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
48643         * conform/data/ndbm.h-data [XPG3]: Likewise.
48644         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48645         * conform/data/netdb.h-data [XPG3]: Likewise.
48646         * conform/data/netinet/in.h-data [XPG3]: Likewise.
48647         * conform/data/poll.h-data [XPG3]: Likewise.
48648         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48649         * conform/data/strings.h-data [XPG3]: Likewise.
48650         * conform/data/stropts.h-data [XPG3]: Likewise.
48651         * conform/data/sys/mman.h-data [XPG3]: Likewise.
48652         * conform/data/sys/resource.h-data [XPG3]: Likewise.
48653         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
48654         Likewise.
48655         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
48656         * conform/data/sys/time.h-data [XPG3]: Likewise.
48657         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
48658         * conform/data/sys/uio.h-data [XPG3]: Likewise.
48659         * conform/data/sys/un.h-data [XPG3]: Likewise.
48660         * conform/data/syslog.h-data [XPG3]: Likewise.
48661         * conform/data/ucontext.h-data [XPG3]: Likewise.
48662         * conform/data/utmpx.h-data [XPG3]: Likewise.
48663         * conform/data/varargs.h-data [UNIX98]: Enable file.
48665         * manual/Makefile (INSTALL_INFO): Remove variable setting.
48667         * math/libm-test.inc (struct test_f_f_data): Move expected results
48668         into structure for each rounding mode.
48669         (struct test_ff_f_data): Likewise.
48670         (struct test_ff_f_data_nexttoward): Likewise.
48671         (struct test_fi_f_data): Likewise.
48672         (struct test_fl_f_data): Likewise.
48673         (struct test_if_f_data): Likewise.
48674         (struct test_fff_f_data): Likewise.
48675         (struct test_c_f_data): Likewise.
48676         (struct test_f_f1_data): Likewise.
48677         (struct test_fF_f1_data): Likewise.
48678         (struct test_ffI_f1_data): Likewise.
48679         (struct test_c_c_data): Likewise.
48680         (struct test_cc_c_data): Likewise.
48681         (struct test_f_i_data): Likewise.
48682         (struct test_ff_i_data): Likewise.
48683         (struct test_f_l_data): Likewise.
48684         (struct test_f_L_data): Likewise.
48685         (struct test_fFF_11_data): Likewise.
48686         (RM_): New macro.
48687         (RM_FE_DOWNWARD): Likewise.
48688         (RM_FE_TONEAREST): Likewise.
48689         (RM_FE_TOWARDZERO): Likewise.
48690         (RM_FE_UPWARD): Likewise.
48691         (RUN_TEST_LOOP_f_f): Update references to expected results.
48692         (RUN_TEST_LOOP_2_f): Likewise.
48693         (RUN_TEST_LOOP_fff_f): Likewise.
48694         (RUN_TEST_LOOP_c_f): Likewise.
48695         (RUN_TEST_LOOP_f_f1): Likewise.
48696         (RUN_TEST_LOOP_fF_f1): Likewise.
48697         (RUN_TEST_LOOP_fI_f1): Likewise.
48698         (RUN_TEST_LOOP_ffI_f1): Likewise.
48699         (RUN_TEST_LOOP_c_c): Likewise.
48700         (RUN_TEST_LOOP_cc_c): Likewise.
48701         (RUN_TEST_LOOP_f_i): Likewise.
48702         (RUN_TEST_LOOP_f_i_tg): Likewise.
48703         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48704         (RUN_TEST_LOOP_f_b): Likewise.
48705         (RUN_TEST_LOOP_f_b_tg): Likewise.
48706         (RUN_TEST_LOOP_f_l): Likewise.
48707         (RUN_TEST_LOOP_f_L): Likewise.
48708         (RUN_TEST_LOOP_fFF_11): Likewise.
48709         * math/gen-libm-test.pl (parse_args): Output four copies of
48710         expected results for each test.
48712         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48713         (__ASSUME_UTIMES): Remove.
48714         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48715         (__ASSUME_UTIMES): Likewise.
48717         * math/gen-auto-libm-tests.c: Update comment on output format.
48718         (output_for_one_input_case): Generate before-rounding and
48719         after-rounding information as conditions on output flags not
48720         floating-point format.
48721         * math/auto-libm-test-out: Regenerated.
48722         * math/gen-libm-test.pl (cond_value): New function.
48723         (or_cond_value): Use cond_value.
48724         (generate_testfile): Handle conditional exceptions.
48726 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
48728         * math/libm-test.inc (max_valid_error): New variable.
48729         (init_max_error): Take new argument specifying whether function
48730         results are exactly determined.  Set max_valid_error and bound
48731         other variables for errors based on this argument.
48732         (set_max_error): Do not record results above max_valid_error.
48733         (check_float_internal): Only accept errors of up to 0.5ulps if
48734         also at most max_valid_error.
48735         (START): Take new argument EXACT and pass it to init_max_error.
48736         (acos_test): Update call to START.
48737         (acos_test_tonearest): Likewise.
48738         (acos_test_towardzero): Likewise.
48739         (acos_test_downward): Likewise.
48740         (acos_test_upward): Likewise.
48741         (acosh_test): Likewise.
48742         (asin_test): Likewise.
48743         (asin_test_tonearest): Likewise.
48744         (asin_test_towardzero): Likewise.
48745         (asin_test_downward): Likewise.
48746         (asin_test_upward): Likewise.
48747         (asinh_test): Likewise.
48748         (atan_test): Likewise.
48749         (atanh_test): Likewise.
48750         (atan2_test): Likewise.
48751         (cabs_test): Likewise.
48752         (cacos_test): Likewise.
48753         (cacosh_test): Likewise.
48754         (carg_test): Likewise.
48755         (casin_test): Likewise.
48756         (casinh_test): Likewise.
48757         (catan_test): Likewise.
48758         (catanh_test): Likewise.
48759         (cbrt_test): Likewise.
48760         (ccos_test): Likewise.
48761         (ccosh_test): Likewise.
48762         (ceil_test): Likewise.
48763         (cexp_test): Likewise.
48764         (cimag_test): Likewise.
48765         (clog_test): Likewise.
48766         (clog10_test): Likewise.
48767         (conj_test): Likewise.
48768         (copysign_test): Likewise.
48769         (cos_test): Likewise.
48770         (cos_test_tonearest): Likewise.
48771         (cos_test_towardzero): Likewise.
48772         (cos_test_downward): Likewise.
48773         (cos_test_upward): Likewise.
48774         (cosh_test): Likewise.
48775         (cosh_test_tonearest): Likewise.
48776         (cosh_test_towardzero): Likewise.
48777         (cosh_test_downward): Likewise.
48778         (cosh_test_upward): Likewise.
48779         (cpow_test): Likewise.
48780         (cproj_test): Likewise.
48781         (creal_test): Likewise.
48782         (csin_test): Likewise.
48783         (csinh_test): Likewise.
48784         (csqrt_test): Likewise.
48785         (ctan_test): Likewise.
48786         (ctan_test_tonearest): Likewise.
48787         (ctan_test_towardzero): Likewise.
48788         (ctan_test_downward): Likewise.
48789         (ctan_test_upward): Likewise.
48790         (ctanh_test): Likewise.
48791         (ctanh_test_tonearest): Likewise.
48792         (ctanh_test_towardzero): Likewise.
48793         (ctanh_test_downward): Likewise.
48794         (ctanh_test_upward): Likewise.
48795         (erf_test): Likewise.
48796         (erfc_test): Likewise.
48797         (exp_test): Likewise.
48798         (exp_test_tonearest): Likewise.
48799         (exp_test_towardzero): Likewise.
48800         (exp_test_downward): Likewise.
48801         (exp_test_upward): Likewise.
48802         (exp10_test): Likewise.
48803         (exp10_test_tonearest): Likewise.
48804         (exp10_test_towardzero): Likewise.
48805         (exp10_test_downward): Likewise.
48806         (exp10_test_upward): Likewise.
48807         (pow10_test): Likewise.
48808         (exp2_test): Likewise.
48809         (expm1_test): Likewise.
48810         (expm1_test_tonearest): Likewise.
48811         (expm1_test_towardzero): Likewise.
48812         (expm1_test_downward): Likewise.
48813         (expm1_test_upward): Likewise.
48814         (fabs_test): Likewise.
48815         (fdim_test): Likewise.
48816         (floor_test): Likewise.
48817         (fma_test): Likewise.
48818         (fma_test_towardzero): Likewise.
48819         (fma_test_downward): Likewise.
48820         (fma_test_upward): Likewise.
48821         (fmax_test): Likewise.
48822         (fmin_test): Likewise.
48823         (fmod_test): Likewise.
48824         (fpclassify_test): Likewise.
48825         (frexp_test): Likewise.
48826         (hypot_test): Likewise.
48827         (ilogb_test): Likewise.
48828         (isfinite_test): Likewise.
48829         (finite_test): Likewise.
48830         (isgreater_test): Likewise.
48831         (isgreaterequal_test): Likewise.
48832         (isinf_test): Likewise.
48833         (isless_test): Likewise.
48834         (islessequal_test): Likewise.
48835         (islessgreater_test): Likewise.
48836         (isnan_test): Likewise.
48837         (isnormal_test): Likewise.
48838         (issignaling_test): Likewise.
48839         (isunordered_test): Likewise.
48840         (j0_test): Likewise.
48841         (j1_test): Likewise.
48842         (jn_test): Likewise.
48843         (ldexp_test): Likewise.
48844         (lgamma_test): Likewise.
48845         (gamma_test): Likewise.
48846         (lrint_test): Likewise.
48847         (lrint_test_tonearest): Likewise.
48848         (lrint_test_towardzero): Likewise.
48849         (lrint_test_downward): Likewise.
48850         (lrint_test_upward): Likewise.
48851         (llrint_test): Likewise.
48852         (llrint_test_tonearest): Likewise.
48853         (llrint_test_towardzero): Likewise.
48854         (llrint_test_downward): Likewise.
48855         (llrint_test_upward): Likewise.
48856         (log_test): Likewise.
48857         (log10_test): Likewise.
48858         (log1p_test): Likewise.
48859         (log2_test): Likewise.
48860         (logb_test): Likewise.
48861         (logb_test_downward): Likewise.
48862         (lround_test): Likewise.
48863         (llround_test): Likewise.
48864         (modf_test): Likewise.
48865         (nearbyint_test): Likewise.
48866         (nextafter_test): Likewise.
48867         (nexttoward_test): Likewise.
48868         (pow_test): Likewise.
48869         (pow_test_tonearest): Likewise.
48870         (pow_test_towardzero): Likewise.
48871         (pow_test_downward): Likewise.
48872         (pow_test_upward): Likewise.
48873         (remainder_test): Likewise.
48874         (drem_test): Likewise.
48875         (remainder_test_tonearest): Likewise.
48876         (drem_test_tonearest): Likewise.
48877         (remainder_test_towardzero): Likewise.
48878         (drem_test_towardzero): Likewise.
48879         (remainder_test_downward): Likewise.
48880         (drem_test_downward): Likewise.
48881         (remainder_test_upward): Likewise.
48882         (drem_test_upward): Likewise.
48883         (remquo_test): Likewise.
48884         (rint_test): Likewise.
48885         (rint_test_tonearest): Likewise.
48886         (rint_test_towardzero): Likewise.
48887         (rint_test_downward): Likewise.
48888         (rint_test_upward): Likewise.
48889         (round_test): Likewise.
48890         (scalb_test): Likewise.
48891         (scalbn_test): Likewise.
48892         (scalbln_test): Likewise.
48893         (signbit_test): Likewise.
48894         (sin_test): Likewise.
48895         (sin_test_tonearest): Likewise.
48896         (sin_test_towardzero): Likewise.
48897         (sin_test_downward): Likewise.
48898         (sin_test_upward): Likewise.
48899         (sincos_test): Likewise.
48900         (sinh_test): Likewise.
48901         (sinh_test_tonearest): Likewise.
48902         (sinh_test_towardzero): Likewise.
48903         (sinh_test_downward): Likewise.
48904         (sinh_test_upward): Likewise.
48905         (sqrt_test): Likewise.
48906         (sqrt_test_tonearest): Likewise.
48907         (sqrt_test_towardzero): Likewise.
48908         (sqrt_test_downward): Likewise.
48909         (sqrt_test_upward): Likewise.
48910         (tan_test): Likewise.
48911         (tan_test_tonearest): Likewise.
48912         (tan_test_towardzero): Likewise.
48913         (tan_test_downward): Likewise.
48914         (tan_test_upward): Likewise.
48915         (tanh_test): Likewise.
48916         (tgamma_test): Likewise.
48917         (trunc_test): Likewise.
48918         (y0_test): Likewise.
48919         (y1_test): Likewise.
48920         (yn_test): Likewise.
48921         (significand_test): Likewise.
48923         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
48924         individual tests in comment.
48925         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
48926         (prev_max_error): New variable.
48927         (prev_real_max_error): Likewise.
48928         (prev_imag_max_error): Likewise.
48929         (compare_ulp_data): Don't refer to test names in comment.
48930         (find_test_ulps): Remove function.
48931         (find_function_ulps): Likewise.
48932         (find_complex_function_ulps): Likewise.
48933         (init_max_error): Take function name as argument.  Look up ulps
48934         for that function.
48935         (print_ulps): Remove function.
48936         (print_max_error): Use prev_max_error instead of calling
48937         find_function_ulps.
48938         (print_complex_max_error): Use prev_real_max_error and
48939         prev_imag_max_error instead of calling find_complex_function_ulps.
48940         (check_float_internal): Take max_ulp parameter instead of calling
48941         find_test_ulps.  Don't call print_ulps.
48942         (check_float): Update call to check_float_internal.
48943         (check_complex): Update calls to check_float_internal.
48944         (START): Pass argument to init_max_error.
48945         * math/gen-libm-test.pl (%results): Don't include "kind"
48946         information.
48947         (parse_ulps): Don't handle ulps of individual tests.
48948         (print_ulps_file): Likewise.
48949         (output_ulps): Likewise.
48950         * math/README.libm-test: Update.
48951         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
48952         individual tests.
48953         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
48954         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
48955         * sysdeps/arm/libm-test-ulps: Likewise.
48956         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
48957         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
48958         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
48959         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
48960         * sysdeps/microblaze/libm-test-ulps: Likewise.
48961         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
48962         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48963         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48964         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
48965         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48966         * sysdeps/sh/libm-test-ulps: Likewise.
48967         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48968         * sysdeps/tile/libm-test-ulps: Likewise.
48969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48971 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
48973         * math/libm-test.inc (print_complex_max_error): Check separately
48974         whether real and imaginary errors are within allowed range and
48975         pass 0 to print_complex_function_ulps instead of value within
48976         allowed range.
48978 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48980         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
48981         formatting.
48982         (get_handles_fopen): Likewise.
48983         (do_write_test): Likewise.
48985         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
48987         * libio/fileops.c (do_ftell): Use cached offset when
48988         available.
48989         * libio/iofwide.c (do_ftell_wide): Likewise.
48990         * libio/iofdopen.c (_IO_new_fdopen): Don't use
48991         _IO_file_attach.
48992         * libio/wfileops.c (_IO_fwide): Don't cache offset.
48994         [BZ #16532]
48995         * libio/libioP.h (get_file_offset): New function.
48996         * libio/fileops.c (get_file_offset): Likewise.
48997         (do_ftell): Likewise.
48998         (_IO_new_file_seekoff): Split out ftell logic.
48999         * libio/wfileops.c (do_ftell_wide): Likewise.
49000         (_IO_wfile_seekoff): Split out ftell logic.
49001         * libio/tst-ftell-active-handler.c: New test case.
49002         * libio/Makefile (tests): Add it.
49004 2014-03-03  Roland McGrath  <roland@hack.frob.com>
49006         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
49007         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
49009 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49011         [BZ #16639]
49012         * nscd/connections.c (nscd_init): Call do_exit.
49013         (start_threads): Call do_exit and notify_parent.
49014         (begin_drop_privileges): Call do_exit.
49015         (finish_drop_privileges): Likewise.
49016         * nscd/selinux.c (preserve_capabilities): Likewise.
49017         (install_real_capabilities): Likewise.
49018         (nscd_selinux_enabled): Likewise.
49019         (avc_create_thread): Likewise.
49020         (avc_alloc_lock): Likewise.
49021         (nscd_avc_init): Likewise.
49022         * nscd/nscd.c (parent_fd): New static variable.
49023         (main): Create a pipe between parent and child processes.
49024         Skip closing parent_fd.
49025         (monitor_child): New function.
49026         (do_exit): Likewise.
49027         (notify_parent): Likewise.
49028         * nscd/nscd.h (notify_parent): Likewise.
49029         (do_exit): Likewise.
49031 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
49033         * malloc/malloc.c (__libc_calloc): Revert last change.
49035 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49039 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49041         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
49042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
49043         implementation.
49044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49045         (__libc_ifunc_impl_list): Likewise.
49046         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
49047         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
49048         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
49049         * string/strrchr.c: Define STRRCHR.
49051 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
49053         * benchtest/bench-strtok.c (simple_strtok): Delete.
49054         (strtok_string): Use as benchmark.
49055         * string/strtok (STRTOK): New macro.
49057 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
49059         * manual/threads.texi: Add header and standard comments to all
49060         functions.
49062         * elf/dl-lookup.c (check_match): New function.
49063         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
49064         (do_lookup_x): Remove nested function check_match. Use non-nested
49065         function check_match.
49067 2014-02-28  Roland McGrath  <roland@hack.frob.com>
49069         * csu/Makefile (generated, before-compile): Use += rather than =.
49070         * catgets/Makefile (generated, generated-dirs): Likewise.
49071         * debug/Makefile (generated): Likewise.
49072         * dlfcn/Makefile (generated): Likewise.
49073         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
49074         * iconvdata/Makefile (before-compile, generated): Likewise.
49075         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
49076         * libio/Makefile (generated): Likewise.
49077         * malloc/Makefile (generated): Likewise.
49078         * manual/Makefile (generated, generated-dirs): Likewise.
49079         * misc/Makefile (generated): Likewise.
49080         * posix/Makefile (generated): Likewise.
49081         * resolv/Makefile (generated): Likewise.
49082         * sunrpc/Makefile (generated, generated-dirs): Likewise.
49083         * timezone/Makefile (generated, generated-dirs): Likewise.
49085         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
49087 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49089         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
49090         power8 implementation.
49091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
49092         file: POWER8 llround ifunc implementation.
49093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
49094         (__lllround): Add POWER8 implementation.
49095         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
49096         POWER8 llround implementation.
49098         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
49099         power8 implementation.
49100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
49101         file: POWER8 llrint ifunc implementation.
49102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
49103         Add POWER8 implementation.
49104         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
49105         POWER8 llrint implementation.
49107         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
49108         power8 implementation.
49109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
49110         file: POWER8 finite ifunc implementation.
49111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
49112         Add POWER8 implementation.
49113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
49114         Likewise.
49115         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
49116         POWER8 finite implementation.
49117         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
49119         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
49120         power8 implementation.
49121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
49122         file: POWER8 isinf ifunc implementation.
49123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
49124         POWER8 implementation.
49125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
49126         Likewise.
49127         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
49128         isinf implementation.
49129         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
49131         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
49132         (INIT_ARCH): Add hwcap2 initialization.
49133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
49134         power8 implementation.
49135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
49136         file: POWER8 isnan ifunc implementation.
49137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
49138         POWER8 implementation.
49139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
49140         Likewise.
49141         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
49142         isnan implementation.
49143         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
49145 2014-02-27  Joey Ye  <joey.ye@arm.com>
49147         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
49148         (_FP_NANFRAC_Q): Set to zero.
49150 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49152         [BZ #16623]
49153         * math/auto-libm-test-in: New test inputs.
49154         * math/auto-libm-test-out: Regenerate.
49155         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
49156         and DA.
49157         (__cos): Likewise.
49158         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49160 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
49162         * scripts/evaluate-test.sh: Take new argument indicating whether
49163         failure is expected.
49164         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
49165         indicating whether failure is expected.
49166         * conform/Makefile (test-xfail-run-conformtest): New variable.
49167         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
49168         level.
49169         * posix/Makefile (test-xfail-annexc): New variable.
49170         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
49172 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
49174         * argp/Makefile: Include Makeconfig immediately after defining
49175         subdir.
49176         * assert/Makefile: Likewise.
49177         * benchtests/Makefile: Likewise.
49178         * catgets/Makefile: Likewise.
49179         * conform/Makefile: Likewise.
49180         * crypt/Makefile: Likewise.
49181         * csu/Makefile: Likewise.
49182         (all): Remove target.
49183         * ctype/Makefile: Include Makeconfig immediately after defining
49184         subdir.
49185         * debug/Makefile: Likewise.
49186         * dirent/Makefile: Likewise.
49187         * dlfcn/Makefile: Likewise.
49188         * gmon/Makefile: Likewise.
49189         * gnulib/Makefile: Likewise.
49190         * grp/Makefile: Likewise.
49191         * gshadow/Makefile: Likewise.
49192         * hesiod/Makefile: Likewise.
49193         * hurd/Makefile: Likewise.
49194         (all): Remove target.
49195         * iconvdata/Makefile: Include Makeconfig immediately after
49196         defining subdir.
49197         * inet/Makefile: Likewise.
49198         * intl/Makefile: Likewise.
49199         * io/Makefile: Likewise.
49200         * libio/Makefile: Likewise.
49201         (all): Remove target.
49202         * locale/Makefile: Include Makeconfig immediately after defining
49203         subdir.
49204         * login/Makefile: Likewise.
49205         * mach/Makefile: Likewise.
49206         (all): Remove target.
49207         * malloc/Makefile: Include Makeconfig immediately after defining
49208         subdir.
49209         (all): Remove target.
49210         * manual/Makefile: Include Makeconfig immediately after defining
49211         subdir.
49212         * math/Makefile: Likewise.
49213         * misc/Makefile: Likewise.
49214         * nis/Makefile: Likewise.
49215         * nss/Makefile: Likewise.
49216         * po/Makefile: Likewise.
49217         (all): Remove target.
49218         * posix/Makefile: Include Makeconfig immediately after defining
49219         subdir.
49220         * pwd/Makefile: Likewise.
49221         * resolv/Makefile: Likewise.
49222         * resource/Makefile: Likewise.
49223         * rt/Makefile: Likewise.
49224         * setjmp/Makefile: Likewise.
49225         * shadow/Makefile: Likewise.
49226         * signal/Makefile: Likewise.
49227         * socket/Makefile: Likewise.
49228         * soft-fp/Makefile: Likewise.
49229         * stdio-common/Makefile: Likewise.
49230         * stdlib/Makefile: Likewise.
49231         * streams/Makefile: Likewise.
49232         * string/Makefile: Likewise.
49233         * sunrpc/Makefile: Likewise.
49234         (all): Remove target.
49235         * sysvipc/Makefile: Include Makeconfig immediately after defining
49236         subdir.
49237         * termios/Makefile: Likewise.
49238         * time/Makefile: Likewise.
49239         * timezone/Makefile: Likewise.
49240         (all): Remove target.
49241         * wcsmbs/Makefile: Include Makeconfig immediately after defining
49242         subdir.
49243         * wctype/Makefile: Likewise.
49245 2014-02-26  Steve Ellcey  <sellcey@mips.com>
49247         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
49248         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
49249         (libc_feholdexcept_setround_mips): Ditto.
49250         (libc_feholdsetround): New.
49251         (libc_feholdsetroundf): New.
49252         (libc_feholdsetroundl): New.
49253         (libc_feupdateenv_test_mips): New.
49254         (libc_feupdateenv_test): New.
49255         (libc_feupdateenv_testf): New.
49256         (libc_feupdateenv_testl): New.
49257         (libc_feresetround): New.
49258         (libc_feresetroundf): New.
49259         (libc_feresetroundl): New.
49260         (libc_fetestexcept_mips): New.
49261         (libc_fetestexcept): New.
49262         (libc_fetestexceptf): New.
49263         (libc_fetestexceptl): New.
49264         (HAVE_RM_CTX): New.
49265         (libc_feholdexcept_setround_mips_ctx): New.
49266         (libc_feholdexcept_setround_ctx): New.
49267         (libc_feholdexcept_setroundf_ctx): New.
49268         (libc_feholdexcept_setroundl_ctx): New.
49269         (libc_fesetenv_mips_ctx): New.
49270         (libc_fesetenv_ctx): New.
49271         (libc_fesetenv_ctxf): New.
49272         (libc_fesetenv_ctxl): New.
49273         (libc_feupdateenv_mips_ctx): New.
49274         (libc_feupdateenv_ctx): New.
49275         (libc_feupdateenvf_ctx): New.
49276         (libc_feupdateenvl_ctx): New.
49277         (libc_feholdsetround_mips_ctx): New.
49278         (libc_feholdsetround_ctx): New.
49279         (libc_feholdsetroundf_ctx): New.
49280         (libc_feholdsetroundl_ctx): New.
49281         (libc_feresetround_mips_ctx): New.
49282         (libc_feresetround_ctx): New.
49283         (libc_feresetroundf_ctx): New.
49284         (libc_feresetroundl_ctx): New.
49286 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
49288         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
49290         * manual/ipc.texi: New file.
49291         * manual/Makefile (chapters): Add ipc.
49292         * manual/job.texi: Add "Inter-Process Communication" to next.
49293         * manual/process.texi: Add "Inter-Process Communication" to prev.
49295 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49299 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
49301         * malloc/malloc.c (__libc_calloc): Simplify implementation.
49303         * manual/arith.texi: Fix spaces after sentences.
49304         * manual/charset.texi: Likewise.
49305         * manual/errno.texi: Likewise.
49306         * manual/install.texi: Likewise.
49307         * manual/llio.texi: Likewise.
49308         * manual/locale.texi: Likewise.
49309         * manual/maint.texi: Likewise.
49310         * manual/math.texi: Likewise.
49311         * manual/memory.texi: Likewise.
49312         * manual/message.texi: Likewise.
49313         * manual/probes.texi: Likewise.
49314         * manual/resource.texi: Likewise.
49315         * manual/signal.texi: Likewise.
49316         * manual/socket.texi: Likewise.
49317         * manual/stdio.texi: Likewise.
49318         * manual/string.texi: Likewise.
49319         * manual/time.texi: Likewise.
49320         * manual/users.texi: Likewise.
49322 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
49324         [BZ #16632]
49325         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
49326         _DEFAULT_SOURCE is defined.
49328 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
49329             Carlos O'Donell  <carlos@redhat.com>
49331         [BZ #16613]
49332         * elf/dl-tls.c (_dl_count_modids): New function.
49333         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
49334         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
49335         audit library and increment generation counter.
49336         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
49337         * elf/tst-audit9.c: New file.
49338         * elf/tst-auditmod9a.c: New file.
49339         * elf/tst-auditmod9b.c: New file.
49340         * elf/Makefile: Add rules to build and run tst-audit9.
49342 2014-02-25  Florian Weimer  <fweimer@redhat.com>
49344         [BZ #15347]
49345         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
49347 2014-02-25  Will Newton  <will.newton@linaro.org>
49349         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
49350         (__longjmp): Restore sp and lr before restoring callee
49351         saved registers.  Add longjmp and longjmp_target
49352         SystemTap probe point.
49353         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
49354         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
49355         Define to zero to match jmpbuf layout.
49356         * sysdeps/arm/setjmp.S: Include stap-probe.h.
49357         (__sigsetjmp): Save sp and lr before saving callee
49358         saved registers.  Add setjmp SystemTap probe point.
49360 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
49362         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49364 2014-02-24  Andreas Schwab  <schwab@suse.de>
49366         [BZ #15804]
49367         * elf/pldd.c (wait_for_ptrace_stop): New function.
49368         (main): Call it after attaching.
49370 2014-02-22  Roland McGrath  <roland@hack.frob.com>
49372         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
49373         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
49374         Versions files is now verboten.
49375         * hurd/Versions (libc: GLIBC_2.0):
49376         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
49377         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
49378         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
49379         * mach/Versions: Likewise.
49381         * csu/Versions: Remove unused %include.
49382         * resolv/Versions: Likewise.
49384 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
49386         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
49387         ($(objpfx)check-local-headers.out): Likewise.
49388         ($(objpfx)begin-end-check.out): Likewise.
49389         * Makerules (check-abi-%.out): Likewise.
49390         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
49391         ($(objpfx)test2.cat): Likewise.
49392         ($(objpfx)de/libc.cat): Likewise.
49393         ($(objpfx)test-gencat.out): Likewise.
49394         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
49395         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
49396         ($(objpfx)noload-mem): Likewise.
49397         ($(objpfx)tst-pathopt.out): Likewise.
49398         ($(objpfx)tst-rtld-load-self.out): Likewise.
49399         ($(objpfx)tst-array1-cmp.out): Likewise.
49400         ($(objpfx)tst-array1-static-cmp.out): Likewise.
49401         ($(objpfx)tst-array2-cmp.out): Likewise.
49402         ($(objpfx)tst-array3-cmp.out): Likewise.
49403         ($(objpfx)tst-array4-cmp.out): Likewise.
49404         ($(objpfx)tst-array5-cmp.out): Likewise.
49405         ($(objpfx)tst-array5-static-cmp.out): Likewise.
49406         ($(objpfx)check-textrel.out): Likewise.
49407         ($(objpfx)check-execstack.out): Likewise.
49408         ($(objpfx)check-localplt.out): Likewise.
49409         ($(objpfx)order2-cmp.out): Likewise.
49410         ($(objpfx)tst-leaks1-mem): Likewise.
49411         ($(objpfx)tst-leaks1-static-mem): Likewise.
49412         ($(objpfx)tst-initorder-cmp.out): Likewise.
49413         ($(objpfx)tst-initorder2-cmp.out): Likewise.
49414         ($(objpfx)tst-unused-dep.out): Likewise.
49415         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
49416         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
49417         * iconv/Makefile (test-iconvconfig): Likewise.
49418         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
49419         ($(objpfx)iconv-test.out): Likewise.
49420         ($(objpfx)tst-tables.out): Likewise.
49421         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
49422         ($(objpfx)tst-gettext.out): Likewise.
49423         ($(objpfx)tst-translit.out): Likewise.
49424         ($(objpfx)tst-gettext2.out): Likewise.
49425         ($(objpfx)tst-gettext4.out): Likewise.
49426         ($(objpfx)tst-gettext6.out): Likewise.
49427         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
49428         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
49429         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
49430         ($(objpfx)tst-fopenloc-mem.out): Likewise.
49431         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
49432         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
49433         * posix/Makefile ($(objpfx)globtest.out): Likewise.
49434         ($(objpfx)wordexp-tst.out): Likewise.
49435         ($(objpfx)annexc.out): Likewise.
49436         ($(objpfx)tst-fnmatch-mem): Likewise.
49437         ($(objpfx)bug-regex2-mem): Likewise.
49438         ($(objpfx)bug-regex14-mem): Likewise.
49439         ($(objpfx)bug-regex21-mem): Likewise.
49440         ($(objpfx)bug-regex31-mem): Likewise.
49441         ($(objpfx)tst-vfork3-mem): Likewise.
49442         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49443         ($(objpfx)tst-pcre-mem): Likewise.
49444         ($(objpfx)tst-boost-mem): Likewise.
49445         ($(objpfx)tst-getconf.out): Likewise.
49446         ($(objpfx)bug-ga2-mem): Likewise.
49447         ($(objpfx)bug-glob2-mem): Likewise.
49448         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
49449         ($(objpfx)mtrace-tst-leaks2): Likewise.
49450         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
49451         ($(objpfx)tst-printf.out): Likewise.
49452         ($(objpfx)tst-setvbuf1.out): Likewise.
49453         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
49454         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
49455         ($(objpfx)tst-fmtmsg.out): Likewise.
49456         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
49457         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
49459         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
49460         * bits/sigaction.h [__USE_MISC]: Likewise.
49461         * bits/waitstatus.h: Update #endif comments.
49462         * ctype/ctype.h: Likewise.
49463         * dirent/dirent.h: Likewise.
49464         [__USE_MISC]: Remove redundant conditionals.
49465         * grp/grp.h: Update #endif comments.
49466         [__USE_GNU]: Remove redundant conditionals.
49467         [__USE_MISC]: Likewise.
49468         * inet/netinet/in.h [__USE_GNU]: Likewise.
49469         * io/sys/stat.h [__USE_MISC]: Likewise.
49470         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
49471         * libio/bits/stdio.h: Update #endif comments.
49472         [__USE_MISC]: Remove redundant conditionals.
49473         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
49474         * libio/stdio.h: Update #endif comments.
49475         [__USE_MISC]: Remove redundant conditionals.
49476         * math/bits/math-finite.h [__USE_MISC]: Likewise.
49477         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
49478         * math/math.h: Update #else and #endif comments.
49479         [__USE_MISC]: Remove redundant conditionals.
49480         * misc/sys/uio.h: Update #endif comments.
49481         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
49482         * posix/glob.h [__USE_MISC]: Likewise.
49483         * posix/sys/types.h: Update #endif comments.
49484         [__USE_MISC]: Remove redundant conditionals.
49485         * posix/sys/wait.h: Update #endif comments.
49486         [__USE_MISC]: Remove redundant conditionals.
49487         * posix/unistd.h: Update #endif comments.
49488         [__USE_MISC]: Remove redundant conditionals.
49489         * pwd/pwd.h [__USE_GNU]: Likewise.
49490         [__USE_MISC]: Likewise.
49491         * resolv/netdb.h [__USE_GNU]: Likewise.
49492         * signal/signal.h: Update #endif comments.
49493         [__USE_MISC]: Remove redundant conditionals.
49494         * stdlib/stdlib.h: Update #else and #endif comments.
49495         [__USE_MISC]: Remove redundant conditionals.
49496         [__USE_GNU]: Likewise.
49497         * string/bits/string2.h [__USE_MISC]: Likewise.
49498         * string/string.h: Update #endif comments.
49499         [__USE_MISC]: Remove redundant conditionals.
49500         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
49501         Likewise.
49502         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
49503         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
49504         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
49505         Likewise.
49506         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
49507         Likewise.
49508         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
49509         comments.
49510         [__USE_MISC]: Remove redundant conditionals.
49511         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
49512         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
49513         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
49514         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
49515         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
49516         Likewise.
49517         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
49518         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
49519         Likewise.
49520         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
49521         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
49522         Likewise.
49523         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
49524         Likewise.
49525         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
49526         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
49527         Likewise.
49528         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
49529         Likewise.
49530         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
49531         * sysdeps/x86/bits/string.h: Update #endif comments.
49532         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
49533         conditionals.
49534         * time/sys/time.h: Update #endif comments.
49535         * time/time.h: Likewise.
49536         [__USE_MISC]: Remove redundant conditionals.
49538 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
49540         [BZ #16600]
49541         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
49543 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
49545         * Versions.def (librt): Add GLIBC_2.17.
49547 2014-02-21  Adam Conrad  <adconrad@0c3.net>
49549         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
49550         synonym for _SYS_AUXV_H to allow direct inclusion.
49551         * sysdeps/sparc/bits/hwcap.h: Likewise.
49552         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
49553         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
49554         * sysdeps/sparc/sysdep.h: Likewise.
49556 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49558         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
49560 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
49562         * benchtests/bench-strrchr.c: Print length instead of position.
49564 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
49566         [BZ #16611]
49567         * sysdeps/unix/sysv/linux/kernel-features.h
49568         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
49569         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
49570         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
49571         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
49572         Likewise.
49573         [__i386__ || __powerpc__ || __sh__ || __sparc__]
49574         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49575         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
49576         (__ASSUME_SENDMMSG): Define instead of using previous
49577         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
49578         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49579         (__ASSUME_SENDMMSG_SYSCALL): Define.
49580         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49581         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
49582         Likewise.
49583         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49584         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49585         Likewise.
49586         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49587         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49588         Likewise.
49589         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
49590         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49591         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49592         [__ASSUME_SENDMMSG]: Change conditionals to
49593         [__ASSUME_SENDMMSG_SOCKETCALL].
49594         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49595         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
49596         Define.
49597         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49598         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
49599         Likewise.
49600         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
49601         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49602         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49603         [!__ASSUME_SENDMMSG]: Change conditional to
49604         [!__ASSUME_SENDMMSG_SOCKETCALL].
49605         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49606         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49607         Define.
49609         [BZ #16610]
49610         * sysdeps/unix/sysv/linux/kernel-features.h
49611         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
49612         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
49613         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
49614         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
49615         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
49616         [__i386__ || __sparc__]
49617         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49618         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
49619         (__ASSUME_RECVMMSG): Define instead of using previous
49620         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
49621         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49622         (__ASSUME_RECVMMSG_SYSCALL): Define.
49623         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49624         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49625         Likewise.
49626         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49627         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49628         Likewise.
49629         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49630         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49631         Likewise.
49632         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
49633         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49634         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49635         [__ASSUME_RECVMMSG]: Change condition to
49636         [__ASSUME_RECVMMSG_SOCKETCALL].
49637         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49638         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49639         Define.
49640         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49641         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49642         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49643         Likewise.
49644         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
49645         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49646         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49647         [!__ASSUME_RECVMMSG]: Change condition to
49648         [!__ASSUME_RECVMMSG_SOCKETCALL].
49649         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49650         (__ASSUME_RECVMMSG_SYSCALL): Define.
49652         [BZ #16609]
49653         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
49654         __powerpc__ || __s390__ || __sh__ || __sparc__]
49655         (__ASSUME_SOCKETCALL): Define.
49656         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
49657         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
49658         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
49659         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
49660         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49661         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
49662         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
49663         (__ASSUME_ACCEPT4): Define instead of using previous
49664         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
49665         __powerpc__ || __sparc__ || __s390__)] condition.
49666         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49667         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49668         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
49669         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49670         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49671         [!__ASSUME_ACCEPT4]: Change condition to
49672         [!__ASSUME_ACCEPT4_SOCKETCALL].
49673         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49674         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
49675         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
49676         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49677         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
49678         __ASSUME_ACCEPT4_SYSCALL.
49679         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
49680         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
49681         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49682         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
49683         __ASSUME_ACCEPT4_SYSCALL.
49684         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
49685         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49686         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49687         [__ASSUME_ACCEPT4]: Change condition to
49688         [__ASSUME_ACCEPT4_SOCKETCALL].
49689         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49690         (__ASSUME_SOCKETCALL): Define.
49691         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
49692         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49693         (__ASSUME_SOCKETCALL): Define.
49694         (__ASSUME_ACCEPT4): Remove.
49695         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
49696         Define.
49697         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49698         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
49699         Likewise.
49700         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49701         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49703         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
49704         macro.
49705         (HWCAP_ARM_LPAE): Likewise.
49706         (HWCAP_ARM_EVTSTRM): Likewise.
49707         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
49708         Add vpfd32, lpae and evtstrm.
49709         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
49710         Increase to 22.
49712 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
49714         * math/auto-libm-test-in: Add tests of clog10.
49715         * math/auto-libm-test-out: Regenerated.
49716         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
49717         * sysdeps/i386/fpu/libm-test-ulps: Update.
49718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49720 2014-02-18  Andreas Schwab  <schwab@suse.de>
49722         [BZ #16574]
49723         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
49724         Store non-zero if the second buffer was newly allocated.
49725         (send_dg): Likewise.
49726         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
49727         to send_vc and send_dg.
49728         (res_nsend): Pass NULL for ansp2_malloced.
49729         * resolv/res_query.c (__libc_res_nquery): Add parameter
49730         answerp2_malloced and pass it down to __libc_res_nsend.
49731         (res_nquery): Pass additional NULL to __libc_res_nquery.
49732         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
49733         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
49734         second answer buffer if answerp2_malloced was set.
49735         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
49736         (__libc_res_nquerydomain): Add parameter
49737         answerp2_malloced and pass it down to __libc_res_nquery.
49738         (res_nquerydomain): Pass additional NULL to
49739         __libc_res_nquerydomain.
49740         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
49741         additional NULL to __libc_res_nsend and __libc_res_nquery.
49742         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
49743         additional NULL to __libc_res_nsearch.
49744         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
49745         parameter of __libc_res_nsearch to check for separately allocated
49746         second buffer.
49747         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
49748         __libc_res_nquery.
49749         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
49750         additional NULL to __libc_res_nquery.
49751         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
49752         __libc_res_nsearch.
49753         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
49754         * include/resolv.h: Update prototypes of __libc_res_nquery,
49755         __libc_res_nsearch, __libc_res_nsend.
49757 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
49759         * math/auto-libm-test-in: Add tests of fma.
49760         * math/auto-libm-test-out: Regenerated.
49761         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
49762         (fma_towardzero_test_data): Likewise.
49763         (fma_downward_test_data): Likewise.
49764         (fma_upward_test_data): Likewise.
49765         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
49766         mpc_mode.
49767         (rounding_modes): Add values for new field.
49768         (func_calc_method): Add value mpfr_fff_f.
49769         (func_calc_desc): Add mpfr_fff_f union field.
49770         (test_function): Add field exact_args.
49771         (FUNC): Add macro argument EXACT_ARGS.
49772         (FUNC_mpfr_f_f): Update call to FUNC.
49773         (FUNC_mpfr_f_f): Likewise.
49774         (FUNC_mpfr_ff_f): Likewise.
49775         (FUNC_mpfr_if_f): Likewise.
49776         (FUNC_mpc_c_f): Likewise.
49777         (FUNC_mpc_c_c): Likewise.
49778         (test_functions): Add fma.  Update calls to FUNC.
49779         (handle_input_arg): Add argument exact_args.
49780         (add_test): Update call to handle_input_arg.
49781         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
49782         (output_for_one_input_case): Update call to calc_generic_results.
49783         Recalculate exact zero results in each rounding mode.
49785         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
49786         non-negative before setting low bit.
49787         * math/auto-libm-test-in: Mark one asin test possibly having
49788         spurious underflow.
49789         * math/auto-libm-test-out: Regenerated.
49790         * sysdeps/i386/fpu/libm-test-ulps: Update.
49791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49793 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
49795         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
49796         * sysdeps/unix/sysv/linux/microblaze: Move directory from
49797         ports/sysdeps/unix/sysv/linux/microblaze.
49798         * README: Add missing listing for microblaze*-*-linux-gnu.
49800 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
49802         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
49803         duplicate code
49805 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
49807         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
49808         * sysdeps/unix/sysv/linux/ia64: Move directory from
49809         ports/sysdeps/unix/sysv/linux/ia64.
49810         * README: Update listing for ia64-*-linux-gnu.
49812 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
49813             Joseph Myers  <joseph@codesourcery.com>
49815         * Makeconfig (test-name): New variable.
49816         (evaluate-test): Likewise.
49817         * Makerules (do-test-clean): Remove .test-result files.
49818         (common-mostlyclean): Likewise.
49819         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
49820         * scripts/evaluate-test.sh: New file.
49822 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
49824         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
49825         separate $(objpfx)tst-fopenloc-cmp.out and
49826         $(objpfx)tst-fopenloc-mem.out targets.
49827         (tests): Update dependencies.
49828         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
49829         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
49830         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
49831         (tst-rxspencer-no-utf8-ARGS): New variable.
49832         (tst-rxspencer-no-utf8-ENV): Likewise.
49833         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
49834         instead of $(objpfx)tst-rxspencer-mem.
49835         ($(objpfx)tst-rxspencer-mem): Change target to
49836         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
49837         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
49838         * posix/tst-rxspencer-no-utf8.c: New file.
49840         * elf/Makefile ($(objpfx)order.out): Remove rule.
49841         [$(run-built-tests) = yes] (tests): Depend on
49842         $(objpfx)order-cmp.out.
49843         ($(objpfx)order-cmp.out): New rule.
49844         [$(run-built-tests) = yes] (tests): Depend on
49845         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
49846         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
49847         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
49848         $(objpfx)tst-array5-static-cmp.out.
49849         ($(objpfx)tst-array1.out): Remove rule.
49850         ($(objpfx)tst-array1-cmp.out): New rule.
49851         ($(objpfx)tst-array1-static.out): Remove rule.
49852         ($(objpfx)tst-array1-static-cmp.out): New rule.
49853         ($(objpfx)tst-array2.out): Remove rule.
49854         ($(objpfx)tst-array2-cmp.out): New rule.
49855         ($(objpfx)tst-array3.out): Remove rule.
49856         ($(objpfx)tst-array3-cmp.out): New rule.
49857         ($(objpfx)tst-array4.out): Remove rule.
49858         ($(objpfx)tst-array4-cmp.out): New rule.
49859         ($(objpfx)tst-array5.out): Remove rule.
49860         ($(objpfx)tst-array5-cmp.out): New rule.
49861         ($(objpfx)tst-array5-static.out): Remove rule.
49862         ($(objpfx)tst-array5-static-cmp.out): New rule.
49863         [$(run-built-tests) = yes] (tests): Depend on
49864         $(objpfx)order2-cmp.out.
49865         ($(objpfx)order2.out): Remove rule.
49866         ($(objpfx)order2-cmp.out): New rule.
49867         ($(objpfx)tst-initorder.out): Remove rule.
49868         [$(run-built-tests) = yes] (tests): Depend on
49869         $(objpfx)tst-initorder-cmp.out.
49870         ($(objpfx)tst-initorder-cmp.out): New rule.
49871         ($(objpfx)tst-initorder2.out): Remove rule.
49872         [$(run-built-tests) = yes] (tests): Depend on
49873         $(objpfx)tst-initorder2-cmp.out.
49874         ($(objpfx)tst-initorder2-cmp.out): New rule.
49875         [$(run-built-tests) = yes] (tests): Depend on
49876         $(objpfx)tst-unused-dep-cmp.out.
49877         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
49878         ($(objpfx)tst-unused-dep-cmp.out): New rule.
49879         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
49880         on $(objpfx)tst-setvbuf1-cmp.out.
49881         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
49882         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
49883         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
49884         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
49885         ($(objpfx)tst-svc.out): Remove rule.
49886         ($(objpfx)tst-svc-cmp.out): New rule.
49888 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
49890         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
49891         * ctype/ctype.h [__USE_MISC]: Likewise.
49892         * dirent/dirent.h [__USE_MISC]: Likewise.
49893         * grp/grp.h [__USE_MISC]: Likewise.
49894         * io/fcntl.h [__USE_MISC]: Likewise.
49895         * io/sys/stat.h [__USE_MISC]: Likewise.
49896         * libio/stdio.h [__USE_MISC]: Likewise.
49897         * posix/unistd.h [__USE_MISC]: Likewise.
49898         * pwd/pwd.h [__USE_MISC]: Likewise.
49899         * stdlib.h [__USE_MISC]: Likewise.
49900         * string/bits/string2.h [__USE_MISC]: Likewise.
49901         * string/string.h [__USE_MISC]: Likewise.
49902         * time/time.h [__USE_MISC]: Likewise.
49904 2014-02-13  Andreas Schwab  <schwab@suse.de>
49906         [BZ #16574]
49907         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
49908         second answer buffer if it was separately allocated.
49910 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
49912         * sysdeps/mips/math-tests.h: Include <features.h>.
49913         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49914         (ROUNDING_TESTS_long_double): Do not define.
49915         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49916         (EXCEPTION_TESTS_long_double): Likewise.
49917         * sysdeps/mips/mips64/libm-test-ulps: Update.
49919         * include/features.h (__USE_BSD): Remove macro definitions.
49920         (__USE_SVID): Likewise.
49921         (_BSD_SOURCE): Likewise.
49922         (_SVID_SOURCE): Likewise.
49923         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
49924         from definition of _DEFAULT_SOURCE.
49925         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
49926         [_DEFAULT_SOURCE].
49927         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
49928         * bits/mman.h [__USE_BSD]: Likewise.
49929         * bits/termios.h [__USE_BSD]: Likewise.
49930         * bits/waitstatus.h [__USE_BSD]: Likewise.
49931         * ctype/ctype.h [__USE_SVID]: Likewise.
49932         * dirent/dirent.h [__USE_BSD]: Likewise.
49933         * grp/grp.h [__USE_SVID]: Likewise.
49934         [__USE_BSD]: Likewise.
49935         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
49936         * io/fcntl.h [__USE_BSD]: Likewise.
49937         * io/ftw.h [__USE_BSD]: Likewise.
49938         * io/sys/stat.h [__USE_BSD]: Likewise.
49939         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
49940         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
49941         * libio/stdio.h [__USE_SVID]: Likewise.
49942         [__USE_BSD]: Likewise.
49943         * math/math.h [__USE_SVID]: Likewise.
49944         [__USE_BSD]: Likewise.
49945         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
49946         * misc/bits/syslog.h [__USE_BSD]: Likewise.
49947         * misc/search.h [__USE_SVID]: Likewise.
49948         * misc/sys/mman.h [__USE_BSD]: Likewise.
49949         * misc/sys/syslog.h [__USE_BSD]: Likewise.
49950         * misc/sys/uio.h [__USE_BSD]: Likewise.
49951         * posix/bits/unistd.h [__USE_BSD]: Likewise.
49952         * posix/glob.h [__USE_BSD]: Likewise.
49953         * posix/regex.h [__USE_BSD]: Likewise.
49954         * posix/sys/types.h [__USE_BSD]: Likewise.
49955         [__USE_SVID]: Likewise.
49956         * posix/sys/utsname.h [__USE_SVID]: Likewise.
49957         * posix/sys/wait.h [__USE_BSD]: Likewise.
49958         [__USE_SVID]: Likewise.
49959         * posix/unistd.h [__USE_BSD]: Likewise.
49960         [__USE_SVID]: Likewise.
49961         * pwd/pwd.h [__USE_SVID]: Likewise.
49962         * resolv/netdb.h [__USE_BSD]: Likewise.
49963         * setjmp/setjmp.h [__USE_BSD]: Likewise.
49964         * signal/signal.h [__USE_BSD]: Likewise.
49965         [__USE_SVID]: Likewise.
49966         * socket/sys/socket.h [__USE_BSD]: Likewise.
49967         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
49968         * stdlib/stdlib.h [__USE_BSD]: Likewise.
49969         [__USE_SVID]: Likewise.
49970         * string/bits/string2.h [__USE_BSD]: Likewise.
49971         [__USE_SVID]: Likewise.
49972         * string/bits/string3.h [__USE_BSD]: Likewise.
49973         * string/endian.h [__USE_BSD]: Likewise.
49974         * string/string.h [__USE_SVID]: Likewise.
49975         [__USE_BSD]: Likewise.
49976         * string/strings.h [__USE_BSD]: Likewise.
49977         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
49978         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
49979         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
49980         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
49981         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
49982         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
49983         Likewise.
49984         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
49985         Likewise.
49986         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
49987         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
49988         Likewise.
49989         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
49990         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
49991         Likewise.
49992         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
49993         Likewise.
49994         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
49995         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
49996         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
49997         Likewise.
49998         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
49999         Likewise.
50000         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
50001         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
50002         * termios/termios.h [__USE_BSD]: Likewise.
50003         * time/sys/time.h [__USE_BSD]: Likewise.
50004         * time/time.h [__USE_BSD]: Likewise.
50005         [__USE_SVID]: Likewise.
50007         * Makefile (subdir_targets): Remove subdir_lint.out.
50009         * stdio-common/Makefile (do-tst-unbputc): Remove target.
50010         (do-tst-printf): Likewise.
50011         (tests): Depend directly on $(objpfx)tst-unbputc.out and
50012         $(objpfx)tst-printf.out.
50014         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
50016         * Makerules (check-abi-%): Change target to
50017         $(objpfx)check-abi-%.out.
50018         (check-abi target): Update dependencies.
50019         (check-abi-pattern variable): Redirect output of diff to $@.
50020         (check-abi variable): Likewise.
50021         * elf/Makefile (check-abi): Update dependencies.
50023         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
50024         unused.
50025         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
50026         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
50027         subnormal range.
50028         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
50029         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
50030         value has largest subnormal exponent.
50031         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
50032         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
50033         * sysdeps/aarch64/soft-fp/sfp-machine.h
50034         (_FP_TININESS_AFTER_ROUNDING): New macro.
50035         * sysdeps/alpha/soft-fp/sfp-machine.h
50036         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50037         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50038         Likewise.
50039         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
50040         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50041         * sysdeps/mips/soft-fp/sfp-machine.h
50042         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50043         * sysdeps/powerpc/soft-fp/sfp-machine.h
50044         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50045         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50046         Likewise.
50047         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50048         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50049         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50050         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50051         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50052         Likewise.
50054 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
50056         [BZ #16545]
50057         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
50058         model 1.
50060 2014-02-12  Richard Henderson  <rth@redhat.com>
50062         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
50063         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
50064         * sysdeps/unix/sysv/linux/alpha: Move directory from
50065         ports/sysdeps/unix/sysv/linux/alpha.
50066         * README: Update listing for alpha-*-linux-gnu.
50068 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
50070         * include/features.h: Update comment documenting feature test
50071         macros.
50072         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
50073         _DEFAULT_SOURCE.
50074         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
50075         (_SVID_SOURCE): Likewise.
50076         (_DEFAULT_SOURCE): Update description of default features.
50077         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
50078         with _GNU_SOURCE.
50079         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
50080         (S_ISVTX): Likewise.
50081         * manual/math.texi (Mathematical Constants): Likewise.
50082         * manual/signal.texi (Interrupted Primitives): Likewise.
50083         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
50084         * math/test-matherr.c (_SVID_SOURCE): Do not define.
50085         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
50086         Don't refer to _SVID_SOURCE in warning text.
50088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50090         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
50091         already defined.
50092         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
50093         * sysdeps/mips/dl-lookup.c: Remove.
50094         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
50096 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
50098         [BZ #16447]
50099         * math/auto-libm-test-in: Add testcase for expl.
50100         * math/auto-libm-test-out: Regenerate.
50101         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
50102         calculation of unsafe.
50103         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
50105 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50107         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
50108         * sysdeps/unix/sysv/linux/aarch64: Move directory from
50109         ports/sysdeps/unix/sysv/linux/aarch64.
50110         * README: Update listing for aarch64*-*-linux-gnu.
50112 2014-02-11  Will Newton  <will.newton@linaro.org>
50114         * manual/probes.texi (Mathematical Function Probes): Use
50115         "triggered" instead of "hit".
50117         * manual/probes.texi (Internal Probes): Add documentation
50118         of setjmp, longjmp and longjmp_target probes.
50120         * include/stap-probe.h: Add comment about probe argument
50121         format.
50123         * malloc/mtrace.c (attribute_hidden): Remove unused macro
50124         definition.  (tr_where, tr_freehook, tr_mallochook,
50125         tr_reallochook, tr_memalignhook): Use ANSI protoype.
50127 2014-02-11  David S. Miller  <davem@davemloft.net>
50129         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
50130         processing int_tests.
50132 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
50134         * sysdeps/mips: Move directory from ports/sysdeps/mips.
50135         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
50136         * sysdeps/unix/sysv/linux/mips: Move directory from
50137         ports/sysdeps/unix/sysv/linux/mips.
50138         * README: Update listing for mips-*-linux-gnu and
50139         mips64-*-linux-gnu.
50141 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
50143         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
50144         * sysdeps/unix/sysv/linux/m68k: Move directory from
50145         ports/sysdeps/unix/sysv/linux/m68k.
50146         * README: Update listing for m68k-*-linux-gnu.
50148 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
50150         * sysdeps/tile: Move directory from ports/sysdeps/tile.
50151         * sysdeps/unix/sysv/linux/generic: Move directory from
50152         ports/sysdeps/unix/sysv/linux/generic.
50153         * sysdeps/unix/sysv/linux/tile: Move directory from
50154         ports/sysdeps/unix/sysv/linux/tile.
50155         * README: Update listing for tile*-*-linux-gnu.
50157 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
50159         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
50160         __builtin_expect.
50161         * benchtests/bench-memmem.c (simple_memmem): Likewise.
50162         * catgets/open_catalog.c (__open_catalog): Likewise.
50163         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
50164         * debug/confstr_chk.c: Likewise.
50165         * debug/fread_chk.c (__fread_chk): Likewise.
50166         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
50167         * debug/getgroups_chk.c: Likewise.
50168         * debug/mbsnrtowcs_chk.c: Likewise.
50169         * debug/mbsrtowcs_chk.c: Likewise.
50170         * debug/mbstowcs_chk.c: Likewise.
50171         * debug/memcpy_chk.c: Likewise.
50172         * debug/memmove_chk.c: Likewise.
50173         * debug/mempcpy_chk.c: Likewise.
50174         * debug/memset_chk.c: Likewise.
50175         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50176         * debug/strcat_chk.c (__strcat_chk): Likewise.
50177         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
50178         * debug/strncat_chk.c (__strncat_chk): Likewise.
50179         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
50180         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
50181         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
50182         * debug/wcpncpy_chk.c: Likewise.
50183         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50184         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
50185         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
50186         * debug/wcsncpy_chk.c: Likewise.
50187         * debug/wcsnrtombs_chk.c: Likewise.
50188         * debug/wcsrtombs_chk.c: Likewise.
50189         * debug/wcstombs_chk.c: Likewise.
50190         * debug/wmemcpy_chk.c: Likewise.
50191         * debug/wmemmove_chk.c: Likewise.
50192         * debug/wmempcpy_chk.c: Likewise.
50193         * debug/wmemset_chk.c: Likewise.
50194         * dirent/scandirat.c (SCANDIRAT): Likewise.
50195         * dlfcn/dladdr1.c (dladdr1): Likewise.
50196         * dlfcn/dladdr.c (dladdr): Likewise.
50197         * dlfcn/dlclose.c (dlclose_doit): Likewise.
50198         * dlfcn/dlerror.c (__dlerror): Likewise.
50199         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
50200         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
50201         * dlfcn/dlopen.c (dlopen_doit): Likewise.
50202         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
50203         * dlfcn/dlsym.c (dlsym_doit): Likewise.
50204         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
50205         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
50206         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
50207         Likewise.
50208         * elf/dl-conflict.c: Likewise.
50209         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
50210         * elf/dl-dst.h: Likewise.
50211         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
50212         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
50213         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
50214         * elf/dl-init.c (call_init, _dl_init): Likewise.
50215         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
50216         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
50217         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
50218         Likewise.
50219         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
50220         Likewise.
50221         * elf/dl-minimal.c (__libc_memalign): Likewise.
50222         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
50223         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50224         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
50225         * elf/dl-sym.c (do_sym): Likewise.
50226         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
50227         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
50228         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
50229         * elf/dl-writev.h (_dl_writev): Likewise.
50230         * elf/ldconfig.c (search_dir): Likewise.
50231         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
50232         (dl_main): Likewise.
50233         * elf/setup-vdso.h (setup_vdso): Likewise.
50234         * grp/compat-initgroups.c (compat_call): Likewise.
50235         * grp/fgetgrent.c (fgetgrent): Likewise.
50236         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
50237         * grp/putgrent.c (putgrent): Likewise.
50238         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50239         Likewise.
50240         * hurd/hurdinit.c: Likewise.
50241         * iconvdata/8bit-gap.c (struct): Likewise.
50242         * iconvdata/ansi_x3.110.c : Likewise.
50243         * iconvdata/big5.c : Likewise.
50244         * iconvdata/big5hkscs.c : Likewise.
50245         * iconvdata/cp1255.c: Likewise.
50246         * iconvdata/cp1258.c : Likewise.
50247         * iconvdata/cp932.c : Likewise.
50248         * iconvdata/euc-cn.c: Likewise.
50249         * iconvdata/euc-jisx0213.c : Likewise.
50250         * iconvdata/euc-jp.c: Likewise.
50251         * iconvdata/euc-jp-ms.c : Likewise.
50252         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
50253         * iconvdata/gb18030.c : Likewise.
50254         * iconvdata/gbbig5.c (const): Likewise.
50255         * iconvdata/gbgbk.c: Likewise.
50256         * iconvdata/gbk.c : Likewise.
50257         * iconvdata/ibm1364.c : Likewise.
50258         * iconvdata/ibm930.c : Likewise.
50259         * iconvdata/ibm932.c: Likewise.
50260         * iconvdata/ibm933.c : Likewise.
50261         * iconvdata/ibm935.c : Likewise.
50262         * iconvdata/ibm937.c : Likewise.
50263         * iconvdata/ibm939.c : Likewise.
50264         * iconvdata/ibm943.c: Likewise.
50265         * iconvdata/iso_11548-1.c: Likewise.
50266         * iconvdata/iso-2022-cn.c : Likewise.
50267         * iconvdata/iso-2022-cn-ext.c : Likewise.
50268         * iconvdata/iso-2022-jp-3.c: Likewise.
50269         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
50270         * iconvdata/iso-2022-kr.c : Likewise.
50271         * iconvdata/iso646.c (gconv_end): Likewise.
50272         * iconvdata/iso_6937-2.c : Likewise.
50273         * iconvdata/iso_6937.c : Likewise.
50274         * iconvdata/iso8859-1.c: Likewise.
50275         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
50276         * iconvdata/shift_jisx0213.c : Likewise.
50277         * iconvdata/sjis.c : Likewise.
50278         * iconvdata/t.61.c : Likewise.
50279         * iconvdata/tcvn5712-1.c : Likewise.
50280         * iconvdata/tscii.c: Likewise.
50281         * iconvdata/uhc.c : Likewise.
50282         * iconvdata/unicode.c (gconv_end): Likewise.
50283         * iconvdata/utf-16.c (gconv_end): Likewise.
50284         * iconvdata/utf-32.c (gconv_end): Likewise.
50285         * iconvdata/utf-7.c (base64): Likewise.
50286         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
50287         * iconv/gconv_close.c (__gconv_close): Likewise.
50288         * iconv/gconv_open.c (__gconv_open): Likewise.
50289         * iconv/gconv_simple.c (internal_ucs4_loop_single)
50290         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
50291         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
50292         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
50293         (ucs4le_internal_loop_single): Likewise.
50294         * iconv/iconv.c (iconv): Likewise.
50295         * iconv/iconv_close.c: Likewise.
50296         * iconv/loop.c (SINGLE): Likewise.
50297         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
50298         * include/atomic.h: Likewise.
50299         * inet/inet6_option.c (option_alloc): Likewise.
50300         * intl/bindtextdom.c (set_binding_values): Likewise.
50301         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
50302         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
50303         * intl/localealias.c (read_alias_file): Likewise.
50304         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
50305         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
50306         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
50307         * libio/fmemopen.c (fmemopen): Likewise.
50308         * libio/iofgets.c (_IO_fgets): Likewise.
50309         * libio/iofgets_u.c (fgets_unlocked): Likewise.
50310         * libio/iofgetws.c (fgetws): Likewise.
50311         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
50312         * libio/iogetdelim.c (_IO_getdelim): Likewise.
50313         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
50314         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
50315         * locale/findlocale.c (_nl_find_locale): Likewise.
50316         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
50317         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
50318         Likewise.
50319         * locale/setlocale.c (setlocale): Likewise.
50320         * login/programs/pt_chown.c (main): Likewise.
50321         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
50322         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
50323         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
50324         (mmap, mmap64, mremap, munmap): Likewise.
50325         * math/e_exp2l.c: Likewise.
50326         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
50327         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
50328         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
50329         * math/s_catan.c (__catan): Likewise.
50330         * math/s_catanf.c (__catanf): Likewise.
50331         * math/s_catanh.c (__catanh): Likewise.
50332         * math/s_catanhf.c (__catanhf): Likewise.
50333         * math/s_catanhl.c (__catanhl): Likewise.
50334         * math/s_catanl.c (__catanl): Likewise.
50335         * math/s_ccosh.c (__ccosh): Likewise.
50336         * math/s_ccoshf.c (__ccoshf): Likewise.
50337         * math/s_ccoshl.c (__ccoshl): Likewise.
50338         * math/s_cexp.c (__cexp): Likewise.
50339         * math/s_cexpf.c (__cexpf): Likewise.
50340         * math/s_cexpl.c (__cexpl): Likewise.
50341         * math/s_clog10.c (__clog10): Likewise.
50342         * math/s_clog10f.c (__clog10f): Likewise.
50343         * math/s_clog10l.c (__clog10l): Likewise.
50344         * math/s_clog.c (__clog): Likewise.
50345         * math/s_clogf.c (__clogf): Likewise.
50346         * math/s_clogl.c (__clogl): Likewise.
50347         * math/s_csin.c (__csin): Likewise.
50348         * math/s_csinf.c (__csinf): Likewise.
50349         * math/s_csinh.c (__csinh): Likewise.
50350         * math/s_csinhf.c (__csinhf): Likewise.
50351         * math/s_csinhl.c (__csinhl): Likewise.
50352         * math/s_csinl.c (__csinl): Likewise.
50353         * math/s_csqrt.c (__csqrt): Likewise.
50354         * math/s_csqrtf.c (__csqrtf): Likewise.
50355         * math/s_csqrtl.c (__csqrtl): Likewise.
50356         * math/s_ctan.c (__ctan): Likewise.
50357         * math/s_ctanf.c (__ctanf): Likewise.
50358         * math/s_ctanh.c (__ctanh): Likewise.
50359         * math/s_ctanhf.c (__ctanhf): Likewise.
50360         * math/s_ctanhl.c (__ctanhl): Likewise.
50361         * math/s_ctanl.c (__ctanl): Likewise.
50362         * math/w_pow.c: Likewise.
50363         * math/w_powf.c: Likewise.
50364         * math/w_powl.c: Likewise.
50365         * math/w_scalb.c (sysv_scalb): Likewise.
50366         * math/w_scalbf.c (sysv_scalbf): Likewise.
50367         * math/w_scalbl.c (sysv_scalbl): Likewise.
50368         * misc/error.c (error_tail): Likewise.
50369         * misc/pselect.c (__pselect): Likewise.
50370         * nis/nis_callback.c (__nis_create_callback): Likewise.
50371         * nis/nis_call.c (__nisfind_server): Likewise.
50372         * nis/nis_creategroup.c (nis_creategroup): Likewise.
50373         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
50374         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
50375         * nis/nis_getservlist.c (nis_getservlist): Likewise.
50376         * nis/nis_lookup.c (nis_lookup): Likewise.
50377         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
50378         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
50379         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
50380         * nis/nis_xdr.c (xdr_endpoint): Likewise.
50381         * nis/nss_compat/compat-grp.c (getgrent_next_file)
50382         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
50383         * nis/nss_compat/compat-initgroups.c (add_group)
50384         (internal_getgrent_r): Likewise.
50385         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
50386         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
50387         * nis/nss_compat/compat-spwd.c (getspent_next_file)
50388         (internal_getspnam_r): Likewise.
50389         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
50390         (_nss_nis_getaliasbyname_r): Likewise.
50391         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
50392         (_nss_nis_getntohost_r): Likewise.
50393         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
50394         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
50395         (_nss_nis_getgrgid_r): Likewise.
50396         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
50397         (internal_nis_gethostent_r, internal_gethostbyname2_r)
50398         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
50399         (_nss_nis_gethostbyname4_r): Likewise.
50400         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
50401         (initgroups_netid): Likewise.
50402         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
50403         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
50404         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
50405         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
50406         (_nss_nis_getprotobynumber_r): Likewise.
50407         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
50408         (_nss_nis_getsecretkey): Likewise.
50409         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
50410         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
50411         (_nss_nis_getpwuid_r): Likewise.
50412         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
50413         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
50414         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
50415         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
50416         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
50417         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
50418         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
50419         Likewise.
50420         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
50421         (_nss_nisplus_getntohost_r): Likewise.
50422         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
50423         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
50424         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
50425         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
50426         Likewise.
50427         * nis/nss_nisplus/nisplus-initgroups.c
50428         (_nss_nisplus_initgroups_dyn): Likewise.
50429         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
50430         (_nss_nisplus_getnetbyaddr_r): Likewise.
50431         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
50432         (_nss_nisplus_getprotobynumber_r): Likewise.
50433         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
50434         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
50435         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
50436         Likewise.
50437         * nis/nss_nisplus/nisplus-service.c
50438         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
50439         (_nss_nisplus_getservbyport_r): Likewise.
50440         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
50441         (_nss_nisplus_getspnam_r): Likewise.
50442         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
50443         Likewise.
50444         * nscd/aicache.c (addhstaiX): Likewise.
50445         * nscd/cache.c (cache_search, prune_cache): Likewise.
50446         * nscd/connections.c (register_traced_file, send_ro_fd)
50447         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
50448         (main_loop_epoll): Likewise.
50449         * nscd/grpcache.c (addgrbyX): Likewise.
50450         * nscd/hstcache.c (addhstbyX): Likewise.
50451         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50452         * nscd/mem.c (gc, mempool_alloc): Likewise.
50453         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
50454         (addinnetgrX): Likewise.
50455         * nscd/nscd-client.h (__nscd_acquire_maplock)
50456         (__nscd_drop_map_ref): Likewise.
50457         * nscd/nscd_getai.c (__nscd_getai): Likewise.
50458         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
50459         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
50460         Likewise.
50461         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
50462         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50463         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
50464         (__nscd_get_map_ref): Likewise.
50465         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
50466         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
50467         Likewise.
50468         * nscd/pwdcache.c (addpwbyX): Likewise.
50469         * nscd/selinux.c (preserve_capabilities): Likewise.
50470         * nscd/servicescache.c (addservbyX): Likewise.
50471         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
50472         * posix/fnmatch.c (fnmatch): Likewise.
50473         * posix/getopt.c (_getopt_internal_r): Likewise.
50474         * posix/glob.c (glob, glob_in_dir): Likewise.
50475         * posix/wordexp.c (exec_comm_child): Likewise.
50476         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
50477         (getanswer_r, gaih_getanswer_slice): Likewise.
50478         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
50479         * resolv/res_init.c: Likewise.
50480         * resolv/res_mkquery.c (res_nmkquery): Likewise.
50481         * resolv/res_query.c (__libc_res_nquery): Likewise.
50482         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
50483         Likewise.
50484         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
50485         * stdio-common/perror.c (perror): Likewise.
50486         * stdio-common/printf_fp.c (___printf_fp): Likewise.
50487         * stdio-common/tmpnam.c (tmpnam): Likewise.
50488         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50489         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
50490         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
50491         Likewise.
50492         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
50493         * stdlib/putenv.c (putenv): Likewise.
50494         * stdlib/setenv.c (__add_to_environ): Likewise.
50495         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50496         * stdlib/strtol_l.c (INTERNAL): Likewise.
50497         * string/memmem.c (memmem): Likewise.
50498         * string/strerror.c (strerror): Likewise.
50499         * string/strnlen.c (__strnlen): Likewise.
50500         * string/test-memmem.c (simple_memmem): Likewise.
50501         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
50502         * sunrpc/pm_getport.c (__get_socket): Likewise.
50503         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
50504         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
50505         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
50506         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
50507         Likewise.
50508         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
50509         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
50510         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
50511         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
50512         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
50513         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
50514         Likewise.
50515         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
50516         Likewise.
50517         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
50518         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
50519         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50520         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
50521         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
50522         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
50523         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50524         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
50525         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
50526         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
50527         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50528         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
50529         Likewise.
50530         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
50531         Likewise.
50532         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
50533         Likewise.
50534         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
50535         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50536         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
50537         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
50538         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
50539         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
50540         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50541         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
50542         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
50543         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
50544         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
50545         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50546         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50547         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
50548         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50549         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
50550         Likewise.
50551         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
50552         Likewise.
50553         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
50554         Likewise.
50555         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
50556         Likewise.
50557         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50558         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50559         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
50560         Likewise.
50561         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
50562         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
50563         * sysdeps/posix/opendir.c (__opendirat): Likewise.
50564         * sysdeps/posix/sleep.c: Likewise.
50565         * sysdeps/posix/tempname.c: Likewise.
50566         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
50567         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50568         Likewise.
50569         * sysdeps/powerpc/powerpc32/dl-machine.h
50570         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
50571         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50572         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50573         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
50574         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
50575         Likewise.
50576         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
50577         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
50578         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50579         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
50580         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50581         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
50582         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
50583         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
50584         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50585         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
50586         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
50587         (elf_machine_lazy_rel): Likewise.
50588         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50589         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
50590         (elf_machine_lazy_rel): Likewise.
50591         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
50592         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
50593         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
50594         * sysdeps/unix/grantpt.c (grantpt): Likewise.
50595         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
50596         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
50597         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
50598         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50599         Likewise.
50600         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
50601         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
50602         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
50603         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
50604         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50605         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50606         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
50607         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
50608         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
50609         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50610         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50611         Likewise.
50612         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
50613         (__posix_fallocate64_l64): Likewise.
50614         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
50615         (posix_fallocate): Likewise.
50616         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
50617         Likewise.
50618         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50619         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
50620         (getifaddrs_internal): Likewise.
50621         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
50622         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
50623         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
50624         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
50625         * sysdeps/unix/sysv/linux/posix_fallocate64.c
50626         (__posix_fallocate64_l64): Likewise.
50627         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
50628         Likewise.
50629         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
50630         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
50631         (__get_clockfreq): Likewise.
50632         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
50633         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
50634         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
50635         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50636         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50637         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
50638         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
50639         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
50640         Likewise.
50641         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
50642         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
50643         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
50644         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
50645         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50646         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
50647         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
50648         Likewise.
50649         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50650         (posix_fallocate): Likewise.
50651         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50652         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
50653         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
50654         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
50655         (elf_machine_rela, elf_machine_rela_relative)
50656         (elf_machine_lazy_rel): Likewise.
50657         * time/asctime.c (asctime_internal): Likewise.
50658         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
50659         * time/tzset.c (__tzset_parse_tz): Likewise.
50660         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
50661         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
50662         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
50663         * wcsmbs/wcsmbsload.h: Likewise.
50665         [BZ #15894]
50666         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
50668         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
50669         (arena_get2): Remove THREAD_STATS conditionals.
50670         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
50671         (__malloc_stats, int): Likewise.
50673 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
50675         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
50676         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
50678         * manual/setjmp.texi: Fix typos/grammar errors.
50680         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
50681         Only return early when n is <= 0.  Delete unused return statement.
50683         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
50684         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
50685         * debug/tst-longjmp_chk3.c: New file.
50687         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
50688         (test_main): Replace code with set_fortify_handler call.
50689         * debug/test-strcpy_chk.c: Likewise.
50690         * debug/tst-chk1.c: Likewise.
50691         * debug/tst-longjmp_chk.c: Likewise.
50692         * test-skeleton.c: Include fcntl.h & paths.h
50693         (set_fortify_handler): Define.
50695         * debug/tst-longjmp_chk.c: Add header comment and include
50696         ../test-skeleton.c.
50697         (do_test): Mark static.
50698         (TEST_FUNCTION): Define.
50700         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
50701         (IP_PMTUDISC_INTERFACE): Likewise.
50702         (IP_MULTICAST_IF): Likewise.
50703         (IP_MULTICAST_TTL): Likewise.
50704         (IP_MULTICAST_LOOP): Likewise.
50705         (IP_ADD_MEMBERSHIP): Likewise.
50706         (IP_DROP_MEMBERSHIP): Likewise.
50707         (IP_UNBLOCK_SOURCE): Likewise.
50708         (IP_BLOCK_SOURCE): Likewise.
50709         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
50710         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
50711         (IP_MSFILTER): Likewise.
50712         (MCAST_JOIN_GROUP): Likewise.
50713         (MCAST_BLOCK_SOURCE): Likewise.
50714         (MCAST_UNBLOCK_SOURCE): Likewise.
50715         (MCAST_LEAVE_GROUP): Likewise.
50716         (MCAST_JOIN_SOURCE_GROUP): Likewise.
50717         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
50718         (MCAST_MSFILTER): Likewise.
50719         (IP_MULTICAST_ALL): Likewise.
50720         (IP_UNICAST_IF): Likewise.
50722         * timezone/Makefile: Delete $(have-ksh) check.
50723         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
50724         * timezone/tzselect.ksh: Add +x mode bits.
50726         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
50727         (ANON_INODE_FS_MAGIC): Likewise.
50728         (BDEVFS_MAGIC): Likewise.
50729         (BINFMTFS_MAGIC): Likewise.
50730         (BTRFS_TEST_MAGIC): Likewise.
50731         (CRAMFS_MAGIC_WEND): Likewise.
50732         (DEBUGFS_MAGIC): Likewise.
50733         (ECRYPTFS_SUPER_MAGIC): Likewise.
50734         (EXT3_SUPER_MAGIC): Likewise.
50735         (EXT4_SUPER_MAGIC): Likewise.
50736         (FUTEXFS_SUPER_MAGIC): Likewise.
50737         (HOSTFS_SUPER_MAGIC): Likewise.
50738         (HUGETLBFS_MAGIC): Likewise.
50739         (MINIX3_SUPER_MAGIC): Likewise.
50740         (MTD_INODE_FS_MAGIC): Likewise.
50741         (NILFS_SUPER_MAGIC): Likewise.
50742         (OPENPROM_SUPER_MAGIC): Likewise.
50743         (PIPEFS_MAGIC): Likewise.
50744         (PSTOREFS_MAGIC): Likewise.
50745         (QNX6_SUPER_MAGIC): Likewise.
50746         (RAMFS_MAGIC): Likewise.
50747         (REISERFS_SUPER_MAGIC_STRING): Likewise.
50748         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
50749         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
50750         (SECURITYFS_MAGIC): Likewise.
50751         (SELINUX_MAGIC): Likewise.
50752         (SMACK_MAGIC): Likewise.
50753         (SOCKFS_MAGIC): Likewise.
50754         (SQUASHFS_MAGIC): Likewise.
50755         (STACK_END_MAGIC): Likewise.
50756         (TMPFS_MAGIC): Likewise.
50757         (USBDEVICE_SUPER_MAGIC): Likewise.
50758         (V9FS_MAGIC): Likewise.
50759         (XENFS_SUPER_MAGIC): Likewise.
50760         (CRAMFS_MAGIC): Fix typo in comment.
50761         (EXT2_SUPER_MAGIC): Update comment.
50762         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
50764 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
50766         * sysdeps/arm: Move directory from ports/sysdeps/arm.
50767         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
50768         * sysdeps/unix/sysv/linux/arm: Move directory from
50769         ports/sysdeps/unix/sysv/linux/arm.
50770         * README: Update listing for arm-*-linux-gnueabi.
50772         * README: Remove mention of am33.
50774 2014-02-07  Roland McGrath  <roland@hack.frob.com>
50776         * bits/sigset.h (__sigemptyset): Use a statement expression rather
50777         than the comma operator, to avoid "rhs of comma has no effect"
50778         compiler warnings.
50779         (__sigfillset, __sigandset, __sigorset): Likewise.
50780         * include/signal.h (__sigemptyset): Likewise.
50781         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
50783 2014-02-07  Allan McRae  <allan@archlinux.org>
50785         * version.h (RELEASE): Set to "development".
50786         (VERSION): Set to "2.19.90"
50787         * NEWS: Add 2.20 section.
50789 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
50791         [BZ #16529]
50792         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
50794 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50796         * manual/contrib.texi: Update entry for Carlos O'Donell,
50797         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
50799 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
50801         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
50803         * sysdeps/unix/sysv/linux/kernel-features.h
50804         [__LINUX_KERNEL_VERSION >= 0x020621]
50805         (__ASSUME_PROC_PID_TASK_COMM): Define.
50807 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50809         [BZ #16398]
50810         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
50811         conversion when destination buffer does not have enough space.
50812         * libio/tst-ftell-partial-wide.c: New test case.
50813         * libio/Makefile (tests): Add tst-ftell-partial-wide.
50815         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
50816         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
50817         Leonard and Allan McRae.
50819 2014-02-04  David S. Miller  <davem@davemloft.net>
50821         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
50822         32-bit.
50824 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
50827         New file
50828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
50829         New file
50830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
50831         New file.
50832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
50833         New file.
50834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
50835         New file.
50836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
50837         New file.
50838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
50839         New file.
50840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
50841         New file.
50842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
50843         New file.
50844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
50845         New file.
50846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
50847         New file.
50848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
50849         New file.
50850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
50851         New file.
50853 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50855         * nptl/shlib-versions: Change powerpc*le start to 2.17.
50856         * shlib-versions: Likewise.
50858 2014-02-04  Roland McGrath  <roland@hack.frob.com>
50859             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50861         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
50862         (abilist-pattern): New variable, set to %-le.abilist.
50864         * Makerules (abilist-pattern): New variable.
50865         (vpath): Use $(abilist-pattern) in place of %.abilist.
50866         (check-abi-% pattern rule): Likewise.
50867         (check-abi, update-abi): Likewise.
50869 2014-02-04  Eric Wong  <normalperson@yhbt.net>
50871         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50873 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
50875         * manual/startup.texi: Add next, previous, and top entries for
50876         the `Program Arguments' and `Environment Variables' nodes.
50878 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
50880         * manual/macros.texi: Add comments before MTASC-safety macros.
50882         * manual/users.texi: Document MTASC-safety properties.
50884         * manual/threads.texi (pthread_key_create, pthread_key_delete)
50885         (pthread_getspecific, pthread_setspecific): Format with
50886         @deftypefun, and add @safety note.
50887         * manual/signal.texi: Move comments that analyze the above
50888         functions to their home place.
50890 2014-02-03  Allan McRae  <allan@archlinux.org>
50892         * po/sl.po: Update Slovenian translation from translation project.
50894 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
50896         * manual/time.texi (timegm): Add missing blank after @c.
50897         Reported by Joseph Myers <joseph@codesourcery.com>.
50899 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
50901         * manual/check-safety.sh: New.
50902         * manual/Makefile ($(objpfx)stamp-summary): Run it.
50904         * manual/terminal.texi: Document MTASC-safety properties.
50906         * manual/filesys.texi: Document MTASC-safety properties.
50908         * manual/errno.texi: Document MTASC-safety properties.
50910         * manual/intro.texi: Document safety identifiers and
50911         conditionals.
50913         * manual/string.texi (wcstok): Fix prototype.
50914         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
50916         * manual/time.texi: Document MTASC-safety properties.
50918         * manual/string.texi: Document MTASC-safety properties.
50920         * manual/threads.texi: Document MTASC-safety properties.
50922         * manual/stdio.texi: Document MTASC-safety properties.
50924         * manual/syslog.texi: Document MTASC-safety properties.
50926         * manual/sysinfo.texi: Document MTASC-safety properties.
50928         * manual/startup.texi: Document MTASC-safety properties.
50930         * manual/socket.texi: Document MTASC-safety properties.
50932         * manual/signal.texi: Document MTASC-safety properties.
50934 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
50936         * manual/setjmp.texi: Document MTASC-safety properties.
50938         * manual/search.texi: Document MTASC-safety properties.
50940         * manual/resource.texi: Document MTASC-safety properties.
50942         * manual/process.texi: Document MTASC-safety properties.
50944         * manual/platform.texi: Document MTASC-safety properties.
50946         * manual/pipe.texi: Document MTASC-safety properties.
50948         * manual/pattern.texi: Document MTASC-safety properties.
50950         * manual/message.texi: Document MTASC-safety properties.
50952         [BZ #12751]
50953         * manual/memory.texi: Document MTASC-safety properties.
50955         * manual/math.texi: Document MTASC-safety properties.
50957         * manual/locale.texi: Document MTASC-safety properties.
50959         * manual/llio.texi: Document MTASC-safety properties.
50961         * manual/libdl.texi: New.
50963         * manual/lang.texi: Document MTASC-safety properties.
50965         * manual/job.texi: Document MTASC-safety properties.
50967         * manual/getopt.texi: Document MTASC-safety properties.
50969         * manual/ctype.texi: Document MTASC-safety properties.
50971 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
50973         [BZ #16046]
50974         * csu/libc-tls.c (static_map): Remove variable.
50975         (__libc_setup_tls): Use main executable's link map for TLS data.
50976         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
50977         casing for LM_ID_BASE and GL(dl_nns).
50978         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
50979         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
50980         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
50981         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
50982         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
50983         member.
50984         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
50985         l_phnum members.
50987 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
50989         * manual/debug.texi: Document MTASC-safety properties.
50991 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
50993         [BZ #16510]
50994         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
50995         of __x86_64__ when disabling x87 inline functions.
50997 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
50999         * manual/charset.texi: Document MTASC-safety properties.
51001         * manual/crypt.texi: Document MTASC-safety properties.
51003         * manual/conf.texi: Document MTASC-safety properties.
51005         * manual/arith.texi: Document MTASC-safety properties.
51007         * manual/argp.texi: Document MTASC-safety properties.
51009         * manual/macros.texi: Introduce macros to document multi
51010         thread, asynchronous signal and asynchronous cancellation
51011         safety properties.
51012         * manual/intro.texi: Introduce the properties themselves.
51014 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51016         * sysdeps/sh/sh4/Makefile: New file.
51018 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
51020         * math/gen-libm-test.pl ($srcdir): New variable.
51021         ($auto_input): Use it.
51023 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51025         [BZ #16506]
51026         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
51027         access beyond array bounds when parsing netgroups file.
51029         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
51030         the old buffer before realloc.
51032 2014-01-27  Allan McRae  <allan@archlinux.org>
51034         * po/fr.po: Update French translation from translation project.
51036 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51038         * sysdeps/sh/libm-test-ulps: Regenerate.
51040 2014-01-24  David S. Miller  <davem@davemloft.net>
51042         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
51044 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51046         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
51047         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
51049 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51051         [BZ #16474]
51052         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
51053         string pointers after reallocation.
51055 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51057         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
51058         __SH4A__ instead of __SH_FPU_ANY__.
51060 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51062         * sysdeps/sh/fpu_control.h: New file.
51063         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
51064         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
51065         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
51066         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
51067         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
51068         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
51069         * sysdeps/sh/sys/ucontext.h: Remove.
51070         * sysdeps/sh/sys: Remove directory.
51072 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51074         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
51075         s390/sys/ucontext.h.
51076         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
51077         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
51079 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
51081         [BZ #15605]
51082         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
51084 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51086         [BZ#16431]
51087         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51088         Adjust the vDSO correctly for internal calls.
51089         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
51091 2014-01-20  Allan McRae  <allan@archlinux.org>
51093         * po/ca.po: Update Catalan translation from translation project.
51095 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
51097         * sysdeps/s390/sotruss-lib.c: New file.
51099 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51101         [BZ#16430]
51102         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
51103         (__GI___gettimeofday): Alias for a different internal symbol to avoid
51104         local calls issues by not having a PLT stub required for IFUNC calls.
51105         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
51107 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
51109         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
51110         * math/test-fpucw-static.c: Likewise.
51112 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51114         [BZ #16453]
51115         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
51117 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51119         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
51120         implementation for powerpc.
51122 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
51124         [BZ #14782]
51125         * sysdeps/posix/system.c (__libc_system): Do not enable
51126         asynchronous cancellation.
51128 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51130         [BZ #16427]
51131         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
51132         handling only for numbers special also in the IEEE case.
51134 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51136         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51138 2014-01-11  Allan McRae  <allan@archlinux.org>
51140         * po/bg.po: Update Bulgarian translation from translation project.
51142         * po/de.po: Update German translation from translation project.
51144 2014-01-10  Roland McGrath  <roland@hack.frob.com>
51146         * sysdeps/generic/gcc-compat.h: New file.
51148 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51150         * benchtests/asin-inputs: Correct slow inputs.
51151         * benchtests/acos-inputs: Likewise.
51153 2014-01-10  Allan McRae  <allan@archlinux.org>
51155         * po:sv.po: Update Swedish translation from translation project.
51157         * po/vi.po: Update Vietnamese translation from translation project.
51159         * po/eo.po: Update Esperanto translation from translation project.
51161         * po/cs.po: Update Czech translation from translation project.
51163         * po/nl.po: Update Dutch translation from translation project.
51165         * po/pl.po: Update Polish translation from translation project.
51167         * po/ru.po: Update Russian translation from translation project.
51169         * po/uk.po: Update Ukrainian translation from translation project.
51171 2014-01-08  Brooks Moses  <bmoses@google.com>
51173         * elf/dl-load.c: Fix comment typo.
51175 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
51177         * po/header.pot: Rename to...
51178         * po/pot.header: ... this.
51179         * po/Makefile: Use pot.header.
51181 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
51182             Maxim Kuvyrkov  <maxim@kugelworks.com>
51184         [BZ #16394]
51185         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
51186         SRC and DEST against LEN.
51188 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51190         [BZ #16414]
51191         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
51192         implementation.
51193         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
51195 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51199 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
51201         [BZ #16408]
51202         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
51203         for large positive arguments.
51205 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
51207         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51209         * math/auto-libm-test-in: Mark various tests with
51210         xfail-rounding:ldbl-128ibm.
51211         * math/auto-libm-test-out: Regenerated.
51213         [BZ #16407]
51214         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
51215         Increase overflow threshold.
51217 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
51219         [BZ #14286]
51220         * stdio-common/vfprintf.c: Check for integer overflow.
51222 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51224         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
51225         the first argument and return value of __tls_get_addr_internal.
51227 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51229         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
51230         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
51232 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51234         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
51235         * sysdeps/s390/rtld-global-offsets.sym: New file.
51236         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
51237         GLIBC_2.19 symbol.
51238         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
51239         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
51240         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
51241         ... this.
51242         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
51243         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
51244         ... this.
51245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51246         Regenerate.
51247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51248         Regenerate.
51249         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
51250         halfs of GPRs for high_gprs contexts.
51251         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
51252         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
51253         field.
51254         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
51255         uc_flags field.
51256         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
51257         64 bit versions:
51258         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
51259         for high GPRs (uc_high_gprs) and for future extensions
51260         (__reserved).
51261         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
51262         for future extensions (__reserved).
51263         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
51264         64 bit versions:
51265         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
51266         SC_HIGHGPRS offset definition.
51267         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
51268         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
51270         * Versions.def: Add GLIBC_2.19 for libpthread.
51271         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
51272         siglongjmp for libpthread with GLIBC_2.19 symver.
51273         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
51274         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
51275         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
51276         * sysdeps/s390/__longjmp.c: New file.
51277         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
51278         * sysdeps/s390/longjmp.c: New file.
51279         * sysdeps/s390/setjmp.S: New file.
51280         * sysdeps/s390/sigjmp.S: New file.
51281         * sysdeps/s390/v1-longjmp.c: New file.
51282         * sysdeps/s390/v1-setjmp.h: New file.
51283         * sysdeps/s390/v1-sigjmp.c: New file.
51284         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
51285         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
51286         GLIBC_2.19 version.
51287         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
51288         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
51289         versioned symbols for ____longjmp_chk.
51290         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
51291         Likewise.
51292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51293         Regenerate.
51294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51295         Regenerate.
51296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51297         Regenerate.
51298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51299         Regenerate.
51300         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
51301         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
51302         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
51303         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
51304         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
51305         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
51306         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
51307         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
51308         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
51309         * sysdeps/s390/rtld-__longjmp.c: New file.
51310         * sysdeps/s390/rtld-setjmp.S: New file.
51312 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
51314         [BZ #16400]
51315         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51316         Return -__logl (x) for small positive arguments without evaluating
51317         a polynomial.
51319 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
51321         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
51322         Rename to ...
51323         (__ptrace_peeksiginfo_args): ... this.
51324         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51325         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51326         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51328 2014-01-06  Allan McRae  <allan@archlinux.org>
51330         * inet/netinet/in.h: Fix typo in comment.
51332 2014-01-05  Andreas Jaeger  <aj@suse.de>
51334         * sysdeps/i386/fpu/libm-test-ulps: Update.
51336 2014-01-05  Allan McRae  <allan@archlinux.org>
51338         * po/libc.pot: Regenerated.
51340         * malloc/memusagestat.c: Fix gettext call formatting.
51342 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
51344         * nscd/nscd.c: Improve usage() output.
51346 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
51348         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
51349         * sysdeps/unix/sysv/linux/configure: Regenerated.
51350         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
51351         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
51353 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51355         [BZ #16390]
51356         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51357         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
51359 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51361         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
51362         extra tokens at end of #undef directive.
51363         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
51364         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
51365         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
51367 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51369         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51371         * math/auto-libm-test-in: Mark various tests with
51372         xfail-rounding:ldbl-128ibm.
51373         * math/auto-libm-test-out: Regenerated.
51375 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
51377         [BZ #16386]
51378         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
51379         numbers with subnormal high part when calculating exponent.
51381         [BZ #16385]
51382         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
51383         fabs.
51385         [BZ #16384]
51386         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
51387         M_LN2l.
51388         (__ieee754_acoshl): Use __log1pl not __log1p.
51390 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
51392         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
51393         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
51394         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
51395         (grow_heap, heap_trim, _int_new_arena, get_free_list)
51396         (reused_arena, arena_get2): Convert to GNU style.
51397         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
51398         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
51399         (memalign_check, __malloc_set_state): Likewise.
51400         * malloc/mallocbug.c (main): Likewise.
51401         * malloc/malloc.c (__malloc_assert, malloc_init_state)
51402         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
51403         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
51404         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
51405         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
51406         (__posix_memalign, malloc_info): Likewise.
51407         * malloc/malloc.h: Likewise.
51408         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
51409         (mallochook, memalignhook, reallochook, mabort): Likewise.
51410         * malloc/mcheck.h: Likewise.
51411         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
51412         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
51413         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
51414         * malloc/morecore.c (__default_morecore): Likewise.
51415         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
51416         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
51417         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
51418         (print_and_abort): Likewise.
51419         * malloc/obstack.h: Likewise.
51420         * malloc/set-freeres.c (__libc_freeres): Likewise.
51421         * malloc/tst-mallocstate.c (main): Likewise.
51422         * malloc/tst-mtrace.c (main): Likewise.
51423         * malloc/tst-realloc.c (do_test): Likewise.
51425 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51427         [BZ #16366]
51428         * nscd/netgroupcache.c (do_notfound): New function.
51429         (addgetnetgrentX): Use it.
51431         [BZ # 16365]
51432         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
51433         NSS_STATUS_NOTFOUND.
51435 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
51437         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51440 2014-01-01  Allan McRae  <allan@archlinux.org>
51442         * scripts/update-copyrights: Update configure input file suffix.
51444         * NEWS: Update copyright year.
51445         * catgets/gencat.c: Likewise.
51446         * csu/version.c: Likewise.
51447         * debug/catchsegv.sh: Likewise.
51448         * debug/pcprofiledump.c: Likewise.
51449         * debug/xtrace.sh: Likewise.
51450         * elf/ldconfig.c: Likewise.
51451         * elf/ldd.bash.in: Likewise.
51452         * elf/pldd.c: Likewise.
51453         * elf/sotruss.ksh: Likewise.
51454         * elf/sprof.c: Likewise.
51455         * iconv/iconv_prog.c: Likewise.
51456         * iconv/iconvconfig.c: Likewise.
51457         * locale/programs/locale.c: Likewise.
51458         * locale/programs/localedef.c: Likewise.
51459         * login/programs/pt_chown.c: Likewise.
51460         * malloc/memusage.sh: Likewise.
51461         * malloc/memusagestat.c: Likewise.
51462         * malloc/mtrace.pl: Likewise.
51463         * manual/libc.texinfo: Likewise.
51464         * nscd/nscd.c: Likewise.
51465         * nss/getent.c: Likewise.
51466         * nss/makedb.c: Likewise.
51467         * posix/getconf.c: Likewise.
51468         * scripts/test-installation.pl: Likewise.
51470         * All files with FSF copyright notices: Update copyright dates
51471         using scripts/update-copyrights.
51472         * intl/plural.c: Regenerated.
51473         * locale/programs/charmap-kw.h: Likewise.
51474         * locale/programs/locfile-kw.h: Likewise.
51476 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
51478         * sysdeps/unix/sysv/linux/configure: Regenerated.
51479         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
51480         the linux/fanotify.h header.
51481         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
51482         HAVE_LINUX_FANOTIFY_H is defined.
51484 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51486         * benchtests/cos-inputs: New inputs.
51487         * benchtests/sin-inputs: Likewise.
51489         * benchtests/atan-inputs: New inputs. Fix name of multiple
51490         precision fallback inputs.
51492         * benchtests/atanh-inputs: New inputs.
51493         * benchtests/tanh-inputs: Likewise.
51495         * benchtests/acosh-inputs: New inputs.
51496         * benchtests/asinh-inputs: Likewise.
51498         * benchtests/cosh-inputs: New inputs.
51499         * benchtests/sinh-inputs: Likewise.
51501         * benchtests/acos-inputs: Add more inputs.
51502         * benchtests/asin-inputs: Likewise.
51504 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
51506         [BZ #16375]
51507         * manual/arith.texi: Fix spelling.
51508         * manual/charset.texi: Likewise.
51509         * manual/errno.texi: Likewise.
51510         * manual/filesys.texi: Likewise.
51511         * manual/lang.texi: Likewise.
51512         * manual/llio.texi: Likewise.
51513         * manual/locale.texi: Likewise.
51514         * manual/message.texi: Likewise.
51515         * manual/resource.texi: Likewise.
51516         * manual/search.texi: Likewise.
51517         * manual/setjmp.texi: Likewise.
51518         * manual/stdio.texi: Likewise.
51519         * manual/string.texi: Likewise.
51520         * manual/sysinfo.texi: Likewise.
51521         * manual/time.texi: Likewise.
51523 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
51525         * po/sl.po: New file.
51527 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
51529         * .gitignore: Add core/.gdbinit/.gdb_history.
51531 2013-12-27  Allan McRae  <allan@archlinux.org>
51533         [BZ #16369]
51534         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
51535         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
51537 2013-12-24  Brooks Moses  <bmoses@google.com>
51539         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
51540         all compilers that claim C++98 compliance, not just GCC.
51541         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
51542         Likewise.
51544 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51546         * NEWS: Restore accidentally deleted bug-fix entries.
51548 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51549             Ondřej Bílka  <neleai@seznam.cz>
51551         [BZ #15073]
51552         * malloc/malloc.c (_int_free): Perform sanity check only if we
51553         have_lock.
51555 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
51557         [BZ #12986]
51558         * manual/stdio.texi (String Input Conversions): Clarify that character
51559         classes are not supported.
51561 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51565 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
51567         [BZ #16337]
51568         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51569         Calculate results for small negative arguments directly rather
51570         than using reflection formula with special underflow handling.
51572         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
51573         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
51574         sysdeps/unix/bsd/bsd4.4/syscalls.list.
51575         (fchflags): Likewise.
51576         (revoke): Likewise.
51577         (setlogin): Likewise.
51578         (sigaltstack): Likewise.
51579         (wait4): Likewise.
51580         (sigblock): Remove.
51581         (sigsetmask): Likewise.
51582         (wait3): Likewise.
51583         (waitpid): Likewise.
51584         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
51585         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
51586         file.
51587         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
51588         * sysdeps/unix/bsd/Makefile: ... here.
51589         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
51590         * sysdeps/unix/bsd/Versions: ... here.
51591         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
51592         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
51593         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
51594         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
51595         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
51596         * sysdeps/unix/bsd/sigblock.c: ... here.
51597         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
51598         * sysdeps/unix/bsd/sigsetmask.c: ... here.
51599         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
51600         * sysdeps/unix/bsd/sigvec.c: ... here.
51601         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
51602         * sysdeps/unix/bsd/tcdrain.c: ... here.
51603         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
51604         * sysdeps/unix/bsd/tcgetattr.c: ... here.
51605         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
51606         * sysdeps/unix/bsd/tcsetattr.c: ... here.
51607         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
51608         * sysdeps/unix/bsd/wait.c: ... here.
51609         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
51610         * sysdeps/unix/bsd/wait3.c: ... here.
51611         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
51612         * sysdeps/unix/bsd/waitpid.c: ... here.
51614 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
51616         [BZ #16356]
51617         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
51618         round-to-nearest for [!USE_AS_EXPM1L].
51619         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
51620         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
51621         more tests of exp and exp10.  Expect some exp10 tests to miss
51622         exceptions or fail in directed rounding modes.
51623         * math/auto-libm-test-out: Regenerated.
51624         * math/libm-test.inc (exp10_tonearest_test_data): New array.
51625         (exp10_test_tonearest): New function.
51626         (exp10_towardzero_test_data): New array.
51627         (exp10_test_towardzero): New function.
51628         (exp10_downward_test_data): New array.
51629         (exp10_test_downward): New function.
51630         (exp10_upward_test_data): New array.
51631         (exp10_test_upward): New function.
51632         (main): Call the new functions.
51633         * sysdeps/i386/fpu/libm-test-ulps: Update.
51634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51636 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
51638         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
51639         asinh, atan, atan2, atanh, cbrt, cos and cosh.
51640         * math/auto-libm-test-out: Regenerated.
51641         * math/libm-test.inc (acosh_test_data): Add more tests.
51642         (atanh_test_data): Likewise.
51643         (ceil_test_data): Likewise.
51644         (copysign_test_data): Likewise.
51645         * sysdeps/i386/fpu/libm-test-ulps: Update.
51646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51648         * timezone/checktab.awk: Update from tzcode 2013i.
51649         * timezone/private.h: Likewise.
51650         * timezone/scheck.c: Likewise.
51651         * timezone/tzfile.h: Likewise.
51652         * timezone/tzselect.ksh: Likewise.
51653         * timezone/zdump.c: Likewise.
51654         * timezone/zic.c: Likewise.
51656         * math/auto-libm-test-in: Add tests of cpow.
51657         * math/auto-libm-test-out: Regenerated.
51658         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
51659         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51660         mpc_cc_c.
51661         (func_calc_desc): Add mpc_cc_c union field.
51662         (test_functions): Add cpow.
51663         (special_fill_2pi): New function.
51664         (special_real_inputs): Add 2pi.
51665         (calc_generic_results): Handle mpc_cc_c.
51666         * sysdeps/i386/fpu/libm-test-ulps: Update.
51667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51669         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
51670         csqrt, ctan and ctanh.
51671         * math/auto-libm-test-out: Regenerated.
51672         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51673         (TEST_COND_x86): Likewise.
51674         (ccos_test_data): Use AUTO_TESTS_c_c.
51675         (ccosh_test_data): Likewise.
51676         (cexp_test_data): Likewise.
51677         (clog_test_data): Likewise.
51678         (csqrt_test_data): Likewise.
51679         (ctan_test_data): Likewise.
51680         (ctan_tonearest_test_data): Likewise.
51681         (ctan_towardzero_test_data): Likewise.
51682         (ctan_downward_test_data): Likewise.
51683         (ctan_upward_test_data): Likewise.
51684         (ctanh_test_data): Likewise.
51685         (ctanh_tonearest_test_data): Likewise.
51686         (ctanh_towardzero_test_data): Likewise.
51687         (ctanh_downward_test_data): Likewise.
51688         (ctanh_upward_test_data): Likewise.
51689         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51690         mpc_c_c.
51691         (func_calc_desc): Add mpc_c_c union field.
51692         (FUNC_mpc_c_c): New macro.
51693         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
51694         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
51695         ctanh.
51696         (special_fill_min_subnorm_p120): New function.
51697         (special_real_inputs): Add min_subnorm_p120.
51698         (calc_generic_results): Handle mpc_c_c.
51699         * sysdeps/i386/fpu/libm-test-ulps: Update.
51700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51702 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51704         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
51705         (do_sin_slow): New functions.
51706         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
51707         (cslow2, csloww1, csloww2): Use the new functions.
51709         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
51710         Use M to change sign of result instead of X.  Assume X is
51711         positive.
51712         (csloww1): Likewise.
51713         (__sin): Adjust.
51714         (__cos): Adjust.
51716         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
51717         arguments A and DA.
51718         (__sin): Adjust.
51719         (__cos): Likewise.
51721         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
51722         (__cos): Likewise.
51723         (sloww1): Don't adjust sign of DX.
51724         (csloww1): Likewise.
51725         (sloww2): Use X directly and don't adjust sign of DX.
51726         (csloww2): Likewise.
51728 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51730         * math/auto-libm-test-in: Add tests of cabs and carg.
51731         * math/auto-libm-test-out: Regenerated.
51732         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
51733         (carg_test_data): Likewise.
51734         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51735         mpc_c_f.
51736         (func_calc_desc): Add mpc_c_f union field.
51737         (test_functions): Add cabs and carg.
51738         (calc_generic_results): Handle mpc_c_f.
51740         * sysdeps/powerpc/powerpc32/libgcc-compat.S
51741         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
51742         as a macro and a compat symbol.
51743         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
51744         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
51745         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
51746         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
51747         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
51748         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
51749         not use .hidden.
51750         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
51751         Likewise.
51752         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
51753         Likewise.
51754         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
51755         Likewise.
51756         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
51757         Likewise.
51758         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
51759         Likewise.
51760         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
51761         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
51762         from GLIBC_2.3.2.
51764 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51768 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51770         * manual/texinfo.tex: Update to version 2013-11-26.10 with
51771         trailing whitespace removed.
51772         * scripts/config.guess: Update to version 2013-11-29.
51773         * scripts/config.sub: Update to version 2013-10-01.
51775         * math/auto-libm-test-in: Add tests of sincos.
51776         * math/auto-libm-test-out: Regenerated.
51777         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
51778         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51779         mpfr_f_11.
51780         (func_calc_desc): Add mpfr_f_11 union field.
51781         (test_functions): Add sincos.
51782         (calc_generic_results): Handle mpfr_f_11.
51783         * sysdeps/i386/fpu/libm-test-ulps: Update.
51784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51786 2013-12-19  Andreas Schwab  <schwab@suse.de>
51788         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
51789         CALL_MCOUNT.
51790         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51791         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
51792         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
51794 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51796         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
51797         * sysdeps/i386/fpu/libm-test-ulps: Update.
51798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51800         [BZ #16293]
51801         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
51802         round-to-nearest mode when using frndint.
51803         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
51804         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
51805         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
51806         Likewise.
51807         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
51808         sinh test to fail.
51809         * math/auto-libm-test-out: Regenerated.
51810         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
51811         (TEST_COND_x86): Likewise.
51812         (expm1_tonearest_test_data): New array.
51813         (expm1_test_tonearest): New function.
51814         (expm1_towardzero_test_data): New array.
51815         (expm1_test_towardzero): New function.
51816         (expm1_downward_test_data): New array.
51817         (expm1_test_downward): New function.
51818         (expm1_upward_test_data): New array.
51819         (expm1_test_upward): New function.
51820         (main): Run the new test functions.
51821         * sysdeps/i386/fpu/libm-test-ulps: Update.
51822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51824         * include/features.h: Update comment documenting feature test
51825         macros.  Mention _DEFAULT_SOURCE in comment.
51826         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
51827         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
51828         _BSD_SOURCE and _SVID_SOURCE.
51829         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
51830         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
51831         !_SVID_SOURCE]: Likewise.
51832         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51833         (__USE_POSIX_IMPLICITLY): Define.
51834         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51835         (_POSIX_SOURCE): Undefine and redefine.
51836         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51837         (_POSIX_C_SOURCE): Likewise.
51838         * manual/creature.texi (_DEFAULT_SOURCE): Document.
51839         (Feature Test Macros): Update documentation of default features.
51841 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51843         * benchtests/Makefile: Add bench-strtok.
51844         * benchtests/bench-strtok.c: New file: strtok benchtest.
51846 2013-12-19  Allan McRae  <allan@archlinux.org>
51848         * manual/install.texi: Suppress menu for plain text output.
51849         * INSTALL: Regenerated.
51851 2013-12-18  Brooks Moses  <bmoses@google.com>
51853         [BZ #15846]
51854         * misc/getauxval.c: Include errno.h.
51855         (__getauxval): Set errno to ENOENT if the requested type is not
51856         found.
51857         * misc/sys/auxv.h (getauxval): Document that it may set errno;
51858         don't declare with __attribute_const__.
51859         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
51860         * manual/startup.texi: Document that getauxval sets errno.
51862 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51864         * math/auto-libm-test-in: Add tests of jn and yn.
51865         * math/auto-libm-test-out: Regenerated.
51866         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
51867         (yn_test_data): Likewise.
51868         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51869         mpfr_if_f.
51870         (func_calc_desc): Add mpfr_if_f union field.
51871         (FUNC_mpfr_if_f): New macro.
51872         (test_functions): Add jn and yn.
51873         (calc_generic_results): Assert type of second input for
51874         mpfr_ff_f.  Handle mpfr_if_f.
51875         (output_for_one_input_case): Disable all checking for arguments
51876         fitting floating-point types in case of an integer argument.
51877         * sysdeps/i386/fpu/libm-test-ulps: Update.
51878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51881         Don't expect fegetround reference in libm.so.
51883 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51885         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
51886         $(config-cflags-nofma).
51888 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51890         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
51891         * math/auto-libm-test-out: Regenerated.
51893         [BZ #16338]
51894         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
51895         to determine exponent and adjust argument to have exponent of -1.
51896         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
51897         log2.
51898         * math/auto-libm-test-out: Regenerated.
51899         * sysdeps/i386/fpu/libm-test-ulps: Update.
51900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51902 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
51904         * manual/probes.texi: Remove cases when per-thread arenas are
51905         disabled.
51907 2013-12-18  Andreas Schwab  <schwab@suse.de>
51909         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
51910         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
51911         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
51912         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
51913         * sysdeps/i386/i686/multiarch/Makefile: Update.
51914         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
51916 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51918         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
51919         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
51921 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
51923         [BZ #15968]
51924         Support TZ transition times < 00:00:00.
51925         This is needed for version-3 tz-format files; it supports time
51926         stamps past 2037 for America/Godthab (the only entry in the tz
51927         database for which this change is relevant).
51928         * manual/time.texi (TZ Variable): Document transition times
51929         from -167:59:59 through -00:00:01.
51930         * time/tzset.c (tz_rule): Time of day is now signed.
51931         (__tzset_parse_tz): Parse negative time of day.
51933         Document TZ transition times >= 25:00:00.
51934         * manual/time.texi (TZ Variable): Document transition times from
51935         25:00:00 through 167:59:59.  These are already supported, and this
51936         support will help with version-3 tz-format files.
51938         * manual/time.texi (TZ Variable): Modernize North America example
51939         to reflect current (i.e., 2007-and-later) daylight saving rules.
51941         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
51943 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51945         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
51946         * sysdeps/unix/bsd/bits/stat.h: Likewise.
51947         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
51948         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51949         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
51950         * sysdeps/unix/bsd/bsdstat.h: Likewise.
51951         * sysdeps/unix/bsd/clock.c: Likewise.
51952         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
51953         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
51954         * sysdeps/unix/bsd/init-posix.c: Likewise.
51955         * sysdeps/unix/bsd/poll.c: Likewise.
51956         * sysdeps/unix/bsd/ptsname.c: Likewise.
51957         * sysdeps/unix/bsd/seekdir.c: Likewise.
51958         * sysdeps/unix/bsd/setegid.c: Likewise.
51959         * sysdeps/unix/bsd/seteuid.c: Likewise.
51960         * sysdeps/unix/bsd/setgid.c: Likewise.
51961         * sysdeps/unix/bsd/setrgid.c: Likewise.
51962         * sysdeps/unix/bsd/setruid.c: Likewise.
51963         * sysdeps/unix/bsd/setsid.c: Likewise.
51964         * sysdeps/unix/bsd/setuid.c: Likewise.
51965         * sysdeps/unix/bsd/sigaction.c: Likewise.
51966         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
51967         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
51968         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
51969         * sysdeps/unix/bsd/telldir.c: Likewise.
51970         * sysdeps/unix/bsd/times.c: Likewise.
51971         * sysdeps/unix/bsd/usleep.c: Likewise.
51973         * misc/Makefile (install-lib): Remove libbsd-compat.a.
51974         ($(objpfx)libbsd-compat.a): Remove rule.
51976         * include/features.h (__FAVOR_BSD): Do not define.
51977         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
51978         features conflicting with POSIX.
51979         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
51980         (_BSD_SOURCE): Remove description of not being a subset of other
51981         feature test macros.
51982         * manual/job.texi (getpgrp): Do not document BSD version.
51983         (getpgid): Do not document by reference to BSD getpgrp.
51984         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
51985         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
51986         * signal/signal.h [__FAVOR_BSD]: Likewise.
51987         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
51988         instead of making contents conditional on [__FAVOR_BSD].
51989         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
51991 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51995 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51997         [BZ #16314]
51998         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
51999         values below 2**-450, not 2**-500.
52000         * math/auto-libm-test-in: Don't allow spurious underflow from
52001         hypot.
52002         * math/auto-libm-test-out: Regenerated.
52004         [BZ #16316]
52005         [BZ #16330]
52006         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
52007         values of ha and hb and sort them after adjusting subnormal
52008         arguments.
52009         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
52010         Likewise.
52011         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
52012         values of ea and eb and sort them after adjusting subnormal
52013         arguments.
52014         * math/auto-libm-test-in: Do not expect some hypot tests of
52015         subnormals to fail.  Add more hypot tests.
52016         * math/auto-libm-test-out: Regenerated.
52018 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52020         [BZ #13304]
52021         * sysdeps/sh/s_fma.c: New file.
52022         * sysdeps/sh/s_fmaf.c: New file.
52023         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
52024         version.
52025         * sysdeps/sh/Implies: Add sh/soft-fp.
52027 2013-12-16  Roland McGrath  <roland@hack.frob.com>
52029         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
52030         level of indirection to members `objname', `errstring', `malloced'.
52031         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
52032         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
52033         it as the __longjmp argument (just pass 1 instead).
52034         (_dl_catch_error): Initialize C with argument pointers and address of
52035         volatile local ERRCODE rather than copying values out of C at return.
52037 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
52039         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
52040         * math/auto-libm-test-out: Regenerated.
52041         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
52042         (hypot_test_data): Likewise.
52043         (pow_test_data): Likewise.
52044         (pow_tonearest_test_data): Likewise.
52045         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52046         mpfr_ff_f.
52047         (func_calc_desc): Add mpfr_ff_f union field.
52048         (FUNC_mpfr_ff_f): New macro.
52049         (test_functions): Add atan2, hypot and pow.
52050         (special_fill_min): New function.
52051         (special_fill_minus_min): Likewise.
52052         (special_fill_min_subnorm): Likewise.
52053         (special_fill_minus_min_subnorm): Likewise.
52054         (special_real_inputs): Add min, -min, min_subnorm and
52055         -min_subnorm.
52056         (calc_generic_results): Handle mpfr_ff_f.
52057         * sysdeps/i386/fpu/libm-test-ulps: Update.
52058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52060 2013-12-16  Will Newton  <will.newton@linaro.org>
52062         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
52063         (Aligned Memory Blocks): Add documentation for aligned_alloc
52064         and suggest it as an alternative to posix_memalign.
52065         (Hooks for Malloc): Document __memalign_hook is also called
52066         for aligned_alloc.  (Summary of Malloc): Add summary for
52067         aligned alloc.  Document __memalign_hook is also called
52068         for aligned_alloc.
52070 2013-12-16  Will Newton  <will.newton@linaro.org>
52072         * manual/memory.texi (Malloc Examples): Clarify default
52073         alignment documentation.  Suggest posix_memalign rather
52074         than memalign or valloc.
52075         (Aligned Memory Blocks): Remove suggestion to use memalign
52076         or valloc.  Remove obsolete comment about BSD.
52077         Document memalign errno values and mark the function obsolete.
52078         Document posix_memalign returned error codes.  Mark valloc
52079         as obsolete.  (Hooks for Malloc): __memalign_hook is also
52080         called for posix_memalign and valloc.
52081         (Summary of Malloc): Add posix_memalign to function summary.
52082         __memalign_hook is also called for posix_memalign and valloc.
52084 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52086         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
52087         TAYLOR_SIN.
52088         (__sin): Adjust.
52089         (__cos): Likewise.
52090         (sloww): Use mynumber union.  Expand ternary operator into
52091         if-else statements.
52092         (cslow): use mynumber union.
52094 2013-12-16  Allan McRae  <allan@archlinux.org>
52096         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
52097         * configure: Regenerated.
52099         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
52101         [BZ #14120]
52102         * configure.ac: Added --enable-maintainer-mode. Check for
52103         autoconf when enabled.
52104         * configure: Regenerated.
52106         * nscd/nscd.service: New file.
52107         * nscd/nscd.tmpfiles: New file.
52109 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
52111         [BZ #12100]
52112         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
52113         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
52114         * sysdeps/x86_64/multiarch/strstr.c: ... here.
52115         (strstr): Add __strstr_sse2_unaligned ifunc.
52116         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
52117         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
52118         (strcasestr): Remove __strcasestr_sse42 ifunc.
52119         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
52120         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52121         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52123 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52125         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
52126         * sysdeps/sh/bits/fenv.h: ... here.
52127         * sysdeps/sh/sh4/fpu/bits: Remove directory.
52129 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52131         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
52133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
52134         hypotf multiarch implementations.
52135         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
52136         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
52137         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
52138         multiarch hypot for PPC64.
52139         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
52140         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
52141         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
52142         multiarch hypotf for PPC64.
52144         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
52145         modff multiarch implementations.
52146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
52147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
52148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
52149         multiarch modf for PPC64.
52150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
52151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
52152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
52153         multiarch modff for PPC64.
52155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
52156         and logl multiarch implementations.
52157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
52158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
52159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
52160         multiarch logb for PPC64.
52161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
52162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
52163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
52164         multiarch logb for PPC64.
52165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
52166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
52167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
52168         multiarch logb for PPC64.
52170         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
52171         isinff multiarch implementation.
52172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
52173         file.
52174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
52175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
52176         multiarch isinf for PPC64.
52177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
52178         file.
52179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
52180         multiarch isinff for PPC64.
52182         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
52183         finitef multiarch implementation.
52184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
52185         file.
52186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
52187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
52188         multiarch finite for PPC64.
52189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
52190         file.
52191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
52192         multiarch finitef for PPC64.
52194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
52195         lrint multiarch implementation.
52196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
52197         file.
52198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
52199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
52200         multiarch llrint for PPC64.
52201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
52202         multiarch lrint for PPC64.
52204         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
52205         copysignf multiarch implementation.
52206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
52207         file.
52208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
52209         file.
52210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
52211         multiarch copysign for PPC64.
52212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
52213         multiarch copysignf for PPC64.
52215         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
52216         multiarch implementation.
52217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
52218         file.
52219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
52220         file.
52221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
52222         file.
52223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
52224         file.
52225         multiarch llround for PPC64.
52226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
52227         multiarch trunc for PPC64.
52228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
52229         multiarch truncf for PPC64.
52231         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
52232         multiarch implementation.
52233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
52234         file.
52235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
52236         file.
52237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
52238         file.
52239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
52240         file.
52241         multiarch llround for PPC64.
52242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
52243         multiarch round for PPC64.
52244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
52245         multiarch roundf for PPC64.
52247         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
52248         multiarch implementation.
52249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
52250         file.
52251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
52252         file.
52253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
52254         file.
52255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
52256         file.
52257         multiarch llround for PPC64.
52258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
52259         multiarch floor for PPC64.
52260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
52261         multiarch floorf for PPC64.
52263         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
52264         multiarch implementation.
52265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
52266         file.
52267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
52268         file.
52269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
52270         file.
52271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
52272         file.
52273         multiarch llround for PPC64.
52274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
52275         multiarch ceil for PPC64.
52276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
52277         multiarch ceilf for PPC64.
52279         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
52280         multiarch implementation.
52281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
52282         file.
52283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
52284         file.
52285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
52286         file.
52287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
52288         multiarch llround for PPC64.
52289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
52290         multiarch lround for PPC64.
52292         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
52293         multiarch implementation.
52294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
52295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
52296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
52297         file.
52298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
52299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
52300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
52301         multiarch isnan for PPC64.
52302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
52303         multiarch isnanf for PPC64.
52305         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
52306         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
52307         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
52308         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
52309         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
52310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
52312         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
52313         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52314         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52315         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
52318         multiarch implementations.
52319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52320         (__libc_ifunc_impl_list): Likewise.
52321         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
52322         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
52323         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
52324         multiarch stpcpy for PPC64.
52326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
52327         multiarch implementations.
52328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52329         (__libc_ifunc_impl_list): Likewise.
52330         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
52331         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
52332         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
52333         multiarch strcpy for PPC64.
52335         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
52336         redefine function name.
52337         (_wordcopy_fwd_dest_aligned): Likewise.
52338         (_wordcopy_bwd_aligned): Likewise.
52339         (_wordcopy_bwd_dest_aligned): Likewise.
52340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
52341         multiarch implementations.
52342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52343         (__libc_ifunc_impl_list): Likewise.
52344         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
52345         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
52346         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
52347         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
52348         multiarch wcscpy for PPC64.
52350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
52351         multiarch implementations.
52352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52353         (__libc_ifunc_impl_list): Likewise.
52354         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
52355         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
52356         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
52357         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
52358         multiarch wcscpy for PPC64.
52360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
52361         multiarch implementations.
52362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52363         (__libc_ifunc_impl_list): Likewise.
52364         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
52365         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
52366         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
52367         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
52368         multiarch wcsrchr for PPC64.
52370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
52371         multiarch implementations.
52372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52373         (__libc_ifunc_impl_list): Likewise.
52374         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
52375         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
52376         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
52377         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
52378         multiarch wcschr for PPC64.
52380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
52381         multiarch implementations.
52382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52383         (__libc_ifunc_impl_list): Likewise.
52384         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
52385         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
52386         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
52387         multiarch strchrnul for PPC64.
52389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
52390         implementations.
52391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52392         (__libc_ifunc_impl_list): Likewise.
52393         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
52394         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
52395         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
52396         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
52397         strchr for PPC64.
52399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
52400         implementations.
52401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52402         (__libc_ifunc_impl_list): Likewise.
52403         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
52404         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
52405         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
52406         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
52407         strncmp for PPC64.
52409         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
52410         multiarch implementations.
52411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52412         (__libc_ifunc_impl_list): Likewise.
52413         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
52414         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
52415         strncasecmp for PPC64.
52416         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
52417         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
52418         multiarch strncasecmp_l for PPC64.
52420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
52421         multiarch implementations.
52422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52423         (__libc_ifunc_impl_list): Likewise.
52424         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
52425         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
52426         multiarch strcasecmp for PPC64.
52427         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
52428         file.
52429         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
52430         multiarch strcasecmp_l for PPC64.
52432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
52433         implementations.
52434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52435         (__libc_ifunc_impl_list): Likewise.
52436         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
52437         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
52438         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
52439         strnlen for PPC64.
52441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
52442         implementations.
52443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52444         (__libc_ifunc_impl_list): Likewise.
52445         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
52446         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
52447         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
52448         strlen for PPC64.
52450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
52451         implementations.
52452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52453         (__libc_ifunc_impl_list): Likewise.
52454         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
52455         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
52456         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
52457         rawmemrchr for PPC64.
52459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
52460         implementation.
52461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52462         (__libc_ifunc_impl_list): Likewise.
52463         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
52464         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
52465         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
52466         memrchr for PPC64.
52468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
52469         implementation.
52470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52471         (__libc_ifunc_impl_list): Likewise.
52472         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
52473         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
52474         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
52475         memchr for PPC64.
52477         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
52478         implementation.
52479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52480         (__libc_ifunc_impl_list): Likewise.
52481         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
52482         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
52483         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
52484         mempcpy for PPC64.
52486         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
52487         avoid cretion of __bzero symbol.
52488         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
52489         Likewise.
52490         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
52491         Likewise.
52492         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
52493         Likewise.
52494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
52495         multiarch implementations.
52496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52497         (__libc_ifunc_impl_list): Likewise.
52498         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
52499         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
52500         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
52501         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
52502         bzero for PPC32.
52503         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
52504         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
52505         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
52506         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
52507         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
52508         memset for PPC64.
52509         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
52511         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
52512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
52513         implementations.
52514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52515         (__libc_ifunc_impl_list): Likewise.
52516         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
52517         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
52518         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
52519         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
52520         memcmp for PPC64.
52522         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
52523         multiarch for POWER/PPC64.
52524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
52525         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
52526         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
52527         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
52528         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
52529         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
52530         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
52531         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
52532         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
52533         memcpy for PPC64.
52535         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
52536         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
52537         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
52538         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
52539         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
52540         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
52541         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
52542         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
52543         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
52544         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
52545         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
52546         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
52547         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
52548         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
52549         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
52550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
52551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
52552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
52553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
52554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
52555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
52556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
52558 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52560         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
52562 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52564         * benchtests/Makefile (bench): Add exp2 and log2.
52565         (LDLIBS-bench-exp2): Add -lm.
52566         (LDLIBS-bench-log2): Likewise.
52567         * benchtests/exp2-inputs: New inputs file.
52568         * benchtests/log2-inputs: New inputs file.
52569         * benchtests/log-inputs: Add new inputs.
52570         * benchtests/tan-inputs: Likewise.
52572 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52574         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
52575         definition...
52576         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
52577         (csloww2): ... from here.
52579         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
52580         instead of structures.
52581         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
52582         (POLYNOMIAL): Likewise.
52583         (TAYLOR_SLOW): Likewise.
52584         (__sin): Likewise.
52585         (__cos): Likewise.
52586         (slow1): Likewise.
52587         (slow2): Likewise.
52588         (sloww): Likewise.
52589         (sloww1); Likewise.
52590         (sloww2): Likewise.
52591         (bsloww1): Likewise.
52592         (bsloww2): Likewise.
52593         (cslow2): Likewise.
52594         (csloww): Likewise.
52595         (csloww1): Likewise.
52596         (csloww2): Likewise.
52598 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
52600         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
52601         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
52602         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
52603         * malloc/hooks.c (realloc_check): Likewise.
52605         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
52606         * malloc/arena.c: Remove PER_THREAD conditional.
52607         [!PER_THREAD]: Remove code.
52608         (ptmalloc_unlock_all2): Likewise.
52609         (ptmalloc_init): Likewise.
52610         (_int_new_arena): Likewise.
52611         (arena_get2): Likewise.
52612         * malloc/hooks.c (__malloc_get_state): Likewise.
52613         (__malloc_set_state): Likewise.
52614         * malloc/malloc.c: Likewise.
52615         (struct malloc_state): Likewise.
52616         (struct malloc_par): Likewise.
52617         (__libc_realloc): Likewise.
52618         (__libc_mallopt): Likewise.
52620 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52622         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
52624 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
52626         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
52627         macro to a function.  Check for zero perturb_byte.
52628         (_int_malloc, _int_free): Remove zero perturb_byte checks.
52630         * malloc/malloc.c: (force_reg): Remove.
52631         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
52632         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
52633         force_reg by atomic_forced_read.
52634         * malloc/arena.c (ptmalloc_init): Likewise.
52635         * malloc/hooks.c (top_check): Likewise.
52637 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52641 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
52643         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52645 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
52647         * math/auto-libm-test-in: Add tests of lgamma.
52648         * math/auto-libm-test-out: Regenerated.
52649         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
52650         (M_LOG_2_SQRT_PIl): Likewise.
52651         (lgamma_test_data): Use AUTO_TESTS_f_f1.
52652         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52653         mpfr_f_f1.
52654         (func_calc_desc): Add mpfr_f_f1 union field.
52655         (ARGS1): New macro.
52656         (ARGS2): Likewise.
52657         (ARGS3): Likewise.
52658         (ARGS4): Likewise.
52659         (RET1): Likewise.
52660         (RET2): Likewise.
52661         (CALC): Likewise.
52662         (FUNC): Likewise.
52663         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
52664         (test_functions): Add lgamma.
52665         (calc_generic_results): Handle mpfr_f_f1.
52666         * sysdeps/i386/fpu/libm-test-ulps: Update.
52667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52669 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52671         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
52672         __mpn_add_n for PowerPC64/POWER7.
52673         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
52674         __mpn_sub_n for PowerPC64/POWER7.
52676         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
52677         __mpn_addmul_1 for PowerPC64.
52678         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
52679         __mpn_submul_1 for PowerPC64.
52680         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
52681         for PowerPC64.
52682         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
52683         for PowerPC64.
52685 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
52687         [BZ #15089]
52688         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
52690 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52692         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
52694         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
52695         add multiarch folders.
52696         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
52697         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
52698         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
52699         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
52700         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
52701         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
52702         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
52703         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
52704         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
52705         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
52706         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
52707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
52708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
52709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
52710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
52711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
52712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
52714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52715         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
52716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
52717         New file.
52718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
52719         New file.
52720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
52721         multiarch __ieee754_hypot for PowerPC32.
52722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
52723         New file.
52724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
52725         New file.
52726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
52727         multiarch __ieee754_hypotf for PowerPC32.
52729         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
52730         long_double_symbol only if __logbl is defined.
52731         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
52732         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
52733         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
52734         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
52735         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
52736         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
52737         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
52738         path for implementation.
52739         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
52740         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
52741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
52742         logb, and logbl multiarch implementations for PowerPC32.
52743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
52744         file.
52745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
52746         file.
52747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
52748         multiarch logb for PowerPC32.
52749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
52750         file.
52751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
52752         file.
52753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
52754         multiarch logbf for PowerPC32.
52755         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
52756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
52757         file.
52758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
52759         multiarch logbl implementation for PowerPC32.
52761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
52762         and modff multiarch implementations.
52763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
52764         New file.
52765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
52766         New file.
52767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
52768         multiarch modf for PowerPC32.
52769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
52770         New file.
52771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
52772         New file.
52773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
52774         multiarch modff for PowerPC32.
52776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
52777         and lrintf multiarch implementations.
52778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
52779         New file.
52780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
52781         New file.
52782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
52783         multiarch lrint for PowerPC32.
52784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
52785         file: multiarch lrintf for PowerPC32.
52787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
52788         and lroundf multiarch implementations.
52789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
52790         New file.
52791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
52792         New file.
52793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
52794         New file.
52795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
52796         multiarch lround for PowerPC32.
52797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
52798         file: multiarch lroundf for PowerPC32.
52800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52801         copysign and copysignf multiarch implementations.
52802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
52803         New file.
52804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
52805         New file.
52806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
52807         file: multiarch copysign for PowerPC32.
52808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
52809         file: multiarch copysignf for PowerPC32.
52811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
52812         and truncf multiarch implementations.
52813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
52814         New file.
52815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
52816         file.
52817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
52818         multiarch trunc for PowerPC32.
52819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
52820         New file.
52821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
52822         New file.
52823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
52824         multiarch truncf for PowerPC32.
52826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
52827         and roundf multiarch implementations.
52828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
52829         New file.
52830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
52831         file.
52832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
52833         multiarch round for PowerPC32.
52834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
52835         New file.
52836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
52837         New file.
52838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
52839         multiarch roundf for PowerPC32.
52841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
52842         and floorf multiarch implementations.
52843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
52844         New file.
52845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
52846         file.
52847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
52848         multiarch floor for PowerPC32.
52849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
52850         New file.
52851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
52852         New file.
52853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
52854         multiarch floorf for PowerPC32.
52856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
52857         and ceilf multiarch implementations.
52858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
52859         New file.
52860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
52861         file.
52862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
52863         multiarch ceil for PowerPC32.
52864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
52865         New file.
52866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
52867         file.
52868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
52869         multiarch ceilf for PowerPC32.
52871         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
52872         is defined.
52873         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
52874         FINITEF is defined.
52875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
52876         and finitef multiarch implementations.
52877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
52878         New file.
52879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
52880         file.
52881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
52882         multiarch finite for PowerPC32.
52883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
52884         New file.
52885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
52886         file: multiarch finitef for PowerPC32.
52888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
52889         and isinff multiarch implementations.
52890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
52891         file.
52892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
52893         file.
52894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
52895         multiarch isinf for PowerPC32.
52896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
52897         New file.
52898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
52899         multiarch isinff for PowerPC32.
52901         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
52902         alias when __isnan is defined.
52903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
52904         and isnanf multiarch implementations.
52905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
52906         file.
52907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
52908         file.
52909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
52910         file.
52911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
52912         file.
52913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
52914         multiarch isnan for PowerPC32.
52915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
52916         New file.
52917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
52918         New file.
52919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
52920         multiarch isnanf for PowerPC32.
52922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
52923         and sqrtf multiarch implementations.
52924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
52925         file.
52926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
52927         file.
52928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
52929         multiarch sqrt for PowerPC32.
52930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
52931         file.
52932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
52933         file.
52934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
52935         multiarch sqrtf for PowerPC32.
52937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
52938         and llroundf multiarch implementations.
52939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
52940         New file.
52941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
52942         New file.
52943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
52944         New file.
52945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
52946         file: multiarch llround for PowerPC32.
52947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
52948         file: multiarch llroundf for PowerPC32.
52950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
52951         multiarch PowerPC32 fpu implementations.
52952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
52953         New file.
52954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
52955         New file.
52956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
52957         multiarch llrint for PowerPC32.
52958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
52959         New file.
52960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
52961         New file.
52962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
52963         file.
52965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
52967         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
52968         file.
52969         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
52970         file.
52971         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
52972         file.
52973         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
52974         multiarch wordcopy for PPC32.
52975         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52976         wordcopy objects.
52977         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52978         (__libc_ifunc_impl_list): Likewise.
52979         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
52980         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
52981         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
52982         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
52983         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
52984         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
52986         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
52987         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
52988         file.
52989         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
52990         file.
52991         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
52992         file.
52993         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
52994         multiarch wcscpy for PPC32.
52995         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52996         multiarch objects.
52997         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52998         (__libc_ifunc_impl_list): Likewise.
52999         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53000         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53001         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
53002         sysdeps/powerpc/power6/wcscpy.c.
53004         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
53005         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
53006         file.
53007         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
53008         file.
53009         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
53010         file.
53011         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
53012         multiarch wcsrchr for PPC32.
53013         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53014         multiarch objects.
53015         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53016         (__libc_ifunc_impl_list): Likewise.
53017         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53018         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53019         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
53020         sysdeps/powerpc/power6/wcsrchr.c.
53022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
53023         file.
53024         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
53025         file.
53026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
53027         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
53028         multiarch wcschr for PPc32.
53029         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53030         multiarch objects.
53031         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53032         (__libc_ifunc_impl_list): Likewise.
53033         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
53034         * sysdeps/powerpc/power6/wcschr.c: ... to here.
53035         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
53036         sysdeps/powerpc/power6/wcschr.c.
53038         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
53039         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
53040         file.
53041         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
53042         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
53043         file: multiarch strchr for PPC32.
53044         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
53045         multiarch objects.
53046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53047         (__libc_ifunc_impl_list): Likewise.
53049         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
53050         name.
53051         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
53052         file.
53053         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
53054         file.
53055         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
53056         multiarch strchrnul for PPC32.
53057         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
53058         multiarch objects.
53059         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53060         (__libc_ifunc_impl_list): Likewise.
53062         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
53063         file.
53064         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
53065         multiarch strncasecmp for PPC32.
53066         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
53067         file.
53068         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
53069         multiarch strncasecmp_l for PPC32.
53070         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
53071         strncasecmp multiarch objects.
53072         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53073         (__libc_ifunc_impl_list): Likewise.
53075         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
53076         file.
53077         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
53078         multiarch strncasecmp for PPC32.
53079         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
53080         New file.
53081         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
53082         multiarch strcasecmp_l for PPC32.
53083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
53084         multiarch objects.
53085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53086         (__libc_ifunc_impl_list): Likewise.
53088         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
53089         file.
53090         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
53091         file.
53092         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
53093         multiarch strncmp for PPC32.
53094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
53095         multiarch objects.
53096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53097         (__libc_ifunc_impl_list): Likewise.
53099         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
53100         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
53101         file.
53102         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
53103         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
53104         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
53105         multiarch objects.
53106         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53107         (__libc_ifunc_impl_list): Likewise.
53109         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
53110         file.
53111         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
53112         file.
53113         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
53114         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
53115         multiarch objects.
53116         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53117         (__libc_ifunc_impl_list): Likewise.
53119         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
53120         file.
53121         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
53122         file.
53123         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
53124         multiarch rawmemchr for PPC32.
53125         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
53126         multiarch objects.
53127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53128         (__libc_ifunc_impl_list): Likewise.
53130         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
53131         file.
53132         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
53133         file.
53134         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
53135         file: memrchr multiarch for PPC32.
53136         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
53137         multiarch objects.
53138         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53139         (__libc_ifunc_impl_list): Likewise.
53141         * string/memchr.c (__memchr): Using macro to redefine symbol name.
53142         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
53143         file.
53144         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
53145         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
53146         multiarch memchr for PPC32.
53147         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
53148         multiarch objects.
53149         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53150         (__libc_ifunc_impl_list): Likewise.
53152         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
53153         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
53154         file.
53155         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
53156         file.
53157         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
53158         file: multiarch mempcpy for PPC32.
53159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
53160         multiarch objects.
53161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53162         (__libc_ifunc_impl_list): Likewise.
53164         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
53165         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
53166         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
53167         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
53168         multiarch bzero for PPC32.
53169         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
53170         file.
53171         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
53172         file.
53173         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
53174         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
53175         file: multiarch memset for PPC32.
53176         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
53177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
53178         memset multiarch objects.
53179         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53180         (__libc_ifunc_impl_list): Likewise.
53182         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
53183         file.
53184         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
53185         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
53186         memcmp for PPC32.
53187         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
53188         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
53189         multiarch objects.
53190         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53191         (__libc_ifunc_impl_list): Likewise.
53193         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
53194         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
53195         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
53196         file.
53197         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
53198         file.
53199         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
53200         file.
53201         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
53202         multiarch memcpy for PPC32.
53203         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
53204         multiarch objects.
53205         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53206         (__libc_ifunc_impl_list): Likewise.
53208         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
53209         support multiarch for POWER/PPC32.
53210         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
53211         Likewise.
53212         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
53213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
53214         Implies file to make multiarch folder appers before the fpu and
53215         default folder for power4 configuration.
53217 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53219         * scripts/bench.pl: Append volatile keyword to type.
53221 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53223         * sysdeps/sh/sotruss-lib.c: New file.
53224         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
53226 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53230 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
53232         [BZ #6810]
53233         * math/w_tgamma.c: Include <errno.h>.
53234         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
53235         * math/w_tgammaf.c: Include <errno.h>.
53236         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
53237         * math/w_tgammal.c: Include <errno.h>.
53238         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
53239         * math/auto-libm-test-in: Do not allow missing errno on tgamma
53240         underflow.  Add more tgamma tests.
53241         * math/auto-libm-test-out: Regenerated.
53242         * sysdeps/i386/fpu/libm-test-ulps: Update.
53243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53245         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
53246         sin, sinh, tan, tanh, tgamma, y0 and y1.
53247         * math/auto-libm-test-out: Regenerated.
53248         * math/libm-test.inc (TEST_COND_x86_64): New macro.
53249         (TEST_COND_x86): Likewise.
53250         (M_E2l): Remove macro.
53251         (M_E3l): Likewise.
53252         (M_2_SQRT_PIl): Likewise.
53253         (M_SQRT_PIl): Likewise.
53254         (M_1_DIV_El): Likewise.
53255         (log_test_data): Use AUTO_TESTS_f_f.
53256         (log10_test_data): Likewise.
53257         (log1p_test_data): Likewise.
53258         (log2_test_data): Likewise.
53259         (sin_test_data): Likewise.
53260         (sin_tonearest_test_data): Likewise.
53261         (sin_towardzero_test_data): Likewise.
53262         (sin_downward_test_data): Likewise.
53263         (sin_upward_test_data): Likewise.
53264         (sinh_test_data): Likewise.
53265         (sinh_tonearest_test_data): Likewise.
53266         (sinh_towardzero_test_data): Likewise.
53267         (sinh_downward_test_data): Likewise.
53268         (sinh_upward_test_data): Likewise.
53269         (tan_test_data): Likewise.
53270         (tan_tonearest_test_data): Likewise.
53271         (tan_towardzero_test_data): Likewise.
53272         (tan_downward_test_data): Likewise.
53273         (tan_upward_test_data): Likewise.
53274         (tanh_test_data): Likewise.
53275         (tgamma_test_data): Likewise.
53276         (y0_test_data): Likewise.
53277         (y1_test_data): Likewise.
53278         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
53279         (special_real_inputs): Add pi/4.
53280         * sysdeps/i386/fpu/libm-test-ulps: Update.
53281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53283 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53285         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
53286         "longjmp_target" static probes.
53287         (__longjmp): Rename to __longjmp_symbol.
53288         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53289         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
53290         on which longjmp to generate.
53291         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
53292         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
53293         probe.
53294         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53295         (__sigjmp_save): Rename to __sigjmp_save_symbol.
53296         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
53297         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
53298         and __sigjmp_save_symbol based on which sigsetjmp to generated.
53299         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
53301         __longjmp_symbol based on which __longjmp to generate.
53302         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
53303         probe.
53304         (setjmp): Rename to setjmp_symbol.
53305         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53306         (_setjmp): Rename to _setjmp_symbol.
53307         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53308         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
53309         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
53310         which setjmp to generate.
53311         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
53312         "longjmp_target" static probes.
53314 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53316         * benchtests/README: Add note about output arguments.
53317         * benchtests/bench-sincos.c: Remove file.
53318         * benchtests/sincos-inputs: New file.
53319         * scripts/bench.pl: Identify output arguments and define
53320         static variables for them.
53322         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
53324         [BZ #15941]
53325         * Makefile (INSTALL): Add install-plain.texi as the primary
53326         dependency.
53327         * manual/install-plain.texi: New file.
53328         * manual/install.texi: Include node directive only for
53329         non-plaintext output.
53331 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
53333         * stdlib/longlong.h: Update from GCC.
53335         [BZ #6807]
53336         [BZ #15901]
53337         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
53338         * math/w_j0f.c (y0f): Likewise.
53339         * math/w_j0l.c (__y0l): Likewise.
53340         * math/w_j1.c (y1): Likewise.
53341         * math/w_j1f.c (y1f): Likewise.
53342         * math/w_j1l.c (__y1l): Likewise.
53343         * math/w_jn.c (yn): Likewise.
53344         * math/w_jnf.c (ynf): Likewise.
53345         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
53346         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
53347         value for Bessel function domain errors outside _SVID_ mode.
53348         Adjust sign of return value for yn (negative integer, 0).
53349         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
53350         by zero in return for negative x and set sign appropriately for
53351         negative n.
53352         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
53353         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53354         * math/libm-test.inc (y0_test_data): Add more tests and adjust
53355         expectations in error cases.
53356         (y1_test_data): Likewise.
53357         (yn_test_data): Likewise.
53358         * sysdeps/i386/fpu/libm-test-ulps: Update.
53359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53361 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53363         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
53364         "64" to "64-v1".  Add "64-v2".
53365         (abi-64-options): Rename to ...
53366         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
53367         (abi-64-condition): Rename to ...
53368         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
53369         (abi-64-ld-soname): Rename to ...
53370         (abi-64-v1-ld-soname): ... this.
53371         (abi-64-v2-options): Define.
53372         (abi-64-v2-condition): Likewise.
53373         (abi-64-v2-ld-soname): Likewise.
53374         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
53375         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
53376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
53377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
53378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
53380 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53381             Alan Modra  <amodra@gmail.com>
53383         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
53384         New versions for use with the ELFv2 ABI.
53385         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
53386         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
53387         declaration.
53388         (struct La_ppc64v2_retval): Likewise.
53389         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
53390         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
53391         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
53392         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
53393         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
53394         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53395         Do not save or restore CR.
53396         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
53397         (_dl_profile_resolve): Do no save or restore CR.  Support extended
53398         return values for ELFv2 ABI.  Fix location of FPR return registers.
53399         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
53400         updated values for _CALL_ELF == 2.
53401         (La_regs, La_retval, int_retval): Likewise.
53403 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53405         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
53406         (FRAME_MIN_SIZE_PARM): Likewise.
53407         (FRAME_BACKCHAIN): Likewise.
53408         (FRAME_CR_SAVE): Likewise.
53409         (FRAME_LR_SAVE): Likewise.
53410         (FRAME_TOC_SAVE): Likewise.
53411         (FRAME_PARM_SAVE): Likewise.
53412         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
53413         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
53414         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53415         (call_mcount_parm_offset): New macro.
53416         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
53417         (PROF): Use symbolic stack frame offsets.
53418         (TAIL_CALL_SYSCALL_ERROR): Likewise.
53419         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
53420         Redefine in terms of FRAME_MIN_SIZE.
53421         (_dl_runtime_resolve): Use symbolic stack frame offsets.
53422         (_dl_profile_resolve): Likewise.  Update comment.
53423         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
53424         symbols stack frame offsets.
53425         (__sigsetjmp): Likewise.
53426         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
53427         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
53428         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
53429         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
53431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
53432         (FRAME_BACKCHAIN): Remove.
53433         (FRAME_CR_SAVE): Likewise.
53434         (FRAME_LR_SAVE): Likewise.
53435         (FRAME_COMPILER_DW): Likewise.
53436         (FRAME_LINKER_DW): Likewise.
53437         (FRAME_TOC_SAVE): Likewise.
53438         (FRAME_PARM_SAVE): Likewise.
53439         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
53440         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
53441         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
53443         (CHECK_SP): Use symbolic stack frame offsets.
53444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
53445         zone" instead of caller's parameter save area for temp storage.
53446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53447         Likewise.  Also, use symbolic stack frame offsets.
53448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
53449         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
53450         our own stack frame instead of the caller's.
53451         (__socket): Use symbolic stack frame offsets.
53453 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53454             Alan Modra  <amodra@gmail.com>
53456         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
53457         Define.
53458         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
53459         (PPC64_LOCAL_ENTRY_OFFSET): Define.
53460         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
53461         New function.
53462         (elf_machine_fixup_plt): Call it.
53463         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
53464         reloc arguments.
53465         (elf_machine_rela): Update call to elf_machine_plt_conflict.
53466         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53467         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
53468         r2 before calling target.
53470 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53471             Alan Modra  <amodra@gmail.com>
53473         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
53474         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
53475         versions of macros to support ELFv2 ABI.
53476         (LOCALENTRY): New macro.
53477         (ENTRY, EALIGN): Use it.
53478         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
53479         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
53480         fall through into ENTRY entry point.
53481         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
53482         Only define if _CALL_ELF != 2.
53484         (elf_machine_matches_host): Verify ABI version matches.
53485         (RTLD_START): Use LOCALENTRY.
53486         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
53487         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
53488         (PLT_ENTRY_WORDS): New macro.
53489         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
53490         (elf_machine_runtime_setup): Support ELFv2 ABI.
53491         (elf_machine_fixup_plt): Likewise.
53492         (elf_machine_plt_conflict): Likewise.
53493         (resolve_ifunc): Likewise.
53494         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53495         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53496         Likewise.
53497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
53498         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
53499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53500         (makecontext): Support ELFv2 ABI.
53501         * elf/elf.h (EF_PPC64_ABI): Define.
53503 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53505         * sysdeps/powerpc/powerpc64/sysdep.h
53506         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
53507         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
53508         (ENTRY) [ASSEMBLER]: ... but instead here ...
53509         (EALIGN) [ASSEMBLER]: ... and here.
53510         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
53511         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
53512         (ENTRY_2) [!ASSEMBLER]: Use it.
53513         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
53514         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
53515         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53516         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
53517         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
53518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
53519         Use PPC64_LOAD_FUNCPTR.
53521         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
53523 2013-12-04  Alan Modra  <amodra@gmail.com>
53525         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
53526         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
53527         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
53528         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
53530         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
53531         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
53532         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
53533         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
53534         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
53535         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
53537 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53540         (__makecontext): Fix incorrect CFI when backtracing out of
53541         context created via makecontext.
53542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
53543         (__setcontext): Fix incorrect CFI during switch to new context.
53544         (__novec_setcontext): Likewise.
53546 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53548         [BZ #4772]
53549         * time/strptime_l.c (__strptime_internal): Allow modifiers
53550         in strptime.
53551         * time/tst-strptime.c (day_tests): Add testcase.
53553 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53555         * scripts/bench.pl: Skip over blank lines.
53557 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
53559         [BZ #926]
53560         * manual/time.texi (Calendar Time): Clarify what timezone functions
53561         use.
53563 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53567 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53569         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
53570         implementation.
53571         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
53572         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
53573         * debug/memset_chk.c (__memset_chk): Likewise.
53574         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
53575         * debug/strncpy_chk.c: Likewise.
53577 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53579         [BZ #15268]
53580         [BZ #15425]
53581         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
53582         (__ieee754_exp): For possibly underflowing results, check size of
53583         result and force underflow exception if required.
53584         * math/auto-libm-test-in: Add more tests of exp.
53585         * math/auto-libm-test-out: Regenerated.
53586         * sysdeps/i386/fpu/libm-test-ulps: Update.
53587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53589         [BZ #16283]
53590         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
53591         * math/w_exp2f.c (__exp2f): Likewise.
53592         * math/w_exp2l.c (__exp2l): Likewise.
53593         * math/auto-libm-test-in: Do not allow missing errno on exp2
53594         underflow.
53595         * math/auto-libm-test-out: Regenerated.
53597 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
53599         [BZ #16274]
53600         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
53601         handle filename validation.
53602         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
53603         (do_open): Delete.
53605 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53607         [BZ #6786]
53608         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
53609         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
53610         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
53611         <float.h>.
53612         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
53613         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
53614         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53615         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
53616         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53617         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
53618         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53619         * math/auto-libm-test-in: Don't allow missing errno from erfc.
53620         Add more erfc tests.
53621         * math/auto-libm-test-out: Regenerated.
53622         * sysdeps/i386/fpu/libm-test-ulps: Update.
53623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53625         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
53626         exp2, expm1, j0 and j1.
53627         * math/auto-libm-test-out: Regenerated.
53628         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
53629         (erfc_test_data): Likewise.
53630         (exp_test_data): Likewise.
53631         (exp_tonearest_test_data): Likewise.
53632         (exp_towardzero_test_data): Likewise.
53633         (exp_downward_test_data): Likewise.
53634         (exp_upward_test_data): Likewise.
53635         (exp10_test_data): Likewise.
53636         (exp2_test_data): Likewise.
53637         (expm1_test_data): Likewise.
53638         (j0_test_data): Likewise.
53639         (j1_test_data): Likewise.
53640         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
53641         (input_flag_type): Add flag_xfail_rounding.
53642         (input_flags): Add xfail-rounding.
53643         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
53644         (output_for_one_input_case): Handle flag_xfail_rounding.
53645         * sysdeps/i386/fpu/libm-test-ulps: Update.
53646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53648 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
53650         [BZ #16289]
53651         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
53652         division by 0.
53654 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53656         [BZ #16195]
53657         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
53658         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
53659         (STAP_PROBE0): New macro.
53660         (STAP_PROBE1): Likewise.
53661         (STAP_PROBE2): Likewise.
53662         (STAP_PROBE3): Likewise.
53663         (STAP_PROBE4): Likewise.
53665 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
53667         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
53669 2013-12-02  Steve Ellcey  <sellcey@mips.com>
53671         * benchtests/Makefile (bench): Add sqrt.
53672         (LDLIBS-bench-sqrt): New.
53673         * benchtests/sqrt-input: New.
53675 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
53677         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
53678         (GAIH_EAI): Likewise.
53679         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
53680         (gaih_inet): Likewise.
53681         (getaddrinfo): Don't use GAIH_EAI.
53683         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
53684         (struct gaih): Remove definition.
53686 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53688         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
53689         Use HERRNOP directly.
53691 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53695 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
53697         * math/gen-auto-libm-tests.c (test_functions): Add more
53698         single-argument functions.
53699         (special_fill_pi_2): New function.
53700         (special_fill_minus_pi_2): Likewise.
53701         (special_fill_pi_6): Likewise.
53702         (special_fill_minus_pi_6): Likewise.
53703         (special_fill_pi_3): Likewise.
53704         (special_fill_2pi_3): Likewise.
53705         (special_fill_e): Likewise.
53706         (special_fill_1_e): Likewise.
53707         (special_fill_e_minus_1): Likewise.
53708         (special_real_inputs): Add more special inputs.
53709         (output_for_one_input_case): Do not require ERANGE on underflow to
53710         zero if round-to-nearest result does not underflow to zero, unless
53711         exact results required.
53712         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
53713         atan, atanh, cbrt, cos and cosh.
53714         * math/auto-libm-test-out: Regenerated.
53715         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
53716         (acos_tonearest_test_data): Likewise.
53717         (acos_towardzero_test_data): Likewise.
53718         (acos_downward_test_data): Likewise.
53719         (acos_upward_test_data): Likewise.
53720         (acosh_test_data): Likewise.
53721         (asin_test_data): Likewise.
53722         (asin_tonearest_test_data): Likewise.
53723         (asin_towardzero_test_data): Likewise.
53724         (asin_upward_test_data): Likewise.
53725         (asinh_test_data): Likewise.
53726         (atan_test_data): Likewise.
53727         (atanh_test_data): Likewise.
53728         (cbrt_test_data): Likewise.
53729         (cos_test_data): Likewise.
53730         (cos_tonearest_test_data): Likewise.
53731         (cos_towardzero_test_data): Likewise.
53732         (cos_downward_test_data): Likewise.
53733         (cos_upward_test_data): Likewise.
53734         (cosh_test_data): Likewise.
53735         (cosh_tonearest_test_data): Likewise.
53736         (cosh_towardzero_test_data): Likewise.
53737         (cosh_downward_test_data): Likewise.
53738         (cosh_upward_test_data): Likewise.
53739         * sysdeps/i386/fpu/libm-test-ulps: Update.
53740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53742 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
53744         [BZ #6787]
53745         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
53746         * math/w_exp10f.c (__exp10f): Likewise.
53747         * math/w_exp10l.c (__exp10l): Likewise.
53748         * math/libm-test.inc (exp10_test_data): Add more tests and expect
53749         errno settings in existing tests.
53751         [BZ #14032]
53752         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
53753         precision control set to double precision.
53754         * sysdeps/i386/fpu/w_sqrt.c: New file.
53755         * math/auto-libm-test-in: Add more tests.
53756         * math/auto-libm-test-out: Update.
53758         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
53759         (sqrt_test_tonearest): New function.
53760         (sqrt_towardzero_test_data): New variable.
53761         (sqrt_test_towardzero): New function.
53762         (sqrt_downward_test_data): New variable.
53763         (sqrt_test_downward): New function.
53764         (sqrt_upward_test_data): New variable.
53765         (sqrt_test_upward): New function.
53766         (main): Call the new functions.
53768         * math/gen-auto-libm-tests.c: New file.
53769         * math/auto-libm-test-in: Likewise.
53770         * math/auto-libm-test-out: New generated file.
53771         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
53772         variables.
53773         (%beautify): Add generated representations of zero.
53774         (top level): Set $auto_input and call parse_auto_input.
53775         (beautify): Remove trailing "f" from hex float constants.
53776         (parse_args): Handle XFAIL_TEST.
53777         (convert_condition): New function.
53778         (or_value): Likewise.
53779         (or_cond_value): Likewise.
53780         (generate_testfile): Handle AUTO_TESTS_* lines.
53781         (parse_auto_input): New function.
53782         * math/libm-test.inc (XFAIL_TEST): New macro.
53783         (ERRNO_UNCHANGED): Update value.
53784         (ERRNO_EDOM): Likewise.
53785         (ERRNO_ERANGE): Likewise.
53786         (IGNORE_RESULT): Likewise.
53787         (TEST_COND_flt_32): New macro.
53788         (TEST_COND_dbl_64): Likewise.
53789         (TEST_COND_ldbl_96_intel): Likewise.
53790         (TEST_COND_ldbl_96_m68k): Likewise.
53791         (TEST_COND_ldbl_128): Likewise.
53792         (TEST_COND_ldbl_128ibm): Likewise.
53793         (TEST_COND_long32): Likewise.
53794         (TEST_COND_long64): Likewise.
53795         (TEST_COND_before_rounding): Likewise.
53796         (TEST_COND_after_rounding): Likewise.
53797         (enable_test): Handle XFAIL_TEST flag.
53798         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
53799         with finite results.
53800         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
53801         auto-libm-test-out.
53803 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53804             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53806         [BZ #16214]
53807         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
53808         __tls_get_addr_internal instead of __tls_get_offset in order to
53809         avoid GOT pointer dependency.  Make rtld export
53810         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
53811         __tls_get_addr since we are a __tls_get_offset platform.
53812         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
53813         GOT pointer being set up before.
53814         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
53816 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
53818         * manual/math.texi (Errors in Math Functions): Document accuracy
53819         goals.
53821         [BZ #15004]
53822         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
53823         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
53824         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53825         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53826         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53827         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53828         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53829         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53830         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53831         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53832         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53833         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53834         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53835         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53836         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53837         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53839         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
53840         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
53841         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
53842         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
53843         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
53844         Likewise.
53845         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
53846         Likewise.
53847         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
53848         Likewise.
53849         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
53850         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
53851         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
53852         atomic-feupdateenv and flt-rounds.
53853         * sysdeps/powerpc/nofpu/Versions (libc): Add
53854         __atomic_feholdexcept, __atomic_feclearexcept,
53855         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
53856         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
53857         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
53858         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
53859         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
53860         here.
53861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
53862         Update.
53864         * manual/arith.texi (FP Exceptions): Document that exceptions may
53865         not be raised when matherr is used.
53866         (Math Error Reporting): Document overflow in directed rounding
53867         modes.  Document that errno may not be set when finite values are
53868         returned on overflow.  Document intent to set errno on underflow
53869         only for underflow to zero.
53871         [BZ #16271]
53872         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
53873         round-to-nearest then adjust result for other rounding modes.
53874         * include/fenv.h (fegetround): Use libm_hidden_proto.
53875         * math/fegetround.c (fegetround): Use libm_hidden_def.
53876         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
53877         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
53878         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53879         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
53880         Likewise.
53881         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
53882         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53883         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
53884         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
53886 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53888         [BZ #16077]
53889         * nss/Versions (libnss_files): Add
53890         _nss_files_gethostbyname3_r.
53891         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
53892         New function.
53893         (HOST_DB_LOOKUP): Remove macro.
53894         (_nss_files_gethostbyname_r): Implement function without the
53895         HOST_DB_LOOKUP macro.
53896         (_nss_files_gethostbyname2_r): Likewise.
53898 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
53900         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
53902 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
53904         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
53905         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
53906         warning.
53908 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53910         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
53911         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
53912         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53913         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
53914         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
53915         __fe_nomask_env_priv and attribute_hidden.
53916         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
53917         (libc_feupdateenv_test_ppc): Likewise.
53918         (libc_feresetround_ppc): Likewise.
53919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53920         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
53921         compat_symbol macro.
53922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53923         (__fe_nomask_env): Likewise.
53924         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
53926 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53928         * string/Makefile: Remove ifunc tests.
53929         * string/test-string.h: Define TEST_IFUNC.
53930         * string/test-bcopy-ifunc.c: Remove.
53931         * string/test-bzero-ifunc.c: Likewise.
53932         * string/test-memccpy-ifunc.c: Likewise.
53933         * string/test-memchr-ifunc.c: Likewise.
53934         * string/test-memcmp-ifunc.c: Likewise.
53935         * string/test-memcpy-ifunc.c: Likewise.
53936         * string/test-memmem-ifunc.c: Likewise.
53937         * string/test-memmove-ifunc.c: Likewise.
53938         * string/test-mempcpy-ifunc.c: Likewise.
53939         * string/test-memrchr-ifunc.c: Likewise.
53940         * string/test-memset-ifunc.c: Likewise.
53941         * string/test-rawmemchr-ifunc.c: Likewise.
53942         * string/test-stpcpy-ifunc.c: Likewise.
53943         * string/test-stpncpy-ifunc.c: Likewise.
53944         * string/test-strcasecmp-ifunc.c: Likewise.
53945         * string/test-strcasestr-ifunc.c: Likewise.
53946         * string/test-strcat-ifunc.c: Likewise.
53947         * string/test-strchr-ifunc.c: Likewise.
53948         * string/test-strchrnul-ifunc.c: Likewise.
53949         * string/test-strcmp-ifunc.c: Likewise.
53950         * string/test-strcpy-ifunc.c: Likewise.
53951         * string/test-strcspn-ifunc.c: Likewise.
53952         * string/test-strlen-ifunc.c: Likewise.
53953         * string/test-strncasecmp-ifunc.c: Likewise.
53954         * string/test-strncat-ifunc.c: Likewise.
53955         * string/test-strncmp-ifunc.c: Likewise.
53956         * string/test-strncpy-ifunc.c: Likewise.
53957         * string/test-strnlen-ifunc.c: Likewise.
53958         * string/test-strpbrk-ifunc.c: Likewise.
53959         * string/test-strrchr-ifunc.c: Likewise.
53960         * string/test-strspn-ifunc.c: Likewise.
53961         * string/test-strstr-ifunc.c: Likewise.
53963 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53965         * benchtests/Makefile: Remove ifunc tests.
53966         * benchtests/bench-string.h: Define TEST_IFUNC.
53967         * benchtests/bench-bcopy-ifunc.c: Remove.
53968         * benchtests/bench-bzero-ifunc.c: Likewise.
53969         * benchtests/bench-memccpy-ifunc.c: Likewise.
53970         * benchtests/bench-memchr-ifunc.c: Likewise.
53971         * benchtests/bench-memcmp-ifunc.c: Likewise.
53972         * benchtests/bench-memcpy-ifunc.c: Likewise.
53973         * benchtests/bench-memmem-ifunc.c: Likewise.
53974         * benchtests/bench-memmove-ifunc.c: Likewise.
53975         * benchtests/bench-mempcpy-ifunc.c: Likewise.
53976         * benchtests/bench-memrchr-ifunc.c: Likewise.
53977         * benchtests/bench-memset-ifunc.c: Likewise.
53978         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
53979         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
53980         * benchtests/bench-stpcpy-ifunc.c: Likewise.
53981         * benchtests/bench-stpncpy-ifunc.c: Likewise.
53982         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
53983         * benchtests/bench-strcasestr-ifunc.c: Likewise.
53984         * benchtests/bench-strcat-ifunc.c: Likewise.
53985         * benchtests/bench-strchr-ifunc.c: Likewise.
53986         * benchtests/bench-strchrnul-ifunc.c: Likewise.
53987         * benchtests/bench-strcmp-ifunc.c: Likewise.
53988         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
53989         * benchtests/bench-strcpy-ifunc.c: Likewise.
53990         * benchtests/bench-strcspn-ifunc.c: Likewise.
53991         * benchtests/bench-strlen-ifunc.c: Likewise.
53992         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
53993         * benchtests/bench-strncat-ifunc.c: Likewise.
53994         * benchtests/bench-strncmp-ifunc.c: Likewise.
53995         * benchtests/bench-strncpy-ifunc.c: Likewise.
53996         * benchtests/bench-strnlen-ifunc.c: Likewise.
53997         * benchtests/bench-strpbrk-ifunc.c: Likewise.
53998         * benchtests/bench-strrchr-ifunc.c: Likewise.
53999         * benchtests/bench-strsep-ifunc.c: Likewise.
54000         * benchtests/bench-strspn-ifunc.c: Likewise.
54001         * benchtests/bench-strstr-ifunc.c: Likewise.
54003 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54005         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
54007 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54009         * resolv/netdb.h: Use __glibc_reserved instead __unused.
54010         * rt/aio.h: Likewise.
54011         * sysdeps/gnu/bits/utmp.h: Likewise.
54012         * sysdeps/gnu/bits/utmpx.h: Likewise.
54013         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54014         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
54015         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
54016         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
54017         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
54018         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
54019         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
54020         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
54021         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
54022         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
54023         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
54024         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
54025         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
54026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
54027         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54028         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
54029         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
54030         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
54031         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
54032         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
54033         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
54034         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
54035         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
54036         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54037         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
54038         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54039         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
54040         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
54041         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
54042         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
54043         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
54044         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
54045         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
54046         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
54047         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
54048         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
54049         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
54050         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
54051         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
54052         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
54053         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
54054         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
54056 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
54058         [BZ #16245]
54059         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
54060         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
54062 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
54064         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
54065         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
54066         Likewise.
54068 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54070         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
54071         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
54072         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
54073         (__fesetround): Remove define.
54074         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
54075         rounding and exceptions handling.
54076         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
54077         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
54078         (__fe_nomask_env): Likewise.
54079         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
54080         __fegetround instead of fegetround.
54081         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54082         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
54084 2013-11-21  Roland McGrath  <roland@hack.frob.com>
54086         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
54087         it's there.
54089         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
54091 2013-11-21  Meador Inge  <meadori@codesourcery.com>
54093         [BZ #11157]
54094         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
54095         (encrypt_r): Likewise.
54096         * malloc/obstack.h (obstack_free): Likewise.
54097         * posix/unistd.h (encrypt): Likewise.
54099 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
54101         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
54102         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
54103         DL_CALL_DT_FINI() that call the functions directly.
54104         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
54105         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
54106         * elf/dl-fini.c: Likewise.
54108 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
54110         * malloc/hooks.c (memalign_check): Add alignment rounding.
54111         * malloc/malloc.c (_mid_memalign): New function.
54112         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
54113         Implement by calling _mid_memalign.
54114         * manual/probes.texi (Memory Allocation Probes): Remove
54115         memory_valloc_retry and memory_pvalloc_retry.
54117 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54119         * locale/programs/locarchive.c (open_archive): Add const
54120         qualifier to ARCHIVEFNAME and copy default fname to
54121         DEFAULT_FNAME.
54123         [BZ #15601]
54124         * libio/tst-widetext.input: Rename Oriya to Odia.
54125         * locale/iso-639.def: Likewise.
54127         * manual/probes.texi (Mathematical Function Probes): Add
54128         documentation for sin, cos, asin and acos probes.
54129         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
54130         (__sin32): Add slowasin probe.
54131         (__cos32): Add slowacos probe.
54132         (__mpsin): Add slowsin probe.
54133         (__mpcos): Add slowcos probe.
54135 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
54137         [BZ #15483]
54138         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
54139         thread-local __sim_exceptions_thread and global
54140         __sim_exceptions_global.
54141         (__sim_disabled_exceptions): Change to thread-local
54142         __sim_disabled_exceptions_thread and global
54143         __sim_disabled_exceptions_global.
54144         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54145         and global __sim_round_mode_global.
54146         (__simulate_exceptions): Use thread-local floating-point state and
54147         set global state from it as needed.
54148         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
54149         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
54150         __sim_round_mode_thread.
54151         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
54152         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
54153         and global __sim_exceptions_global.
54154         (__sim_disabled_exceptions): Change to thread-local
54155         __sim_disabled_exceptions_thread and global
54156         __sim_disabled_exceptions_global.
54157         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54158         and global __sim_round_mode_global.
54159         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
54160         (SIM_SET_GLOBAL): Likewise.
54161         * sysdeps/powerpc/soft-fp/sfp-machine.h
54162         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
54163         __sim_round_mode_thread.
54164         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
54165         __sim_disabled_exceptions_thread.
54166         (__sim_exceptions): Change to __sim_exceptions_thread.
54167         (__sim_disabled_exceptions): Change to
54168         __sim_disabled_exceptions_thread.
54169         (__sim_round_mode): Change to __sim_round_mode_thread.
54170         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
54171         thread-local floating-point state and set global state from it as
54172         needed.
54173         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
54174         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
54175         (__sim_disabled_exceptions): Remove extern declaration.
54176         (feenableexcept): Use thread-local floating-point state and set
54177         global state from it as needed.
54178         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
54179         extern declaration.
54180         (__sim_disabled_exceptions): Likewise.
54181         (__sim_round_mode): Likewise.
54182         (__fegetenv): Use thread-local floating-point state.
54183         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
54184         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54185         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
54186         floating-point state and set global state from it as needed.
54187         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
54188         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
54189         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
54190         Likewise.
54191         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
54192         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
54193         Likewise.
54194         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
54195         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
54196         Use __sim_round_mode_thread.
54197         * math/test-fenv-tls.c: New file.
54198         * math/Makefile (tests): Add test-fenv-tls.
54199         ($(objpfx)test-fenv-tls): Depend on
54200         $(common-objpfx)nptl/libpthread.so.
54202 2013-11-19  Andreas Schwab  <schwab@suse.de>
54204         * locale/programs/locale.c (show_info): Decode wordarray elements.
54205         * locale/categories.def (LC_MONETARY): Add element for
54206         _NL_MONETARY_CRNCYSTR.
54207         * locale/C-monetary.c (conversion_rate): New variable.
54208         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
54209         element.
54211 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
54213         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
54214         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
54216 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
54218         * elf/Makefile (tst-auxv): New test.
54219         * elf/tst-auxv.c: New
54220         * elf/rtld.c (dl_main): Adjust AT_EXECFN
54222 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
54224         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
54225         (hidden_proto): Caller changed.
54226         (hidden_tls_proto): New macro.
54227         (libc_hidden_tls_proto): Likewise.
54228         (rtld_hidden_tls_proto): Likewise.
54229         (libm_hidden_tls_proto): Likewise.
54230         (libresolv_hidden_tls_proto): Likewise.
54231         (librt_hidden_tls_proto): Likewise.
54232         (libdl_hidden_tls_proto): Likewise.
54233         (libnss_files_hidden_tls_proto): Likewise.
54234         (libnsl_hidden_tls_proto): Likewise.
54235         (libnss_nisplus_hidden_tls_proto): Likewise.
54236         (libutil_hidden_tls_proto): Likewise.
54238 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
54240         [BZ #10253]
54241         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
54242         (decompose_rpath): Defer expansion to fillin_rpath.
54243         (_dl_init_paths): Pass linkmap to fillin_rpath.
54245 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54247         * benchtests/Makefile: Add strsep.
54248         * benchtests/bench-strsep.c: New file: strsep benchtest.
54249         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
54251 2013-11-18  Andreas Schwab  <schwab@suse.de>
54253         * locale/programs/locale.c (show_info) [case byte]: Check for
54254         '\377' instead of '\177'.
54255         * locale/C-monetary.c (not_available): Always use "\377".
54256         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
54257         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
54258         detect unavailable sign_posn locale elements.
54259         * locale/localeconv.c (__localeconv): For grouping and
54260         mon_grouping handle "\177" and "\377" like no grouping.
54261         (INT_ELEM): New macro.  Use it to set all numeric members.
54262         * locale/programs/ld-monetary.c (monetary_read)
54263         <tok_mon_grouping>: Normalize single -1 to the empty string.
54264         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
54265         Likewise.
54267 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54269         [BZ #16055]
54270         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
54271         when we match (nil).
54272         * stdio-common/tst-sscanf.c (struct test): Add testcase.
54274 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
54276         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
54277         (NO_TEST_INLINE): Update value.
54278         (ERRNO_UNCHANGED): Likewise.
54279         (ERRNO_EDOM): Likewise.
54280         (ERRNO_ERANGE): Likewise.
54281         (IGNORE_RESULT): Likewise.
54282         (check_float_internal): Check signs of NaN results if
54283         TEST_NAN_SIGN used.
54284         (check_complex): Pass TEST_NAN_SIGN flag through to second
54285         check_float_internal call.
54286         (copysign_test_data): Add tests with quiet NaNs as second
54287         argument.  Use TEST_NAN_SIGN.
54288         (fabs_test_data): Add test of negative quiet NaN argument.  Use
54289         TEST_NAN_SIGN.
54290         (signbit_test_data): Add tests of quiet NaN argument.
54291         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
54293         * math/gen-libm-test.pl (show_exceptions): Take extra argument
54294         $ignore_result.
54295         (parse_args): Handle function results specified as IGNORE.
54296         * math/libm-test.inc (IGNORE_RESULT): New macro.
54297         (check_float_internal): Do not check numerical result if flag
54298         IGNORE_RESULT set.
54299         (check_complex): Pass through IGNORE_RESULT to second
54300         check_float_internal call.
54301         (check_int): Do not check numerical result if flag IGNORE_RESULT
54302         set.
54303         (check_long): Likewise.
54304         (check_bool): Likewise.
54305         (check_longlong): Likewise.
54306         (lrint_test_data): Add tests of infinite and NaN arguments.
54307         (lrint_tonearest_test_data): Likewise.
54308         (lrint_towardzero_test_data): Likewise.
54309         (lrint_downward_test_data): Likewise.
54310         (lrint_upward_test_data): Likewise.
54311         (llrint_test_data): Likewise.
54312         (llrint_tonearest_test_data): Likewise.
54313         (llrint_towardzero_test_data): Likewise.
54314         (llrint_downward_test_data): Likewise.
54315         (llrint_upward_test_data): Likewise.
54316         (lround_test_data): Likewise.
54317         (llround_test_data): Likewise.
54319         * math/libm-test.inc (NO_TEST_INLINE): New macro.
54320         (ERRNO_UNCHANGED): Update value.
54321         (ERRNO_EDOM): Likewise.
54322         (ERRNO_ERANGE): Likewise.
54323         (NO_TEST_INLINE_FLOAT): New macro.
54324         (NO_TEST_INLINE_DOUBLE): Likewise.
54325         (enable_test): New function.
54326         (RUN_TEST_f_f): Check enable_test before running test.
54327         (RUN_TEST_2_f): Likewise.
54328         (RUN_TEST_fff_f): Likewise.
54329         (RUN_TEST_c_f): Likewise.
54330         (RUN_TEST_f_f1): Likewise.
54331         (RUN_TEST_fF_f1): Likewise.
54332         (RUN_TEST_fI_f1): Likewise.
54333         (RUN_TEST_ffI_f1): Likewise.
54334         (RUN_TEST_c_c): Likewise.
54335         (RUN_TEST_cc_c): Likewise.
54336         (RUN_TEST_f_i): Likewise.
54337         (RUN_TEST_f_i_tg): Likewise.
54338         (RUN_TEST_ff_i_tg): Likewise.
54339         (RUN_TEST_f_b): Likewise.
54340         (RUN_TEST_f_b_tg): Likewise.
54341         (RUN_TEST_f_l): Likewise.
54342         (RUN_TEST_f_L): Likewise.
54343         (RUN_TEST_fFF_11): Likewise.
54344         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
54345         conditionals.
54346         (cosh_test_data): Likewise.
54347         (exp_test_data): Likewise.
54348         (expm1_test_data): Likewise.
54349         (hypot_test_data): Likewise.
54350         (pow_test_data): Likewise.
54351         (sinh_test_data): Likewise.
54352         (tanh_test_data): Likewise.
54353         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
54354         flags argument.
54356         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
54357         tests with quiet NaN input and output.
54358         (acosh_test_data): Likewise.
54359         (asin_test_data): Likewise.
54360         (asinh_test_data): Likewise.
54361         (atan_test_data): Likewise.
54362         (atanh_test_data): Likewise.
54363         (atan2_test_data): Likewise.
54364         (cbrt_test_data): Likewise.
54365         (cos_test_data): Likewise.
54366         (cosh_test_data): Likewise.
54367         (erf_test_data): Likewise.
54368         (erfc_test_data): Likewise.
54369         (exp_test_data): Likewise.
54370         (exp10_test_data): Likewise.
54371         (exp2_test_data): Likewise.
54372         (expm1_test_data): Likewise.
54373         (hypot_test_data): Likewise.
54374         (j0_test_data): Likewise.
54375         (j1_test_data): Likewise.
54376         (jn_test_data): Likewise.
54377         (lgamma_test_data): Likewise.
54378         (log_test_data): Likewise.
54379         (log10_test_data): Likewise.
54380         (log1p_test_data): Likewise.
54381         (log2_test_data): Likewise.
54382         (pow_test_data): Likewise.
54383         (scalb_test_data): Likewise.
54384         (sin_test_data): Likewise.
54385         (sincos_test_data): Likewise.
54386         (sinh_test_data): Likewise.
54387         (tan_test_data): Likewise.
54388         (tanh_test_data): Likewise.
54389         (tgamma_test_data): Likewise.
54390         (y0_test_data): Likewise.
54391         (y1_test_data): Likewise.
54392         (yn_test_data): Likewise.
54394         [BZ #16167]
54395         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
54396         argument being NaN and avoid computations with second argument in
54397         that case.
54398         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54399         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
54400         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54402 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
54404         * locale/iso-639.def: Add Chitwani Tharu (the).
54406 2013-11-14  Andreas Schwab  <schwab@suse.de>
54408         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
54409         word instead of empty string.
54411 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54414         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
54415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54416         (__fe_nomask_env): Likewise.
54418 2013-11-13  Steve Ellcey  <sellcey@mips.com>
54420         * benchtests/bench-timing.h: Include time.h.
54422 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
54424         [BZ #15997]
54425         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
54426         to 3.4.0 for x32.
54427         * sysdeps/unix/sysv/linux/configure: Regenerated.
54429 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
54431         [BZ #16151]
54432         * stdlib/strtod_l.c (round_and_return): Do not consider
54433         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
54434         exponent one less than half the least subnormal exponent.
54435         * stdlib/test-strtod-round-data: Add more tests.
54436         * stdlib/tst-strtod-round.c (tests): Regenerated.
54438 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54440         [BZ #14143]
54441         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
54442         (__fe_mask_env): Likewise.
54443         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
54444         libm_hidden_proto and add function prototype.
54445         (__fe_mask_env): Add function prototype.
54446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54447         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
54448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54449         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
54450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54451         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
54453 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54455         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
54456         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
54458 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54460         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
54461         of htab_find_slot().
54463 2013-11-11  David S. Miller  <davem@davemloft.net>
54465         [BZ #16150]
54466         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
54467         symbol in the non-vis3 case in static builds.
54468         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
54469         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
54470         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
54471         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
54473 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
54475         [BZ #387]
54476         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
54477         it is empty.
54479 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54481         * benchtests/Makefile: Add bench-strtod.
54482         * benchtests/bench-strtod.c: New file: strtod benchtest
54484 2013-11-11  Andreas Schwab  <schwab@suse.de>
54486         [BZ #16153]
54487         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
54488         terminating NUL in key length.
54490 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54492         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54493         Add artificial ODP entry for vDSO symbol for PPC64.
54494         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
54495         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
54497 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54499         [BZ #15374]
54500         * nss/getent.c (services_keys): Recognize services starting with digit.
54502 2013-11-06  David S. Miller  <davem@davemloft.net>
54504         [BZ #15985]
54505         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
54506         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
54508 2013-11-06  Will Newton  <will.newton@linaro.org>
54510         * manual/memory.texi (Malloc Examples): Remove register
54511         keyword from examples.
54513 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
54515         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
54517 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
54519         [BZ #6981]
54520         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
54521         depending on [__GCC_IEC_559 > 0].
54522         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
54523         depending on [__GCC_IEC_559_COMPLEX > 0].
54525 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
54527         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
54528         to iso-639.def.
54530 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
54532         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
54534 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
54536         [BZ #16112]
54537         * malloc/malloc (malloc_info): Do not handle first bin as
54538         special case.
54540 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
54542         * locale/iso-639.def: Add Central Nahuatl (nhn).
54544 2013-11-01  Bruno Haible  <bruno@clisp.org>
54546         [BZ #7003]
54547         * manual/math.texi (BSD Random): Specify range upper bound as
54548         in POSIX.
54550 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
54552         * locale/iso-639.def: Add Meadow Mari (mhr).
54554 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
54556         [BZ #14752], [BZ #15763]
54557         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
54558         Validate name.
54559         * rt/tst_shm.c: Add test for escaping directory.
54561 2013-10-31  Andreas Schwab  <schwab@suse.de>
54563         [BZ #15917]
54564         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
54565         followed by 'x' as part of digit sequence.
54566         * stdio-common/tst-sscanf.c (double_tests2): New tests.
54568 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
54570         [BZ #16037]
54571         * configure.ac: allow GNU Make 4.0 and greater.
54572         * configure: Regenerated.
54574 2013-10-30  Will Newton  <will.newton@linaro.org>
54576         [BZ #16038]
54577         * malloc/hooks.c (memalign_check): Limit alignment to the
54578         maximum representable power of two.
54579         * malloc/malloc.c (__libc_memalign): Likewise.
54580         * malloc/tst-memalign.c (do_test): Add test for very
54581         large alignment values.
54582         * malloc/tst-posix_memalign.c (do_test): Likewise.
54584 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54586         [BZ #11087]
54587         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
54588         (munmap_chunk): Likewise.
54589         (mremap_chunk): Likewise.
54591 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54593         [BZ #15799]
54594         * stdlib/div.c (div): Remove obsolete code.
54595         * stdlib/ldiv.c (ldiv): Likewise.
54596         * stdlib/lldiv.c (lldiv): Likewise.
54598 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54600         [BZ #16071]
54601         * nss/nss_files/files-XXX.c (get_contents_ret): New
54602         enumerator.
54603         (get_contents): New function.
54604         (internal_getent): Use it.  Expand size of LINEBUFLEN.
54606 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
54608         * configure.in: Moved to ...
54609         * configure.ac: ... here. Change reference to configure.in
54610         to configure.ac.
54611         * sysdeps/arm/preconfigure.ac: ... here.
54612         configure.in to configure.ac.
54613         * sysdeps/gnu/configure.in: Moved to ...
54614         * sysdeps/gnu/configure.ac: ... here.
54615         * sysdeps/i386/configure.in: Moved to ...
54616         * sysdeps/i386/configure.ac: ... here.
54617         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
54618         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
54619         * sysdeps/mach/configure.in: Moved to ...
54620         * sysdeps/mach/configure.ac: ... here.
54621         * sysdeps/mach/hurd/configure.in: Moved to ...
54622         * sysdeps/mach/hurd/configure.ac: ... here.
54623         * sysdeps/powerpc/configure.in: Moved to ...
54624         * sysdeps/powerpc/configure.ac: ... here.
54625         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
54626         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
54627         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
54628         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
54629         * sysdeps/s390/s390-32/configure.in: Moved to ...
54630         * sysdeps/s390/s390-32/configure.ac: ... here.
54631         * sysdeps/s390/s390-64/configure.in: Moved to ...
54632         * sysdeps/s390/s390-64/configure.ac: ... here.
54633         * sysdeps/sh/configure.in: Moved to ...
54634         * sysdeps/sh/configure.ac: ... here.
54635         * sysdeps/sparc/configure.in: Moved to ...
54636         * sysdeps/sparc/configure.ac: ... here.
54637         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
54638         * sysdeps/unix/sysv/linux/configure.ac: ... here.
54639         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
54640         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
54641         * sysdeps/x86_64/configure.in: Moved to ...
54642         * sysdeps/x86_64/configure.ac: ... here.
54643         * sysdeps/x86_64/preconfigure.in: Moved to ...
54644         * sysdeps/x86_64/preconfigure.ac: ... here.
54645         * aclocal.m4: Change reference to configure.in to configure.ac.
54646         * config.h.in: Likewise.
54647         * manual/install.texi: Likewise.
54648         * manual/maint.texi: Likewise.
54649         * Makefile: Likewise.
54650         * malloc/Makefile: Likewise.
54651         * nscd/Makefile: Likewise.
54652         * Makeconfig: Change reference to configure.in and
54653         preconfigure.in to configure.ac and preconfigure.ac
54654         respectively.
54655         * INSTALL: Regenerated.
54656         * configure: Likewise.
54657         * sysdeps/gnu/configure: Likewise.
54658         * sysdeps/i386/configure: Likewise.
54659         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
54660         * sysdeps/mach/configure: Likewise.
54661         * sysdeps/mach/hurd/configure: Likewise.
54662         * sysdeps/powerpc/configure: Likewise.
54663         * sysdeps/powerpc/powerpc32/configure: Likewise.
54664         * sysdeps/powerpc/powerpc64/configure: Likewise.
54665         * sysdeps/s390/s390-32/configure: Likewise.
54666         * sysdeps/s390/s390-64/configure: Likewise.
54667         * sysdeps/sh/configure: Likewise.
54668         * sysdeps/sparc/configure: Likewise.
54669         * sysdeps/unix/sysv/linux/configure: Likewise.
54670         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
54671         * sysdeps/x86_64/configure: Likewise.
54672         * sysdeps/x86_64/preconfigure: Likewise.
54674 2013-10-29  Andreas Schwab  <schwab@suse.de>
54676         * stdio-common/Makefile (tst-swscanf-ENV): Define.
54678 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54680         * benchtests/pow-inputs: Add new inputs.
54682         * benchtests/exp-inputs: Add new inputs.
54684         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
54685         conditional check for return value.
54686         (__cos32): Likewise.
54688 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54690         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
54691         to provide a boost for large inputs with word alignment.
54692         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
54693         implementation based on optimized PPC64 strcpy.
54694         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
54695         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
54696         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
54697         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
54699 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54701         [BZ #2801]
54702         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
54704 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54706         [BZ #14876]
54707         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
54708         * time/tst-strptime.c (day_tests): Add testcase.
54710 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54712         [BZ #14029]
54713         * manual/pattern.texi: Acknowledge that fnmatch can fail.
54715 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
54717         [BZ #16074]
54718         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
54719         MAP_FAILED on error.
54721 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54723         [BZ #16072]
54724         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
54725         heap for large requests.
54727 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
54729         [BZ #9954]
54730         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
54731         result if the result has no associated interface.
54732         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
54733         interface for all 127.X.Y.Z addresses.
54735 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
54737         * locale/iso-639.def: Add Ligurian (lij)
54739 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
54741         [BZ #15825]
54742         * sunrpc/rpc_main.c: Document rpcgen -5.
54744 2013-10-19  Michael Stahl  <mstahl@redhat.com>
54746         * elf/rtld.c (do_preload): Print the reason why preloading failed.
54748 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54750         [BZ #10278]
54751         * posix/glob.c: Match only directories when trailing slash is present.
54752         * posix/tst-gnuglob.c (my_opendir): Do not open files.
54753         (main): Add testcase.
54755 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54757         [BZ #15670]
54758         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
54760 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
54762         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
54763         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
54764         AUTH_DES and cindex for FIPS 140-2.
54765         (DES Encryption): Add cindex FIPS 46-3.
54767         * locale/locarchive.h (struct locarhandle): Add fname.
54768         * locale/programs/localedef.c (main): Pass ARGV[remaining]
54769         if an optional argument was specified to --list-archive,
54770         otherwise NULL.
54771         * locale/programs/locarchive.c (show_archive_content): Take new
54772         argument fname and pass it via ah.fname to open_archive.
54773         * locale/programs/localedef.h: Update decl.
54774         (open_archive): If AH->fname is non-null, open that file
54775         rather than the default file name, and don't ignore ENOENT.
54776         (create_archive): Set AH.fname to NULL.
54777         (delete_locales_from_archive): Likewise.
54778         (add_locales_to_archive): Likewise.
54779         * locale/programs/locfile.c (write_all_categories): Likewise.
54781 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
54782             Aldy Hernandez  <aldyh@redhat.com>
54784         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
54785         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
54786         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
54787         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
54788         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
54789         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
54790         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
54791         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
54792         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
54793         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
54794         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
54795         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
54796         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
54797         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
54798         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
54799         Likewise.
54800         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
54801         Likewise.
54802         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
54803         Likewise.
54804         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
54805         Likewise.
54806         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
54807         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
54808         Likewise.
54809         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
54810         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
54811         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
54812         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
54813         Likewise.
54814         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
54815         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
54816         * sysdeps/powerpc/preconfigure: Likewise.
54817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
54818         Likewise.
54819         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
54820         Replace contents of file by #include of <fenv_libc.h>.
54821         * sysdeps/powerpc/soft-fp/sfp-machine.h
54822         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
54823         and <sys/prctl.h>.
54824         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
54825         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
54826         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
54827         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
54828         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
54829         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
54830         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
54831         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
54832         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
54833         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
54834         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
54835         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
54836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
54837         Allow copysignl PLT reference to be missing.
54839 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
54840             Joseph Myers  <joseph@codesourcery.com
54842         [BZ #15948]
54843         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
54844         single character.
54845         (add_to_tablewc): Assert sequence of wide characters is nonempty.
54847 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54849         * elf/tst-tls-dlinfo.c: Don't include tls.h.
54850         * elf/tst-tls1.c: Likewise.
54851         * elf/tst-tls10.h: Likewise.
54852         * elf/tst-tls14.c: Likewise.
54853         * elf/tst-tls2.c: Likewise.
54854         * elf/tst-tls3.c: Likewise.
54855         * elf/tst-tls4.c: Likewise.
54856         * elf/tst-tls5.c: Likewise.
54857         * elf/tst-tls6.c: Likewise.
54858         * elf/tst-tls7.c: Likewise.
54859         * elf/tst-tls8.c: Likewise.
54860         * elf/tst-tls9.c: Likewise.
54861         * elf/tst-tlsmod1.c: Likewise.
54862         * elf/tst-tlsmod13.c: Likewise.
54863         * elf/tst-tlsmod13a.c: Likewise.
54864         * elf/tst-tlsmod14a.c: Likewise.
54865         * elf/tst-tlsmod16a.c: Likewise.
54866         * elf/tst-tlsmod16b.c: Likewise.
54867         * elf/tst-tlsmod2.c: Likewise.
54868         * elf/tst-tlsmod3.c: Likewise.
54869         * elf/tst-tlsmod4.c: Likewise.
54870         * elf/tst-tlsmod5.c: Likewise.
54871         * elf/tst-tlsmod6.c: Likewise.
54873 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
54875         [BZ #12486]
54876         * malloc/malloc.c: remove checks for statistics.
54878 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54880         [BZ #15277]
54881         * inet/inet_net.c (inet_network): Detect additional invalid strings.
54882         * inet/tst-network.c: Add testcase.
54884 2013-10-17  Andreas Schwab  <schwab@suse.de>
54886         [BZ #15218]
54887         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
54888         to determine canonical name.
54890 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54892         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
54893         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
54894         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54895         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54896         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54897         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54898         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54899         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54900         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54901         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54902         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54903         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54904         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54905         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54906         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54907         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54908         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54909         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54910         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54911         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54912         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54913         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54914         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54915         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
54916         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
54917         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54918         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54919         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
54920         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54921         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
54922         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54923         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54924         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54925         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54926         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54927         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54928         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54929         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54930         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54931         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54932         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54933         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54934         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54935         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54936         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54937         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54938         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54939         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54940         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54941         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54942         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54943         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54944         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54945         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54946         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54947         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54948         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54949         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54951 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
54953         [BZ #16041]
54954         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
54955         make result into a quiet NaN.
54957 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
54959         * soft-fp/adddf3.c: Fix horizontal whitespace.
54960         * soft-fp/addsf3.c: Likewise.
54961         * soft-fp/addtf3.c: Likewise.
54962         * soft-fp/divdf3.c: Likewise.
54963         * soft-fp/divsf3.c: Likewise.
54964         * soft-fp/divtf3.c: Likewise.
54965         * soft-fp/double.h: Likewise.
54966         * soft-fp/eqdf2.c: Likewise.
54967         * soft-fp/eqsf2.c: Likewise.
54968         * soft-fp/eqtf2.c: Likewise.
54969         * soft-fp/extenddftf2.c: Likewise.
54970         * soft-fp/extended.h: Likewise.
54971         * soft-fp/extendsfdf2.c: Likewise.
54972         * soft-fp/extendsftf2.c: Likewise.
54973         * soft-fp/extendxftf2.c: Likewise.
54974         * soft-fp/fixdfdi.c: Likewise.
54975         * soft-fp/fixdfsi.c: Likewise.
54976         * soft-fp/fixdfti.c: Likewise.
54977         * soft-fp/fixsfdi.c: Likewise.
54978         * soft-fp/fixsfsi.c: Likewise.
54979         * soft-fp/fixsfti.c: Likewise.
54980         * soft-fp/fixtfdi.c: Likewise.
54981         * soft-fp/fixtfsi.c: Likewise.
54982         * soft-fp/fixtfti.c: Likewise.
54983         * soft-fp/fixunsdfdi.c: Likewise.
54984         * soft-fp/fixunsdfsi.c: Likewise.
54985         * soft-fp/fixunsdfti.c: Likewise.
54986         * soft-fp/fixunssfdi.c: Likewise.
54987         * soft-fp/fixunssfsi.c: Likewise.
54988         * soft-fp/fixunssfti.c: Likewise.
54989         * soft-fp/fixunstfdi.c: Likewise.
54990         * soft-fp/fixunstfsi.c: Likewise.
54991         * soft-fp/fixunstfti.c: Likewise.
54992         * soft-fp/floatdidf.c: Likewise.
54993         * soft-fp/floatdisf.c: Likewise.
54994         * soft-fp/floatditf.c: Likewise.
54995         * soft-fp/floatsidf.c: Likewise.
54996         * soft-fp/floatsisf.c: Likewise.
54997         * soft-fp/floatsitf.c: Likewise.
54998         * soft-fp/floattidf.c: Likewise.
54999         * soft-fp/floattisf.c: Likewise.
55000         * soft-fp/floattitf.c: Likewise.
55001         * soft-fp/floatundidf.c: Likewise.
55002         * soft-fp/floatundisf.c: Likewise.
55003         * soft-fp/floatunditf.c: Likewise.
55004         * soft-fp/floatunsidf.c: Likewise.
55005         * soft-fp/floatunsisf.c: Likewise.
55006         * soft-fp/floatunsitf.c: Likewise.
55007         * soft-fp/floatuntidf.c: Likewise.
55008         * soft-fp/floatuntisf.c: Likewise.
55009         * soft-fp/floatuntitf.c: Likewise.
55010         * soft-fp/fmadf4.c: Likewise.
55011         * soft-fp/fmasf4.c: Likewise.
55012         * soft-fp/fmatf4.c: Likewise.
55013         * soft-fp/gedf2.c: Likewise.
55014         * soft-fp/gesf2.c: Likewise.
55015         * soft-fp/getf2.c: Likewise.
55016         * soft-fp/ledf2.c: Likewise.
55017         * soft-fp/lesf2.c: Likewise.
55018         * soft-fp/letf2.c: Likewise.
55019         * soft-fp/muldf3.c: Likewise.
55020         * soft-fp/mulsf3.c: Likewise.
55021         * soft-fp/multf3.c: Likewise.
55022         * soft-fp/negdf2.c: Likewise.
55023         * soft-fp/negsf2.c: Likewise.
55024         * soft-fp/negtf2.c: Likewise.
55025         * soft-fp/op-1.h: Likewise.
55026         * soft-fp/op-2.h: Likewise.
55027         * soft-fp/op-4.h: Likewise.
55028         * soft-fp/op-8.h: Likewise.
55029         * soft-fp/op-common.h: Likewise.
55030         * soft-fp/quad.h: Likewise.
55031         * soft-fp/single.h: Likewise.
55032         * soft-fp/soft-fp.h: Likewise.
55033         * soft-fp/sqrtdf2.c: Likewise.
55034         * soft-fp/sqrtsf2.c: Likewise.
55035         * soft-fp/sqrttf2.c: Likewise.
55036         * soft-fp/subdf3.c: Likewise.
55037         * soft-fp/subsf3.c: Likewise.
55038         * soft-fp/subtf3.c: Likewise.
55039         * soft-fp/truncdfsf2.c: Likewise.
55040         * soft-fp/trunctfdf2.c: Likewise.
55041         * soft-fp/trunctfsf2.c: Likewise.
55042         * soft-fp/trunctfxf2.c: Likewise.
55043         * soft-fp/unorddf2.c: Likewise.
55044         * soft-fp/unordsf2.c: Likewise.
55045         * soft-fp/unordtf2.c: Likewise.
55047 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
55049         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
55050         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
55052 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
55054         * elf/dl-libc.c: Clear initfini list after freeing.
55056 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
55058         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
55059         * soft-fp/addsf3.c: Likewise.
55060         * soft-fp/addtf3.c: Likewise.
55061         * soft-fp/divdf3.c: Likewise.
55062         * soft-fp/divsf3.c: Likewise.
55063         * soft-fp/divtf3.c: Likewise.
55064         * soft-fp/double.h: Likewise.
55065         * soft-fp/eqdf2.c: Likewise.
55066         * soft-fp/eqsf2.c: Likewise.
55067         * soft-fp/eqtf2.c: Likewise.
55068         * soft-fp/extenddftf2.c: Likewise.
55069         * soft-fp/extended.h: Likewise.
55070         * soft-fp/extendsfdf2.c: Likewise.
55071         * soft-fp/extendsftf2.c: Likewise.
55072         * soft-fp/extendxftf2.c: Likewise.
55073         * soft-fp/fixdfdi.c: Likewise.
55074         * soft-fp/fixdfsi.c: Likewise.
55075         * soft-fp/fixdfti.c: Likewise.
55076         * soft-fp/fixsfdi.c: Likewise.
55077         * soft-fp/fixsfsi.c: Likewise.
55078         * soft-fp/fixsfti.c: Likewise.
55079         * soft-fp/fixtfdi.c: Likewise.
55080         * soft-fp/fixtfsi.c: Likewise.
55081         * soft-fp/fixtfti.c: Likewise.
55082         * soft-fp/fixunsdfdi.c: Likewise.
55083         * soft-fp/fixunsdfsi.c: Likewise.
55084         * soft-fp/fixunsdfti.c: Likewise.
55085         * soft-fp/fixunssfdi.c: Likewise.
55086         * soft-fp/fixunssfsi.c: Likewise.
55087         * soft-fp/fixunssfti.c: Likewise.
55088         * soft-fp/fixunstfdi.c: Likewise.
55089         * soft-fp/fixunstfsi.c: Likewise.
55090         * soft-fp/fixunstfti.c: Likewise.
55091         * soft-fp/floatdidf.c: Likewise.
55092         * soft-fp/floatdisf.c: Likewise.
55093         * soft-fp/floatditf.c: Likewise.
55094         * soft-fp/floatsidf.c: Likewise.
55095         * soft-fp/floatsisf.c: Likewise.
55096         * soft-fp/floatsitf.c: Likewise.
55097         * soft-fp/floattidf.c: Likewise.
55098         * soft-fp/floattisf.c: Likewise.
55099         * soft-fp/floattitf.c: Likewise.
55100         * soft-fp/floatundidf.c: Likewise.
55101         * soft-fp/floatundisf.c: Likewise.
55102         * soft-fp/floatunsidf.c: Likewise.
55103         * soft-fp/floatunsisf.c: Likewise.
55104         * soft-fp/floatuntidf.c: Likewise.
55105         * soft-fp/floatuntisf.c: Likewise.
55106         * soft-fp/floatuntitf.c: Likewise.
55107         * soft-fp/fmadf4.c: Likewise.
55108         * soft-fp/fmasf4.c: Likewise.
55109         * soft-fp/fmatf4.c: Likewise.
55110         * soft-fp/gedf2.c: Likewise.
55111         * soft-fp/gesf2.c: Likewise.
55112         * soft-fp/getf2.c: Likewise.
55113         * soft-fp/ledf2.c: Likewise.
55114         * soft-fp/lesf2.c: Likewise.
55115         * soft-fp/letf2.c: Likewise.
55116         * soft-fp/muldf3.c: Likewise.
55117         * soft-fp/mulsf3.c: Likewise.
55118         * soft-fp/multf3.c: Likewise.
55119         * soft-fp/negdf2.c: Likewise.
55120         * soft-fp/negsf2.c: Likewise.
55121         * soft-fp/negtf2.c: Likewise.
55122         * soft-fp/op-1.h: Likewise.
55123         * soft-fp/op-2.h: Likewise.
55124         * soft-fp/op-4.h: Likewise.
55125         * soft-fp/op-8.h: Likewise.
55126         * soft-fp/op-common.h: Likewise.
55127         * soft-fp/quad.h: Likewise.
55128         * soft-fp/single.h: Likewise.
55129         * soft-fp/soft-fp.h: Likewise.
55130         * soft-fp/sqrtdf2.c: Likewise.
55131         * soft-fp/sqrtsf2.c: Likewise.
55132         * soft-fp/sqrttf2.c: Likewise.
55133         * soft-fp/subdf3.c: Likewise.
55134         * soft-fp/subsf3.c: Likewise.
55135         * soft-fp/subtf3.c: Likewise.
55136         * soft-fp/truncdfsf2.c: Likewise.
55137         * soft-fp/trunctfdf2.c: Likewise.
55138         * soft-fp/trunctfsf2.c: Likewise.
55139         * soft-fp/trunctfxf2.c: Likewise.
55140         * soft-fp/unorddf2.c: Likewise.
55141         * soft-fp/unordsf2.c: Likewise.
55142         * soft-fp/unordtf2.c: Likewise.
55144 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
55146         [BZ #15672]
55147         * misc/error.c (error_tail): Fix possible buffer overflow.
55149 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
55151         [BZ #13028]
55152         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
55153         address.
55155 2013-10-14  P. J. McDermott  <pj@pehjota.net>
55157         [BZ #832]
55158         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
55159         testing pipefail option.
55161 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
55163         * soft-fp/double.h: Indent preprocessor directives inside #if.
55164         * soft-fp/extended.h: Likewise.
55165         * soft-fp/op-2.h: Likewise.
55166         * soft-fp/op-4.h: Likewise.
55167         * soft-fp/op-common.h: Likewise.
55168         * soft-fp/quad.h: Likewise.
55169         * soft-fp/single.h: Likewise.
55170         * soft-fp/soft-fp.h: Likewise.
55172 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
55174         * iconv/iconv_prog.c: Fix typos.
55175         * stdio-common/psiginfo-data.h: Likewise.
55177 2013-10-12   Reuben Thomas <rrt@sc3d.org>
55179         [BZ #15764]
55180         * locale/setlocale.c: Fix typo.
55182 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
55184         [BZ #16036]
55185         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
55186         signaling NaN arguments.
55187         * soft-fp/unordsf2.c (__unordsf2): Likewise.
55188         * soft-fp/unordtf2.c (__unordtf2): Likewise.
55190         [BZ #14910]
55191         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
55192         unordered operands.
55193         * soft-fp/gesf2.c (__gesf2): Likewise.
55194         * soft-fp/getf2.c (__getf2): Likewise.
55195         * soft-fp/ledf2.c (__ledf2): Likewise.
55196         * soft-fp/lesf2.c (__lesf2): Likewise.
55197         * soft-fp/letf2.c (__letf2): Likewise.
55199         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
55200         * soft-fp/eqsf2.c (__eqsf2): Likewise.
55201         * soft-fp/eqtf2.c (__eqtf2): Likewise.
55202         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
55203         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
55204         * soft-fp/fixdfti.c (__fixdfti): Likewise.
55205         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
55206         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
55207         * soft-fp/fixsfti.c (__fixsfti): Likewise.
55208         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
55209         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
55210         * soft-fp/fixtfti.c (__fixtfti): Likewise.
55211         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
55212         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
55213         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
55214         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
55215         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
55216         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
55217         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
55218         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
55219         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
55220         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
55221         * soft-fp/floatdisf.c (__floatdisf): Likewise.
55222         * soft-fp/floatsisf.c (__floatsisf): Likewise.
55223         * soft-fp/floattidf.c (__floattidf): Likewise.
55224         * soft-fp/floattisf.c (__floattisf): Likewise.
55225         * soft-fp/floattitf.c (__floattitf): Likewise.
55226         * soft-fp/floatundidf.c (__floatundidf): Likewise.
55227         * soft-fp/floatundisf.c (__floatundisf): Likewise.
55228         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
55229         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
55230         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
55231         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
55232         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
55233         * soft-fp/gesf2.c (__gesf2): Likewise.
55234         * soft-fp/getf2.c (__getf2): Likewise.
55235         * soft-fp/ledf2.c (__ledf2): Likewise.
55236         * soft-fp/lesf2.c (__lesf2): Likewise.
55237         * soft-fp/letf2.c (__letf2): Likewise.
55239         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
55240         Undefine and redefine.
55241         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
55242         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
55243         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
55244         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
55245         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55246         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
55247         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55248         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
55249         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55250         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
55251         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55252         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
55253         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55254         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
55255         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55257         [BZ #16032]
55258         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
55259         without decrementing exponent if mantissa >= that for the
55260         denominator, not >.
55261         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
55262         denominator, not >.  Decrement exponent in < case instead of
55263         incrementing in >= case.
55264         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
55265         without decrementing exponent if mantissa >= that for the
55266         denominator, not >.
55268         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
55269         computing saturated result for unsigned overflow.
55271 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55272             Jeff Law  <law@redhat.com>
55274         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
55275         (atan2Mp): Add systemtap probe marker.
55276         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
55277         (__ieee754_log): Add systemtap probe marker.
55278         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
55279         (atanMp): Add systemtap probe marker.
55280         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
55281         (tanMp): Add systemtap probe marker.
55282         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
55283         (__slowexp): Add systemtap probe marker.
55284         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
55285         (__slowpow): Add systemtap probe marker.
55286         * manual/probes.texi: Document probes.
55288 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
55290         [BZ #15362]
55291         * libio/fileops.c (_IO_new_file_write): Return count of bytes
55292         written.
55293         (_IO_new_file_xsputn): Don't return EOF if nothing has been
55294         written.
55295         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
55296         written to buffer but not flushed.
55297         * libio/iofwrite_u.c:  Likewise.
55298         * libio/iopadn.c:  Return bytes returned even if EOF was
55299         encountered.
55300         * libio/iowpadn.c:  Likewise.
55301         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
55302         if _IO_padn does not write the whole buffer.
55303         [!COMPILE_WPRINTF] (PAD): Likewise.
55305 2013-10-10  David S. Miller  <davem@davemloft.net>
55307         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
55308         directory block.
55310 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55312         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
55313         instead of FSF address.
55314         * soft-fp/fixdfti.c: Likewise.
55315         * soft-fp/fixsfti.c: Likewise.
55316         * soft-fp/fixtfti.c: Likewise.
55317         * soft-fp/fixunsdfti.c: Likewise.
55318         * soft-fp/fixunssfti.c: Likewise.
55319         * soft-fp/fixunstfti.c: Likewise.
55320         * soft-fp/floattidf.c: Likewise.
55321         * soft-fp/floattisf.c: Likewise.
55322         * soft-fp/floattitf.c: Likewise.
55323         * soft-fp/floatuntidf.c: Likewise.
55324         * soft-fp/floatuntisf.c: Likewise.
55325         * soft-fp/floatuntitf.c: Likewise.
55326         * soft-fp/trunctfxf2.c: Likewise.
55328         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
55329         * soft-fp/fixdfti.c: Likewise.
55330         * soft-fp/fixsfti.c: Likewise.
55331         * soft-fp/fixtfti.c: Likewise.
55332         * soft-fp/fixunsdfti.c: Likewise.
55333         * soft-fp/fixunssfti.c: Likewise.
55334         * soft-fp/fixunstfti.c: Likewise.
55335         * soft-fp/floattidf.c: Likewise.
55336         * soft-fp/floattisf.c: Likewise.
55337         * soft-fp/floattitf.c: Likewise.
55338         * soft-fp/floatuntidf.c: Likewise.
55339         * soft-fp/floatuntisf.c: Likewise.
55340         * soft-fp/floatuntitf.c: Likewise.
55341         * soft-fp/trunctfxf2.c: Likewise.
55343 2013-10-10  David S. Miller  <davem@davemloft.net>
55345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55347 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
55349         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55350         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
55351         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
55352         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
55353         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
55354         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
55355         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
55357         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
55358         for NaNs before doing comparisons on argument.
55359         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
55360         Likewise.
55362 2013-10-10  Will Newton  <will.newton@linaro.org>
55364         * malloc/hooks.c (memalign_check): Ensure the value of bytes
55365         passed to _int_memalign does not overflow.
55367 2013-10-10  Torvald Riegel  <triegel@redhat.com>
55369         * scripts/bench.pl: Add include-sources directive.
55370         * benchtests/README: Update documentation.
55372 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55374         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
55375         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
55376         instead of FP_INIT_ROUNDMODE.
55377         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
55378         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
55380         [BZ #16034]
55381         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
55382         copy class of input value.
55383         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
55384         not handle exceptions.
55385         * soft-fp/negsf2.c (__negsf2): Likewise.
55386         * soft-fp/negtf2.c (__negtf2): Likewise.
55387         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
55389 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
55391         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
55392         semicolon.  From Linux kernel.
55394 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
55396         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
55398 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
55400         [BZ #156]
55401         * manual/socket.texi: Added statement about buffer
55402         for gethostbyname2_r.
55404 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
55406         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
55407         Use .p2align directive instead, throughout.
55408         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55409         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
55410         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
55411         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55412         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55413         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
55414         * sysdeps/x86_64/strchr.S: Likewise.
55415         * sysdeps/x86_64/strrchr.S: Likewise.
55417 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55419         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
55421         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
55423         * sysdeps/generic/math_private.h (__mpsin1): Remove
55424         declaration.
55425         (__mpcos1): Likewise.
55426         (__mpsin): New argument __range_reduce.
55427         (__mpcos): Likewise.
55428         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55429         (slow): Use __mpsin and __mpcos.
55430         (slow1): Likewise.
55431         (slow2): Likewise.
55432         (sloww): Likewise.
55433         (sloww1): Likewise.
55434         (sloww2): Likewise.
55435         (bsloww): Likewise.
55436         (bsloww1): Likewise.
55437         (bsloww2): Likewise.
55438         (cslow2): Likewise.
55439         (csloww): Likewise.
55440         (csloww1): Likewise.
55441         (csloww2): Likewise.
55442         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
55443         range_reduce.  Merge in __mpsin1.
55444         (__mpcos): Likewise.
55445         (__mpsin1): Remove.
55446         (__mpcos1): Likewise.
55448 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
55450         * locale/loadlocale.c (_nl_intern_locale_data): Use
55451         LOCFILE_ALIGNED_P.
55452         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
55453         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
55454         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
55455         obstack data is appropriately aligned.
55456         (obstack_int32_grow_fast): Likewise.
55457         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
55458         * locale/programs/locfile.c (add_locale_uint32): Likewise.
55459         (add_locale_uint32_array): Likewise.
55461 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55463         * benchtests/Makefile: Remove ARGLIST and RET variables.
55464         ($(objpfx)bench-%.c): Pass only function name to the script.
55465         * benchtests/README: Update documentation.
55466         * benchtests/acos-inputs: Add new directives.
55467         * benchtests/acosh-inputs: Likewise.
55468         * benchtests/asin-inputs: Likewise.
55469         * benchtests/asinh-inputs: Likewise.
55470         * benchtests/atan-inputs: Likewise.
55471         * benchtests/atanh-inputs: Likewise.
55472         * benchtests/cos-inputs: Likewise.
55473         * benchtests/cosh-inputs: Likewise.
55474         * benchtests/exp-inputs: Likewise.
55475         * benchtests/log-inputs: Likewise.
55476         * benchtests/pow-inputs: Likewise.
55477         * benchtests/rint-inputs: Likewise.
55478         * benchtests/sin-inputs: Likewise.
55479         * benchtests/sinh-inputs: Likewise.
55480         * benchtests/tan-inputs: Likewise.
55481         * benchtests/tanh-inputs: Likewise.
55482         * scripts/bench.pl: Add support for new directives.
55484 2013-10-07  Alan Modra  <amodra@gmail.com>
55486         * README: Fix careless merge.
55488 2013-10-05  Alan Modra  <amodra@gmail.com>
55490         * NEWS: Mention powerpc64le support and bugs fixed.
55491         * README: Both big-endian and little-endian powerpc64 supported.
55493 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55495         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
55496         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
55497         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
55498         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
55500 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
55502         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
55503         match prototype.
55505 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
55507         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
55508         Move -mhard-float appending from
55509         ports/sysdeps/powerpc/powerpc32/Makefile.
55510         [$(with-fp) = yes] (ASFLAGS): Likewise.
55511         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
55512         * sysdeps/powerpc/nofpu: Move directory from
55513         ports/sysdeps/powerpc/nofpu.
55514         * sysdeps/powerpc/soft-fp: Move directory from
55515         ports/sysdeps/powerpc/soft-fp.
55516         * sysdeps/powerpc/powerpc32/405: Move directory from
55517         ports/sysdeps/powerpc/powerpc32/405.
55518         * sysdeps/powerpc/powerpc32/440: Move directory from
55519         ports/sysdeps/powerpc/powerpc32/440.
55520         * sysdeps/powerpc/powerpc32/464: Move directory from
55521         ports/sysdeps/powerpc/powerpc32/464.
55522         * sysdeps/powerpc/powerpc32/476: Move directory from
55523         ports/sysdeps/powerpc/powerpc32/476.
55524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
55525         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
55526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
55527         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
55528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
55529         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
55530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
55531         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
55532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
55533         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
55534         * README: Update for powerpc-*-linux-gnu software floating point
55535         support in libc.
55537         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
55538         case to powerpc/powerpc32*.
55539         * sysdeps/unix/sysv/linux/configure: Regenerated.
55541         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
55542         (_FPU_MASK_OM): Define as 0x04.
55543         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
55544         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
55545         0x00c10080.
55546         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
55547         0x0000003c.
55548         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
55550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
55551         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55552         getcontext_e500.
55553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
55554         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55555         setcontext_e500.
55556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
55557         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
55558         and setcontext_e500.
55560 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
55562         * locale/iso-3166.def: Update iso-1366.def and related occurrences
55564 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55566         * manual/threads.texi (Default Thread Attributes): Fix typo.
55568 2013-10-04  Will Newton  <will.newton@linaro.org>
55570         * malloc/Makefile: Add tst-memalign.
55571         * malloc/tst-memalign.c: New file.
55573         * malloc/tst-posix_memalign.c: Add comments.
55574         (do_test): Add comments and call free on all potentially
55575         allocated pointers. Add space after cast.
55577         * malloc/tst-pvalloc.c: Add comments.
55578         (do_test): Add comments and call free on all potentially
55579         allocated pointers. Remove duplicate check for NULL pointer.
55580         Add space after cast.
55582         * malloc/tst-valloc.c: Add comments.
55583         (do_test): Add comments and call free on all potentially
55584         allocated pointers. Remove duplicate check for NULL pointer.
55585         Add space after cast.
55587 2013-10-04  Alan Modra  <amodra@gmail.com>
55589         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55590         Use stdint types in rather than __attribute__((mode())).
55591         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55593 2013-10-04  Alan Modra  <amodra@gmail.com>
55595         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55596         Correct handling of unaligned relocs for little-endian.
55597         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55599 2013-10-04  Alan Modra  <amodra@gmail.com>
55601         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
55602         * configure: Regenerate.
55603         * nptl/shlib-versions: Powerpc*le starts at 2.18.
55604         * shlib-versions: Likewise.
55606 2013-10-04  Alan Modra  <amodra@gmail.com>
55608         * string/tester.c (test_memrchr): Increment reported test cycle.
55610 2013-10-04  Alan Modra  <amodra@gmail.com>
55612         * string/test-memcpy.c (do_one_test): When reporting errors, print
55613         string address and don't overrun end of string.
55615 2013-10-04  Alan Modra  <amodra@gmail.com>
55617         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
55618         insrdi.  Make better use of reg selection to speed exit slightly.
55619         Schedule entry path a little better.  Remove useless "are we done"
55620         checks on entry to main loop.  Handle wrapping around zero address.
55621         Correct main loop count.  Handle single left-over word from main
55622         loop inline rather than by using loop_small.  Remove extra word
55623         case in loop_small caused by wrong loop count.  Add little-endian
55624         support.
55625         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55626         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
55627         cache hint.
55628         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55629         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
55630         support.  Avoid rlwimi.
55631         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
55633 2013-10-04  Alan Modra  <amodra@gmail.com>
55635         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
55636         insrdi.  Formatting.
55637         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
55638         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
55639         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
55640         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55641         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
55642         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
55644 2013-10-04  Alan Modra  <amodra@gmail.com>
55646         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
55647         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55648         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
55649         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
55650         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55651         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55652         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55653         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55654         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
55655         use of regs.  Use power7 mtocrf.  Tidy function tails.
55657 2013-10-04  Alan Modra  <amodra@gmail.com>
55659         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
55660         Formatting.  Consistently use rXXX register defines or rN defines.
55661         Use early exit labels that avoid restoring unused non-volatile regs.
55662         Make cr field use more consistent with rWORDn compares.  Rename
55663         regs used as shift registers for unaligned loop, using rN defines
55664         for short lifetime/multiple use regs.
55665         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55666         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
55667         addi 1,1,64 to pop stack frame.  Simplify return value code.
55668         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55670 2013-10-04  Alan Modra  <amodra@gmail.com>
55672         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
55673         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
55674         rather than rlwimi.
55675         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
55676         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
55677         little-endian support.  Correct typos.
55678         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
55679         rather than rlwimi.
55680         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
55681         in loop and entry code to keep "and." results.
55682         (strchr): Add little-endian support.  Comment.  Move cntlzd
55683         earlier in tail.
55684         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
55686 2013-10-04  Alan Modra  <amodra@gmail.com>
55688         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
55689         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
55690         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
55691         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
55693 2013-10-04  Alan Modra  <amodra@gmail.com>
55695         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
55696         (rTMP): Define as r11.
55697         (strcmp): Add little-endian support.  Optimise tail.
55698         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
55699         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55700         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55701         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55702         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55703         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55704         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55706 2013-10-04  Alan Modra  <amodra@gmail.com>
55708         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
55709         little-endian support.  Remove unnecessary "are we done" tests.
55710         Handle "s" wrapping around zero and extremely large "size".
55711         Correct main loop count.  Handle single left-over word from main
55712         loop inline rather than by using small_loop.  Correct comments.
55713         Delete "zero" tail, use "end_max" instead.
55714         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
55716 2013-10-04  Alan Modra  <amodra@gmail.com>
55718         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
55719         support.  Don't branch over align.
55720         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
55721         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
55722         support.  Rearrange tmp reg use to suit.  Comment.
55723         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
55725 2013-10-04  Alan Modra  <amodra@gmail.com>
55727         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
55729 2013-10-04  Alan Modra  <amodra@gmail.com>
55731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
55732         conditional form of branch and link when obtaining pc.
55733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
55735 2013-10-04  Alan Modra  <amodra@gmail.com>
55737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
55738         HIWORD/LOWORD.
55739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
55740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
55742 2013-10-04  Alan Modra  <amodra@gmail.com>
55744         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
55745         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
55746         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
55747         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
55748         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
55749         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55750         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
55751         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55752         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
55753         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
55755 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55756             Alistair Popple <alistair@ozlabs.au.ibm.com>
55757             Alan Modra <amodra@gmail.com>
55759         [BZ #15723]
55760         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
55761         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
55762         _dl_hwcap access for little-endian.
55763         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
55764         destroy vmx regs when saving unaligned.
55765         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
55766         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
55767         destroy vmx regs when saving unaligned.
55769 2013-10-04  Alan Modra  <amodra@gmail.com>
55771         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
55772         Don't use a union to pack hi/low value.
55774 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55776         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
55777         for little-endian.
55778         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55779         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
55780         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55781         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55782         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55784 2013-10-04  Alan Modra  <amodra@gmail.com>
55786         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
55787         constants to usual value for .cst8 section, and remove redundant
55788         high address load.
55789         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
55790         constant for 0x1p52.  Load little-endian words of double from
55791         correct stack offsets.
55793 2013-10-04  Alan Modra  <amodra@gmail.com>
55795         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
55796         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
55797         words of double from correct stack offsets.
55798         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
55799         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
55800         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55801         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55802         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55803         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55804         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55805         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
55806         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
55807         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55808         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55809         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55810         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55811         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55812         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55813         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
55814         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
55816 2013-10-04  Alan Modra  <amodra@gmail.com>
55818         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
55819         64-bit int/double union.
55820         (_FPU_SETCW): Likewise.
55821         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
55822         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
55824 2013-10-04  Alan Modra  <amodra@gmail.com>
55826         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
55827         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
55829 2013-10-04  Alan Modra  <amodra@gmail.com>
55831         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
55832         use vector int constants.
55833         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
55835 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55837         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
55838         array with long long.
55839         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
55840         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
55841         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
55842         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
55843         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
55844         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
55845         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
55846         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
55847         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
55848         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
55849         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
55850         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
55851         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
55853 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55855         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
55856         (__signbit): Likewise.  Correct for little-endian.
55857         (__signbitl): Call __signbit.
55858         (lrint): Correct for little-endian.
55859         (lrintf): Call lrint.
55861 2013-10-04  Alan Modra  <amodra@gmail.com>
55863         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
55864         union 32-bit int array member with 64-bit int array.
55865         (t515, tm256): Double rather than long double.
55866         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
55868 2013-10-04  Alan Modra  <amodra@gmail.com>
55870         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
55871         Delete.
55872         (IEEE854_LONG_DOUBLE_BIAS): Delete.
55873         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
55874         version of math_ldbl.h.
55876 2013-10-04  Alan Modra  <amodra@gmail.com>
55878         [BZ #15734], [BZ #15735]
55879         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
55880         all uses of ieee875 long double macros and unions.  Simplify test
55881         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
55882         ldbl_extract_mantissa value for ix,iy exponents.  Properly
55883         normalize after ldbl_extract_mantissa, and don't add hidden bit
55884         already handled.  Don't treat low word of ieee854 mantissa like
55885         low word of IBM long double and mask off bit when testing for
55886         zero.
55887         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
55888         all uses of ieee875 long double macros and unions.  Simplify tests
55889         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
55890         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
55891         two1022, instead use their values.  Recognise that tests for large
55892         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
55893         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
55894         Rewrite all uses of ieee875 long double macros and unions.  Simplify
55895         test for 0.0L and nan.  Correct negation.
55896         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
55897         ieee875 long double macros and unions.  Correct output for large
55898         magnitude x.  Correct absolute value calculation.
55899         (__erfcl): Likewise.
55900         * math/libm-test.inc: Add tests for errors discovered in IBM long
55901         double versions of fmodl, remainderl, erfl and erfcl.
55903 2013-10-04  Alan Modra  <amodra@gmail.com>
55905         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
55906         all uses of ieee854 long double macros and unions.  Simplify tests
55907         for long doubles that are fully specified by the high double.
55908         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
55909         Likewise.
55910         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
55911         Remove dead code too.
55912         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
55913         (__ieee754_ynl): Likewise.
55914         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
55915         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
55916         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
55917         Remove dead code too.
55918         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
55919         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
55920         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
55921         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
55922         Simplify.
55923         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
55924         Simplify.
55925         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
55926         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
55927         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
55928         Comment on variable precision.
55929         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
55930         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
55931         Likewise.
55932         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
55933         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55934         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55935         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
55936         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
55938 2013-10-04  Alan Modra  <amodra@gmail.com>
55940         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
55941         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
55942         all uses of ieee854 long double macros and unions.
55943         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
55944         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55945         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
55946         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
55947         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
55948         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55949         Likewise.
55950         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
55951         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55952         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
55953         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55954         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
55955         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
55956         Simplify sign and nan test too.
55957         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
55958         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
55959         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
55960         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
55961         Likewise.
55962         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55963         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
55964         Likewise.
55965         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55966         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
55967         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
55968         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
55969         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
55970         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
55972 2013-10-04  Alan Modra  <amodra@gmail.com>
55974         * stdio-common/printf_size.c (__printf_size): Don't use
55975         union ieee854_long_double in fpnum union.
55976         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
55977         signbit macro to retrieve sign from long double.
55978         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
55979         retrieve sign from long double.
55980         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
55981         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
55982         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
55983         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55984         * math/test-misc.c (main): Don't use union ieee854_long_double.
55986 2013-10-04  Alan Modra  <amodra@gmail.com>
55988         [BZ #15680]
55989         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
55990         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
55991         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
55992         calculation.  Remove unnecessary test for denormal exponent.
55993         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
55994         Correct handling of denormals.  Avoid undefined shift behaviour.
55995         Correct normalisation of low mantissa when low double is denormal.
55996         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
55997         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
55998         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
55999         Correct normalisation of low mantissa.  Test for overflow of high
56000         mantissa and normalise.
56001         (ldbl_nearbyint): Use more readable constant for two52.
56002         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
56003         (__mpn_construct_long_double): Fix test for overflow of high
56004         mantissa and correct normalisation.  Avoid undefined shift.
56006 2013-10-04  Alan Modra  <amodra@gmail.com>
56008         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56009         (union ibm_extended_long_double): Define as an array of ieee754_double.
56010         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
56011         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
56012         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
56013         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56014         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56015         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
56016         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56017         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56018         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56019         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
56020         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56022 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
56024         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
56025         page size instead of calling getpagesize.
56027         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
56028         (LOCFILE_ALIGN_MASK): Likewise.
56029         (LOCFILE_ALIGN_UP): Likewise.
56030         (LOCFILE_ALIGNED_P): Likewise.
56031         * locale/programs/ld-collate.c (collate_output): Use the new
56032         macros instead of __alignof__ (int32_t).
56033         * locale/weight.h (findidx): Likewise.
56035 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
56037         [BZ #431]
56038         * manual/string.texi: Fix strncat and wcsncat.
56040 2013-10-03  Brooks Moses  <bmoses@google.com>
56042         [BZ #15915]
56043         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
56044         * Makerules: ...here, and adjust associated comments.
56046 2013-10-02  Will Newton  <will.newton@linaro.org>
56048         * malloc/Makefile: Add tst-pvalloc.
56049         * malloc/tst-pvalloc.c: New file.
56051 2013-10-02  Will Newton  <will.newton@linaro.org>
56053         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
56054         improve test coverage.
56056 2013-10-02  Will Newton  <will.newton@linaro.org>
56058         * malloc/Makefile: Add tst-posix_memalign.
56059         * malloc/tst-posix_memalign.c: New file.
56061 2013-10-01  Eric Blake  <eblake@redhat.com>
56063         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
56064         Use __THROWNL rather than __THROW on static functions.
56066 2013-09-30  Petr Machata  <pmachata@redhat.com>
56068         * elf/elf.h (R_AARCH64_ABS16): New macro.
56069         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
56070         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
56071         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
56072         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
56073         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
56074         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
56075         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
56076         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
56077         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
56078         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
56079         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
56080         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
56081         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
56082         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
56083         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
56084         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
56085         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
56086         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
56087         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
56088         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
56089         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
56090         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
56091         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
56092         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
56093         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
56094         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
56095         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
56096         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
56097         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
56098         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
56099         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
56100         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
56101         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
56102         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
56103         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
56104         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
56105         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
56106         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
56107         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
56108         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
56109         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
56110         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
56111         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
56112         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
56113         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
56114         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
56115         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
56116         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
56117         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
56118         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
56119         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
56120         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
56121         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
56122         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
56123         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
56124         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
56125         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
56126         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
56127         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
56128         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
56129         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
56130         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
56131         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
56132         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
56133         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
56134         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
56135         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
56136         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
56137         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
56138         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
56139         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
56140         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
56141         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
56142         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
56143         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
56144         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
56145         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
56146         (R_AARCH64_TLSDESC_LDR): Likewise.
56147         (R_AARCH64_TLSDESC_ADD): Likewise.
56148         (R_AARCH64_TLSDESC_CALL): Likewise.
56150 2013-09-30  Andreas Schwab  <schwab@suse.de>
56152         [BZ #15048]
56153         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
56154         the nss database lookup.
56155         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56156         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56158 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
56160         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
56162 2013-09-28  P. J. McDermott  <pj@pehjota.net>
56164         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
56165         ${Bash-specific parameter/pattern/string} parameter expansion.
56166         * sysdeps/unix/make-syscalls.sh: Likewise.
56168 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56170         * sysdeps/sh/stackguard-macros.h: New file.
56172 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
56174         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
56175         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
56176         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
56177         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
56178         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56179         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
56181 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56183         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
56184         Fix thread ID register.
56186 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
56188         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
56189         [POSIX || UNIX98]: Require rather than permitting all symbols from
56190         <time.h>.
56191         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
56192         element of struct sched_param.
56193         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
56194         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
56195         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
56196         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
56197         constant.
56199 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
56201         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
56202         argument calculation.
56204 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
56206         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
56207         Expect macro.
56208         [POSIX] (pthread_attr_t): Do not require type.
56209         [POSIX] (pthread_cond_t): Likewise.
56210         [POSIX] (pthread_condattr_t): Likewise.
56211         [POSIX] (pthread_key_t): Likewise.
56212         [POSIX] (pthread_mutex_t): Likewise.
56213         [POSIX] (pthread_mutexattr_t): Likewise.
56214         [POSIX] (pthread_once_t): Likewise.
56215         [POSIX] (pthread_t): Likewise.
56216         [POSIX-based standards] (pthread_atfork): Expect function.
56218 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
56219             Richard Sandiford  <richard@codesourcery.com>
56221         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
56222         (swap_endianness_p): New extern variable.
56223         (set_big_endian): New inline function.
56224         (maybe_swap_uint32): Likewise.
56225         (maybe_swap_uint32_array): Likewise.
56226         (maybe_swap_uint32_obstack): Likewise.
56227         * locale/programs/locfile.c: Include <stdbool.h>.
56228         (swap_endianness_p): New variable.
56229         (add_locale_uint32): Call maybe_swap_uint32.
56230         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
56231         (write_locale_data): Call maybe_swap_uint32_array.
56232         * locale/programs/ld-collate.c (obstack_int32_grow): Call
56233         maybe_swap_uint32.
56234         (obstack_int32_grow_fast): Likewise.
56235         (output_weightwc): Call maybe_swap_uint32_obstack.
56236         (collate_output): Likewise.
56237         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
56238         (OPT_LITTLE_ENDIAN): Likewise.
56239         (options): Add --little-endian and --big-endian options.
56240         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
56241         * locale/programs/locarchive.c: Include "locfile.h".
56242         (GET): New macro.
56243         (SET): Likewise.
56244         (INC): Likewise.
56245         (create_archive): Use the new macros to access fields of
56246         structures directly mapped from or written to locale archives.
56247         (oldlocrecentcmp): Likewise.
56248         (enlarge_archive): Likewise.
56249         (insert_name): Likewise.
56250         (add_alias): Likewise.
56251         (add_locale): Likewise.
56252         (delete_locales_from_archive): Likewise.
56253         (show_archive_content): Likewise.
56254         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
56255         locale data.
56257 2013-09-24  Roland McGrath  <roland@hack.frob.com>
56259         * manual/freemanuals.texi: Updated from (newly) canonical copy at
56260         http://www.gnu.org/doc/freemanuals.texi.
56261         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
56263 2013-09-24  Will Newton  <will.newton@linaro.org>
56265         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
56266         macro.
56268 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
56270         * locale/hashval.h (compute_hashval): Interpret bytes of key as
56271         unsigned char.
56273 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
56275         * manual/threads.texi (POSIX Threads): Fix a typo.
56277 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
56279         [BZ #14547]
56280         * string/tst-strcoll-overflow.c: New test case.
56281         * string/Makefile (xtests): Add tst-strcoll-overflow.
56282         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
56283         cache if string sizes may cause integer overflow.
56285         [BZ #14547]
56286         * string/strcoll_l.c (coll_seq): New members rule, idx,
56287         save_idx and back_us.
56288         (get_next_seq_nocache): New function.
56289         (do_compare_nocache): New function.
56290         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
56291         when malloc fails.
56293 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
56295         [BZ #15754]
56296         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
56297         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
56298         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
56300         [BZ #15754]
56301         * elf/Makefile (tests): Add tst-ptrguard1.
56302         (tests-static): Add tst-ptrguard1-static.
56303         (tst-ptrguard1-ARGS): Define.
56304         (tst-ptrguard1-static-ARGS): Define.
56305         * elf/tst-ptrguard1.c: New file.
56306         * elf/tst-ptrguard1-static.c: New file.
56307         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
56308         * sysdeps/i386/stackguard-macros.h: Likewise.
56309         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56310         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56311         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56312         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56313         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56314         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56316 2013-09-23  Hector Marco  <hecmargi@upv.es>
56317             Ismael Ripoll  <iripoll@disca.upv.es>
56318             Carlos O'Donell  <carlos@redhat.com>
56320         [BZ #15754]
56321         * sysdeps/generic/stackguard-macros.h: Define
56322         __pointer_chk_guard_local and POINTER_CHK_GUARD.
56323         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
56324         Define __pointer_chk_guard_local.
56325         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
56326         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
56328 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
56330         [BZ #15859]
56331         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
56333 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
56335         * include/string.h (__ffs): Declare as hidden.
56336         * string/ffs.c (__ffs): Define as hidden.
56337         * sysdeps/i386/ffs.c (__ffs): Likewise.
56338         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
56339         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
56340         * sysdeps/s390/ffs.c (__ffs): Likewise.
56341         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
56343 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
56345         * NEWS: Mention malloc probes.
56347         * malloc/arena.c (new_heap): New memory_heap_new probe.
56348         (grow_heap): New memory_heap_more probe.
56349         (shrink_heap): New memory_heap_less probe.
56350         (heap_trim): New memory_heap_free probe.
56351         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
56352         (systrim): New memory_sbrk_less probe.
56353         * manual/probes.texi: Document them.
56355         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
56356         * manual/probes.texi: Document it.
56358         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
56359         (__libc_realloc): Add memory_realloc_retry probe.
56360         (__libc_memalign): Add memory_memalign_retry probe.
56361         (__libc_valloc): Add memory_valloc_retry probe.
56362         (__libc_pvalloc): Add memory_pvalloc_retry probe.
56363         (__libc_calloc): Add memory_calloc_retry probe.
56364         * manual/probes.texi: Document them.
56366         * malloc/arena.c (get_free_list): Add probe
56367         memory_arena_reuse_free_list.
56368         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
56369         and memory_arena_reuse.
56370         (arena_get2) [!PER_THREAD]: Likewise.
56371         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
56372         memory_arena_reuse_realloc.
56373         * manual/probes.texi: Document them.
56375         * malloc/malloc.c (__libc_free): Add
56376         memory_mallopt_free_dyn_thresholds probe.
56377         (__libc_mallopt): Add multiple memory_mallopt probes.
56378         * manual/probes.texi: Document them.
56380         * malloc/malloc.c: Include stap-probe.h.
56381         (__libc_mallopt): Add memory_mallopt probe.
56382         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
56383         * manual/probes.texi: New.
56384         * manual/Makefile (chapters): Add probes.
56385         * manual/threads.texi: Set next node.
56387 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
56389         [BZ #15963, #13985]
56390         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
56391         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
56392         Add `Chinese' to `nan' entry name.
56394 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56396         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
56397         (POLYNOMIAL): Likewise.
56398         (TAYLOR_SINCOS): Likewise.
56399         (TAYLOR_SLOW): Likewise.
56400         (__sin): Use TAYLOR_SINCOS.
56401         (__cos): Likewise.
56402         (slow): Use TAYLOR_SLOW.
56403         (sloww): Likewise.
56404         (bsloww): Likewise.
56405         (csloww): Likewise.
56407 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56409         * stdlib/strtod_l.c: Fix buffer overrun.
56411 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56413         * benchtests/Makefile (bench): Add sincos.
56414         * benchtests/bench-sincos.c: New file.
56416         * math/libm-test.inc (cos_test_data): New test inputs.
56417         (sin_test_data): Likewise.
56419         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
56420         macro.
56421         (__sin): Use it.
56422         (__cos): Likewise.
56423         (slow1): Likewise.
56424         (slow2): Likewise.
56425         (sloww1): Likewise.
56426         (sloww2): Likewise.
56427         (bsloww1): Likewise.
56428         (bsloww2): Likewise.
56429         (cslow2): Likewise.
56430         (csloww1): Likewise.
56431         (csloww2): Likewise.
56433         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
56434         function.
56435         (__sin): Use it.
56436         (__cos): Likewise.
56438         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
56439         gotos.
56440         (__cos): Likewise.
56442 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
56444         * config.h.in (HAVE_MIPS_NAN2008): New macro.
56445         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
56446         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
56447         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
56448         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
56449         * elf/cache.c (print_entry): Handle the new cache flags.
56451 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56452             Aldy Hernandez  <aldyh@redhat.com>
56454         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
56455         Change condition to [_SOFT_FLOAT].
56456         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
56457         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
56458         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
56459         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
56460         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
56461         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
56462         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
56463         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
56464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
56465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
56466         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
56467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
56468         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
56469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
56470         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
56471         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
56472         declaration.
56474 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56476         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
56477         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56478         (__longjmp): Use LOAD_GP to load saved GPRs.
56479         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
56480         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56481         (__sigsetjmp): Use SAVE_GP to save GPRs.
56483         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
56484         Do not append -msoft-float.
56485         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
56487 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56489         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
56491 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
56493         [BZ #15966]
56494         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
56495         (_FPU_GETCW): Use initial "__" on variable and field names but not
56496         on macro parameter name.
56497         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
56498         parentheses around reference to macro parameter.
56500 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
56502         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
56503         prototype.
56504         (ctype_startup): Use uint32_t in cast and sizeof for
56505         ctype->charnames.
56507 2013-09-11  Jia Liu  <proljc@gmail.com>
56509         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
56510         __daddr_t_defined.
56511         [__FreeBSD__]: Likewise.
56513 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
56515         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
56516         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
56517         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
56518         (strchr): Remove __strchr_sse42 ifunc selection.
56519         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
56520         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
56522 2013-09-11  Will Newton  <will.newton@linaro.org>
56524         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
56525         parameter to RES. Remove hardcoded 1000 value.
56526         * benchtests/bench-skeleton.c (main): Pass RES parameter
56527         to TIMING_INIT and multiply result by 1000.
56529 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56533 2013-09-11  Andreas Schwab  <schwab@suse.de>
56535         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
56536         if not defined.
56537         (O_TMPFILE) [__USE_GNU]: Define.
56538         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
56539         Define.
56541 2013-09-11  Will Newton  <will.newton@linaro.org>
56543         [BZ #15857]
56544         * malloc/malloc.c (__libc_memalign): Check the value of bytes
56545         does not overflow.
56547 2013-09-11  Will Newton  <will.newton@linaro.org>
56549         [BZ #15856]
56550         * malloc/malloc.c (__libc_valloc): Check the value of bytes
56551         does not overflow.
56553 2013-09-11  Will Newton  <will.newton@linaro.org>
56555         [BZ #15855]
56556         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
56557         does not overflow.
56559 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
56561         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
56562         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56563         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56564         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56565         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56567 2013-09-10  Allan McRae  <allan@archlinux.org>
56569         [BZ #15748]
56570         * manual/arith.texi (Parsing of Floats): Clarify
56571         cross-reference.
56573         [BZ #15849]
56574         * manual/install.texi (Running make install): Mention
56575         --enable-pt-chown.
56576         * INSTALL: Regenerated.
56578 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
56580         * csu/init-first.c (_init): Remove the !SHARED condition around
56581         FPU control word initialization.
56582         * elf/dl-support.c (_dl_fpu_control): New variable.
56583         (_dl_aux_init) <AT_FPUCW>: Initialize it.
56584         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
56585         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
56586         * math/test-fpucw-static.c: New file.
56587         * math/test-fpucw-ieee.c: New file.
56588         * math/test-fpucw-ieee-static.c: New file.
56589         * math/Makefile (tests): Add `test-fpucw-ieee' and
56590         `$(tests-static)'.
56591         (tests-static): New variable.
56592         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
56593         dependency to...
56594         [($(build-shared),yes)]
56595         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
56596         ... this.
56597         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
56598         New dependency.
56600 2013-09-09  Allan McRae  <allan@archlinux.org>
56602         [BZ #15939]
56603         * manual/string.texi (Collation Functions): Fix typo in
56604         strcoll example.
56605         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
56607         [BZ #15893]
56608         * stdlib/isomac.c (get_null_defines): Fix memory leak.
56610         [BZ #15892]
56611         * libio/memstream.c (open_memstream): Fix memory leak.
56612         * libio/wmemstream.c (open_wmemstream): Likewise.
56614         [BZ #15895]
56615         * nscd/netgroupcache.c: Fix nesting of ifdefs.
56617 2013-09-09  Will Newton  <will.newton@linaro.org>
56619         * malloc/Makefile: Add tst-realloc to tests.
56620         * malloc/tst-realloc.c: New file.
56622 2013-09-09  Allan McRae  <allan@archlinux.org>
56624         [BZ #15844]
56625         * COPYING: Update from GNU website to fix FSF address.
56626         * COPYING.LIB: Likewise.
56628 2013-09-06  David S. Miller  <davem@davemloft.net>
56630         * po/zh_TW.po: Update Chinese (traditional) translation from
56631         translation project.
56633 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
56634             Joseph Myers  <joseph@codesourcery.com>
56636         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
56637         "localeinfo.h".
56638         (obstack_chunk_alloc): New macro.
56639         (obstack_chunk_free): Likewise.
56640         (record_offset): New function.
56641         (init_locale_data): Likewise.
56642         (align_locale_data): Likewise.
56643         (add_locale_empty): Likewise.
56644         (add_locale_raw_data): Likewise.
56645         (add_locale_raw_obstack): Likewise.
56646         (add_locale_string): Likewise.
56647         (add_locale_wstring): Likewise.
56648         (add_locale_uint32): Likewise.
56649         (add_locale_uint32_array): Likewise.
56650         (add_locale_char): Likewise.
56651         (start_locale_structure): Likewise.
56652         (end_locale_structure): Likewise.
56653         (start_locale_prelude): Likewise.
56654         (end_locale_prelude): Likewise.
56655         (write_locale_data): Take locale_file structure rather than an
56656         iovec.
56657         * locale/programs/locfile.h: Include "obstack.h".
56658         (struct locale_file): Change to store locale file contents instead
56659         of header.
56660         (init_locale_data): New prototype.
56661         (align_locale_data): Likewise.
56662         (add_locale_empty): Likewise.
56663         (add_locale_raw_data): Likewise.
56664         (add_locale_raw_obstack): Likewise.
56665         (add_locale_string): Likewise.
56666         (add_locale_wstring): Likewise.
56667         (add_locale_uint32): Likewise.
56668         (add_locale_uint32_array): Likewise.
56669         (add_locale_char): Likewise.
56670         (start_locale_structure): Likewise.
56671         (end_locale_structure): Likewise.
56672         (start_locale_prelude): Likewise.
56673         (end_locale_prelude): Likewise.
56674         (write_locale_data): Update prototype.
56675         * locale/programs/3level.h (struct TABLE): Remove result field.
56676         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
56677         Use new locale_file interface.
56678         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
56679         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
56680         * locale/programs/ld-address.c (address_output): Use new
56681         locale_file interface.
56682         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
56683         NO_ADD_LOCALE.
56684         (collate_finish): Don't call collseq_table_finalize.
56685         (collate_output): Use new locale_file interface.
56686         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
56687         in file.
56688         (NO_FINALIZE): Change to NO_ADD_LOCALE.
56689         (TABLE): Move defines earlier in file.
56690         (ELEMENT): Likewise.
56691         (DEFAULT): Likewise.
56692         (wctrans_table_add): Move macro and inline function earlier in
56693         file.
56694         (struct wctype_table): Move type earlier in file.
56695         (add_locale_wctype_table): New static prototype.
56696         (struct locale_ctype_t): Use logical types instead of struct iovec
56697         pointers for members.
56698         (ctype_output): Use new locale_file interface.
56699         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
56700         new locale_file interface.
56701         (allocate_arrays): Update for use of new locale_file interface.
56702         * locale/programs/ld-identification.c (identification_output): Use
56703         new locale_file interface.
56704         * locale/programs/ld-measurement.c (measurement_output): Likewise.
56705         * locale/programs/ld-messages.c (messages_output): Likewise.
56706         * locale/programs/ld-monetary.c (monetary_output): Likewise.
56707         * locale/programs/ld-name.c (name_output): Likewise.
56708         * locale/programs/ld-numeric.c (numeric_output): Likewise.
56709         * locale/programs/ld-paper.c (paper_output): Likewise.
56710         * locale/programs/ld-telephone.c (telephone_output): Likewise.
56711         * locale/programs/ld-time.c (time_output): Likewise.
56713 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56715         * benchtests/Makefile: Add memrchr benchmark.
56716         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
56717         benchmark as memrchr.
56718         * benchtests/bench-memrchr-ifunc.c: New file.
56719         * benchtests/bench-memrchr.c: New file.
56721 2013-09-06   Will Newton  <will.newton@linaro.org>
56723         * benchtests/Makefile (string-bench): Add memcpy.
56725 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
56726             Cong Wang  <amwang@redhat.com>
56728         [BZ #15850]
56729         * sysdeps/unix/sysv/linux/bits/in.h
56730         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
56731         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
56732         before __USE_KERNEL_IPV6_DEFS uses.
56733         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
56734         IPPROTO_BEETPH.
56735         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
56736         sockaddr_in6, or ipv6_mreq.
56738 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56740         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
56741         memory access for final bytes in some large inputs.
56742         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
56744 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56746         * string/test-memrchr.c: New file.
56747         * string/test-memrchr-ifunc.c: New file.
56748         * string/Makefile: Add new memrchr testcase.
56750 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
56752         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
56753         fanotify_init returns EPERM.
56755 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56757         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
56758         errors.
56759         (top level): Treat second token from macro or constant entries for
56760         allowed headers as allowed.
56761         * include/complex.h: Condition internal declarations on
56762         [!_ISOMAC].
56763         * include/fenv.h: Condition include of <stdbool.h> and internal
56764         declarations on [!_ISOMAC].
56766 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
56768         [BZ #15923]
56769         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
56771 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56773         * configure.in (--enable-versioning): Remove configure option.
56774         (libc_cv_asm_symver_directive): Remove configure test.
56775         (libc_cv_ld_version_script_option): Likewise.
56776         (VERSIONING): Remove variable and AC_SUBST.
56777         (DO_VERSIONING): Remove AC_DEFINE.
56778         * configure: Regenerated.
56779         * config.h.in (DO_VERSIONING): Remove macro.
56780         * Makerules [$(versioning) = yes]: Change conditionals to
56781         [$(build-shared) = yes].
56782         * config.make.in (versioning): Remove variable.
56783         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
56784         [$(build-shared) = yes].
56785         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
56786         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
56787         * elf/Makefile [$(versioning) = yes]: Change conditionals to
56788         [$(build-shared) = yes].
56789         * extra-lib.mk [$(versioning) = yes]: Likewise.
56790         * hurd/Makefile [$(versioning) = yes]: Likewise.
56791         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
56792         [SHARED].
56793         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
56794         [SHARED].
56795         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56796         [SHARED && !NO_HIDDEN].
56797         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
56798         [SHARED].
56799         [SHARED && DO_VERSIONING]: Likewise..
56800         * libio/Makefile [$(versioning) = yes]: Change conditionals to
56801         [$(build-shared) = yes].
56802         * manual/install.texi (--disable-versioning): Remove
56803         documentation.
56804         * INSTALL: Regenerated.
56805         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
56806         to [SHARED].
56807         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
56808         [$(build-shared) = yes].
56809         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
56810         * sysdeps/i386/i686/multiarch/strstr-c.c
56811         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56812         [SHARED && !NO_HIDDEN].
56813         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
56814         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
56815         * sysdeps/powerpc/powerpc32/dl-machine.c
56816         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
56817         * sysdeps/powerpc/powerpc32/sysdep.h
56818         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
56819         to [SHARED && PIC && !NO_HIDDEN].
56820         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
56821         conditional to [SHARED].
56823 2013-09-04   Will Newton  <will.newton@linaro.org>
56825         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
56826         * benchtests/bench-string.h: Include bench-timing.h instead
56827         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
56828         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
56829         call to HP_TIMING_DIFF_INIT.
56830         * benchtests/bench-memccpy.c: Use bench-timing.h macros
56831         instead of hp-timing.h macros.
56832         * benchtests/bench-memchr.c: Likewise.
56833         * benchtests/bench-memcmp.c: Likewise.
56834         * benchtests/bench-memcpy.c: Likewise.
56835         * benchtests/bench-memmem.c: Likewise.
56836         * benchtests/bench-memmove.c: Likewise.
56837         * benchtests/bench-memset.c: Likewise.
56838         * benchtests/bench-rawmemchr.c: Likewise.
56839         * benchtests/bench-strcasecmp.c: Likewise.
56840         * benchtests/bench-strcasestr.c: Likewise.
56841         * benchtests/bench-strcat.c: Likewise.
56842         * benchtests/bench-strchr.c: Likewise.
56843         * benchtests/bench-strcmp.c: Likewise.
56844         * benchtests/bench-strcpy.c: Likewise.
56845         * benchtests/bench-strcpy_chk.c: Likewise.
56846         * benchtests/bench-strlen.c: Likewise.
56847         * benchtests/bench-strncasecmp.c: Likewise.
56848         * benchtests/bench-strncat.c: Likewise.
56849         * benchtests/bench-strncmp.c: Likewise.
56850         * benchtests/bench-strncpy.c: Likewise.
56851         * benchtests/bench-strnlen.c: Likewise.
56852         * benchtests/bench-strpbrk.c: Likewise.
56853         * benchtests/bench-strrchr.c: Likewise.
56854         * benchtests/bench-strspn.c: Likewise.
56855         * benchtests/bench-strstr.c: Likewise.
56857 2013-09-04  Will Newton  <will.newton@linaro.org>
56859         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
56861 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
56863         [BZ #15427]
56864         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
56865         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
56866         * math/libm-test.inc (lgamma_test_data): Add more tests.
56867         * sysdeps/i386/fpu/libm-test-ulps: Update.
56868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56870 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
56872         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
56873         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56874         Add ifunc.
56875         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56876         Add strcmp-sse2-unaligned
56877         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
56879 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56881         * Versions.def (libc): Add GLIBC_2.19.
56883 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56885         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
56886         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
56888 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
56890         [BZ #14155]
56891         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
56892         intermediate calculations in recurrence.
56893         (__ieee754_ynf): Likewise.
56894         * math/libm-test.inc (jn_test_data): Do not allow spurious
56895         underflow exception.  Add more tests.
56896         (yn_test_data): Add more tests.
56897         * sysdeps/i386/fpu/libm-test-ulps: Update.
56898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56900 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
56902         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
56904 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56906         * csu/init-first.c: Fix then/than typos.
56907         * locale/programs/ld-collate.c: Likewise.
56908         * locale/programs/linereader.h: Likewise.
56909         * manual/charset.texi: Likewise.
56910         * manual/filesys.texi: Likewise.
56911         * manual/stdio.texi: Likewise.
56912         * manual/string.texi: Likewise.
56913         * stdlib/fmtmsg.c: Likewise.
56914         * sysdeps/i386/stpncpy.S: Likewise.
56915         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56916         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56917         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56918         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56920 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56922         * elf/dl-open.c: Fix typos.
56923         * iconvdata/gbbig5.c: Likewise.
56924         * iconvdata/iso-2022-jp.c: Likewise.
56925         * iconv/gconv_int.h: Likewise.
56926         * iconv/loop.c: Likewise.
56927         * nis/rpcsvc/nis.h: Likewise.
56928         * resolv/ns_name.c: Likewise.
56929         * stdio-common/vfscanf.c: Likewise.
56930         * streams/stropts.h: Likewise.
56931         * sunrpc/rpc_thread.c: Likewise.
56932         * sysdeps/i386/strpbrk.S: Likewise.
56933         * sysdeps/ieee754/k_standard.c: Likewise.
56934         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56935         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56936         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
56937         * sysdeps/mach/hurd/profil.c: Likewise.
56938         * sysdeps/s390/dl-procinfo.h: Likewise.
56939         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
56940         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
56941         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
56942         * sysdeps/x86_64/dl-trampoline.S: Likewise.
56943         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56945 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
56947         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
56948         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
56950 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
56952         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
56953         aix specific files.
56954         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
56955         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
56956         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
56957         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
56958         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
56959         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
56960         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
56961         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
56963 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56964             Roland McGrath  <roland@hack.frob.com>
56966         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
56967         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
56969 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56971         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
56972         __executable_start symbol instead of _start.
56974 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56976         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
56977         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
56978         Move macros to...
56979         * sysdeps/gnu/ldsodefs.h: ... this new file.
56981         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
56982         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
56983         instead of ELFOSABI_LINUX.
56985         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
56986         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
56987         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
56988         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
56989         Likewise.
56990         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
56991         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
56992         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
56993         Likewise.
56994         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56995         (ibm_extended_long_double): Add ieee_nan member.
56996         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
56997         (do_test): New function.
56999         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
57000         TEST_TRUNC.
57001         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
57002         functions, renamed from truncdfsf_test, trunctfsf_test,
57003         trunctfdf_test.
57004         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
57005         functions.
57006         (do_test): Run all these.
57008 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
57010         * argp/argp-help.c: Fix typos.
57011         * argp/argp-parse.c: Likewise.
57012         * debug/backtracesyms.c: Likewise.
57013         * elf/elf.h: Likewise.
57014         * malloc/malloc.c: Likewise.
57015         * nis/nis_print.c: Likewise.
57016         * resolv/res_comp.c: Likewise.
57017         * stdlib/stdlib.h: Likewise.
57018         * sunrpc/clnt_tcp.c: Likewise.
57019         * sunrpc/clnt_udp.c: Likewise.
57020         * sunrpc/clnt_unix.c: Likewise.
57021         * sysdeps/unix/bsd/ptsname.c: Likewise.
57022         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
57023         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
57024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
57025         Likewise.
57026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
57027         Likewise.
57028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
57029         Likewise.
57030         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
57032 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57034         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
57035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57037 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
57039         [BZ #15897]
57040         * dlfcn/Makefile (tests): Add bug-dl-leaf.
57041         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
57042         ($(objpfx)bug-dl-leaf): New rule.
57043         ($(objpfx)bug-dl-leaf.so): Likewise.
57044         ($(objpfx)bug-dl-leaf.out): Likewise.
57045         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
57046         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
57047         * dlfcn/bug-dl-leaf.c: New test.
57048         * dlfcn/bug-dl-leaf-lib.c: Likewise.
57049         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
57050         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
57051         (dlclose): Likewise.
57052         (dlmopen): Likewise.
57054 2013-08-27  Roland McGrath  <roland@hack.frob.com>
57056         * include/netdb.h [!_ISOMAC]:
57057         Don't include <tls.h>.
57058         (h_errno, __libc_h_errno): Move declaration and macros out of
57059         [_LIBC_REENTRANT].
57061         * include/resolv.h [_RESOLV_H_]:
57062         Don't include <tls.h>.
57063         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
57064         * resolv/res_libc.c: Don't include <tls.h>.
57065         (_res): Use __attribute__ ((nocommon)) in place of
57066         __attribute__ ((section (".bss"))).
57068         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
57069         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
57071         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
57073         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
57074         only under [SIOCGIFCONF && SIOCGIFNETMASK].
57076         * resolv/res_mkquery.c: Include <sys/time.h>.
57078         * inet/ifreq.c: Moved to ...
57079         * sysdeps/unix/ifreq.c: ... here.
57080         * inet/ifreq.c: New file, true stub version.
57082         * socket/sa_len.c: New file.
57083         * socket/Makefile (aux): Add it.
57084         * sysdeps/unix/sysv/linux/Makefile
57085         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
57086         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
57087         and #include <socket/sa_len.c>.
57088         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
57089         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
57091         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
57092         * bits/socket.h: ... here.
57094         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
57095         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
57096         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
57098 2013-08-27  Andreas Schwab  <schwab@suse.de>
57100         [BZ #15736]
57101         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
57102         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
57103         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
57104         * string/test-strcasecmp.c (test_main): Run tests in several
57105         locales.
57106         * string/test-strncasecmp.c (test_main): Likewise.
57108         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
57109         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
57110         to __strcasecmp_nonascii and __strncasecmp_nonascii.
57111         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
57112         (__strncasecmp_ssse3) [PIC]: Likewise.
57114 2013-08-26  Roland McGrath  <roland@hack.frob.com>
57116         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
57118         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
57119         instead of explicitly declaring xdecrypt.
57120         * nis/nss_nis/nis-publickey.c: Likewise.
57122 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57124         [BZ #15890]
57125         * nscd/aicache.c: Include res_hconf.h.
57126         (addhstaiX): Initialize res_hconf.
57128 2013-08-26  Andreas Schwab  <schwab@suse.de>
57130         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
57131         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
57133 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57135         * nscd/aicache.c (addhstaiX): Fix indentation.
57137 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
57139         * configure.ac: Quote $build_pt_chown test.
57140         * configure: Regenerated.
57142 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
57144         [BZ #15532]
57145         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
57146         * math/s_cexpf.c (__cexpf): Likewise.
57147         * math/s_cexpl.c (__cexpl): Likewise.
57148         * math/libm-test.inc (cexp_test_data): Correct expected return
57149         value for NaN + i0.  Add another test.
57151 2013-08-22  David S. Miller  <davem@davemloft.net>
57153         * po/ca.po: Update Catalan translation from translation project.
57154         * po/uk.po: Add Ukrainian translations from translation project.
57156 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
57158         [BZ #15797]
57159         * math/s_fdim.c (__fdim): Check for infinite arguments if result
57160         is infinite, not alongside NaN test.
57161         * math/s_fdimf.c (__fdimf): Likewise.
57162         * math/s_fdiml.c (__fdiml): Likewise.
57163         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
57164         errno is unchanged.
57166 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
57168         * argp/argp-help.c: Fix typos.
57169         * crypt/speeds.c: Likewise.
57170         * csu/check_fds.c: Likewise.
57171         * elf/dl-load.c: Likewise.
57172         * elf/dl-open.c: Likewise.
57173         * elf/reldep3.c: Likewise.
57174         * elf/reldep.c: Likewise.
57175         * elf/sprof.c: Likewise.
57176         * iconv/iconv_charmap.c: Likewise.
57177         * iconv/skeleton.c: Likewise.
57178         * iconv/strtab.c: Likewise.
57179         * io/lockf64.c: Likewise.
57180         * libio/libioP.h: Likewise.
57181         * resolv/gai_notify.c: Likewise.
57182         * resolv/ns_name.c: Likewise.
57183         * resolv/ns_samedomain.c: Likewise.
57184         * resolv/res_send.c: Likewise.
57185         * stdlib/random.c: Likewise.
57186         * sunrpc/rpc/xdr.h: Likewise.
57187         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
57188         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57189         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57190         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57191         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57192         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57193         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57194         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57195         * sysdeps/mach/hurd/check_fds.c: Likewise.
57196         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57197         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
57198         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57199         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57200         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57201         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57202         * sysdeps/pthread/aio_notify.c: Likewise.
57203         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
57204         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
57205         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
57206         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57207         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
57209 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57211         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
57212         version if bit_Slow_SSE4_2 is set.
57213         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57214         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57216 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57218         [BZ #15867]
57219         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
57220         trampoline stack frame information.
57221         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
57222         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
57223         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
57224         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
57225         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
57226         * sysdeps/unix/sysv/linux/powerpc/init-first.c
57227         (_libc_vdso_platform_setup): Initialize the signal trampolines.
57228         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
57229         sa_flags value.
57230         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
57231         interrupting a syscall and set with option SA_SIGINFO.
57233 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
57235         [BZ #15531]
57236         * math/s_cproj.c (__cproj): Only return an infinity if one part of
57237         argument is infinite.
57238         * math/s_cprojf.c (__cprojf): Likewise.
57239         * math/s_cprojl.c (__cprojl): Likewise.
57240         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
57241         * math/libm-test.inc (cproj_test_data): Add more tests.
57243         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
57245         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
57246         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
57247         size.  Use __ffs to determine corresponding shift.
57249 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
57250             Roland McGrath  <roland@hack.frob.com>
57252         * Makefile (INSTALL): Remove trailing blank lines from output of
57253         makeinfo.
57255 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57257         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
57258         Align 32 bit compat elf_greg to 8 bytes.
57260 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
57262         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
57264 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57266         * string/strcoll_l.c (coll_seq): New structure.
57267         (get_next_seq_cached): New function.
57268         (get_next_seq): New function.
57269         (do_compare): New function.
57270         (STRCOLL): Use GNU style definition.  Simplify implementation
57271         by using get_next_seq, get_next_seq_cached and do_compare.
57273 2013-08-16  Florian Weimer  <fweimer@redhat.com>
57275         [BZ #14699]
57276         CVE-2013-4237
57277         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
57278         member.
57279         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
57280         member.
57281         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
57282         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
57283         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
57284         conditional.
57285         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
57286         GETDENTS_64BIT_ALIGNED.
57287         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57288         * manual/filesys.texi (Reading/Closing Directory): Document
57289         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
57290         strongly.
57291         * manual/conf.texi (Limits for Files): Add portability note to
57292         NAME_MAX, PATH_MAX.
57293         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
57295 2013-08-13  Andreas Schwab  <schwab@suse.de>
57297         [BZ #15749]
57298         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
57299         of fabs.
57300         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
57301         LDBL_MAX_EXP >= 16384]: Add tests for it.
57303 2013-08-12  David S. Miller  <davem@davemloft.net>
57305         * version.h (RELEASE): Set to "development".
57306         (VERSION): Set to "2.18.90".
57307         * NEWS: Add 2.19 section.
57309 2013-08-03  David S. Miller  <davem@davemloft.net>
57311         * po/ko.po: Update Korean translation from translation project.
57313 2013-08-01  David S. Miller  <davem@davemloft.net>
57315         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
57316         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
57317         Bilka.
57319 2013-07-30  David S. Miller  <davem@davemloft.net>
57321         * po/fr.po: Update French translation from translation project.
57323 2013-07-28  David S. Miller  <davem@davemloft.net>
57325         * po/cs.po: Update Czech translation from translation project.
57327         * po/sv.po: Update Swedish translation from translation project.
57329 2013-07-27  David S. Miller  <davem@davemloft.net>
57331         * po/eo.po: Update Esperanto translation from translation project.
57333         * po/vi.po: Update Vietnamese translation from translation project.
57335         * po/de.po: Update German translation from translation project.
57337 2013-07-26  David S. Miller  <davem@davemloft.net>
57339         * po/bg.po: Update Bulgarian translation from translation project.
57341         * po/nl.po: Update Dutch translation from translation project.
57342         * po/pl.po: Update Polish translation from translation project.
57343         * po/ru.po: Update Russian translation from translation project.
57345 2013-07-24  David S. Miller  <davem@davemloft.net>
57347         * po/libc.pot: Update.
57349 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57351         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
57352         variable page size.
57353         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
57354         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
57355         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
57357 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57359         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
57361 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57362             Andreas Schwab  <schwab@suse.de>
57363             Roland McGrath  <roland@hack.frob.com>
57364             Joseph Myers  <joseph@codesourcery.com>
57365             Carlos O'Donell  <carlos@redhat.com>
57367         [BZ #15755]
57368         * config.h.in: Define HAVE_PT_CHOWN.
57369         * config.make.in (build-pt-chown): New variable.
57370         * configure.in (--enable-pt_chown): New configure option.
57371         * configure: Regenerate.
57372         * login/Makefile: Include Makeconfig.  Build pt_chown only if
57373         build-pt-chown is enabled.
57374         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
57375         pt_chown to fix pty ownership.
57376         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
57377         CLOSE_ALL_FDS.
57378         * manual/install.texi (Configuring and compiling): Mention
57379         --enable-pt_chown. Add @findex for grantpt.
57380         * INSTALL: Regenerate.
57382 2013-07-20  David S. Miller  <davem@davemloft.net>
57384         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
57385         difference between 32-bit and 64-bit.
57387 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
57389         [BZ #15711]
57390         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
57391         Avoid system header dependency with -ffreestanding.
57392         ($(objpfx)bits/syscall%d): Likewise.
57394 2013-07-13  David S. Miller  <davem@davemloft.net>
57396         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
57397         underflows from atanl/atan2l due to bug 15319.
57398         (casinh_test_data): Likewise.
57400 2013-07-07  David S. Miller  <davem@davemloft.net>
57402         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
57404 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
57406         * sysdeps/i386/fpu/libm-test-ulps: Update.
57407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57409 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57411         * configure.in (--enable-lock-elision): Fix message text.
57412         * INSTALL: Regenerate.
57413         * configure: Regenerate.
57415 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57419 2013-07-03  Andreas Jaeger  <aj@suse.de>
57421         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
57422         define.
57423         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
57424         (ptrace_peeksiginfo_args): Add.
57425         (__ptrace_peeksiginfo_flags): Add.
57426         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57427         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57428         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57430 2013-07-03  Allan McRae  <allan@archlinux.org>
57432         * sysdeps/i386/fpu/libm-test-ulps: Update.
57434 2013-07-02  David S. Miller  <davem@davemloft.net>
57436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57438 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
57440         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57442 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57444         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57447 2013-07-02  Andi Kleen <ak@linux.intel.com>
57449         * config.h.in (ENABLE_LOCK_ELISION): Add.
57450         * configure.in (--enable-lock-elision): Add option.
57451         * manual/install.texi: Document --enable lock elision.
57452         * configure: Regenerate
57453         * INSTALL: Regenerate.
57455 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
57457         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
57458         SSE4.2 strcasecmp for libc.a.
57459         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
57461 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57463         [BZ #13304]
57464         * soft-fp/op-common.h (_FP_FMA): New macro.
57465         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
57466         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
57467         (_FP_MUL_MEAT_1_imm): ... here.
57468         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
57469         (_FP_MUL_MEAT_1_wide): ... here.
57470         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
57471         (_FP_MUL_MEAT_1_hard): ... here.
57472         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
57473         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
57474         (_FP_MUL_MEAT_2_wide): ... here.
57475         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
57476         (_FP_MUL_MEAT_2_wide_3mul): ... here.
57477         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
57478         (_FP_MUL_MEAT_2_gmp): ... here.
57479         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
57480         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
57481         (_FP_MUL_MEAT_4_wide): ... here.
57482         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
57483         (_FP_MUL_MEAT_4_gmp): ... here.
57484         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
57485         (_FP_WFRACBITS_DW_S): Likewise.
57486         (_FP_WFRACXBITS_DW_S): Likewise.
57487         (_FP_HIGHBIT_DW_S): Likewise.
57488         (FP_FMA_S): Likewise.
57489         (_FP_FRAC_HIGH_DW_S): Likewise.
57490         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
57491         (_FP_WFRACBITS_DW_D): Likewise.
57492         (_FP_WFRACXBITS_DW_D): Likewise.
57493         (_FP_HIGHBIT_DW_D): Likewise.
57494         (FP_FMA_D): Likewise.
57495         (_FP_FRAC_HIGH_DW_D): Likewise.
57496         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
57497         (_FP_WFRACBITS_DW_E): Likewise.
57498         (_FP_WFRACXBITS_DW_E): Likewise.
57499         (_FP_HIGHBIT_DW_E): Likewise.
57500         (FP_FMA_E): Likewise.
57501         (_FP_FRAC_HIGH_DW_E): Likewise.
57502         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
57503         (_FP_WFRACBITS_DW_Q): Likewise.
57504         (_FP_WFRACXBITS_DW_Q): Likewise.
57505         (_FP_HIGHBIT_DW_Q): Likewise.
57506         (FP_FMA_Q): Likewise.
57507         (_FP_FRAC_HIGH_DW_Q): Likewise.
57508         * soft-fp/fmasf4.c: New file.
57509         * soft-fp/fmadf4.c: Likewise.
57510         * soft-fp/fmatf4.c: Likewise.
57512 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57514         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57515         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
57516         Silvermont.
57517         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
57518         macro.
57519         (index_Slow_SSE4_2): Likewise.
57520         (index_Prefer_PMINUB_for_stringop): Likewise.
57521         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
57522         bit_Slow_SSE4_2 is set.
57523         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57524         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57526 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57528         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
57529         rtld_global._dl_hwcap2.
57530         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
57531         POWER8.
57532         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
57533         POWER8 feature descriptions defined in _dl_hwcap2.
57534         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
57535         string handling for POWER8 feature bits.
57536         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
57537         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
57538         _dl_powerpc_cap_flags.
57539         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
57540         * sysdeps/powerpc/rtld-global-offsets.sym
57541         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
57542         _dl_hwcap2 in the rtld_global_ro structure.
57544 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57546         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
57547         hardware capabilities in support of AT_HWCAP2.
57548         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
57549         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
57550         GLRO(dl_hwcap2).
57551         (_dl_show_auxv): Add support for calling _dl_procinfo to display
57552         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
57553         explicitly the unknown a_type display mechanism is used.
57554         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
57555         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
57556         struct member.
57557         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
57558         to macro prototype for AT_HWCAP2 support.
57559         * sysdeps/i386/dl-procinfo.h: Likewise.
57560         * sysdeps/s390/dl-procinfo.h: Likewise.
57561         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
57562         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
57563         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
57564         return -1 for unknown a_type display fallback.
57565         * sysdeps/sparc/dl-procinfo.h: Likewise.
57566         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
57567         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
57569 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
57571         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
57572         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
57574 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
57576         [BZ #12492]
57577         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
57578         mprotect making __stack_prot writable.
57580 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
57581             Joseph Myers  <joseph@codesourcery.com>
57583         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
57584         as being properly aligned.
57586 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
57588         * dlfcn/modstatic5.c: New file.
57589         * dlfcn/tststatic5.c: New file.
57590         * dlfcn/Makefile (tests): Add tststatic5.
57591         (tests-static): Likewise.
57592         (modules-names): Add modstatic5.
57593         (tststatic5-ENV): New variable.
57594         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
57596         [BZ #15022]
57597         * elf/dl-support.c (_dl_main_map): New variable.
57598         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
57599         (_dl_nns, _dl_load_adds): Set to 1.
57600         (_dl_initial_searchlist): Refer to _dl_main_map.
57601         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
57602         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
57603         call to _dl_get_origin.
57604         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
57605         around call_map.
57606         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
57607         * dlfcn/modstatic3.c: New file.
57608         * dlfcn/tststatic3.c: New file.
57609         * dlfcn/tststatic4.c: New file.
57610         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
57611         (tests-static): Likewise.
57612         (modules-names): Add modstatic3.
57613         (tststatic3-ENV, tststatic4-ENV): New variables.
57614         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
57615         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
57617 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
57619         * configure.in (CC): Require GCC version 4.4 or later.
57620         * configure: Regenerated.
57621         * manual/install.texi (Tools for Compilation): Update GCC version
57622         requirement.
57623         * INSTALL: Regenerated.
57625 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57627         [BZ #15674]
57628         * string/test-memcmp.c (check2): New.
57629         (main): Call check2.
57631         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
57633 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
57635         [BZ #15022]
57636         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
57637         over to...
57638         (dl_open_worker) [!SHARED]: ... here.
57640 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57642         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
57644 2013-06-25  Richard Henderson  <rth@redhat.com>
57646         * locale/programs/locarchive.c: Include <libc-internal.h>
57648 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
57650         * manual/texinfo.tex: Update to version 2013-06-21.17, with
57651         trailing whitespace removed.
57653 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57655         [BZ #10283]
57656         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
57657         * locale/programs/locarchive.c: Include libc-mmap.h.
57658         (prepare_address_space): Take two new outputs (the mmap base and len).
57659         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
57660         values.
57661         (create_archive): Declare new mmap base and len values for
57662         prepare_address_space, and store the result in ah.
57663         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
57664         (enlarge_archive): If ah->mmap_base is not NULL, use that and
57665         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57666         Declare new mmap base and len values for
57667         prepare_address_space, and store the result in new_ah.
57668         (open_archive): Declare new mmap base and len values for
57669         prepare_address_space, and store the result in ah.
57670         (close_archive): If ah->mmap_base is not NULL, use that and
57671         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57672         * sysdeps/generic/libc-mmap.h: New file.
57674 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57676         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
57677         (ALIGN_UP): Likewise.
57678         (PTR_ALIGN_DOWN): Likewise.
57679         (PTR_ALIGN_UP): Likewise.
57681 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57683         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
57684         entry mapped to PPC_PLATFORM_POWER8.
57685         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
57686         POWER8.
57687         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
57688         (_dl_string_platform): Add case for exporting platform position for
57689         POWER8.
57690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
57691         search path to sysdeps/powerpc/powerpc32/power8 directory.
57692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
57693         search path to sysdeps/powerpc/powerpc64/power8 directory.
57694         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
57695         power7 directories.
57696         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
57697         power7 directories.
57699 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57701         * INSTALL: Regenerate.
57703         * nscd/connections.c (nscd_init): Fix comment.
57705 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
57707         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
57709         [BZ #15667]
57710         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
57711         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
57713 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57715         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
57716         DL_DST_REQ_STATIC.
57717         (DL_DST_REQ_STATIC): Remove macro.
57719 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
57721         [BZ #7006]
57722         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
57723         with a shift of 0 bits.
57725 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57727         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
57728         $(tststatic-ENV).
57730 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57732         [BZ #15655]
57733         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
57735 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57737         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
57738         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
57739         accepts -fno-tree-loop-distribute-patterns.
57740         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
57741         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
57742         recursive call.
57743         * string/memset.c (memset): Likewise.
57744         * string/test-memmove.c (simple_memmove): Disable loop transformation
57745         to library calls.
57746         * string/test-memset.c (simple_memset): Likewise.
57747         * benchtests/bench-memmove.c (simple_memmove): Likewise.
57748         * benchtests/bench-memset.c (simple_memset): Likewise.
57749         * configure: Regenerated.
57751 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
57753         * math/test-misc.c (main): Ignore fesetround failure when failures
57754         of subsequent rounding tests would be ignored.
57756         [BZ #15654]
57757         * math/fedisblxcpt.c (fedisableexcept): Return 0.
57758         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
57759         * math/fegetenv.c (__fegetenv): Return 0.
57760         * math/fegetexcept.c (fegetexcept): Return 0.
57761         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
57762         FE_TONEAREST.
57763         * math/feholdexcpt.c (feholdexcept): Return 0.
57764         * math/fesetenv.c (__fesetenv): Return 0.
57765         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
57766         argument FE_TONEAREST.
57767         * math/feupdateenv.c (__feupdateenv): Return 0.
57768         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
57770 2013-06-18  Roland McGrath  <roland@hack.frob.com>
57772         * elf/rtld-Rules (rtld-compile-command.S): New variable.
57773         (rtld-compile-command.s, rtld-compile-command.c): New variables.
57774         ($(objpfx)rtld-%.os rules): Use them.
57776 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57778         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
57779         fields.
57781 2013-06-17  Roland McGrath  <roland@hack.frob.com>
57783         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
57784         length of target pattern, then descending length of dependency pattern.
57785         * configure.in (AWK): Require gawk 3.1.2 or newer.
57786         * manual/install.texi (Tools for Compilation): Say that we do.
57787         * configure: Regenerated.
57789         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
57790         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
57791         * scripts/sysd-rules.awk: ... this new script.
57792         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
57793         than a glob-style pattern.
57795 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
57797         * math/test-misc.c (main): Do not treat incorrectly rounded
57798         conversions as failure unless ROUNDING_TESTS passes.
57800 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
57802         [BZ #15631]
57803         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
57804         restore exception state around main square root computation, then
57805         check for inexactness explicitly.
57807         * math/libm-test.inc (fma_test_data): Add another test.
57809 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57811         * manual/threads.texi (Non-POSIX Extensions): New document
57812         node.  Document pthread_getattr_default_np and
57813         pthread_setattr_default_np.
57815         * Versions.def (libpthread): Add GLIBC_2.18.
57816         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
57817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
57818         Likewise.
57819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57820         Likewise.
57821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57822         Likewise.
57823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57824         Likewise.
57825         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
57826         Likewise.
57827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57828         Likewise.
57829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57830         Likewise.
57831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57832         Likewise.
57833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57834         Likewise.
57836 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57839         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
57841 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57842             H.J. Lu  <hjl.tools@gmail.com>
57844         [BZ #15627]
57845         * sysdeps/x86_64/rtld-memset.c: Remove file.
57846         * sysdeps/x86_64/rtld-memset.S: New file.
57848 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
57850         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
57851         (test_in_one_mode): Take arguments for whether the rounding mode
57852         is supported for each floating-point type.
57853         (do_test): Pass new arguments to test_in_one_mode using
57854         ROUNDING_TESTS.
57856 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57858         * posix/tst-waitid.c (do_test): Distinguish different instances of
57859         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
57860         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
57861         before entering the kernel for waitpid.
57863 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57865         * NEWS: Fix note on clock function precision.  Text by Roland
57866         McGrath.
57868 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57870         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
57871         it into place only when and if the sanity check passes.
57873 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
57875         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
57876         output for whether conversion result is exact.  Take argument
57877         indicating whether type is IBM long double.
57878         (round_for_all): Change need_exact field to ibm_ld.
57879         * stdlib/tst-strtod-round.c (struct exactness): New type.
57880         (struct test): Change bool ld_ok field to struct exactness exact.
57881         (TEST): Update all definitions for change to field.
57882         (tests): Regenerate array contents.
57883         (test_in_one_mode): Take pointer to new field instead of old ld_ok
57884         field value.  Check for IBM long double here.
57885         (do_test): Update calls to test_in_one_mode.
57887 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57889         [BZ #12515]
57890         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
57891         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
57893 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57895         [BZ #15605]
57896         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
57897         generated by the compiler on loop optimizations.
57898         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
57899         general definitions.
57901 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
57903         * math/bug-nextafter.c: Include <math-tests.h>.
57904         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57905         the relevant type.
57906         * math/bug-nexttoward.c: Include <math-tests.h>.
57907         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57908         the relevant type.
57909         * math/test-misc.c: Include <math-tests.h>.
57910         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57911         the relevant type.
57913 2013-06-12  Andreas Jaeger  <aj@suse.de>
57915         * po/ia.po: Update Interlingua translation from translation
57916         project.
57918 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57920         * include/fenv.h: Include stdbool.h.
57921         (struct rm_ctx): New structure.
57922         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
57923         Define macro.
57924         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
57925         (SET_RESTORE_ROUNDF): Likewise.
57926         (SET_RESTORE_ROUNDL): Likewise.
57927         (SET_RESTORE_ROUND_NOEX): Likewise.
57928         (SET_RESTORE_ROUND_NOEXF): Likewise.
57929         (SET_RESTORE_ROUND_NOEXL): Likewise.
57930         (SET_RESTORE_ROUND_53BIT): Likewise.
57931         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
57932         (libc_feresetround_noexf_ctx): Likewise.
57933         (libc_feresetround_noexl_ctx): Likewise.
57934         (libc_feholdsetround_53bit_ctx): Likewise.
57935         (libc_feresetround_53bit_ctx): Likewise.
57936         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
57937         (libc_feholdexcept_setround_sse_ctx): New function.
57938         (libc_fesetenv_sse_ctx): Likewise.
57939         (libc_feupdateenv_sse_ctx): Likewise.
57940         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
57941         (libc_feholdexcept_setround_387_ctx): Likewise.
57942         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
57943         (libc_feholdsetround_387_prec_ctx): Likewise.
57944         (libc_feholdsetround_387_ctx): Likewise.
57945         (libc_feholdsetround_387_53bit_ctx): Likewise.
57946         (libc_feholdsetround_sse_ctx): Likewise.
57947         (libc_feresetround_sse_ctx): Likewise.
57948         (libc_feresetround_387_ctx): Likewise.
57949         (libc_feupdateenv_387_ctx): Likewise.
57950         (libc_feholdexcept_setroundf_ctx): Define macro.
57951         (libc_fesetenvf_ctx): Likewise.
57952         (libc_feupdateenvf_ctx): Likewise.
57953         (libc_feholdsetroundf_ctx): Likewise.
57954         (libc_feresetroundf_ctx): Likewise.
57955         (libc_feholdexcept_setround_ctx): Likewise.
57956         (libc_fesetenv_ctx): Likewise.
57957         (libc_feupdateenv_ctx): Likewise.
57958         (libc_feholdsetround_ctx): Likewise.
57959         (libc_feresetround_ctx): Likewise.
57960         (libc_feholdexcept_setroundl_ctx): Likewise.
57961         (libc_feupdateenvl_ctx): Likewise.
57962         (libc_feholdsetroundl_ctx): Likewise.
57963         (libc_feresetroundl_ctx): Likewise.
57964         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
57965         (libc_feresetround_53bit_ctx): Likewise.
57967 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57969         * locale/iso-639.def: Convert to UTF-8.
57971 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
57973         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
57974         (EXCEPTION_TESTS_double): Likewise.
57975         (EXCEPTION_TESTS_long_double): Likewise.
57976         (EXCEPTION_TESTS): Likewise.
57977         * math/libm-test.inc (test_exceptions): Only test exceptions if
57978         EXCEPTION_TESTS (FLOAT).
57980 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57982         * benchtests/Makefile (string-bench): Add strcpy_chk and
57983         stpcpy_chk.
57984         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
57985         * benchtests/bench-stpcpy_chk.c: New file.
57986         * benchtests/bench-strcpy_chk-ifunc.c: New file.
57987         * benchtests/bench-strcpy_chk.c: New file.
57988         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
57989         code.
57990         (do_test): Likewise.
57992 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57994         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
57995         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
57996         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
57997         with tabs where appropriate.
57998         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
57999         dl-procinfo.h.
58000         [PPC_PLATFORM_PPC440]: Likewise.
58001         [PPC_PLATFORM_PPC464]: Likewise.
58002         [PPC_PLATFORM_PPC476]: Likewise.
58003         (_dl_string_platform): Add support for detecting ppc405, ppc440,
58004         ppc464, and ppc476 platform strings merging from ports/
58005         dl-procinfo.h.
58007 2013-06-11  Andreas Schwab  <schwab@suse.de>
58009         [BZ #14991]
58010         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
58011         (from_ucs4_idx): Regenerate.
58012         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
58013         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
58014         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
58015         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
58016         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
58017         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
58018         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
58019         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
58020         from FROM_LOOP and TO_LOOP specific macros.
58021         (BODY): Handle combining characters.
58022         * iconvdata/BIG5HKSCS.irreversible: Update.
58023         * iconvdata/BIG5HKSCS.precomposed: New file.
58024         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
58025         characters.
58026         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
58028 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58030         * include/sys/time.h: Fix indentation and add copyright header.
58032         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
58033         (do_test): Likewise.
58034         * string/test-memchr.c (do_one_test): Likewise.
58035         (do_test): Likewise.
58036         * string/test-memcmp.c (do_one_test): Likewise.
58037         (do_test): Likewise.
58038         * string/test-memcpy.c (do_one_test): Likewise.
58039         (do_test): Likewise.
58040         * string/test-memmem.c (do_one_test): Likewise.
58041         (do_test): Likewise.
58042         (do_random_tests): Likewise.
58043         * string/test-memmove.c (do_one_test): Likewise.
58044         (do_test): Likewise.
58045         * string/test-memset.c (do_one_test): Likewise.
58046         (do_test): Likewise.
58047         * string/test-rawmemchr.c (do_one_test): Likewise.
58048         (do_test): Likewise.
58049         * string/test-strcasecmp.c (do_one_test): Likewise.
58050         (do_test): Likewise.
58051         * string/test-strcasestr.c (do_one_test): Likewise.
58052         (do_test): Likewise.
58053         * string/test-strcat.c (do_one_test): Likewise.
58054         (do_test): Likewise.
58055         * string/test-strchr.c (do_one_test): Likewise.
58056         (do_test): Likewise.
58057         * string/test-strcmp.c (do_one_test): Likewise.
58058         (do_test): Likewise.
58059         * string/test-strcpy.c (do_one_test): Likewise.
58060         (do_test): Likewise.
58061         * string/test-string.h: Likewise.
58062         (test_init): Likewise.
58063         * string/test-strlen.c (do_one_test): Likewise.
58064         (do_test): Likewise.
58065         * string/test-strncasecmp.c (do_one_test): Likewise.
58066         (do_test): Likewise.
58067         * string/test-strncat.c (do_one_test): Likewise.
58068         (do_test): Likewise.
58069         * string/test-strncmp.c (do_one_test): Likewise.
58070         (do_test_limit): Likewise.
58071         (do_test): Likewise.
58072         * string/test-strncpy.c (do_one_test): Likewise.
58073         (do_test): Likewise.
58074         * string/test-strnlen.c (do_one_test): Likewise.
58075         (do_test): Likewise.
58076         * string/test-strpbrk.c (do_one_test): Likewise.
58077         (do_test): Likewise.
58078         * string/test-strrchr.c (do_one_test): Likewise.
58079         (do_test): Likewise.
58080         * string/test-strspn.c (do_one_test): Likewise.
58081         (do_test): Likewise.
58082         * string/test-strstr.c (do_one_test): Likewise.
58083         (do_test): Likewise.
58085         * benchtests/Makefile (string-bench): Add string benchmarks.
58086         * benchtests/bench-bcopy-ifunc.c: New file.
58087         * benchtests/bench-bcopy.c: New file.
58088         * benchtests/bench-bzero-ifunc.c: New file.
58089         * benchtests/bench-bzero.c: New file.
58090         * benchtests/bench-memccpy-ifunc.c: New file.
58091         * benchtests/bench-memccpy.c: New file.
58092         * benchtests/bench-memchr-ifunc.c: New file.
58093         * benchtests/bench-memchr.c: New file.
58094         * benchtests/bench-memcmp-ifunc.c: New file.
58095         * benchtests/bench-memcmp.c: New file.
58096         * benchtests/bench-memmem-ifunc.c: New file.
58097         * benchtests/bench-memmem.c: New file.
58098         * benchtests/bench-memmove-ifunc.c: New file.
58099         * benchtests/bench-memmove.c: New file.
58100         * benchtests/bench-mempcpy-ifunc.c: New file.
58101         * benchtests/bench-mempcpy.c: New file.
58102         * benchtests/bench-memset-ifunc.c: New file.
58103         * benchtests/bench-memset.c: New file.
58104         * benchtests/bench-rawmemchr-ifunc.c: New file.
58105         * benchtests/bench-rawmemchr.c: New file.
58106         * benchtests/bench-stpcpy-ifunc.c: New file.
58107         * benchtests/bench-stpcpy.c: New file.
58108         * benchtests/bench-stpncpy-ifunc.c: New file.
58109         * benchtests/bench-stpncpy.c: New file.
58110         * benchtests/bench-strcasecmp-ifunc.c: New file.
58111         * benchtests/bench-strcasecmp.c: New file.
58112         * benchtests/bench-strcasestr-ifunc.c: New file.
58113         * benchtests/bench-strcasestr.c: New file.
58114         * benchtests/bench-strcat-ifunc.c: New file.
58115         * benchtests/bench-strcat.c: New file.
58116         * benchtests/bench-strchr-ifunc.c: New file.
58117         * benchtests/bench-strchr.c: New file.
58118         * benchtests/bench-strchrnul-ifunc.c: New file.
58119         * benchtests/bench-strchrnul.c: New file.
58120         * benchtests/bench-strcmp-ifunc.c: New file.
58121         * benchtests/bench-strcmp.c: New file.
58122         * benchtests/bench-strcpy-ifunc.c: New file.
58123         * benchtests/bench-strcpy.c: New file.
58124         * benchtests/bench-strcspn-ifunc.c: New file.
58125         * benchtests/bench-strcspn.c: New file.
58126         * benchtests/bench-strlen-ifunc.c: New file.
58127         * benchtests/bench-strlen.c: New file.
58128         * benchtests/bench-strncasecmp-ifunc.c: New file.
58129         * benchtests/bench-strncasecmp.c: New file.
58130         * benchtests/bench-strncat-ifunc.c: New file.
58131         * benchtests/bench-strncat.c: New file.
58132         * benchtests/bench-strncmp-ifunc.c: New file.
58133         * benchtests/bench-strncmp.c: New file.
58134         * benchtests/bench-strncpy-ifunc.c: New file.
58135         * benchtests/bench-strncpy.c: New file.
58136         * benchtests/bench-strnlen-ifunc.c: New file.
58137         * benchtests/bench-strnlen.c: New file.
58138         * benchtests/bench-strpbrk-ifunc.c: New file.
58139         * benchtests/bench-strpbrk.c: New file.
58140         * benchtests/bench-strrchr-ifunc.c: New file.
58141         * benchtests/bench-strrchr.c: New file.
58142         * benchtests/bench-strspn-ifunc.c: New file.
58143         * benchtests/bench-strspn.c: New file.
58144         * benchtests/bench-strstr-ifunc.c: New file.
58145         * benchtests/bench-strstr.c: New file.
58147         * benchtests/Makefile: Disable parallel execution of targets.
58148         (string-bench): Add memcpy.
58149         (benchset): New variable to store a list of benchmark sets.
58150         (bench-func): Renamed from bench.
58151         (bench-set): New target.
58152         (bench): Depend on bench-func and bench-set.
58153         * benchtests/README: Add section on benchmark sets.
58154         * benchtests/bench-memcpy-ifunc.c: New file.
58155         * benchtests/bench-memcpy.c: New file.
58156         * benchtests/bench-string.h: New file.
58158 2013-06-11  Andreas Schwab  <schwab@suse.de>
58160         [BZ #15577]
58161         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
58162         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
58163         values in the triple.
58164         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
58165         terminator in the group key.
58167 2013-06-11  Andreas Jaeger  <aj@suse.de>
58169         * po/zh_TW.po: Update Chinese (traditional) translation from
58170         translation project.
58172 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58174         * include/time.h (__clock_gettime): Add libc_hidden_proto.
58175         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
58176         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
58177         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58178         (clock_getcpuclockid): Likewise.
58179         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
58180         Add weak_alias and libc_hidden_def.
58181         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
58182         * rt/clock_gettime.c (clock_gettime): Rename to
58183         __clock_gettime.  Add weak_alias and libc_hidden_def.
58184         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
58185         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
58186         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
58187         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
58188         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
58189         Likewise.
58190         * rt/clock_settime.c (clock_settime): Rename to
58191         __clock_settime.  Add weak_alias and libc_hidden_def.
58192         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
58194 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
58196         * mach/err_boot.sub: Remove trailing whitespace.
58197         * mach/err_ipc.sub: Likewise.
58198         * mach/err_mach.sub: Likewise.
58200         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
58201         (ROUNDING_TESTS_double): Likewise.
58202         (ROUNDING_TESTS_long_double): Likewise.
58203         (ROUNDING_TESTS): Likewise.
58204         * math/libm-test.inc: Include <math-tests.h>.
58205         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
58206         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
58207         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
58208         (IF_ROUND_INIT_FE_UPWARD): Likewise.
58210 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58212         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
58213         of assigning.
58215 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
58217         * sysdeps/gnu/errlist.awk: Do not generate space at end of
58218         otherwise empty TRANS lines.
58219         * sysdeps/gnu/errlist.c: Regenerated.
58221         * catgets/gencat.c (error_print): Use (void) in function
58222         definition.
58223         * crypt/crypt_util.c (__init_des): Likewise.
58224         * crypt/speeds.c (Stop): Likewise.
58225         (main): Likewise.
58226         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
58227         * inet/ruserpass.c (token): Likewise.
58228         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
58229         * intl/localealias.c (extend_alias_table): Likewise.
58230         * intl/plural-exp.c (init_germanic_plural): Likewise.
58231         * libio/fcloseall.c (__fcloseall): Likewise.
58232         * libio/genops.c (_IO_flush_all): Likewise.
58233         (_IO_flush_all_linebuffered): Likewise.
58234         (_IO_cleanup): Likewise.
58235         (_IO_iter_begin): Likewise.
58236         (_IO_iter_end): Likewise.
58237         (_IO_list_lock): Likewise.
58238         (_IO_list_unlock): Likewise.
58239         (_IO_list_resetlock): Likewise.
58240         * libio/getchar.c (getchar): Likewise.
58241         * libio/getchar_u.c (getchar_unlocked): Likewise.
58242         * libio/getwchar.c (getwchar): Likewise.
58243         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
58244         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
58245         * login/getpt.c (__getpt): Likewise.
58246         * login/tst-utmp.c (main): Likewise.
58247         * malloc/hooks.c (__malloc_check_init): Likewise.
58248         * malloc/malloc.c (__malloc_stats): Likewise.
58249         * malloc/mtrace.c (tr_break): Likewise.
58250         (mtrace): Likewise.
58251         (muntrace): Likewise.
58252         * misc/fstab.c (endfsent): Likewise.
58253         * misc/getclktck.c (__getclktck): Likewise.
58254         * misc/getdtsz.c (__getdtablesize): Likewise.
58255         * misc/gethostid.c (gethostid): Likewise.
58256         * misc/getpagesize.c (__getpagesize): Likewise.
58257         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
58258         (__get_nprocs): Likewise.
58259         (__get_phys_pages): Likewise.
58260         (__get_avphys_pages): Likewise.
58261         * misc/getttyent.c (getttyent): Likewise.
58262         (setttyent): Likewise.
58263         (endttyent): Likewise.
58264         * misc/getusershell.c (getusershell): Likewise.
58265         (endusershell): Likewise.
58266         (setusershell): Likewise.
58267         (initshells): Likewise.
58268         * misc/hsearch.c (__hdestroy): Likewise.
58269         * misc/sync.c (sync): Likewise.
58270         * misc/syslog.c (closelog_internal): Likewise.
58271         (closelog): Likewise.
58272         * misc/ttyslot.c (ttyslot): Likewise.
58273         * misc/vhangup.c (vhangup): Likewise.
58274         * posix/fork.c (__fork): Likewise.
58275         * posix/getegid.c (__getegid): Likewise.
58276         * posix/geteuid.c (__geteuid): Likewise.
58277         * posix/getgid.c (__getgid): Likewise.
58278         * posix/getpid.c (__getpid): Likewise.
58279         * posix/getppid.c (__getppid): Likewise.
58280         * posix/getuid.c (__getuid): Likewise.
58281         * posix/pause.c (pause): Likewise.
58282         * posix/setpgrp.c (setpgrp): Likewise.
58283         * posix/setsid.c (__setsid): Likewise.
58284         * posix/test-vfork.c (noop): Likewise.
58285         * resolv/gethnamaddr.c (_endhtent): Likewise.
58286         (_gethtent): Likewise.
58287         (ht_endhostent): Likewise.
58288         (gethostent): Likewise.
58289         (dns_service): Likewise.
58290         * stdlib/drand48.c (drand48): Likewise.
58291         * stdlib/lrand48.c (lrand48): Likewise.
58292         * stdlib/mrand48.c (mrand48): Likewise.
58293         * stdlib/rand.c (rand): Likewise.
58294         * stdlib/random.c (__random): Likewise.
58295         * stdlib/setenv.c (clearenv): Likewise.
58296         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
58297         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
58298         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
58299         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
58300         (__get_nprocs): Likewise.
58301         (__get_phys_pages): Likewise.
58302         (__get_avphys_pages): Likewise.
58303         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
58304         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
58305         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
58306         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
58307         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
58308         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
58309         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
58310         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
58311         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
58312         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
58313         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
58314         * sysdeps/mach/hurd/sync.c (sync): Likewise.
58315         * sysdeps/posix/clock.c (clock): Likewise.
58316         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
58317         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
58318         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
58319         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
58320         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
58321         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
58322         (__get_nprocs_conf): Likewise.
58323         (__get_phys_pages): Likewise.
58324         (__get_avphys_pages): Likewise.
58325         * time/clock.c (clock): Likewise.
58326         * time/tzset.c (__tzname_max): Likewise.
58328 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
58330         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
58331         (__bswap_32): Do not use "register".
58332         * crypt/crypt.c (_ufc_doit_r): Likewise.
58333         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
58334         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
58335         * gmon/gmon.c (__monstartup): Likewise.
58336         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
58337         * hurd/hurdmalloc.c (more_memory): Likewise.
58338         (malloc): Likewise.
58339         (free): Likewise.
58340         (realloc): Likewise.
58341         (malloc_fork_prepare): Likewise.
58342         (malloc_fork_parent): Likewise.
58343         (malloc_fork_child): Likewise.
58344         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
58345         (_svcauth_des): Likewise.
58346         * inet/inet_lnaof.c (inet_lnaof): Likewise.
58347         * inet/inet_net.c (inet_network): Likewise.
58348         * inet/inet_netof.c (inet_netof): Likewise.
58349         * inet/rcmd.c (__validuser2_sa): Likewise.
58350         * io/fts.c (fts_open): Likewise.
58351         (fts_load): Likewise.
58352         (fts_close): Likewise.
58353         (fts_read): Likewise.
58354         (fts_children): Likewise.
58355         (fts_build): Likewise.
58356         (fts_stat): Likewise.
58357         (fts_sort): Likewise.
58358         (fts_alloc): Likewise.
58359         (fts_lfree): Likewise.
58360         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
58361         (_IO_file_xsgetn): Likewise.
58362         (_IO_file_xsgetn_mmap): Likewise.
58363         * libio/iofopncook.c (_IO_cookie_read): Likewise.
58364         (_IO_cookie_write): Likewise.
58365         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
58366         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
58367         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
58368         * malloc/obstack.c (_obstack_begin): Likewise.
58369         (_obstack_begin_1): Likewise.
58370         (_obstack_newchunk): Likewise.
58371         (_obstack_allocated_p): Likewise.
58372         (obstack_free): Likewise.
58373         (_obstack_memory_used): Likewise.
58374         * misc/getttyent.c (getttynam): Likewise.
58375         (getttyent): Likewise.
58376         (skip): Likewise.
58377         (value): Likewise.
58378         * misc/getusershell.c (initshells): Likewise.
58379         * misc/syslog.c (__vsyslog_chk): Likewise.
58380         * misc/ttyslot.c (ttyslot): Likewise.
58381         * nis/nis_hash.c (__nis_hash): Likewise.
58382         * posix/fnmatch_loop.c (FCT): Likewise.
58383         * posix/getconf.c (print_all): Likewise.
58384         (main): Likewise.
58385         * posix/getopt.c (exchange): Likewise.
58386         * posix/glob.c (globfree): Likewise.
58387         (prefix_array): Likewise.
58388         (__glob_pattern_type): Likewise.
58389         * resolv/arpa/nameser.h (NS_GET16): Likewise.
58390         (NS_GET32): Likewise.
58391         (NS_PUT16): Likewise.
58392         (NS_PUT32): Likewise.
58393         * resolv/gethnamaddr.c (getanswer): Likewise.
58394         (gethostbyname2): Likewise.
58395         (gethostbyaddr): Likewise.
58396         (_gethtent): Likewise.
58397         (_gethtbyname2): Likewise.
58398         (_gethtbyaddr): Likewise.
58399         * resolv/ns_print.c (dst_s_get_int16): Likewise.
58400         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
58401         * resolv/res_init.c (__res_vinit): Likewise.
58402         (net_mask): Likewise.
58403         * resolv/res_mkquery.c (outchar): Likewise.
58404         (PRINT): Likewise.
58405         * stdio-common/printf_fp.c (outchar): Likewise.
58406         (PRINT): Likewise.
58407         * stdio-common/printf_fphex.c (outchar): Likewise.
58408         (PRINT): Likewise.
58409         * stdio-common/printf_size.c (outchar): Likewise.
58410         (PRINT): Likewise.
58411         * stdio-common/test_rdwr.c (main): Likewise.
58412         * stdio-common/tfformat.c (matches): Likewise.
58413         * stdio-common/vfprintf.c (outchar): Likewise.
58414         (printf_unknown): Likewise.
58415         (buffered_vfprintf): Likewise.
58416         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
58417         * stdio-common/xbug.c (AppendToBuffer): Likewise.
58418         (ReadFile): Likewise.
58419         * stdlib/qsort.c (SWAP): Likewise.
58420         (_quicksort): Likewise.
58421         * stdlib/setenv.c (__add_to_environ): Likewise.
58422         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
58423         * stdlib/strtol_l.c (__strtol_l): Likewise.
58424         * stdlib/tst-strtod.c (main): Likewise.
58425         * stdlib/tst-strtol.c (main): Likewise.
58426         * stdlib/tst-strtoll.c (main): Likewise.
58427         * string/bits/string2.h (__strcmp_cc): Likewise.
58428         (__strcmp_cg): Likewise.
58429         (__strcspn_c1): Likewise.
58430         (__strcspn_c2): Likewise.
58431         (__strcspn_c3): Likewise.
58432         (__strspn_c1): Likewise.
58433         (__strspn_c2): Likewise.
58434         (__strspn_c3): Likewise.
58435         (__strsep_1c): Likewise.
58436         (__strsep_2c): Likewise.
58437         (__strsep_3c): Likewise.
58438         * string/memccpy.c (__memccpy): Likewise.
58439         * string/stpcpy.c (__stpcpy): Likewise.
58440         * string/strcmp.c (strcmp): Likewise.
58441         * string/strrchr.c (strrchr): Likewise.
58442         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
58443         Likewise.
58444         * sysdeps/mach/hurd/getcwd.c
58445         (_hurd_canonicalize_directory_name_internal): Likewise.
58446         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
58447         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
58448         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
58449         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
58450         Likewise, in both definitions.
58451         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
58452         definitions.
58453         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
58454         64] (__bswap_64): Likewise.
58455         * time/test_time.c (main): Likewise.
58456         * time/tzfile.c (__tzfile_read): Likewise.
58457         (__tzfile_compute): Likewise.
58458         * time/tzset.c (__tzset_parse_tz): Likewise.
58459         (tzset_internal): Likewise.
58460         (compute_change): Likewise.
58461         * wcsmbs/wcscat.c (__wcscat): Likewise.
58462         * wcsmbs/wcschr.c (wcschr): Likewise.
58463         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
58464         * wcsmbs/wcscspn.c (wcscspn): Likewise.
58465         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
58466         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
58467         * wcsmbs/wcsspn.c (wcsspn): Likewise.
58468         * wcsmbs/wcsstr.c (wcsstr): Likewise.
58469         * wcsmbs/wmemchr.c (wmemchr): Likewise.
58470         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58471         * wcsmbs/wmemset.c (wmemset): Likewise.
58473 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
58475         * scripts/config.guess: Update to version 2013-05-16.
58476         * scripts/config.sub: Update to version 2013-04-24.
58477         * scripts/install-sh: Update to version 2011-11-20.07.
58478         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
58479         * scripts/move-if-change: Update to version 2012-01-06 07:23.
58481 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
58483         * debug/fgetws_u_chk.c: Fix leading whitespaces.
58484         * elf/sln.c: Likewise.
58485         * hurd/hurd/ioctl.h: Likewise.
58486         * hurd/hurdmalloc.c: Likewise.
58487         * hurd/xattr.c: Likewise.
58488         * include/shlib-compat.h: Likewise.
58489         * inet/ruserpass.c: Likewise.
58490         * libio/iofgets_u.c: Likewise.
58491         * libio/iofgetws_u.c: Likewise.
58492         * locale/programs/ld-identification.c: Likewise.
58493         * locale/programs/ld-time.c: Likewise.
58494         * mach/msg-destroy.c: Likewise.
58495         * nss/nss_files/files-netgrp.c: Likewise.
58496         * resolv/res_data.c: Likewise.
58497         * soft-fp/op-1.h: Likewise.
58498         * soft-fp/op-2.h: Likewise.
58499         * soft-fp/op-4.h: Likewise.
58500         * soft-fp/op-common.h: Likewise.
58501         * stdio-common/printf_fphex.c: Likewise.
58502         * stdlib/strtod_l.c: Likewise.
58503         * sunrpc/rpc/clnt.h: Likewise.
58504         * sysdeps/generic/framestate.c: Likewise.
58505         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58506         * sysdeps/i386/bsd-setjmp.S: Likewise.
58507         * sysdeps/i386/__longjmp.S: Likewise.
58508         * sysdeps/i386/setjmp.S: Likewise.
58509         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58510         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58511         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58512         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58513         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58514         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
58515         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58516         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58517         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58518         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58519         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
58520         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
58521         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
58522         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
58523         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
58524         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58525         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
58526         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
58527         * sysdeps/ieee754/support.c: Likewise.
58528         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58529         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
58530         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
58531         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
58532         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
58533         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
58534         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
58535         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
58536         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
58537         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
58538         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
58539         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
58540         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
58541         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
58542         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
58543         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
58544         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
58547 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
58549         * posix/transbug.c: Remove executable mode.
58551 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
58553         * crypt/speeds.c: Remove trailing whitespace.
58554         * dlfcn/default.c: Likewise.
58555         * elf/ifuncdep2.c: Likewise.
58556         * elf/ifuncmain1.c: Likewise.
58557         * elf/ifuncmain1vis.c: Likewise.
58558         * elf/testobj.h: Likewise.
58559         * elf/tst-stackguard1.c: Likewise.
58560         * gmon/sys/gmon.h: Likewise.
58561         * hurd/hurdmsg.c: Likewise.
58562         * hurd/new-fd.c: Likewise.
58563         * hurd/ports-get.c: Likewise.
58564         * iconvdata/ibm1008_420.c: Likewise.
58565         * inet/tst-getni1.c: Likewise.
58566         * inet/tst-getni2.c: Likewise.
58567         * libio/ioungetc.c: Likewise.
58568         * libio/wfiledoalloc.c: Likewise.
58569         * manual/libm-err-tab.pl: Likewise.
58570         * math/w_dremf.c: Likewise.
58571         * misc/ftruncate.c: Likewise.
58572         * posix/bug-glob2.c: Likewise.
58573         * posix/tst-pcre.c: Likewise.
58574         * posix/wait4.c: Likewise.
58575         * resolv/README: Likewise.
58576         * resolv/res_debug.h: Likewise.
58577         * resolv/tst-inet_ntop.c: Likewise.
58578         * setjmp/bug269-setjmp.c: Likewise.
58579         * soft-fp/extended.h: Likewise.
58580         * soft-fp/op-1.h: Likewise.
58581         * soft-fp/op-2.h: Likewise.
58582         * soft-fp/op-4.h: Likewise.
58583         * soft-fp/op-8.h: Likewise.
58584         * soft-fp/testit.c: Likewise.
58585         * stdio-common/bug16.c: Likewise.
58586         * stdlib/random.c: Likewise.
58587         * sunrpc/rpcsvc/rquota.x: Likewise.
58588         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
58589         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58590         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58591         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58592         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58593         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58594         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58595         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58596         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58597         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58598         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58599         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
58600         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58601         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
58602         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58603         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
58604         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
58605         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58606         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
58607         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58608         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58609         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58610         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
58611         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
58612         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
58613         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
58614         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58615         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58616         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58617         * sysdeps/ieee754/s_lib_version.c: Likewise.
58618         * sysdeps/mach/hurd/check_fds.c: Likewise.
58619         * sysdeps/mach/hurd/getsockname.c: Likewise.
58620         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
58621         * sysdeps/mach/hurd/recvfrom.c: Likewise.
58622         * sysdeps/powerpc/bits/link.h: Likewise.
58623         * sysdeps/powerpc/dl-procinfo.c: Likewise.
58624         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
58625         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
58626         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
58627         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58628         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
58629         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
58630         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58631         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
58632         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58633         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
58634         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
58635         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
58636         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58637         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58638         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58639         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
58640         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
58641         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58642         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58643         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58644         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
58645         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58646         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
58647         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
58648         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
58649         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
58650         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58651         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58652         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
58653         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
58654         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
58655         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58656         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58657         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
58658         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58659         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
58660         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58661         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
58662         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
58663         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
58664         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
58665         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
58666         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
58667         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58668         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
58669         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
58670         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58671         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
58672         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
58673         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58674         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58675         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58676         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58677         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
58678         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
58679         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
58680         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58681         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
58682         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
58683         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
58684         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
58685         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
58686         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58687         * sysdeps/powerpc/sysdep.h: Likewise.
58688         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58689         * sysdeps/s390/s390-64/sub_n.S: Likewise.
58690         * sysdeps/sh/dl-trampoline.S: Likewise.
58691         * sysdeps/sh/memset.S: Likewise.
58692         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
58693         * sysdeps/sh/strlen.S: Likewise.
58694         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
58695         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
58696         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
58697         * sysdeps/sparc/sparc32/rem.S: Likewise.
58698         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
58699         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
58700         * sysdeps/sparc/sparc32/strchr.S: Likewise.
58701         * sysdeps/sparc/sparc32/udiv.S: Likewise.
58702         * sysdeps/sparc/sparc32/urem.S: Likewise.
58703         * sysdeps/sparc/sparc64/add_n.S: Likewise.
58704         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58705         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
58706         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
58707         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
58708         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
58709         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
58710         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
58711         * sysdeps/unix/bsd/times.c: Likewise.
58712         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
58713         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
58714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
58715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
58716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
58717         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
58718         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58719         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
58720         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
58721         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
58722         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
58723         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58724         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
58725         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58726         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58727         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
58728         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58729         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
58730         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
58731         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
58732         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
58733         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
58734         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58735         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
58736         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
58737         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
58738         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
58739         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58740         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
58741         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
58742         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
58743         * sysdeps/x86_64/strcspn.S: Likewise.
58745 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58747         * locale/C-translit.h: Revert #include <stdint.h> because this is a
58748         generated file.  Regenerate properly from gen-translit.pl.
58749         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
58750         locale/C-translit.h.
58752 2013-06-05  Andreas Schwab  <schwab@suse.de>
58754         [BZ #15100]
58755         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
58756         week as 6 instead of -1.
58757         * time/tst-strptime.c (day_tests): Add test case.
58759 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58761         * sysdeps/generic/math_private.h
58762         (libc_feholdexcept_setround_53bit): Replace with
58763         libc_feholdsetround_53bit.
58764         (libc_feupdateenv_53bit): Replace with
58765         libc_feresetround_53bit.
58766         (SET_RESTORE_ROUND_53BIT): Adjust.
58768 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58770         * string/test-strchrnul.c: Add copyright header.
58772         * posix/tst-getaddrinfo4.c: Increase test timeout.
58774 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
58776         [BZ #15536]
58777         * math/libm-test.inc (MAX_EXP): Remove
58778         (MIN_EXP): Define.
58779         (ulp): Use MIN_EXP - MANT_DIG.
58780         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
58782 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
58784         * po/be.po: Revert last change.
58785         * po/zh_CN.po: Likewise.
58786         * po/header.pot: Likewise.
58788 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
58790         * Makefile ($(common-objpfx)linkobj/libc.so): Define
58791         link-libc-deps to empty as target-specific variable.
58792         * Makerules (link-libc-args): New variable.
58793         (libc-for-link): Likewise.
58794         (link-libc-deps): Likewise.
58795         (lib%.so): Depend on $(link-libc-deps).  Link with
58796         $(link-libc-args).
58797         (build-module): Link with $(link-libc-args).
58798         (build-module-asneeded): Likewise.
58799         (build-module-helper-objlist): Filter out $(link-libc-deps) from
58800         list of objects.
58801         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
58802         target-specific variable.
58803         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
58804         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
58805         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
58806         libc.
58807         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
58808         libc and ld.so.
58809         ($(objpfx)libpcprofile.so): Likewise.
58810         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
58811         libc_nonshared.a.
58812         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
58813         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
58814         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
58815         $(link-libc-deps).
58816         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
58817         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
58818         * login/Makefile ($(objpfx)libutil.so): Likewise.
58819         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
58820         * math/Makefile ($(objpfx)libm.so): Likewise.
58821         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
58822         $(objpfx)libnsl.so): Define libc-for-link as target-specific
58823         variable instead of depending directly on libc.
58824         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
58825         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
58826         $(link-libc-deps).
58827         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
58828         libc.
58829         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
58830         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
58831         ($(objpfx)libanl.so): Likewise.
58832         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
58833         ld.so.
58834         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
58835         $(link-libc-deps).
58836         * sysdeps/i386/fpu/Makefile: Remove file.
58837         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
58838         ($(objpfx)libm.so): Remove dependency on ld.so.
58840 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
58842         [BZ # 15553]
58843         * nis/yp_xdr.c (XDRMAXNAME): Define.
58844         (XDRMAXRECORD): Define.
58845         (xdr_domainname): Use XDRMAXNAME.
58846         (xdr_mapname): Likewise.
58847         (xdr_peername): Likewise.
58848         (xdr_keydat): Use XDRMAXRECORD.
58849         (xdr_valdat): Likewise.
58851 2013-05-30  Jeff Law  <law@redhat.com>
58853         [BZ #14256]
58854         * manual/errno.texi (ESTALE): Update to account for more than
58855         just NFS file systems.
58856         * sysdeps/gnu/errlist.c: Regenerated.
58858 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58860         [BZ #15465]
58861         * elf/Makefile (tests): Add tst-null-argv.
58862         (modules-names):  Add tst-null-argv-lib.
58863         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
58864         (tst-null-argv-ENV): Set environment for tst-null-argv.
58865         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
58866         (RTLD_PROGNAME): New macro.
58867         * elf/tst-null-argv.c: New test case.
58868         * elf/tst-null-argv-lib.c: Library for test case.
58869         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
58870         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
58871         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
58872         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
58873         * elf/dl-init.c (call_init): Likewise.
58874         (_dl_init): Likewise.
58875         * elf/dl-load.c (print_search_path): Likewise.
58876         (_dl_map_object): Likewise.
58877         * elf/dl-lookup.c (do_lookup_x): Likewise.
58878         (add_dependency): Likewise.
58879         (_dl_lookup_symbol_x): Likewise.
58880         (_dl_debug_bindings): Likewise.
58881         * elf/dl-open.c (_dl_show_scope): Likewise.
58882         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
58883         * elf/dl-version.c (match_symbol): Likewise.
58884         (_dl_check_map_versions): Likewise.
58885         * elf/rtld.c (dl_main): Likewise.
58886         (print_unresolved): Use RTLD_PROGNAME.
58887         (print_missing_version): Likewise.
58888         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
58889         (elf_machine_rela): Likewise.
58890         * sysdeps/powerpc/powerpc32/dl-machine.c
58891         (__process_machine_rela): Likewise.
58892         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58893         Likewise.
58894         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58895         Likewise.
58896         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
58897         Likewise.
58898         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58899         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
58900         Likewise.
58901         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
58902         Likewise.
58903         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58905 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
58907         * po/be.po: Add descriptive title.
58908         * po/zh_CN.po: Likewise.
58909         * po/header.pot: Likewise.
58911 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
58913         * locale/programs/locarchive.c (create_archive): Inlucde fname in
58914         error message.
58915         (enlarge_archive): Likewise.
58917 2013-05-28  Ben North  <ben@redfrontdoor.org>
58919         * manual/arith.texi (frexp): It is the magnitude of the return
58920         value which lies in [0.5, 1), not the return value itself.
58922 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58926 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
58928         * stdio-common/bug26.c (main): Correct fscanf template.
58930         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
58931         declare _dl_skip_args.
58933         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
58934         Don't declare.
58936         * manual/platform.texi: Add missing @end deftypefun.
58938 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58940         [BZ #15529]
58941         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
58942         bit of mantissa of 2^16382.
58943         * math/libm-test.inc (hypot_test_data): Add more tests.
58945         * math/libm-test.inc: Add drem and pow10 to list of tested
58946         functions.
58947         (pow10_test): New function.
58948         (drem_test): Likewise.
58949         (drem_test_tonearest): Likewise.
58950         (drem_test_towardzero): Likewise.
58951         (drem_test_downward): Likewise.
58952         (drem_test_upward): Likewise.
58953         (main): Call the new functions.
58955         * math/libm-test.inc (finite_test_data): Remove.
58956         (finite_test): Run tests from isfinite_test_data.
58957         (gamma_test_data): Remove.
58958         (gamma_test): Run tests from lgamma_test_data.
58959         * sysdeps/i386/fpu/libm-test-ulps: Update.
58960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58962 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58964         * manual/platform.texi: Add PowerPC PPR function set documentation.
58965         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
58966         implementation.
58968 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
58970         * math/libm-test.inc (MAX_EXP): Define.
58971         (ULPDIFF): Define.
58972         (ulp): New function.
58973         (check_float_internal): Use ULPDIFF.
58974         (cpow_test): Disable failing test.
58975         (check_ulp): Test ulp() implementation.
58976         (main): Call check_ulp before starting tests.
58978 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58980         * math/gen-libm-test.pl (generate_testfile): Do not handle
58981         START_DATA and END_DATA.
58982         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
58983         END_DATA.
58984         (acos_tonearest_test_data): Likewise.
58985         (acos_towardzero_test_data): Likewise.
58986         (acos_downward_test_data): Likewise.
58987         (acos_upward_test_data): Likewise.
58988         (acosh_test_data): Likewise.
58989         (asin_test_data): Likewise.
58990         (asin_tonearest_test_data): Likewise.
58991         (asin_towardzero_test_data): Likewise.
58992         (asin_downward_test_data): Likewise.
58993         (asin_upward_test_data): Likewise.
58994         (asinh_test_data): Likewise.
58995         (atan_test_data): Likewise.
58996         (atanh_test_data): Likewise.
58997         (atan2_test_data): Likewise.
58998         (cabs_test_data): Likewise.
58999         (cacos_test_data): Likewise.
59000         (cacosh_test_data): Likewise.
59001         (carg_test_data): Likewise.
59002         (casin_test_data): Likewise.
59003         (casinh_test_data): Likewise.
59004         (catan_test_data): Likewise.
59005         (catanh_test_data): Likewise.
59006         (cbrt_test_data): Likewise.
59007         (ccos_test_data): Likewise.
59008         (ccosh_test_data): Likewise.
59009         (ceil_test_data): Likewise.
59010         (cexp_test_data): Likewise.
59011         (cimag_test_data): Likewise.
59012         (clog_test_data): Likewise.
59013         (clog10_test_data): Likewise.
59014         (conj_test_data): Likewise.
59015         (copysign_test_data): Likewise.
59016         (cos_test_data): Likewise.
59017         (cos_tonearest_test_data): Likewise.
59018         (cos_towardzero_test_data): Likewise.
59019         (cos_downward_test_data): Likewise.
59020         (cos_upward_test_data): Likewise.
59021         (cosh_test_data): Likewise.
59022         (cosh_tonearest_test_data): Likewise.
59023         (cosh_towardzero_test_data): Likewise.
59024         (cosh_downward_test_data): Likewise.
59025         (cosh_upward_test_data): Likewise.
59026         (cpow_test_data): Likewise.
59027         (cproj_test_data): Likewise.
59028         (creal_test_data): Likewise.
59029         (csin_test_data): Likewise.
59030         (csinh_test_data): Likewise.
59031         (csqrt_test_data): Likewise.
59032         (ctan_test_data): Likewise.
59033         (ctan_tonearest_test_data): Likewise.
59034         (ctan_towardzero_test_data): Likewise.
59035         (ctan_downward_test_data): Likewise.
59036         (ctan_upward_test_data): Likewise.
59037         (ctanh_test_data): Likewise.
59038         (ctanh_tonearest_test_data): Likewise.
59039         (ctanh_towardzero_test_data): Likewise.
59040         (ctanh_downward_test_data): Likewise.
59041         (ctanh_upward_test_data): Likewise.
59042         (erf_test_data): Likewise.
59043         (erfc_test_data): Likewise.
59044         (exp_test_data): Likewise.
59045         (exp_tonearest_test_data): Likewise.
59046         (exp_towardzero_test_data): Likewise.
59047         (exp_downward_test_data): Likewise.
59048         (exp_upward_test_data): Likewise.
59049         (exp10_test_data): Likewise.
59050         (exp2_test_data): Likewise.
59051         (expm1_test_data): Likewise.
59052         (fabs_test_data): Likewise.
59053         (fdim_test_data): Likewise.
59054         (finite_test_data): Likewise.
59055         (floor_test_data): Likewise.
59056         (fma_test_data): Likewise.
59057         (fma_towardzero_test_data): Likewise.
59058         (fma_downward_test_data): Likewise.
59059         (fma_upward_test_data): Likewise.
59060         (fmax_test_data): Likewise.
59061         (fmin_test_data): Likewise.
59062         (fmod_test_data): Likewise.
59063         (fpclassify_test_data): Likewise.
59064         (frexp_test_data): Likewise.
59065         (gamma_test_data): Likewise.
59066         (hypot_test_data): Likewise.
59067         (ilogb_test_data): Likewise.
59068         (isfinite_test_data): Likewise.
59069         (isgreater_test_data): Likewise.
59070         (isgreaterequal_test_data): Likewise.
59071         (isinf_test_data): Likewise.
59072         (isless_test_data): Likewise.
59073         (islessequal_test_data): Likewise.
59074         (islessgreater_test_data): Likewise.
59075         (isnan_test_data): Likewise.
59076         (isnormal_test_data): Likewise.
59077         (issignaling_test_data): Likewise.
59078         (isunordered_test_data): Likewise.
59079         (j0_test_data): Likewise.
59080         (j1_test_data): Likewise.
59081         (jn_test_data): Likewise.
59082         (ldexp_test_data): Likewise.
59083         (lgamma_test_data): Likewise.
59084         (lrint_test_data): Likewise.
59085         (lrint_tonearest_test_data): Likewise.
59086         (lrint_towardzero_test_data): Likewise.
59087         (lrint_downward_test_data): Likewise.
59088         (lrint_upward_test_data): Likewise.
59089         (llrint_test_data): Likewise.
59090         (llrint_tonearest_test_data): Likewise.
59091         (llrint_towardzero_test_data): Likewise.
59092         (llrint_downward_test_data): Likewise.
59093         (llrint_upward_test_data): Likewise.
59094         (log_test_data): Likewise.
59095         (log10_test_data): Likewise.
59096         (log1p_test_data): Likewise.
59097         (log2_test_data): Likewise.
59098         (logb_test_data): Likewise.
59099         (logb_downward_test_data): Likewise.
59100         (lround_test_data): Likewise.
59101         (llround_test_data): Likewise.
59102         (modf_test_data): Likewise.
59103         (nearbyint_test_data): Likewise.
59104         (nextafter_test_data): Likewise.
59105         (nexttoward_test_data): Likewise.
59106         (pow_test_data): Likewise.
59107         (pow_tonearest_test_data): Likewise.
59108         (pow_towardzero_test_data): Likewise.
59109         (pow_downward_test_data): Likewise.
59110         (pow_upward_test_data): Likewise.
59111         (remainder_test_data): Likewise.
59112         (remainder_tonearest_test_data): Likewise.
59113         (remainder_towardzero_test_data): Likewise.
59114         (remainder_downward_test_data): Likewise.
59115         (remainder_upward_test_data): Likewise.
59116         (remquo_test_data): Likewise.
59117         (rint_test_data): Likewise.
59118         (rint_tonearest_test_data): Likewise.
59119         (rint_towardzero_test_data): Likewise.
59120         (rint_downward_test_data): Likewise.
59121         (rint_upward_test_data): Likewise.
59122         (round_test_data): Likewise.
59123         (scalb_test_data): Likewise.
59124         (scalbn_test_data): Likewise.
59125         (scalbln_test_data): Likewise.
59126         (signbit_test_data): Likewise.
59127         (sin_test_data): Likewise.
59128         (sin_tonearest_test_data): Likewise.
59129         (sin_towardzero_test_data): Likewise.
59130         (sin_downward_test_data): Likewise.
59131         (sin_upward_test_data): Likewise.
59132         (sincos_test_data): Likewise.
59133         (sinh_test_data): Likewise.
59134         (sinh_tonearest_test_data): Likewise.
59135         (sinh_towardzero_test_data): Likewise.
59136         (sinh_downward_test_data): Likewise.
59137         (sinh_upward_test_data): Likewise.
59138         (sqrt_test_data): Likewise.
59139         (tan_test_data): Likewise.
59140         (tan_tonearest_test_data): Likewise.
59141         (tan_towardzero_test_data): Likewise.
59142         (tan_downward_test_data): Likewise.
59143         (tan_upward_test_data): Likewise.
59144         (tanh_test_data): Likewise.
59145         (tgamma_test_data): Likewise.
59146         (trunc_test_data): Likewise.
59147         (y0_test_data): Likewise.
59148         (y1_test_data): Likewise.
59149         (yn_test_data): Likewise.
59150         (significand_test_data): Likewise.
59152         * math/gen-libm-test.pl (@functions): Remove variable.
59153         (generate_testfile): Don't handle START and END lines.
59154         * math/libm-test.inc (START): New macro.
59155         (END): Likewise.
59156         (END_COMPLEX): Likewise.
59157         (acos_test): Use END macro without arguments.
59158         (acos_test_tonearest): Likewise.
59159         (acos_test_towardzero): Likewise.
59160         (acos_test_downward): Likewise.
59161         (acos_test_upward): Likewise.
59162         (acosh_test): Likewise.
59163         (asin_test): Likewise.
59164         (asin_test_tonearest): Likewise.
59165         (asin_test_towardzero): Likewise.
59166         (asin_test_downward): Likewise.
59167         (asin_test_upward): Likewise.
59168         (asinh_test): Likewise.
59169         (atan_test): Likewise.
59170         (atanh_test): Likewise.
59171         (atan2_test): Likewise.
59172         (cabs_test): Likewise.
59173         (cacos_test): Use END_COMPLEX macro without arguments.
59174         (cacosh_test): Likewise.
59175         (carg_test): Use END macro without arguments.
59176         (casin_test): Use END_COMPLEX macro without arguments.
59177         (casinh_test): Likewise.
59178         (catan_test): Likewise.
59179         (catanh_test): Likewise.
59180         (cbrt_test): Use END macro without arguments.
59181         (ccos_test): Use END_COMPLEX macro without arguments.
59182         (ccosh_test): Likewise.
59183         (ceil_test): Use END macro without arguments.
59184         (cexp_test): Use END_COMPLEX macro without arguments.
59185         (cimag_test): Use END macro without arguments.
59186         (clog_test): Use END_COMPLEX macro without arguments.
59187         (clog10_test): Likewise.
59188         (conj_test): Likewise.
59189         (copysign_test): Use END macro without arguments.
59190         (cos_test): Likewise.
59191         (cos_test_tonearest): Likewise.
59192         (cos_test_towardzero): Likewise.
59193         (cos_test_downward): Likewise.
59194         (cos_test_upward): Likewise.
59195         (cosh_test): Likewise.
59196         (cosh_test_tonearest): Likewise.
59197         (cosh_test_towardzero): Likewise.
59198         (cosh_test_downward): Likewise.
59199         (cosh_test_upward): Likewise.
59200         (cpow_test): Use END_COMPLEX macro without arguments.
59201         (cproj_test): Likewise.
59202         (creal_test): Use END macro without arguments.
59203         (csin_test): Use END_COMPLEX macro without arguments.
59204         (csinh_test): Likewise.
59205         (csqrt_test): Likewise.
59206         (ctan_test): Likewise.
59207         (ctan_test_tonearest): Likewise.
59208         (ctan_test_towardzero): Likewise.
59209         (ctan_test_downward): Likewise.
59210         (ctan_test_upward): Likewise.
59211         (ctanh_test): Likewise.
59212         (ctanh_test_tonearest): Likewise.
59213         (ctanh_test_towardzero): Likewise.
59214         (ctanh_test_downward): Likewise.
59215         (ctanh_test_upward): Likewise.
59216         (erf_test): Use END macro without arguments.
59217         (erfc_test): Likewise.
59218         (exp_test): Likewise.
59219         (exp_test_tonearest): Likewise.
59220         (exp_test_towardzero): Likewise.
59221         (exp_test_downward): Likewise.
59222         (exp_test_upward): Likewise.
59223         (exp10_test): Likewise.
59224         (exp2_test): Likewise.
59225         (expm1_test): Likewise.
59226         (fabs_test): Likewise.
59227         (fdim_test): Likewise.
59228         (finite_test): Likewise.
59229         (floor_test): Likewise.
59230         (fma_test): Likewise.
59231         (fma_test_towardzero): Likewise.
59232         (fma_test_downward): Likewise.
59233         (fma_test_upward): Likewise.
59234         (fmax_test): Likewise.
59235         (fmin_test): Likewise.
59236         (fmod_test): Likewise.
59237         (fpclassify_test): Likewise.
59238         (frexp_test): Likewise.
59239         (gamma_test): Likewise.
59240         (hypot_test): Likewise.
59241         (ilogb_test): Likewise.
59242         (isfinite_test): Likewise.
59243         (isgreater_test): Likewise.
59244         (isgreaterequal_test): Likewise.
59245         (isinf_test): Likewise.
59246         (isless_test): Likewise.
59247         (islessequal_test): Likewise.
59248         (islessgreater_test): Likewise.
59249         (isnan_test): Likewise.
59250         (isnormal_test): Likewise.
59251         (issignaling_test): Likewise.
59252         (isunordered_test): Likewise.
59253         (j0_test): Likewise.
59254         (j1_test): Likewise.
59255         (jn_test): Likewise.
59256         (ldexp_test): Likewise.
59257         (lgamma_test): Likewise.
59258         (lrint_test): Likewise.
59259         (lrint_test_tonearest): Likewise.
59260         (lrint_test_towardzero): Likewise.
59261         (lrint_test_downward): Likewise.
59262         (lrint_test_upward): Likewise.
59263         (llrint_test): Likewise.
59264         (llrint_test_tonearest): Likewise.
59265         (llrint_test_towardzero): Likewise.
59266         (llrint_test_downward): Likewise.
59267         (llrint_test_upward): Likewise.
59268         (log_test): Likewise.
59269         (log10_test): Likewise.
59270         (log1p_test): Likewise.
59271         (log2_test): Likewise.
59272         (logb_test): Likewise.
59273         (logb_test_downward): Likewise.
59274         (lround_test): Likewise.
59275         (llround_test): Likewise.
59276         (modf_test): Likewise.
59277         (nearbyint_test): Likewise.
59278         (nextafter_test): Likewise.
59279         (nexttoward_test): Likewise.
59280         (pow_test): Likewise.
59281         (pow_test_tonearest): Likewise.
59282         (pow_test_towardzero): Likewise.
59283         (pow_test_downward): Likewise.
59284         (pow_test_upward): Likewise.
59285         (remainder_test): Likewise.
59286         (remainder_test_tonearest): Likewise.
59287         (remainder_test_towardzero): Likewise.
59288         (remainder_test_downward): Likewise.
59289         (remainder_test_upward): Likewise.
59290         (remquo_test): Likewise.
59291         (rint_test): Likewise.
59292         (rint_test_tonearest): Likewise.
59293         (rint_test_towardzero): Likewise.
59294         (rint_test_downward): Likewise.
59295         (rint_test_upward): Likewise.
59296         (round_test): Likewise.
59297         (scalb_test): Likewise.
59298         (scalbn_test): Likewise.
59299         (scalbln_test): Likewise.
59300         (signbit_test): Likewise.
59301         (sin_test): Likewise.
59302         (sin_test_tonearest): Likewise.
59303         (sin_test_towardzero): Likewise.
59304         (sin_test_downward): Likewise.
59305         (sin_test_upward): Likewise.
59306         (sincos_test): Likewise.
59307         (sinh_test): Likewise.
59308         (sinh_test_tonearest): Likewise.
59309         (sinh_test_towardzero): Likewise.
59310         (sinh_test_downward): Likewise.
59311         (sinh_test_upward): Likewise.
59312         (sqrt_test): Likewise.
59313         (tan_test): Likewise.
59314         (tan_test_tonearest): Likewise.
59315         (tan_test_towardzero): Likewise.
59316         (tan_test_downward): Likewise.
59317         (tan_test_upward): Likewise.
59318         (tanh_test): Likewise.
59319         (tgamma_test): Likewise.
59320         (trunc_test): Likewise.
59321         (y0_test): Likewise.
59322         (y1_test): Likewise.
59323         (yn_test): Likewise.
59324         (significand_test): Likewise.
59326 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
59328         [BZ #15381]
59329         * libio/genops.c (_IO_no_init): Initialize wide struct info.
59331 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59333         [BZ #14894]
59334         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
59335         __ppc_mdoio and __ppc_mdoom.
59336         * manual/platform.texi: Document new functions __ppc_yield,
59337         __ppc_mdoio and __ppc_mdoom.
59339 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
59341         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
59342         (main): Mention "tls" pseudo-hwcap is legacy.
59343         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
59345 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59347         * math/gen-libm-test.pl (parse_args): Output only string of
59348         arguments as text for test name, not full call or descriptions of
59349         tests for extra outputs.
59350         (generate_testfile): Do not pass function name to parse_args.
59351         Generate this_func variable from START.
59352         * math/libm-test.inc (struct test_f_f_data): Rename test_name
59353         field to arg_str.
59354         (struct test_ff_f_data): Likewise.
59355         (test_ff_f_data_nexttoward): Likewise.
59356         (struct test_fi_f_data): Likewise.
59357         (struct test_fl_f_data): Likewise.
59358         (struct test_if_f_data): Likewise.
59359         (struct test_fff_f_data): Likewise.
59360         (struct test_c_f_data): Likewise.
59361         (struct test_f_f1_data): Likewise.  Remove field extra_name.
59362         (struct test_fF_f1_data): Likewise.
59363         (struct test_ffI_f1_data): Likewise.
59364         (struct test_c_c_data): Rename test_name field to arg_str.
59365         (struct test_cc_c_data): Likewise.
59366         (struct test_f_i_data): Likewise.
59367         (struct test_ff_i_data): Likewise.
59368         (struct test_f_l_data): Likewise.
59369         (struct test_f_L_data): Likewise.
59370         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
59371         and extra2_name.
59372         (COMMON_TEST_SETUP): New macro.
59373         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
59374         (COMMON_TEST_CLEANUP): Likewise.
59375         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
59376         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
59377         macros.
59378         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
59379         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
59380         macros.
59381         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
59382         (RUN_TEST_fff_f): Take argument string.  Call new setup and
59383         cleanup macros.
59384         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
59385         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
59386         macros.
59387         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
59388         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
59389         macros.
59390         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59391         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
59392         cleanup macros.
59393         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59394         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
59395         cleanup macros.
59396         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59397         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
59398         cleanup macros.
59399         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59400         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
59401         macros.
59402         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
59403         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
59404         macros.
59405         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
59406         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
59407         macros.
59408         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
59409         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
59410         cleanup macros.
59411         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
59412         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
59413         cleanup macros.
59414         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
59415         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
59416         macros.
59417         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
59418         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
59419         cleanup macros.
59420         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
59421         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
59422         macros.
59423         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
59424         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
59425         macros.
59426         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
59427         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
59428         cleanup macros.
59429         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
59431 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
59433         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
59434         to _sifields.sigfault.
59435         (si_addr_lsb): Define new macro.
59436         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59437         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59438         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
59440 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
59442         [BZ #15441]
59443         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
59444         returns -1.
59445         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
59446         null return -1.
59447         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
59448         loading the domain.
59450 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59452         * math/gen-libm-test.pl (parse_args): Do not include expected
59453         result in test name.
59454         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
59455         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59456         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59457         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59458         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59461 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59463         * benchtests/Makefile: Sort function entries.
59465         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
59466         tanh, asinh, acosh, atanh.
59467         * benchtests/acos-inputs: New file.
59468         * benchtests/acosh-inputs: New file.
59469         * benchtests/asin-inputs: New file.
59470         * benchtests/asinh-inputs: New file.
59471         * benchtests/atanh-inputs: New file.
59472         * benchtests/cosh-inputs: New file.
59473         * benchtests/log-inputs: New file.
59474         * benchtests/sinh-inputs: New file.
59475         * benchtests/tanh-inputs: New file.
59477 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
59479         [BZ #15339]
59480         * posix/tst-getaddrinfo4.c: New test.
59481         * posix/Makefile (tests): Add it.
59483 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59485         [BZ #15339]
59486         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
59487         when no services were used.
59488         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
59489         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
59491 2013-05-21  Andreas Schwab  <schwab@suse.de>
59493         [BZ #15014]
59494         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
59495         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
59496         successful.
59497         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
59498         redundant variable declarations and reallocation of buffer when
59499         parsing as IPv6 address.  Always set NSS status when called from
59500         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
59501         buffer too small.  Correct computation of needed size.
59502         * nss/Makefile (tests): Add test-digits-dots.
59503         * nss/test-digits-dots.c: New test.
59505 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59507         * benchtests/Makefile: Remove instructions for adding
59508         benchmark tests.
59509         * benchtests/README: New file to explain how to execute and
59510         enhance the benchmark tests.
59512 2013-05-21  Andreas Schwab  <schwab@suse.de>
59514         [BZ #15493]
59515         * setjmp/Makefile (tests): Add tst-sigsetjmp.
59516         * setjmp/tst-sigsetjmp.c: New test.
59518 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59520         * sysdeps/x86_64/memset.S (memset): New implementation.
59521         (__bzero): Likewise.
59522         (__memset_tail): New function.
59524 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59526         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
59527         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
59528         __memcpy_sse2_unaligned ifunc selection.
59529         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59530         Add memcpy-sse2-unaligned.S.
59531         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59532         Add: __memcpy_sse2_unaligned.
59534 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
59536         [BZ #15490]
59537         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59538         math_force_eval before restoring floating-point envrionment.
59539         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
59540         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
59541         Likewise.
59542         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
59543         <math_private.h>.
59544         (__nearbyintl): Use math_force_eval before restoring
59545         floating-point environment.
59546         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
59548         * math/gen-libm-test.pl (special_functions): Remove.
59549         (parse_args): Don't handle TEST_extra.  Handle functions with no
59550         return value.
59551         * math/libm-test.inc (struct test_sincos_data): Replace with
59552         struct test_fFF_11_data.
59553         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
59554         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
59555         (sincos_test_data): Change element type to struct
59556         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
59557         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
59558         RUN_TEST_LOOP_sincos.
59559         * math/README.libm-test: Don't mention special handling of
59560         individual functions.
59561         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
59562         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59563         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59564         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59565         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59568         * math/gen-libm-test.pl (get_variable): Remove function.
59569         (parse_args): Don't show pointer parameters to call in test
59570         names.  Use "extra output N" in test names for extra outputs
59571         rather than naming variables.
59573 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
59575         [BZ #15488]
59576         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
59577         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
59578         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
59579         double tests.
59580         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
59581         disable.
59582         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
59583         check_long_double.
59585         * math/gen-libm-test.pl (@tests): Remove variable.
59586         ($count): Likewise.
59587         (new_test): Remove function.
59588         (show_exceptions): New function.
59589         (special_functions): Use show_exceptions instead of new_test.
59590         (parse_args): Likewise.
59591         (generate_testfile): Pass only function name in generated call to
59592         print_max_error or print_complex_max_error.
59593         (get_ulps): Do not handle complex tests specially.
59594         (output_test): Rename to ...
59595         (get_all_ulps_for_test): ... this.  Return a string rather than
59596         printing to a file.  Require ulps to be present.
59597         (output_ulps): Generate arrays rather than #defines.
59598         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
59599         (struct ulp_data): New type.
59600         (BUILD_COMPLEX_ULP): Remove macro.
59601         (compare_ulp_data): New function.
59602         (find_ulps): Likewise.
59603         (find_test_ulps): Likewise.
59604         (find_function_ulps): Likewise.
59605         (find_complex_function_ulps): Likewise.
59606         (print_max_error): Determine allowed ulps using
59607         find_function_ulps.
59608         (print_complex_max_error): Determine allowed ulps using
59609         find_complex_function_ulps.
59610         (check_float_internal): Determine max ulps using find_test_ulps.
59611         (check_float): Do not take max_ulp parameter.  Update call to
59612         check_float_internal.
59613         (check_complex): Likewise.
59614         (check_int): Do not take max_ulp parameter.
59615         (check_long): Likewise.
59616         (check_bool): Likewise.
59617         (check_longlong): Likewise.
59618         (struct test_f_f_data): Remove max_ulp field.
59619         (struct test_ff_f_data): Likewise.
59620         (struct test_ff_f_data_nexttoward): Likewise.
59621         (struct test_fi_f_data): Likewise.
59622         (struct test_fl_f_data): Likewise.
59623         (struct test_if_f_data): Likewise.
59624         (struct test_fff_f_data): Likewise.
59625         (struct test_c_f_data): Likewise.
59626         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
59627         (struct test_fF_f1_data): Likewise.
59628         (struct test_ffI_f1_data): Likewise.
59629         (struct test_c_c_data): Remove max_ulp field.
59630         (struct test_cc_c_data): Likewise.
59631         (struct test_f_i_data): Likewise.
59632         (struct test_ff_i_data): Likewise.
59633         (struct test_f_l_data): Likewise.
59634         (struct test_f_L_data): Likewise.
59635         (struct test_sincos_data): Likewise.
59636         (RUN_TEST_f_f): Do not handle ulps.
59637         (RUN_TEST_LOOP_f_f): Likewise.
59638         (RUN_TEST_2_f): Likewise.
59639         (RUN_TEST_LOOP_2_f): Likewise.
59640         (RUN_TEST_fff_f): Likewise.
59641         (RUN_TEST_LOOP_fff_f): Likewise.
59642         (RUN_TEST_c_f): Likewise.
59643         (RUN_TEST_LOOP_c_f): Likewise.
59644         (RUN_TEST_f_f1): Likewise.
59645         (RUN_TEST_LOOP_f_f1): Likewise.
59646         (RUN_TEST_fF_f1): Likewise.
59647         (RUN_TEST_LOOP_fF_f1): Likewise.
59648         (RUN_TEST_fI_f1): Likewise.
59649         (RUN_TEST_LOOP_fI_f1): Likewise.
59650         (RUN_TEST_ffI_f1): Likewise.
59651         (RUN_TEST_LOOP_ffI_f1): Likewise.
59652         (RUN_TEST_c_c): Likewise.
59653         (RUN_TEST_LOOP_c_c): Likewise.
59654         (RUN_TEST_cc_c): Likewise.
59655         (RUN_TEST_LOOP_cc_c): Likewise.
59656         (RUN_TEST_f_i): Likewise.
59657         (RUN_TEST_LOOP_f_i): Likewise.
59658         (RUN_TEST_f_i_tg): Likewise.
59659         (RUN_TEST_LOOP_f_i_tg): Likewise.
59660         (RUN_TEST_ff_i_tg): Likewise.
59661         (RUN_TEST_LOOP_ff_i_tg): Likewise.
59662         (RUN_TEST_f_b): Likewise.
59663         (RUN_TEST_LOOP_f_b): Likewise.
59664         (RUN_TEST_f_b_tg): Likewise.
59665         (RUN_TEST_LOOP_f_b_tg): Likewise.
59666         (RUN_TEST_f_l): Likewise.
59667         (RUN_TEST_LOOP_f_l): Likewise.
59668         (RUN_TEST_f_L): Likewise.
59669         (RUN_TEST_LOOP_f_L): Likewise.
59670         (RUN_TEST_sincos): Likewise.
59671         (RUN_TEST_LOOP_sincos): Likewise.
59673 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
59675         [BZ #15480]
59676         [BZ #15485]
59677         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
59678         main case of finite arguments, set rounding mode to FE_TONEAREST
59679         and discard exceptions.
59680         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
59681         exceptions.
59682         (remainder_tonearest_test_data): New variable.
59683         (remainder_test_tonearest): New function.
59684         (remainder_towardzero_test_data): New variable.
59685         (remainder_test_towardzero): New function.
59686         (remainder_downward_test_data): New variable.
59687         (remainder_test_downward): New function.
59688         (remainder_upward_test_data): New variable.
59689         (remainder_test_upward): New function.
59690         (main): Call the new test functions.
59692         * math/libm-test.inc (struct test_f_f1_data): Remove field
59693         extra_init.
59694         (struct test_fF_f1_data): Likewise.
59695         (struct test_ffI_f1_data): Likewise.
59696         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
59697         based on value of EXTRA_EXPECTED.
59698         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59699         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
59700         EXTRA_VAR based on value of EXTRA_EXPECTED.
59701         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59702         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
59703         EXTRA_VAR based on value of EXTRA_EXPECTED.
59704         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59705         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
59706         EXTRA_VAR based on value of EXTRA_EXPECTED.
59707         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59708         * math/gen-libm-test.pl (parse_args): Don't output initializers
59709         for extra output values.
59711         * math/libm-test.inc (check_int): Expect result to be exactly
59712         equal to expected value and do not handle ulps.
59713         (check_long): Likewise.
59714         (check_longlong): Likewise.
59716         * math/libm-test.inc (ceil_test_data): Test for "inexact"
59717         exceptions.
59718         (cimag_test_data): Likewise.
59719         (conj_test_data): Likewise.
59720         (copysign_test_data): Likewise.
59721         (cproj_test_data): Likewise.
59722         (creal_test_data): Likewise.
59723         (fabs_test_data): Likewise.
59724         (fdim_test_data): Likewise.
59725         (finite_test_data): Likewise.
59726         (floor_test_data): Likewise.
59727         (fmax_test_data): Likewise.
59728         (fmin_test_data): Likewise.
59729         (fmod_test_data): Likewise.
59730         (fpclassify_test_data): Likewise.
59731         (frexp_test_data): Likewise.
59732         (ilogb_test_data): Likewise.
59733         (isfinite_test_data): Likewise.
59734         (isgreater_test_data): Likewise.
59735         (isgreaterequal_test_data): Likewise.
59736         (isinf_test_data): Likewise.
59737         (isless_test_data): Likewise.
59738         (islessequal_test_data): Likewise.
59739         (islessgreater_test_data): Likewise.
59740         (isnan_test_data): Likewise.
59741         (isnormal_test_data): Likewise.
59742         (issignaling_test_data): Likewise.
59743         (isunordered_test_data): Likewise.
59744         (ldexp_test_data): Likewise.
59745         (lrint_test_data): Likewise.
59746         (lrint_test_data) [TEST_FLOAT]: Disable one test.
59747         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
59748         (lrint_tonearest_test_data): Test for "inexact" exceptions.
59749         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59750         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
59751         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59752         test input.
59753         (lrint_towardzero_test_data): Test for "inexact" exceptions.
59754         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59755         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
59756         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
59757         that test input.
59758         (lrint_downward_test_data): Test for "inexact" exceptions.
59759         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59760         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
59761         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59762         test input.
59763         (lrint_upward_test_data): Test for "inexact" exceptions.
59764         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
59765         test input.
59766         (llrint_test_data): Test for "inexact" exceptions.
59767         (llrint_test_data) [TEST_FLOAT]: Disable one test.
59768         (llrint_tonearest_test_data): Test for "inexact" exceptions.
59769         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59770         (llrint_towardzero_test_data): Test for "inexact" exceptions.
59771         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59772         (llrint_downward_test_data): Test for "inexact" exceptions.
59773         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59774         (llrint_upward_test_data): Test for "inexact" exceptions.
59775         (logb_test_data): Likewise.
59776         (logb_downward_test_data): Likewise.
59777         (nextafter_test_data): Likewise.
59778         (nexttoward_test_data): Likewise.
59779         (remainder_test_data): Likewise.
59780         (remquo_test_data): Likewise.
59781         (scalbn_test_data): Likewise.
59782         (scalbln_test_data): Likewise.
59783         (signbit_test_data): Likewise.
59784         (sqrt_test_data): Likewise.
59785         (significand_test_data): Likewise.
59787 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59789         [BZ #15424]
59790         * benchtests/bench-modf.c (struct args): Mark arg0 as
59791         volatile.
59792         * scripts/bench.pl: Mark members of struct args as volatile.
59794 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59796         [BZ # 15497]
59797         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
59798         negative infinity on POWER6 or lower.
59799         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
59801 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
59803         [BZ #15442]
59804         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
59805         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
59806         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
59807         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
59808         (_FP_SETQNAN): New macro.
59809         (_FP_SETQNAN_SEMIRAW): Likewise.
59810         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
59811         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
59812         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
59813         (FP_EXTEND): Use _FP_FRAC_SNANP.
59814         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
59815         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
59816         into account.
59817         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59818         New macro.
59819         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59820         Likewise.
59822 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59824         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
59825         with DIVIDE_BY_ZERO_EXCEPTION.
59826         (gamma_test_data): Likewise.
59827         (lgamma_test_data): Likewise.
59828         (log_test_data): Likewise.
59829         (log10_test_data): Likewise.
59830         (log2_test_data): Likewise.
59831         (tgamma_test_data): Likewise.
59833         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
59834         (acos_test_tonearest): Likewise.
59835         (acos_test_towardzero): Likewise.
59836         (acos_test_downward): Likewise.
59837         (acos_test_upward): Likewise.
59838         (acosh_test): Likewise.
59839         (asin_test): Likewise.
59840         (asin_test_tonearest): Likewise.
59841         (asin_test_towardzero): Likewise.
59842         (asin_test_downward): Likewise.
59843         (asin_test_upward): Likewise.
59844         (asinh_test): Likewise.
59845         (atan_test): Likewise.
59846         (atanh_test): Likewise.
59847         (atan2_test): Likewise.
59848         (cabs_test): Likewise.
59849         (cacos_test): Likewise.
59850         (cacosh_test): Likewise.
59851         (casin_test): Likewise.
59852         (casinh_test): Likewise.
59853         (catan_test): Likewise.
59854         (catanh_test): Likewise.
59855         (cbrt_test): Likewise.
59856         (ccos_test): Likewise.
59857         (ccosh_test): Likewise.
59858         (cexp_test): Likewise.
59859         (clog_test): Likewise.
59860         (clog10_test): Likewise.
59861         (cos_test): Likewise.
59862         (cos_test_tonearest): Likewise.
59863         (cos_test_towardzero): Likewise.
59864         (cos_test_downward): Likewise.
59865         (cos_test_upward): Likewise.
59866         (cosh_test): Likewise.
59867         (cosh_test_tonearest): Likewise.
59868         (cosh_test_towardzero): Likewise.
59869         (cosh_test_downward): Likewise.
59870         (cosh_test_upward): Likewise.
59871         (cpow_test): Likewise.
59872         (csin_test): Likewise.
59873         (csinh_test): Likewise.
59874         (csqrt_test): Likewise.
59875         (ctan_test): Likewise.
59876         (ctan_test_tonearest): Likewise.
59877         (ctan_test_towardzero): Likewise.
59878         (ctan_test_downward): Likewise.
59879         (ctan_test_upward): Likewise.
59880         (ctanh_test): Likewise.
59881         (ctanh_test_tonearest): Likewise.
59882         (ctanh_test_towardzero): Likewise.
59883         (ctanh_test_downward): Likewise.
59884         (ctanh_test_upward): Likewise.
59885         (erf_test): Likewise.
59886         (erfc_test): Likewise.
59887         (exp_test): Likewise.
59888         (exp_test_tonearest): Likewise.
59889         (exp_test_towardzero): Likewise.
59890         (exp_test_downward): Likewise.
59891         (exp_test_upward): Likewise.
59892         (exp10_test): Likewise.
59893         (exp2_test): Likewise.
59894         (expm1_test): Likewise.
59895         (fmod_test): Likewise.
59896         (gamma_test): Likewise.
59897         (hypot_test): Likewise.
59898         (j0_test): Likewise.
59899         (j1_test): Likewise.
59900         (jn_test): Likewise.
59901         (lgamma_test): Likewise.
59902         (log_test): Likewise.
59903         (log10_test): Likewise.
59904         (log1p_test): Likewise.
59905         (log2_test): Likewise.
59906         (logb_test_downward): Likewise.
59907         (pow_test): Likewise.
59908         (pow_test_tonearest): Likewise.
59909         (pow_test_towardzero): Likewise.
59910         (pow_test_downward): Likewise.
59911         (pow_test_upward): Likewise.
59912         (remainder_test): Likewise.
59913         (remquo_test): Likewise.
59914         (sin_test): Likewise.
59915         (sin_test_tonearest): Likewise.
59916         (sin_test_towardzero): Likewise.
59917         (sin_test_downward): Likewise.
59918         (sin_test_upward): Likewise.
59919         (sincos_test): Likewise.
59920         (sinh_test): Likewise.
59921         (sinh_test_tonearest): Likewise.
59922         (sinh_test_towardzero): Likewise.
59923         (sinh_test_downward): Likewise.
59924         (sinh_test_upward): Likewise.
59925         (sqrt_test): Likewise.
59926         (tan_test): Likewise.
59927         (tan_test_tonearest): Likewise.
59928         (tan_test_towardzero): Likewise.
59929         (tan_test_downward): Likewise.
59930         (tan_test_upward): Likewise.
59931         (tanh_test): Likewise.
59932         (tgamma_test): Likewise.
59933         (y0_test): Likewise.
59934         (y1_test): Likewise.
59935         (yn_test): Likewise.
59937         * math/gen-libm-test.pl (adjust_arg): Remove function.
59938         (special_function): Remove argument $in_func.  Only handle
59939         generating output for tables of tests, not inside functions.
59940         (parse_args): Likewise.
59941         (generate_testfile): Remove variable $in_func.  Update call to
59942         parse_args.
59943         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
59944         (MINUS_ZERO_INIT): Rename macro to minus_zero.
59945         (PLUS_INFTY_INIT): Rename macro to plus_infty.
59946         (MINUS_INFTY_INIT): Rename macro to minus_infty.
59947         (QNAN_VALUE_INIT): Rename macro to qnan_value.
59948         (MAX_VALUE_INIT): Rename macro to max_value.
59949         (MIN_VALUE_INIT): Rename macro to min_value.
59950         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
59951         (plus_zero): Remove variable.
59952         (minus_zero): Likewise.
59953         (plus_infty): Likewise.
59954         (minus_infty): Likewise.
59955         (qnan_value): Likewise.
59956         (max_value): Likewise.
59957         (min_value): Likewise.
59958         (min_subnorm_value): Likewise.
59960 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59962         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
59963         uint64_t or uint32_t usage.
59964         * crypt/sha256-block.c: Likewise.
59965         * crypt/sha256-crypt.c: Likewise.
59966         * crypt/sha256.c: Likewise.
59967         * crypt/sha512-block.c: Likewise.
59968         * crypt/sha512-crypt.c: Likewise.
59969         * crypt/sha512.c: Likewise.
59970         * debug/backtrace-tst.c: Likewise.
59971         * debug/pcprofiledump.c: Likewise.
59972         * elf/cache.c: Likewise.
59973         * elf/dl-cache.c: Likewise.
59974         * elf/dl-misc.c: Likewise.
59975         * elf/dl-profile.c: Likewise.
59976         * elf/dl-support.c: Likewise.
59977         * elf/ldconfig.c: Likewise.
59978         * elf/sprof.c: Likewise.
59979         * iconv/dummy-repertoire.c: Likewise.
59980         * iconv/iconv_charmap.c: Likewise.
59981         * iconv/skeleton.c: Likewise.
59982         * iconvdata/8bit-generic.c: Likewise.
59983         * iconvdata/cp737.h: Likewise.
59984         * iconvdata/cp775.h: Likewise.
59985         * iconvdata/ibm1008.h: Likewise.
59986         * iconvdata/ibm1025.h: Likewise.
59987         * iconvdata/ibm1046.h: Likewise.
59988         * iconvdata/ibm1097.h: Likewise.
59989         * iconvdata/ibm1112.h: Likewise.
59990         * iconvdata/ibm1122.h: Likewise.
59991         * iconvdata/ibm1123.h: Likewise.
59992         * iconvdata/ibm1124.h: Likewise.
59993         * iconvdata/ibm1129.h: Likewise.
59994         * iconvdata/ibm1130.h: Likewise.
59995         * iconvdata/ibm1132.h: Likewise.
59996         * iconvdata/ibm1133.h: Likewise.
59997         * iconvdata/ibm1137.h: Likewise.
59998         * iconvdata/ibm1140.h: Likewise.
59999         * iconvdata/ibm1141.h: Likewise.
60000         * iconvdata/ibm1142.h: Likewise.
60001         * iconvdata/ibm1143.h: Likewise.
60002         * iconvdata/ibm1144.h: Likewise.
60003         * iconvdata/ibm1145.h: Likewise.
60004         * iconvdata/ibm1146.h: Likewise.
60005         * iconvdata/ibm1147.h: Likewise.
60006         * iconvdata/ibm1148.h: Likewise.
60007         * iconvdata/ibm1149.h: Likewise.
60008         * iconvdata/ibm1153.h: Likewise.
60009         * iconvdata/ibm1154.h: Likewise.
60010         * iconvdata/ibm1155.h: Likewise.
60011         * iconvdata/ibm1156.h: Likewise.
60012         * iconvdata/ibm1157.h: Likewise.
60013         * iconvdata/ibm1158.h: Likewise.
60014         * iconvdata/ibm1160.h: Likewise.
60015         * iconvdata/ibm1161.h: Likewise.
60016         * iconvdata/ibm1162.h: Likewise.
60017         * iconvdata/ibm1163.h: Likewise.
60018         * iconvdata/ibm1164.h: Likewise.
60019         * iconvdata/ibm1166.h: Likewise.
60020         * iconvdata/ibm1167.h: Likewise.
60021         * iconvdata/ibm12712.h: Likewise.
60022         * iconvdata/ibm1390.h: Likewise.
60023         * iconvdata/ibm1399.h: Likewise.
60024         * iconvdata/ibm16804.h: Likewise.
60025         * iconvdata/ibm4517.h: Likewise.
60026         * iconvdata/ibm4899.h: Likewise.
60027         * iconvdata/ibm4909.h: Likewise.
60028         * iconvdata/ibm4971.h: Likewise.
60029         * iconvdata/ibm5347.h: Likewise.
60030         * iconvdata/ibm803.h: Likewise.
60031         * iconvdata/ibm856.h: Likewise.
60032         * iconvdata/ibm901.h: Likewise.
60033         * iconvdata/ibm902.h: Likewise.
60034         * iconvdata/ibm9030.h: Likewise.
60035         * iconvdata/ibm9066.h: Likewise.
60036         * iconvdata/ibm921.h: Likewise.
60037         * iconvdata/ibm922.h: Likewise.
60038         * iconvdata/ibm9448.h: Likewise.
60039         * iconvdata/isiri-3342.h: Likewise.
60040         * iconvdata/jis0201.h: Likewise.
60041         * include/link.h: Likewise.
60042         * include/netdb.h: Likewise.
60043         * inet/check_native.c: Likewise.
60044         * inet/check_pf.c: Likewise.
60045         * inet/getipv4sourcefilter.c: Likewise.
60046         * inet/getnameinfo.c: Likewise.
60047         * inet/getsourcefilter.c: Likewise.
60048         * inet/htonl.c: Likewise.
60049         * inet/setipv4sourcefilter.c: Likewise.
60050         * inet/setsourcefilter.c: Likewise.
60051         * inet/test-inet6_opt.c: Likewise.
60052         * inet/tst-network.c: Likewise.
60053         * locale/C-collate.c: Likewise.
60054         * locale/C-ctype.c: Likewise.
60055         * locale/C-time.c: Likewise.
60056         * locale/C-translit.h: Likewise.
60057         * locale/loadarchive.c: Likewise.
60058         * locale/programs/3level.h: Likewise.
60059         * locale/programs/charmap.c: Likewise.
60060         * locale/programs/charmap.h: Likewise.
60061         * locale/programs/ld-address.c: Likewise.
60062         * locale/programs/ld-collate.c: Likewise.
60063         * locale/programs/ld-ctype.c: Likewise.
60064         * locale/programs/ld-identification.c: Likewise.
60065         * locale/programs/ld-measurement.c: Likewise.
60066         * locale/programs/ld-messages.c: Likewise.
60067         * locale/programs/ld-monetary.c: Likewise.
60068         * locale/programs/ld-name.c: Likewise.
60069         * locale/programs/ld-numeric.c: Likewise.
60070         * locale/programs/ld-paper.c: Likewise.
60071         * locale/programs/ld-telephone.c: Likewise.
60072         * locale/programs/ld-time.c: Likewise.
60073         * locale/programs/linereader.c: Likewise.
60074         * locale/programs/locale.c: Likewise.
60075         * locale/programs/locarchive.c: Likewise.
60076         * locale/programs/locfile.h: Likewise.
60077         * locale/programs/repertoire.c: Likewise.
60078         * locale/programs/simple-hash.c: Likewise.
60079         * locale/programs/simple-hash.h: Likewise.
60080         * malloc/memusage.c: Likewise.
60081         * malloc/memusagestat.c: Likewise.
60082         * nis/nis_defaults.c: Likewise.
60083         * nis/nis_hash.c: Likewise.
60084         * nis/nis_print.c: Likewise.
60085         * nis/nis_xdr.c: Likewise.
60086         * nscd/connections.c: Likewise.
60087         * nscd/hstcache.c: Likewise.
60088         * nscd/nscd_gethst_r.c: Likewise.
60089         * nscd/nscd_getserv_r.c: Likewise.
60090         * nscd/nscd_helper.c: Likewise.
60091         * nscd/servicescache.c: Likewise.
60092         * nss/makedb.c: Likewise.
60093         * nss/nss_db/db-XXX.c: Likewise.
60094         * nss/nss_db/db-initgroups.c: Likewise.
60095         * nss/nss_db/db-netgrp.c: Likewise.
60096         * nss/nss_files/files-network.c: Likewise.
60097         * nss/nss_files/files-parse.c: Likewise.
60098         * posix/bug-regex5.c: Likewise.
60099         * posix/fnmatch_loop.c: Likewise.
60100         * posix/regcomp.c: Likewise.
60101         * posix/regexec.c: Likewise.
60102         * posix/tst-rfc3484-2.c: Likewise.
60103         * posix/tst-rfc3484-3.c: Likewise.
60104         * posix/tst-rfc3484.c: Likewise.
60105         * resolv/nss_dns/dns-canon.c: Likewise.
60106         * resolv/nss_dns/dns-network.c: Likewise.
60107         * resolv/res_init.c: Likewise.
60108         * resolv/res_mkquery.c: Likewise.
60109         * resolv/tst-aton.c: Likewise.
60110         * stdlib/cxa_atexit.c: Likewise.
60111         * stdlib/cxa_finalize.c: Likewise.
60112         * stdlib/gen-fpioconst.c: Likewise.
60113         * stdlib/strtol_l.c: Likewise.
60114         * string/tst-endian.c: Likewise.
60115         * sunrpc/auth_des.c: Likewise.
60116         * sunrpc/clnt_udp.c: Likewise.
60117         * sunrpc/rtime.c: Likewise.
60118         * sunrpc/svcauth_des.c: Likewise.
60119         * sunrpc/xdr.c: Likewise.
60120         * sunrpc/xdr_intXX_t.c: Likewise.
60121         * sunrpc/xdr_rec.c: Likewise.
60122         * sysdeps/generic/ldconfig.h: Likewise.
60123         * sysdeps/generic/ldsodefs.h: Likewise.
60124         * sysdeps/generic/memusage.h: Likewise.
60125         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60126         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
60127         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
60128         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60129         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60130         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60131         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60132         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60133         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60134         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60135         * sysdeps/posix/getaddrinfo.c: Likewise.
60136         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60137         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60138         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60139         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60140         * sysdeps/powerpc/test-gettimebase.c: Likewise.
60141         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
60142         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
60143         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
60144         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
60145         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
60146         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
60147         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
60148         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
60149         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
60150         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
60151         * sysdeps/x86_64/dl-tls.h: Likewise.
60152         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
60153         * time/alt_digit.c: Likewise.
60154         * time/era.c: Likewise.
60155         * wcsmbs/tst-c16c32-1.c: Likewise.
60157 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60159         * math/libm-test.inc (struct test_sincos_data): New type.
60160         (RUN_TEST_LOOP_sincos): New macro.
60161         (sincos_test_data): New variable.
60162         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
60164 2013-05-16  Richard Henderson  <rth@redhat.com>
60166         * math/atest-exp2.c (LIMB64): New macro.
60167         (CONSTSZ): New macro.
60168         (mp_exp1, mp_exp_m1, mp_log2): New variables.
60169         (hexdig): Move ...
60170         (print_mpn_fp): ... to function scope.
60171         (read_mpn_hex): Remove.
60172         (get_log2): Remove.
60173         (exp2_mpn): Use mp_log2.
60174         (main): Use mp_exp1.
60176 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60178         * math/libm-test.inc: Remove comment about not testing "inexact"
60179         exceptions.
60180         (INEXACT_EXCEPTION): New macro.
60181         (NO_INEXACT_EXCEPTION): Likewise.
60182         (INVALID_EXCEPTION_OK): Update value.
60183         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60184         (OVERFLOW_EXCEPTION_OK): Likewise.
60185         (UNDERFLOW_EXCEPTION_OK): Likewise.
60186         (IGNORE_ZERO_INF_SIGN): Likewise.
60187         (ERRNO_UNCHANGED): Likewise.
60188         (ERRNO_EDOM): Likewise.
60189         (ERRNO_ERANGE): Likewise.
60190         (test_exceptions): Handle testing "inexact" exceptions.
60191         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
60192         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
60193         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
60194         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
60195         INEXACT_EXCEPTION.
60196         (rint_towardzero_test_data): Likewise.
60197         (rint_downward_test_data): Likewise.
60198         (rint_upward_test_data): Likewise.
60200         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
60201         with OVERFLOW_EXCEPTION.
60202         (exp10_test_data): Likewise.
60203         (exp2_test_data): Likewise.
60204         (expm1_test_data): Likewise.
60205         (lgamma_test_data): Likewise.
60206         (pow_test_data): Likewise.
60207         (tgamma_test_data): Likewise.
60208         (yn_test_data): Remove duplicate test of overflow.
60210         * math/libm-test.inc (struct test_cc_c_data): New type.
60211         (RUN_TEST_LOOP_cc_c): New macro.
60212         (cpow_test_data): New variable.
60213         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
60215         * math/libm-test.inc (struct test_f_L_data): New type.
60216         (RUN_TEST_LOOP_f_L): New macro.
60217         (llrint_test_data): New variable.
60218         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
60219         (llrint_tonearest_test_data): New variable.
60220         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
60221         (llrint_towardzero_test_data): New variable.
60222         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
60223         (llrint_downward_test_data): New variable.
60224         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
60225         (llrint_upward_test_data): New variable.
60226         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
60227         (llround_test_data): New variable.
60228         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
60230 2013-05-13  Peter Collingbourne  <pcc@google.com>
60232         * math/atest-exp2.c (get_log2): Remove const attribute.
60234 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
60236         * math/libm-test.inc (struct test_f_l_data): New type.
60237         (RUN_TEST_LOOP_f_l): New macro.
60238         (lrint_test_data): New variable.
60239         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
60240         (lrint_tonearest_test_data): New variable.
60241         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
60242         (lrint_towardzero_test_data): New variable.
60243         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
60244         (lrint_downward_test_data): New variable.
60245         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
60246         (lrint_upward_test_data): New variable.
60247         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
60248         (lround_test_data): New variable.
60249         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
60251 2013-05-15  Peter Collingbourne  <pcc@google.com>
60253         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
60254         (EXTRACT_WORDS64) Use where appropriate.
60255         (INSERT_WORDS64) Likewise.
60257         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
60258         constraints with x constraints.
60259         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
60261         * malloc/obstack.c (_obstack_compat): Add initializer.
60263 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60265         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
60266         si_trapno and add si_addr_lsb to _sifields.sigfault.
60267         (si_trapno): Remove macro.
60268         (si_addr_lsb): Define new macro.
60269         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60271 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
60273         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
60274         instead of TEST_f_l.
60275         (llrint_test_tonearest): Likewise.
60276         (llrint_test_towardzero): Likewise.
60277         (llrint_test_downward): Likewise.
60278         (llrint_test_upward): Likewise.
60279         (llround_test): Likewise.
60281         * math/libm-test.inc (struct test_f_i_data): Add comment.
60282         (RUN_TEST_LOOP_f_b): New macro.
60283         (RUN_TEST_LOOP_f_b_tg): Likewise.
60284         (finite_test_data): New variable.
60285         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
60286         (isfinite_test_data): New variable.
60287         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60288         (isinf_test_data): New variable.
60289         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60290         (isnan_test_data): New variable.
60291         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60292         (isnormal_test_data): New variable.
60293         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60294         (issignaling_test_data): New variable.
60295         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60296         (signbit_test_data): New variable.
60297         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60299         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
60300         with INVALID_EXCEPTION.
60301         (acosh_test_data): Likewise.
60302         (asin_test_data): Likewise.
60303         (atanh_test_data): Likewise.
60304         (fmod_test_data): Likewise.
60305         (log_test_data): Likewise.
60306         (log10_test_data): Likewise.
60307         (log2_test_data): Likewise.
60308         (pow_test_data): Likewise.
60309         (sqrt_test_data): Likewise.
60310         (y0_test_data): Likewise.
60311         (y1_test_data): Likewise.
60312         (yn_test_data): Likewise.
60314         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
60315         function contents.
60317         * math/libm-test.inc (struct test_ff_i_data): New type.
60318         (RUN_TEST_LOOP_ff_i_tg): New macro.
60319         (isgreater_test_data): New variable.
60320         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60321         (isgreaterequal_test_data): New variable.
60322         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60323         (isless_test_data): New variable.
60324         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60325         (islessequal_test_data): New variable.
60326         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60327         (islessgreater_test_data): New variable.
60328         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60329         (isunordered_test_data): New variable.
60330         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60332 2013-05-14  David S. Miller  <davem@davemloft.net>
60334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60336 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
60338         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
60340         * math/libm-test.inc (struct test_fF_f1_data): Change type of
60341         extra_test to int.
60342         (struct test_f_i_data): Change type of max_ulp to int.
60344         * math/libm-test.inc (test_ffI_f1_data): New type.
60345         (RUN_TEST_LOOP_ffI_f1): New macro.
60346         (remquo_test_data): New variable.
60347         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
60349         * setjmp/tst-setjmp-fp.c: New file.
60350         * setjmp/Makefile (tests): Add tst-setjmp-fp.
60351         (link-libm): New variable.
60352         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
60354         * math/libm-test.inc (struct test_f_i_data): New type.
60355         (RUN_TEST_LOOP_f_i): New macro.
60356         (RUN_TEST_LOOP_f_i_tg): Likewise.
60357         (fpclassify_test_data): New variable.
60358         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
60359         (ilogb_test_data): New variable.
60360         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
60362         * math/libm-test.inc (scalbln_test): Correct function name in END
60363         call.
60365         * math/libm-test.inc (struct test_f_f1_data): Add comment.
60366         (RUN_TEST_LOOP_fI_f1): New macro.
60367         (frexp_test_data): New variable.
60368         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
60370         * math/libm-test.inc (struct test_fF_f1_data): New type.
60371         (RUN_TEST_LOOP_fF_f1): New macro.
60372         (modf_test_data): New variable.
60373         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
60375         * math/libm-test.inc (struct test_f_f1_data): New type.
60376         (RUN_TEST_LOOP_f_f1): New macro.
60377         (gamma_test_data): New variable.
60378         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60379         (lgamma_test_data): New variable.
60380         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60382 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
60384         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
60385         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
60386         (main): Comment "tls" pseudo-hwcap.
60388 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
60390         * math/libm-test.inc (struct test_fl_f_data): New type.
60391         (RUN_TEST_LOOP_fl_f): New variable.
60392         (scalbln_test_data): New variable.
60393         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
60395         * math/libm-test.inc (struct test_fi_f_data): New type.
60396         (RUN_TEST_LOOP_fi_f): New macro.
60397         (ldexp_test_data): New variable.
60398         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
60399         (scalbn_test_data): New variable.
60400         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
60402         * math/libm-test.inc (struct test_c_f_data): New type.
60403         (RUN_TEST_LOOP_c_f): New macro.
60404         (cabs_test_data): New variable.
60405         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
60406         (carg_test_data): New variable.
60407         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
60408         (cimag_test_data): New variable.
60409         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
60410         (creal_test_data): New variable.
60411         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
60413         * math/libm-test.inc (struct test_if_f_data): New type.
60414         (RUN_TEST_LOOP_if_f): New macro.
60415         (jn_test_data): New variable.
60416         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
60417         (yn_test_data): New variable.
60418         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
60420         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
60422 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60424         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
60425         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
60427 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60429         * benchtests/Makefile (CPPFLAGS-nonlib): Add
60430         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
60431         (bench-deps): Add bench-timing.h.
60432         * benchtests-bench-skeleton.c: Include bench-timing.h.
60433         (main): Use TIMING_* macros instead of clock_gettime.
60434         * benchtests/bench-timing.h: New file.
60436         [BZ #14582]
60437         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
60438         Renamed from _LIB_VERSION.
60439         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
60441 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
60443         * math/libm-test.inc (struct test_fff_f_data): New type.
60444         (RUN_TEST_LOOP_fff_f): New macro.
60445         (fma_test_data): New variable.
60446         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
60447         (fma_towardzero_test_data): New variable.
60448         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
60449         (fma_downward_test_data): New variable.
60450         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
60451         (fma_upward_test_data): New variable.
60452         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
60454         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
60455         (struct test_c_c_data): New type.
60456         (RUN_TEST_LOOP_c_c): New macro.
60457         (cacos_test_data): New variable.
60458         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
60459         (cacosh_test_data): New variable.
60460         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
60461         (casin_test_data): New variable.
60462         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
60463         (casinh_test_data): New variable.
60464         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
60465         (catan_test_data): New variable.
60466         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
60467         (catanh_test_data): New variable.
60468         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
60469         (ccos_test_data): New variable.
60470         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
60471         (ccosh_test_data): New variable.
60472         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
60473         (cexp_test_data): New variable.
60474         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
60475         (clog_test_data): New variable.
60476         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
60477         (clog10_test_data): New variable.
60478         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
60479         (conj_test_data): New variable.
60480         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
60481         (cproj_test_data): New variable.
60482         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
60483         (csin_test_data): New variable.
60484         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
60485         (csinh_test_data): New variable.
60486         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
60487         (csqrt_test_data): New variable.
60488         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
60489         (ctan_test_data): New variable.
60490         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
60491         (ctan_tonearest_test_data): New variable.
60492         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60493         (ctan_towardzero_test_data): New variable.
60494         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60495         (ctan_downward_test_data): New variable.
60496         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60497         (ctan_upward_test_data): New variable.
60498         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60499         (ctanh_test_data): New variable.
60500         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
60501         (ctanh_tonearest_test_data): New variable.
60502         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60503         (ctanh_towardzero_test_data): New variable.
60504         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60505         (ctanh_downward_test_data): New variable.
60506         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60507         (ctanh_upward_test_data): New variable.
60508         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60509         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
60510         of BUILD_COMPLEX.
60512         * math/libm-test.inc (struct test_ff_f_data): New type.
60513         (struct test_ff_f_data_nexttoward): Likewise.
60514         (RUN_TEST_LOOP_2_f): New macro.
60515         (RUN_TEST_LOOP_ff_f): Likewise.
60516         (atan2_test_data): New variable.
60517         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
60518         (copysign_test_data): New variable.
60519         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
60520         (fdim_test_data): New variable.
60521         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
60522         (fmax_test_data): New variable.
60523         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
60524         (fmin_test_data): New variable.
60525         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
60526         (fmod_test_data): New variable.
60527         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
60528         (hypot_test_data): New variable.
60529         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
60530         (nextafter_test_data): New variable.
60531         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
60532         (nexttoward_test_data): New variable.
60533         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
60534         (pow_test_data): New variable.
60535         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
60536         (pow_tonearest_test_data): New variable.
60537         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
60538         (pow_towardzero_test_data): New variable.
60539         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
60540         (pow_downward_test_data): New variable.
60541         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
60542         (pow_upward_test_data): New variable.
60543         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
60544         (remainder_test_data): New variable.
60545         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
60546         (scalb_test_data): New variable.
60547         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
60548         * sysdeps/i386/fpu/libm-test-ulps: Update.
60550 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
60552         * math/libm-test.inc (fma_test): Use max_value instead of local
60553         variable fltmax.
60554         (nextafter_test): Likewise.
60556         * math/libm-test.inc (acos_towardzero_test_data): New variable.
60557         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60558         (acos_downward_test_data): New variable.
60559         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60560         (acos_upward_test_data): New variable.
60561         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60562         (acosh_test_data): New variable.
60563         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
60564         (asin_test_data): New variable.
60565         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
60566         (asin_tonearest_test_data): New variable.
60567         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60568         (asin_towardzero_test_data): New variable.
60569         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60570         (asin_downward_test_data): New variable.
60571         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60572         (asin_upward_test_data): New variable.
60573         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60574         (asinh_test_data): New variable.
60575         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
60576         (atan_test_data): New variable.
60577         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
60578         (atanh_test_data): New variable.
60579         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
60580         (cbrt_test_data): New variable.
60581         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
60582         (ceil_test_data): New variable.
60583         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
60584         (cos_test_data): New variable.
60585         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
60586         (cos_tonearest_test_data): New variable.
60587         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60588         (cos_towardzero_test_data): New variable.
60589         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60590         (cos_downward_test_data): New variable.
60591         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60592         (cos_upward_test_data): New variable.
60593         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60594         (cosh_test_data): New variable.
60595         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
60596         (cosh_tonearest_test_data): New variable.
60597         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60598         (cosh_towardzero_test_data): New variable.
60599         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60600         (cosh_downward_test_data): New variable.
60601         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60602         (cosh_upward_test_data): New variable.
60603         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60604         (erf_test_data): New variable.
60605         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
60606         (erfc_test_data): New variable.
60607         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
60608         (exp_test_data): New variable.
60609         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
60610         (exp_tonearest_test_data): New variable.
60611         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60612         (exp_towardzero_test_data): New variable.
60613         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60614         (exp_downward_test_data): New variable.
60615         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60616         (exp_upward_test_data): New variable.
60617         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60618         (exp10_test_data): New variable.
60619         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
60620         (exp2_test_data): New variable.
60621         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
60622         (expm1_test_data): New variable.
60623         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
60624         (fabs_test_data): New variable.
60625         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
60626         (floor_test_data): New variable.
60627         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
60628         (j0_test_data): New variable.
60629         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
60630         (j1_test_data): New variable.
60631         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
60632         (log_test_data): New variable.
60633         (log_test): Run tests with RUN_TEST_LOOP_f_f.
60634         (log10_test_data): New variable.
60635         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
60636         (log1p_test_data): New variable.
60637         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
60638         (log2_test_data): New variable.
60639         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
60640         (logb_test_data): New variable.
60641         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
60642         (logb_downward_test_data): New variable.
60643         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60644         (nearbyint_test_data): New variable.
60645         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
60646         (rint_test_data): New variable.
60647         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
60648         (rint_tonearest_test_data): New variable.
60649         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60650         (rint_towardzero_test_data): New variable.
60651         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60652         (rint_downward_test_data): New variable.
60653         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60654         (rint_upward_test_data): New variable.
60655         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60656         (round_test_data): New variable.
60657         (round_test): Run tests with RUN_TEST_LOOP_f_f.
60658         (sin_test_data): New variable.
60659         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
60660         (sin_tonearest_test_data): New variable.
60661         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60662         (sin_towardzero_test_data): New variable.
60663         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60664         (sin_downward_test_data): New variable.
60665         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60666         (sin_upward_test_data): New variable.
60667         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60668         (sinh_test_data): New variable.
60669         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
60670         (sinh_tonearest_test_data): New variable.
60671         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60672         (sinh_towardzero_test_data): New variable.
60673         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60674         (sinh_downward_test_data): New variable.
60675         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60676         (sinh_upward_test_data): New variable.
60677         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60678         (sqrt_test_data): New variable.
60679         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
60680         (tan_test_data): New variable.
60681         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
60682         (tan_tonearest_test_data): New variable.
60683         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60684         (tan_towardzero_test_data): New variable.
60685         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60686         (tan_downward_test_data): New variable.
60687         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60688         (tan_upward_test_data): New variable.
60689         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60690         (tanh_test_data): New variable.
60691         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
60692         (tgamma_test_data): New variable.
60693         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
60694         (trunc_test_data): New variable.
60695         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
60696         (y0_test_data): New variable.
60697         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
60698         (y1_test_data): New variable.
60699         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
60700         (significand_test_data): New variable.
60701         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
60703 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
60705         [BZ #12387]
60706         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
60708 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60710         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
60712 2013-05-10  Andreas Jaeger  <aj@suse.de>
60714         [BZ #15448]
60715         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
60716         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
60718 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60720         * math/gen-libm-test.pl (adjust_arg): New function.
60721         (special_functions): Handle generating output in both functions
60722         and arrays.
60723         (parse_args): Likewise.
60724         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
60725         $in_func argument to parse_args.
60726         * math/libm-test.inc (struct test_f_f_data): New type.
60727         (IF_ROUND_INIT_): New macro.
60728         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
60729         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
60730         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
60731         (IF_ROUND_INIT_FE_UPWARD): Likewise.
60732         (ROUND_RESTORE_): Likewise.
60733         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
60734         (ROUND_RESTORE_FE_TONEAREST): Likewise.
60735         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
60736         (ROUND_RESTORE_FE_UPWARD): Likewise.
60737         (RUN_TEST_LOOP_f_f): New macro.
60738         (acos_test_data): New variable.
60739         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
60740         (acos_tonearest_test_data): New variable.
60741         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60743 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60745         * benchtests/bench-skeleton.c (startup): Fix coding style.
60747 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60749         [BZ #6809]
60750         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
60751         negative infinity argument.
60752         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
60753         negative infinity argument.
60754         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
60755         negative infinity argument.
60756         * math/libm-test.inc (tgamma_test): Expect errno to be set for
60757         domain errors.
60759 2013-05-10  Florian Weimer  <fweimer@redhat.com>
60761         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
60762         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
60763         * iconv/iconv_prog.c (main): Likewise.
60764         * locale/programs/charmap-dir.c (charmap_readdir)
60765         (fopen_uncompressed): Likewise.
60766         * locale/programs/locfile.c (siblings_uncached)
60767         (write_locale_data): Use lstat64 instead of lstat.
60768         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
60769         stat.
60771 2013-05-10  Andreas Jaeger  <aj@suse.de>
60773         [BZ #15395]
60774         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
60775         localization.
60776         Include <locale.h>.
60778 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
60780         * elf/dl-close.c (_dl_close_worker): Add comments.
60782 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
60784         [BZ #15359]
60785         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
60786         high part of pi/2.
60787         (__ieee754_rem_pio2l): Update comments.
60789         [BZ #15429]
60790         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
60791         high part of pi/2.
60792         (__ieee754_rem_pio2l): Update comments.
60794         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
60795         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
60797         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
60798         M_PI_4l.
60800         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
60801         (M_PI_34_LOG10El): Likewise.
60802         (M_PI2_LOG10El): Likewise.
60803         (M_PI4_LOG10El): Likewise.
60804         (M_PI_LOG10El): Likewise.
60806 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60810 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
60812         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
60813         (MINUS_ZERO_INIT): Likewise.
60814         (PLUS_INFTY_INIT): Likewise.
60815         (MINUS_INFTY_INIT): Likewise.
60816         (QNAN_VALUE_INIT): Likewise.
60817         (MAX_VALUE_INIT): Likewise.
60818         (MIN_VALUE_INIT): Likewise.
60819         (MIN_SUBNORM_VALUE_INIT): Likewise.
60820         (plus_zero): Initialize with PLUS_ZERO_INIT.
60821         (minus_zero): Initialize with MINUS_ZERO_INIT.
60822         (plus_infty): Initialize with PLUS_INFTY_INIT.
60823         (minus_infty): Initialize with MINUS_INFTY_INIT.
60824         (qnan_value): Initialize with QNAN_VALUE_INIT.
60825         (max_value): Initialize with MAX_VALUE_INIT.
60826         (min_value): Initialize with MIN_VALUE_INIT.
60827         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
60829         * math/libm-test.inc (RUN_TEST_if_f): New macro.
60830         (jn_test): Use TEST_if_f instead of TEST_ff_f.
60831         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
60832         (yn_test): Use TEST_if_f instead of TEST_ff_f.
60834         * math/libm-test.inc (RUN_TEST_f_f): New macro.
60835         (RUN_TEST_2_f): Likewise.
60836         (RUN_TEST_ff_f): Likewise.
60837         (RUN_TEST_fi_f): Likewise.
60838         (RUN_TEST_fl_f): Likewise.
60839         (RUN_TEST_fff_f): Likewise.
60840         (RUN_TEST_c_f): Likewise.
60841         (RUN_TEST_f_f1): Likewise.
60842         (RUN_TEST_fF_f1): Likewise.
60843         (RUN_TEST_fI_f1): Likewise.
60844         (RUN_TEST_ffI_f1): Likewise.
60845         (RUN_TEST_c_c): Likewise.
60846         (RUN_TEST_cc_c): Likewise.
60847         (RUN_TEST_f_i): Likewise.
60848         (RUN_TEST_f_i_tg): Likewise.
60849         (RUN_TEST_ff_i_tg): Likewise.
60850         (RUN_TEST_f_b): Likewise.
60851         (RUN_TEST_f_b_tg): Likewise.
60852         (RUN_TEST_f_l): Likewise.
60853         (RUN_TEST_f_L): Likewise.
60854         (RUN_TEST_sincos): Likewise.
60855         * math/gen-libm-test.pl (new_test): Take new argument to indicate
60856         whether to show exceptions.  Do not include ");\n" in return
60857         value.
60858         (special_functions): Output call to RUN_TEST_sincos instead of
60859         check_float calls.  Update calls to new_test.
60860         (parse_args): Output call to single RUN_TEST_* macro instead of
60861         check_* calls and other assignments.  Update calls to new_test.
60863         [BZ #2546]
60864         [BZ #2560]
60865         [BZ #5159]
60866         [BZ #15426]
60867         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
60868         input to result for tgamma overflow.
60869         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
60870         (gamma_coeff): New variable.
60871         (NCOEFF): New macro.
60872         (gamma_positive): New function.
60873         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
60874         underflow here.  Use gamma_positive instead of exp (lgamma) for
60875         other arguments.
60876         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
60877         (gamma_coeff): New variable.
60878         (NCOEFF): New macro.
60879         (gammaf_positive): New function.
60880         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
60881         underflow here.  Use gamma_positive instead of exp (lgamma) for
60882         other arguments.
60883         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
60884         (gamma_coeff): New variable.
60885         (NCOEFF): New macro.
60886         (gammal_positive): New function.
60887         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
60888         underflow here.  Use gamma_positive instead of exp (lgamma) for
60889         other arguments.
60890         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
60891         (gamma_coeff): New variable.
60892         (NCOEFF): New macro.
60893         (gammal_positive): New function.
60894         (__ieee754_gammal_r): Handle positive infinity, overflow and
60895         underflow here.  Handle NaN the same as positive infinity.  Remove
60896         check x < 0xffffffff for negative integers.  Use gamma_positive
60897         instead of exp (lgamma) for other arguments.
60898         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
60899         (gamma_coeff): New variable.
60900         (NCOEFF): New macro.
60901         (gammal_positive): New function.
60902         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
60903         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
60904         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
60905         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
60906         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
60907         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
60908         * sysdeps/generic/math_private.h (__gamma_productf): New
60909         prototype.
60910         (__gamma_product): Likewise.
60911         (__gamma_productl): Likewise.
60912         * math/Makefile (libm-calls): Add gamma_product.
60913         * math/libm-test.inc (tgamma_test): Add more tests.
60914         * sysdeps/i386/fpu/libm-test-ulps: Update.
60915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60917 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
60919         * benchtests/bench-skeleton.c (main): Preheat CPU.
60921 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
60923         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
60925 2013-05-07  Roland McGrath  <roland@hack.frob.com>
60927         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
60928         and _dl_skip_args_internal.
60930 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
60932         * manual/message.texi (Message Translation): Talk about users.
60933         Message to key mapping impacts design.
60935 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60937         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
60939         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
60941         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
60942         * sysdeps/wordsize-64/glob64.c: ... here.
60944         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
60945         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
60946         New macros.
60948         * debug/getlogin_r_chk.c: Moved to ...
60949         * login/getlogin_r_chk.c: ... here.
60950         * debug/Makefile (routines): Move getlogin_r_chk to ...
60951         * login/Makefile (routines): ... here.
60952         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
60953         * login/Versions (libc: GLIBC_2.4): ... here.
60955         * io/poll.c (__poll): Renamed from poll.
60956         Add libc_hidden_def.
60957         (poll): Define as weak alias.
60959         * debug/ptsname_r_chk.c: Moved to ...
60960         * login/ptsname_r_chk.c: ... here.
60961         * debug/Makefile (routines): Move ptsname_r_chk to ...
60962         * login/Makefile (routines): ... here.
60963         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
60964         * login/Versions (libc: GLIBC_2.4): ... here.
60966         * posix/getlogin.c: Moved to ...
60967         * login/getlogin.c: ... here.
60968         * posix/getlogin_r.c: Moved to ...
60969         * login/getlogin_r.c: ... here.
60970         * posix/getlogin_r.c: Moved to ...
60971         * login/getlogin_r.c: ... here.
60972         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
60973         * login/Makefile (routines): ... here.
60974         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
60975         * login/Versions (libc: GLIBC_2.0): ... here.
60977         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
60978         (setrlimit): Define as weak alias.
60980         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
60981         Call __ names for open, ftruncate, and close.
60982         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
60983         (truncate): Define as weak alias.
60985 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
60987         * math/gen-libm-test.pl (parse_args): Initialize x before each
60988         test of frexp, modf and remquo.
60990         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
60991         test signgam value.
60993 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60995         [BZ #15418]
60996         [BZ #15419]
60997         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
60998         internal tests.
60999         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61001 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61003         * elf/dl-writev.h: New file.
61004         * elf/dl-misc.c: Include it.
61005         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
61006         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
61008 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
61010         * math/libm-test.inc (noXFails): Remove variable.
61011         (noXPasses): Likewise.
61012         (BUILD_COMPLEX_INT): Remove macro.
61013         (print_screen): Remove xfail argument.
61014         (print_screen_max_error): Likewise.
61015         (update_stats): Likewise.
61016         (print_max_error): Likewise.  Update calls to other affected
61017         functions.
61018         (print_complex_max_error): Likewise.
61019         (test_single_exception): Update calls to print_screen.
61020         (test_single_errno): Likewise.
61021         (check_float_internal): Remove xfail argument.  Update calls to
61022         other affected functions.
61023         (check_float): Likewise.
61024         (check_complex): Likewise.
61025         (check_int): Likewise.
61026         (check_long): Likewise.
61027         (check_bool): Likewise.
61028         (check_longlong): Likewise.
61029         (main): Don't print noXFails and noXPasses.
61030         * math/gen-libm-test.pl (top level): Don't mention expected
61031         failure handling in comment.
61032         (new_test): Don't handle expected failures.
61033         (parse_args): Don't mention expected failure handling in comment.
61034         (generate_testfile): Don't handle expected failures.
61035         (parse_ulps): Likewise.
61036         (print_ulps_file): Likewise.
61037         (get_failure): Remove function.
61038         (output_test): Don't handle expected failures.
61039         * make/README.libm-test: Don't mention expected failure handling.
61041         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
61042         (minus_zero): Likewise.
61043         (plus_infty): Likewise.
61044         (minus_infty): Likewise.
61045         (qnan_value): Likewise.
61046         (max_value): Likewise.
61047         (min_value): Likewise.
61048         (min_subnorm_value): Likewise.
61049         (initialize): Do not initialize those variables dynamically.
61051 2013-05-03  Roland McGrath  <roland@hack.frob.com>
61053         * io/open.c (__open_2): Moved to ...
61054         * io/open_2.c: ... this new file.
61055         * io/open64.c (__open64_2): Moved to ...
61056         * io/open64_2.c: ... this new file.
61057         * io/openat.c (__openat_2): Moved to ...
61058         * io/openat_2.c: ... this new file.
61059         * io/openat64.c (__openat64_2): Moved to ...
61060         * io/openat64_2.c: ... this new file.
61061         * io/Makefile (routines): Add them.
61062         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
61063         * sysdeps/unix/sysv/linux/open_2.c: File removed.
61064         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
61065         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
61066         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
61067         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
61068         (__openat64): Add hidden_ver.
61069         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
61070         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
61072         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
61073         Separately conditionalize setting of GLRO(dl_sysinfo) so
61074         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
61075         as well, but the actual setting is only under [NEED_DL_SYSINFO].
61077 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61079         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
61080         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
61081         definition.
61082         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
61083         * sysdeps/unix/sysv/linux/powerpc/init-first.c
61084         (_libc_vdso_platform_setup): Add __vdso_time initialization.
61085         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
61086         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
61088 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
61090         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
61091         test signgam value.
61093         * math/libm-test.inc (hypot_test): Do not use
61094         IGNORE_ZERO_INF_SIGN.
61096 2013-05-03  Andreas Jaeger  <aj@suse.de>
61098         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
61099         Linux 3.9.
61100         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
61101         (PF_MAX): Adjust for VSOCK change.
61103 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61107 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
61109         [BZ #15264]
61110         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
61111         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
61112         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
61114 2013-05-02  David S. Miller  <davem@davemloft.net>
61116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61118 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
61120         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
61122 2013-05-01  Roland McGrath  <roland@hack.frob.com>
61124         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
61126 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
61128         [BZ #14952]
61129         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
61130         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61131         Use __attribute__ ((__gnu_inline__)).
61132         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61133         Don't use __attribute__ ((__gnu_inline__)).
61135 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
61137         [BZ #15423]
61138         * math/s_catan.c (__catan): Handle small real or imaginary part of
61139         input specially to avoid spurious underflow.
61140         * math/s_catanf.c (__catanf): Likewise.
61141         * math/s_catanh.c (__catanh): Likewise.
61142         * math/s_catanhf.c (__catanhf): Likewise.
61143         * math/s_catanhl.c (__catanhl): Likewise.
61144         * math/s_catanl.c (__catanl): Likewise.
61145         * math/libm-test.inc (catan_test): Add more tests.
61146         (catanh_test): Likewise.
61147         * sysdeps/i386/fpu/libm-test-ulps: Update.
61148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61150 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61154 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
61156         [BZ #15416]
61157         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
61158         accurately for denominator in atan2.
61159         * math/s_catanf.c (__catanf): Likewise.
61160         * math/s_catanh.c (__catanh): Likewise.
61161         * math/s_catanhf.c (__catanhf): Likewise.
61162         * math/s_catanhl.c (__catanhl): Likewise.
61163         * math/s_catanl.c (__catanl): Likewise.
61164         * math/libm-test.inc (catan_test): Add more tests.
61165         (catanh_test): Likewise.
61166         * sysdeps/i386/fpu/libm-test-ulps: Update.
61167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61169 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61171         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
61173         * benchtests/Makefile (bench): Remove slow benchmarks.
61174         * benchtests/atan-inputs: Add slow benchmark inputs.
61175         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
61176         (BENCH_FUNC): Accept variant offset.
61177         (VARIANT): Define.
61178         * benchtests/bench-skeleton.c (main): Run benchmark for each
61179         variant.
61180         * benchtests/cos-inputs: Add slow benchmark inputs.
61181         * benchtests/exp-inputs: Likewise.
61182         * benchtests/pow-inputs: Likewise.
61183         * benchtests/sin-inputs: Likewise.
61184         * benchtests/slowatan-inputs: Remove.
61185         * benchtests/slowatan.c: Remove.
61186         * benchtests/slowcos-inputs: Remove.
61187         * benchtests/slowcos.c: Remove.
61188         * benchtests/slowexp-inputs: Remove.
61189         * benchtests/slowexp.c: Remove.
61190         * benchtests/slowpow-inputs: Remove.
61191         * benchtests/slowpow.c: Remove.
61192         * benchtests/slowsin-inputs: Remove.
61193         * benchtests/slowsin.c: Remove.
61194         * benchtests/slowtan-inputs: Remove.
61195         * benchtests/slowtan.c: Remove.
61196         * benchtests/tan-inputs: Add slow benchmark inputs.
61197         * scripts/bench.pl: Parse comments and directives.
61199         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
61200         in CPPFLAGS.
61201         ($(objpfx)bench-%.c): Remove *-ITER.
61202         * benchtests/bench-modf.c: Remove definition of ITER.
61203         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
61204         (main): Loop for DURATION seconds instead of fixed number of
61205         iterations.
61206         * scripts/bench.pl: Don't expect iterations in parameters.
61208 2013-04-29  Roland McGrath  <roland@hack.frob.com>
61210         * io/fchdir.c (__fchdir): Renamed from fchdir.
61211         (fchdir): Define as weak alias.
61213 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
61215         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
61216         (ERRNO_EDOM): Likewise.
61217         (ERRNO_ERANGE): Likewise.
61218         (noErrnoTests): New variable.
61219         (init_max_error): Set errno to 0.
61220         (test_single_errno): New function.
61221         (test_errno): Likewise.
61222         (check_float_internal): Call test_errno.  Set errno to 0.
61223         (check_complex): Refer to errno tests in comment.
61224         (check_int): Call test_errno.  Set errno to 0.
61225         (check_long): Likewise.
61226         (check_bool): Likewise.
61227         (check_longlong): Likewise.
61228         (cos_test): Use ERRNO_* flags for errno tests instead of
61229         check_int.
61230         (expm1_test): Likewise.
61231         (fmod_test): Likewise.
61232         (ilogb_test): Likewise.
61233         (lgamma_test): Likewise.
61234         (pow_test): Likewise.
61235         (remainder_test): Likewise.
61236         (sin_test): Likewise.
61237         (tan_test): Likewise.
61238         (yn_test): Likewise.
61239         (initialize): Set errno to 0.
61240         (main): Print number of errno tests.
61241         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
61243 2013-04-29  Andreas Jaeger  <aj@suse.de>
61245         [BZ #15084]
61246         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
61247         and RES_USEVC.
61249         [BZ #15085]
61250         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
61251         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
61252         unimplemented.
61254         [BZ #15380]
61255         * stdlib/random.c (__initstate): Return NULL if
61256         __initstate fails.
61258         [BZ #15086]
61259         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
61260         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
61261         RES_SNGLKUPREOP.
61263 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61267 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
61269         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
61270         of individual tests.
61271         (casin_test): Likewise.
61272         (casinh_test): Likewise.
61274 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
61276         [BZ #15409]
61277         * math/s_catan.c (__catan): Handle arguments with large real or
61278         imaginary part separately without squaring.
61279         * math/s_catanf.c (__catanf): Likewise.
61280         * math/s_catanh.c (__catanh): Likewise.
61281         * math/s_catanhf.c (__catanhf): Likewise.
61282         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61283         and redefine.
61284         (__catanhl): Handle arguments with large real or imaginary part
61285         separately without squaring.
61286         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61287         and redefine.
61288         (__catanl): Handle arguments with large real or imaginary part
61289         separately without squaring.
61290         * math/libm-test.inc (catan_test): Add more tests.
61291         (catanh_test): Likewise.
61292         * sysdeps/i386/fpu/libm-test-ulps: Update.
61293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61295 2013-04-27  Andreas Jaeger  <aj@suse.de>
61297         [BZ #15007]
61298         * stdlib/stdlib.h: Update guards for qecvt.
61299         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
61300         <stdlib.h>.
61302 2013-04-27  Allan McRae  <allan@archlinux.org>
61304         * sysdeps/i386/fpu/libm-test-ulps: Update.
61306 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
61308         [BZ #15406]
61309         * math/s_catan.c: Include <float.h>.
61310         (__catan): Ensure underflow exception occurs for underflowed
61311         result.
61312         * math/s_catanf.c: Include <float.h>.
61313         (__catanf): Ensure underflow exception occurs for underflowed
61314         result.
61315         * math/s_catanh.c: Include <float.h>.
61316         (__catanh): Ensure underflow exception occurs for underflowed
61317         result.
61318         * math/s_catanhf.c: Include <float.h>.
61319         (__catanhf): Ensure underflow exception occurs for underflowed
61320         result.
61321         * math/s_catanhl.c: Include <float.h>.
61322         (__catanhl): Ensure underflow exception occurs for underflowed
61323         result.
61324         * math/s_catanl.c: Include <float.h>.
61325         (__catanl): Ensure underflow exception occurs for underflowed
61326         result.
61327         * math/libm-test.inc (catan_test): Add more tests.
61328         (catanh_test): Likewise.
61330         [BZ #15405]
61331         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
61332         underflowed result.
61333         * math/s_ccoshf.c (__ccoshf): Likewise.
61334         * math/s_ccoshl.c (__ccoshl): Likewise.
61335         * math/s_csin.c (__csin): Likewise.
61336         * math/s_csinf.c (__csinf): Likewise.
61337         * math/s_csinh.c (__csinh): Likewise.
61338         * math/s_csinhf.c (__csinhf): Likewise.
61339         * math/s_csinhl.c (__csinhl): Likewise.
61340         * math/s_csinl.c (__csinl): Likewise.
61341         * math/libm-test.inc (ccos_test): Add more tests.
61342         (ccosh_test): Likewise.
61343         (csin_test): Likewise.
61344         (csinh_test): Likewise.
61346 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61348         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
61349         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
61350         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
61351         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
61352         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
61353         powerpc/power5+/fpu folders.
61354         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
61357 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61359         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61361 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
61363         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
61364         additions to variable.
61365         [$(config-machine) = x86_64] (modules-names): Likewise.
61366         ($(objpfx)tst-audit3): Remove dependency.
61367         ($(objpfx)tst-audit3.out): Likewise.
61368         ($(objpfx)tst-audit4): Likewise.
61369         ($(objpfx)tst-audit4.out): Likewise.
61370         ($(objpfx)tst-audit5): Likewise.
61371         ($(objpfx)tst-audit5.out): Likewise.
61372         ($(objpfx)tst-audit6): Likewise.
61373         ($(objpfx)tst-audit6.out): Likewise.
61374         ($(objpfx)tst-audit7): Likewise.
61375         ($(objpfx)tst-audit7.out): Likewise.
61376         (tst-audit3-ENV): Remove variable.
61377         (tst-audit4-ENV): Likewise.
61378         (tst-audit5-ENV): Likewise.
61379         (tst-audit6-ENV): Likewise.
61380         (tst-audit7-ENV): Likewise.
61381         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
61382         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
61383         addition to variable.
61384         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
61385         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
61386         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
61387         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
61388         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
61389         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
61390         tst-audit3, tst-audit4 and tst-audit5.
61391         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
61392         tst-audit6 and tst-audit7.
61393         [$(subdir) = elf] (modules-names): Add audit modules for those
61394         tests.
61395         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
61396         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
61397         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
61398         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
61399         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
61400         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
61401         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
61402         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
61403         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
61404         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
61405         [$(subdir) = elf] (tst-audit3-ENV): New variable.
61406         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
61407         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
61408         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
61409         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
61410         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
61411         Likewise.
61412         [$(subdir) = elf && $(config-cflags-avx) = yes]
61413         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
61414         [$(subdir) = elf && $(config-cflags-avx) = yes]
61415         (CFLAGS-tst-auditmod4a.c): Likewise.
61416         [$(subdir) = elf && $(config-cflags-avx) = yes]
61417         (CFLAGS-tst-auditmod4b.c): Likewise.
61418         [$(subdir) = elf && $(config-cflags-avx) = yes]
61419         (CFLAGS-tst-auditmod6b.c): Likewise.
61420         [$(subdir) = elf && $(config-cflags-avx) = yes]
61421         (CFLAGS-tst-auditmod6c.c): Likewise.
61422         [$(subdir) = elf && $(config-cflags-avx) = yes]
61423         (CFLAGS-tst-auditmod7b.c): Likewise.
61424         * elf/tst-audit3.c: Move to ...
61425         * sysdeps/x86_64/tst-audit3.c: ... here.
61426         * elf/tst-audit4.c: Move to ...
61427         * sysdeps/x86_64/tst-audit4.c: ... here.
61428         * elf/tst-audit5.c: Move to ...
61429         * sysdeps/x86_64/tst-audit5.c: ... here.
61430         * elf/tst-audit6.c: Move to ...
61431         * sysdeps/x86_64/tst-audit6.c: ... here.
61432         * elf/tst-audit7.c: Move to ...
61433         * sysdeps/x86_64/tst-audit7.c: ... here.
61434         * elf/tst-auditmod3a.c: Move to ...
61435         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
61436         * elf/tst-auditmod3b.c: Move to ...
61437         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
61438         * elf/tst-auditmod4a.c: Move to ...
61439         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
61440         * elf/tst-auditmod4b.c: Move to ...
61441         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
61442         * elf/tst-auditmod5a.c: Move to ...
61443         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
61444         * elf/tst-auditmod5b.c: Move to ...
61445         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
61446         * elf/tst-auditmod6a.c: Move to ...
61447         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
61448         * elf/tst-auditmod6b.c: Move to ...
61449         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
61450         * elf/tst-auditmod6c.c: Move to ...
61451         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
61452         * elf/tst-auditmod7a.c: Move to ...
61453         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
61454         * elf/tst-auditmod7b.c: Move to ...
61455         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
61457 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
61459         [BZ #15366]
61460         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
61461         define unconditionally.
61462         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
61463         define unconditionally.
61464         (INT8_C, INT16_C, etc.): Likewise.
61466 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
61468         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
61469         __ehdr_start with hidden visibility.
61471         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
61473 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
61475         * math/libm-test.inc (cos_test): Use accurate hex constants.
61476         (sincost_test): Likewise.
61478 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
61480         * math/libm-test.inc (catan_test): Add more tests.
61481         (catanh_test): Likewise.
61483         * math/s_catanf.c (__catanf): Use suffixed floating-point
61484         constants.
61485         * math/s_catanhf.c (__catanhf): Likewise.
61486         * math/s_catanhl.c (__catanhl): Likewise.
61487         * math/s_catanl.c (__catanl): Likewise.
61489         [BZ #15394]
61490         * math/s_catan.c (__catan): Calculate imaginary part of result
61491         with log1p not log unless computing log of number close to 0.
61492         * math/s_catanf.c (__catanf): Likewise.
61493         * math/s_catanl.c (__catanl): Likewise.
61494         * math/s_catanh.c (__catanh): Calculate real part of result with
61495         log1p not log unless computing log of number close to 0.
61496         * math/s_catanhf.c (__catanhf): Likewise.
61497         * math/s_catanhl.c (__catanhl): Likewise.
61498         * math/libm-test.inc (catan_test): Add more tests.
61499         (catanh_test): Likewise.
61500         * sysdeps/i386/fpu/libm-test-ulps: Update.
61501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61503 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61505         * benchtests/Makefile: Mention files in which fast and slow
61506         paths of math functions are implemented.
61508 2013-04-23  Roland McGrath  <roland@hack.frob.com>
61510         * sysdeps/posix/timespec_get.c: New file.
61512 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61514         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
61515         POWER.
61516         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
61517         for POWER.
61518         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
61519         powerpc/power5/fpu folders.
61520         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
61521         * benchtests/Makefile: Add modf testcase.
61522         * benchtests/bench-modf.c: New file: Benchmark test for mo
61524 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61526         [BZ #14888]
61527         * time/Makefile (tests): Add tst-strptime-whitespace.
61528         * time/strptime_l.c (get_number): Use ISSPACE.
61529         (__strptime_internal): Likewise.
61530         * time/tst-strptime-whitespace.c: New test case.
61532 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
61534         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
61535         member.
61536         (_nss_files_init): Set it here.
61538 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
61540         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
61541         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
61542         unsigned.
61544 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
61546         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
61548 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61550         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
61551         size just once.
61553 2013-04-21  David S. Miller  <davem@davemloft.net>
61555         * po/ru.po: Update Russion translation from translation project.
61557 2013-04-17  Adam Conrad  <adconrad@0c3.net>
61559         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
61560         and setfsgid.
61562 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
61564         * configure.in: Remove i386 configure warning. Remove i386 case.
61565         * configure: Regenerate.
61566         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
61567         Add example to error message.
61568         * sysdeps/i386/configure: Regenerate.
61570 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61572         * benchtests/Makefile (bench): Add cos, tan, slowcos and
61573         slowtan.
61574         * benchtests/cos-inputs: New file.
61575         * benchtests/slowcos-inputs: New file.
61576         * benchtests/slowcos.c: New file.
61577         * benchtests/slowtan-inputs: New file.
61578         * benchtests/slowtan.c: New file.
61579         * benchtests/tan-inputs: New file.
61581 2013-04-16  Roland McGrath  <roland@hack.frob.com>
61583         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
61584         considered kosher.
61586 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61588         * benchtests/Makefile: Include cppflags-iterator.mk to add
61589         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
61591         * Makefile.in (bench-clean): New target.
61592         * benchtests/Makefile (bench-clean): Likewise.
61594 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
61596         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
61598 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
61600         * stdio-common/tstdiomisc.c: Fix coding-style violation.
61602 2013-04-15  Andreas Schwab  <schwab@suse.de>
61604         * nscd/grpcache.c (cache_addgr): Properly check for short write.
61605         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61606         * nscd/pwdcache.c (cache_addpw): Likewise.
61607         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
61608         more than recsize.
61610 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61612         * benchtests/Makefile (bench): Write all output to
61613         bench-out.tmp together.
61615 2013-04-15  Andreas Schwab  <schwab@suse.de>
61617         * nscd/nscd.c (main): Don't fork again after closing files.
61619 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61621         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
61623         * benchtests/Rules (bench-deps): Collect dependencies into a
61624         single variable.  Add Makefile to dependencies.
61625         ($(objpfx)bench-%.c): Depend on bench-deps.
61627 2013-04-12  Roland McGrath  <roland@hack.frob.com>
61628             Xavier Roche  <roche+kml2@exalead.com>
61630         [BZ #15361]
61631         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
61632         just that it's a file descriptor.
61633         * manual/llio.texi (Synchronizing AIO Operations): Update description
61634         for EBADF error from aio_fsync.
61636 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61638         * Rules (bench): Move target definition...
61639         * benchtests/Makefile: ... here.
61641 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
61643         * math/libm-test.inc (cos_test): Fix PI/2 test.
61644         (sincos_test): Likewise.
61645         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
61646         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
61648 2013-04-11  Andreas Schwab  <schwab@suse.de>
61650         [BZ #13988]
61651         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
61652         accept exponent character only when digits were seen.
61653         * stdio-common/Makefile (tests): Add bug26.
61654         * stdio-common/bug26.c: New file.
61656         [BZ #14293]
61657         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
61658         non-freeable.
61660 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61662         * Makeconfig (rtld-prefix): Define built linker prefix.
61663         * Rules (run-bench): Use it.
61664         * math/Makefile (run-regen-ulps): Likewise.
61666         * Rules (bench): Remove eval.
61668 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61669             Roland McGrath  <roland@hack.frob.com>
61670             Ondrej Bilka  <neleai@seznam.cz>
61672         [BZ #15346]
61673         * time/getdate.c: Include ctype.h and alloca.h.
61674         (__getdate_r): Trim leading and trailing spaces of input.
61675         * time/tst-getdate.c (tests): Add tests with leading and
61676         trailing spaces.
61678 2013-04-08  Roland McGrath  <roland@hack.frob.com>
61680         [BZ #14280]
61681         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
61682         when computing value.
61684 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61686         * math/README.libm-test (How can I generate "libm-test-ulps"?):
61687         Use testrun.sh to run libm tests.
61689         [BZ #15309]
61690         * elf/dl-open.c (dl_open_worker): memset all of seen array.
61692 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
61694         [BZ #15264]
61695         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
61697 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61699         * Makefile.in (regen-ulps): New target.
61700         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
61701         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
61702         [ifneq (no,$(PERL)] (regen-ulps): New target.
61703         [ifeq (no,$(PERL)] (regen-ulps): New target.
61704         * math/libm-test.inc (ulps_file_name): Define.
61705         (output_dir): New variable.
61706         (options): Add "output-dir" option.
61707         (parse_opt): Handle 'o' case.
61708         (main): If output_dir is non-NULL use it as a prefix
61709         otherwise use "".
61710         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
61712 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61714         [BZ #10060, #10062]
61715         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
61716         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
61717         fail configure if __sync_val_compare_and_swap is not inlined.
61718         * sysdeps/i386/configure: Regenerate.
61719         * configure.in: Build for i686 when configured for i386.
61720         * configure: Regenerate.
61721         * README: Remove i386 reference.
61723 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61725         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
61726         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61728 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61730         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
61731         (lmsnanval): New variables.
61732         (F): Add conversion tests.
61733         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
61734         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
61736         * stdio-common/tstdiomisc.c (F): Properly collect individual
61737         tests' results.
61739         [BZ #14686, #15336]
61740         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
61741         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
61742         Instead, use input NaN values or generate a qNaN by arithmetic
61743         operation.  Also fix bugs to comply with the standard.
61744         * math/libm-test.inc (remainder_test): Add more tests.
61746         [BZ #15335, #15342]
61747         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
61748         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
61749         input NaN values or generate a qNaN by arithmetic operation.
61751         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
61752         unreachable code.
61754         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
61755         definitions.
61757 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
61759         [BZ #14478]
61760         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
61761         underflowed result.
61762         * math/s_cexpf.c (__cexpf): Likewise.
61763         * math/s_cexpl.c (__cexpl): Likewise.
61764         * math/libm-test.inc (cexp_test): Add more tests.
61766 2013-04-03  Andreas Schwab  <schwab@suse.de>
61768         [BZ #15330]
61769         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
61770         order arrays from heap if bigger than alloca cutoff.
61772 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
61774         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
61775         (SNAN_TESTS_double): Refer to GCC PR56831.
61776         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
61777         GCC PR56828.
61779 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
61781         * Rules (bench): Move bench.out after the run is complete.
61783         * Rules (bench): Echo currently running benchmark.
61785         * benchtests/Makefile (bench): Add atan and slowatan.
61786         * benchtests/atan-inputs: New file.
61787         * benchtests/slowatan-inputs: New file.
61788         * benchtests/slowatan.c: New file.
61790         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
61791         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
61792         its value.
61794         [BZ #15305]
61795         * sysdeps/unix/sysv/linux/kernel-features.h
61796         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
61797         __ASSUME_XFS_RESTRICTED_CHOWN.
61798         * sysdeps/unix/sysv/linux/pathconf.c
61799         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
61800         Save and restore errno.
61802 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
61804         [BZ #15327]
61805         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
61806         arguments using __kernel_casinh.
61807         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
61808         arguments using __kernel_casinhf.
61809         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
61810         arguments using __kernel_casinhl.
61811         * math/libm-test.inc (cacosh_test): Add more tests.
61812         * sysdeps/i386/fpu/libm-test-ulps: Update.
61813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61815 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
61817         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
61818         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
61820         * bench/Makefile (bench): Add sin and slowsin.
61821         * benchtests/sin-inputs: New file.
61822         * benchtests/slowsin-inputs: New file.
61823         * benchtests/slowsin.c: New file.
61825         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
61826         (bench): Add slowexp and slowpow.
61827         (exp-ITER): Increase iterations.
61828         (pow-ITER): Likewise.
61829         * benchtests/exp-inputs: Change input.
61830         * benchtests/pow-inputs: Likewise.
61831         * benchtests/slowexp-inputs: New file.
61832         * benchtests/slowexp.c: New file.
61833         * benchtests/slowpow-inputs: New file.
61834         * benchtests/slowpow.c: New file.
61836 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61838         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
61839         instructions.
61840         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
61841         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
61842         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61843         * benchtests/Makefile: Add rint benchtest.
61844         * benchtests/rint-inputs: Input for rint benchtest.
61846 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61848         * Versions.def (libm): Add GLIBC_2.18.
61849         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
61850         hidden libm prototypes.
61851         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
61852         * math/Makefile (libm-calls): Add s_issignaling.
61853         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
61854         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
61855         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
61856         declaration.
61857         * math/math.h [__USE_GNU] (issignaling): New macro.
61858         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
61859         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
61860         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
61861         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
61862         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
61863         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
61864         * manual/arith.texi (issignaling): New section.
61865         * manual/libm-err-tab.pl (@all_functions): Update comment.
61866         * math/gen-libm-test.pl (parse_args): Apply special handling for
61867         issignaling.
61868         * math/libm-test.inc (print_float, issignaling_test): New
61869         functions.
61870         (check_float_internal): Add issignaling checks.
61871         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
61872         default definition.
61873         * sysdeps/powerpc/math-tests.h: New file.
61874         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
61875         tests.
61876         * math/test-snan.c (TEST_FUNC): Likewise.
61878 2013-03-30  David S. Miller  <davem@davemloft.net>
61880         * po/de.po: Update from translation team.
61882 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
61884         [BZ #10357]
61885         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61886         imaginary part less than 1.0 and real part less than 0.5
61887         specially.
61888         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61889         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61890         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
61891         (cacos_test): Add more tests.
61892         (casin_test): Likewise.
61893         (casinh_test): Likewise.
61894         * sysdeps/i386/fpu/libm-test-ulps: Update.
61895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61897 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61899         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
61900         ONE with its value.
61902         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
61903         (__pow_mp): Replace ONE and MONE with their values.
61904         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61905         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
61906         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61907         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
61908         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61909         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61911         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
61913         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
61914         (__pow_mp): Replace ZERO and MZERO with their values.
61915         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61916         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61917         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61918         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61919         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61920         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
61921         (__sqr): Likewise.
61923         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
61925         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
61927 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61929         * include/stdlib.h [!SHARED] (__call_tls_dtors):
61930         Declare with __attribute__ ((weak)).
61931         * stdlib/exit.c (__libc_atexit) [!SHARED]:
61932         Call __call_tls_dtors only if it's not NULL.
61934 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61936         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
61937         didn't do it already, then set _dl_phdr and _dl_phnum based on the
61938         magic __ehdr_start linker symbol if it's defined.
61939         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
61940         them up here if it was already done.
61942         * elf/dl-support.c (_dl_phdr): Make pointer to const.
61943         (_dl_aux_init): Use const in cast when setting it.
61944         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
61945         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
61946         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
61948         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
61949         Declare them here.
61950         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
61951         * csu/libc-tls.c: Nor here.
61952         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
61954         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
61955         (__libc_message): Never call vsyslog.
61957 2013-03-28  Alan Modra  <amodra@gmail.com>
61959         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
61960         Define as empty.
61961         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
61962         Likewise.
61964 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61966         [BZ #15214]
61967         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
61968         underflow.
61969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61971 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61973         [BZ #15304]
61974         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
61975         Don't add gid passed as argument.
61977         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
61979 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
61981         [BZ #15307]
61982         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61983         imaginary part between 1.0 and 1.5 and real part less than 0.5
61984         specially.
61985         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61986         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61987         * math/libm-test.inc (cacos_test): Add more tests.
61988         (casin_test): Likewise.
61989         (casinh_test): Likewise.
61990         * sysdeps/i386/fpu/libm-test-ulps: Update.
61991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61993 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61995         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
61996         constants.
61997         (norm): Likewise.
61998         (denorm): Likewise.
61999         (__dbl_mp): Likewise.
62000         (add_magnitudes): Likewise.
62001         (sub_magnitudes): Likewise.
62002         (__add): Likewise.
62003         (__sub): Likewise.
62004         (__mul): Likewise.
62005         (__sqr): Likewise.
62006         (__inv): Likewise.
62007         (__dvd): Likewise.
62009         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
62010         commented code.
62011         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
62012         (__dubcos): Likewise.
62013         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
62014         (__ieee754_acos): Likewise.
62015         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62016         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
62017         (__exp1): Likewise.
62018         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62019         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62020         (log1): Likewise.
62021         (my_log2): Likewise.
62022         (checkint): Likewise.
62023         * sysdeps/ieee754/dbl-64/e_remainder.c
62024         (__ieee754_remainder): Likewise.
62025         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62026         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
62027         (bsloww): Likewise.
62028         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62030         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62031         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
62032         MANTISSA_STORE_T to store computations on mantissa.  Use
62033         macros for rounding and division.
62034         (denorm): Likewise.
62035         (__dbl_mp): Likewise.
62036         (add_magnitudes): Likewise.
62037         (sub_magnitudes): Likewise.
62038         (__mul): Likewise.
62039         (__sqr): Likewise.
62040         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62041         powers of two in terms of TWOPOW macro.
62042         (mp_no): Make type of mantissa as MANTISSA_T.
62043         [!RADIXI]: Define RADIXI.
62044         [!TWO52]: Define TWO52.
62045         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62047 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62049         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
62050         llroundl symbol when building for PPC32.
62052 2013-03-24  Mark H Weaver  <mhw@netris.org>
62054         * manual/arith.texi (Normalization Functions): Fix prototypes for
62055         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
62057 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62059         [BZ #13889]
62060         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
62061         high value to check if expl overflow.
62062         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
62063         to check for underflow and overflow.
62064         * math/libm-test.inc: Add exp test.
62066 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
62068         [BZ #11120]
62069         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
62070         with NOT_IN_libc.
62072 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62074         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
62075         symbol.
62077 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62079         * math/gen-libm-test.pl (parse_args, special_functions): Properly
62080         wrap blocks consisting of several statements.
62082         * sysdeps/generic/math-tests.h: New file.
62083         * sysdeps/i386/fpu/math-tests.h: Likewise.
62084         * math/test-snan.c: Include it.
62085         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
62087 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62089         [BZ #15285]
62090         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
62091         (__ieee754_j0l): Do not improve calculations using cos of twice
62092         input for inputs above LDBL_MAX / 2.0L.
62093         (__ieee754_y0l): Likewise.
62094         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
62095         (__ieee754_j1l): Do not improve calculations using cos of twice
62096         input for inputs above LDBL_MAX / 2.0L.
62097         (__ieee754_y1l): Likewise.
62098         * math/libm-test.inc (j0_test): Add another test.
62099         (j1_test): Likewise.
62100         (y0_test): Likewise.
62101         (y1_test): Likewise.
62102         * sysdeps/i386/fpu/libm-test-ulps: Update.
62104 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62106         * Rules ($(objpfx)bench-%.c): Include code from a C source
62107         file.
62109 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62111         [BZ #15287]
62112         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62113         imaginary part 1.0 and real part less than 0.5 specially.
62114         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62115         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62116         * math/libm-test.inc (cacos_test): Add more tests.
62117         (casin_test): Likewise.
62118         (casinh_test): Likewise.
62119         * sysdeps/i386/fpu/libm-test-ulps: Update.
62120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62122 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62124         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
62125         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
62127 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
62129         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
62130         * config.make.in (config-cflags-sse4): Remove variable.
62131         (config-cflags-avx): Likewise.
62132         (config-cflags-sse2avx): Likewise.
62133         (config-cflags-novzeroupper): Likewise.
62134         (config-asflags-i686): Likewise.
62135         (have-mfma4): Likewise.
62136         (have-as-vis3): Likewise.
62137         (MIG): Likewise.
62138         * configure.in (MIG): Do not AC_SUBST.
62139         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
62140         (libc_cv_cc_sse4): Do not AC_SUBST.
62141         (libc_cv_cc_avx): Likewise.
62142         (libc_cv_cc_sse2avx): Likewise.
62143         (libc_cv_cc_novzeroupper): Likewise.
62144         (libc_cv_cc_fma4): Likewise.
62145         (libc_cv_as_i686): Likewise.
62146         (libc_cv_sparc_as_vis3): Likewise.
62147         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
62148         LIBC_CONFIG_VAR.
62149         (config-asflags-i686): Likewise.
62150         (config-cflags-avx): Likewise.
62151         (config-cflags-sse2avx): Likewise.
62152         (have-mfma4): Likewise.
62153         (config-cflags-novzeroupper): Likewise.
62154         * sysdeps/mach/configure.in (MIG): Likewise.
62155         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
62156         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
62157         LIBC_CONFIG_VAR.
62158         (config-cflags-avx): Likewise.
62159         (config-cflags-sse2avx): Likewise.
62160         (have-mfma4): Likewise.
62161         (config-cflags-novzeroupper): Likewise.
62162         * configure: Regenerated.
62163         * sysdeps/i386/configure: Likewise.
62164         * sysdeps/mach/configure: Likewise.
62165         * sysdeps/sparc/configure: Likewise.
62166         * sysdeps/x86_64/configure: Likewise.
62168 2013-03-20  Roland McGrath  <roland@hack.frob.com>
62170         [BZ #14812]
62171         * locale/programs/localedef.c (options): Put N_ translation marker
62172         on argument names, not just descriptions.
62174 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62176         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
62178 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
62180         [BZ #14176]
62181         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
62183 2013-03-19  Roland McGrath  <roland@hack.frob.com>
62185         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
62186         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
62187         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
62188         [!BEFORE_ABORT] (before_abort): New function.
62189         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
62190         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
62191         (writev_for_fatal): New function.
62192         (WRITEV_FOR_FATAL): New macro; call that.
62193         (backtrace_and_maps): New function.
62194         (BEFORE_ABORT): New macro; call that.
62195         (struct str_list): Type removed.
62196         (__libc_message, __libc_fatal): Functions removed.
62197         Include <sysdeps/posix/libc_fatal.c> instead.
62199 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
62201         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
62202         constants.
62203         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
62204         double constants.
62206 2013-03-19  Andreas Schwab  <schwab@suse.de>
62208         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
62209         * sysdeps/gnu/configure: Regenerate.
62211         * configure.in: Substitute libc_cv_rtlddir.
62212         * configure: Regenerate.
62213         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
62214         * Makeconfig (rtlddir, inst_rtlddir): New variables.
62215         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
62216         * elf/Makefile (install-others, CFLAGS-interp.c)
62217         (ldso_install, common-ldd-rewrite): Likewise.
62218         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
62219         $(inst_slibdir)/$(rtld-installed-name).
62220         * scripts/rellns-sh: Add -p option.
62221         * Makerules (make-shlib-link): Use rellns-sh to get relative name
62222         for source.
62224 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62226         * manual/nptl.texi: Renamed to ...
62227         * manual/threads.texi: ... this.
62228         * manual/Makefile (chapters): Update.
62230 2013-03-18  Roland McGrath  <roland@hack.frob.com>
62232         [BZ #14812]
62233         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
62234         on argument names, not just descriptions.
62235         * malloc/memusagestat.c (options): Likewise.
62236         * nss/getent.c (options): Likewise.
62238 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
62240         [BZ #14812]
62241         * iconv/iconv_prog.c (options): Put N_ translation marker
62242         on argument names, not just descriptions.
62243         * iconv/iconvconfig.c (options): Likewise.
62245 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
62247         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
62248         implementation which is faster on all x86_64 architectures.
62249         Tested on AMD, Intel Nehalem, SNB, IVB.
62250         * sysdeps/x86_64/strnlen.S: Likewise.
62252         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62253         Remove all multiarch strlen and strnlen versions.
62254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
62255         Remove strlen and strnlen related parts.
62257         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
62258         Inline strlen part.
62259         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
62261         * sysdeps/x86_64/multiarch/strlen.S: Remove.
62262         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
62263         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
62264         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
62265         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62266         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
62268 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
62270         * manual/memory.texi (Malloc Tunable Parameters):
62271         Sort parameters alphabetically. Add comments for missing entries.
62273 2013-03-17  David S. Miller  <davem@davemloft.net>
62275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62277 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
62279         [BZ #15283]
62280         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
62281         for arguments at most half maximum finite value.
62282         * math/libm-test.inc (j0_test): Add more tests.
62283         (j1_test): Likewise.
62284         (y0_test): Likewise.
62285         (y1_test): Likewise.
62286         * sysdeps/i386/fpu/libm-test-ulps: Update.
62287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62289         [BZ #14155]
62290         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
62291         1 / x and functions P and Q for arguments above 0x1p256L.
62292         (__ieee754_y0l): Likewise.
62293         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
62294         (__ieee754_y1l): Likewise.
62295         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
62296         (j1_test): Likewise.
62297         (y0_test): Likewise.
62298         (y1_test): Likewise.
62300 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
62302         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
62303         variable.
62305 2013-03-15  Roland McGrath  <roland@hack.frob.com>
62307         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
62308         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
62309         zero since it's initialized to EXEC_PAGESIZE.
62311         * sysdeps/unix/sysv/linux/ldsodefs.h
62312         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
62313         * sysdeps/generic/ldsodefs.h: ... here.
62315 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
62317         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
62319         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
62320         math/test-snan.c.
62321         * math/test-snan.c: Renamed from
62322         sysdeps/powerpc/fpu/test-powerpc-snan.c.
62323         * math/Makefile (tests): Add test-snan.
62324         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
62325         test-powerpc-snan.
62327         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
62328         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
62329         functions.
62330         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
62331         __builtin_nan family of functions.
62332         * math/libm-test.inc (initialize): Initialize qnan_value with
62333         __builtin_nan family of functions.
62334         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
62335         Remove variables.
62336         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
62337         Remove functions.
62338         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
62339         storage class.  Initialize qNaN_var and sNaN_var with
62340         __builtin_nan and __builtin_nans families of functions,
62341         respectively.
62343         * math/libm-test.inc (acosh_test): Also test with qNaN input.
62344         (sqrt_test): Remove duplicate test with qNaN input.
62345         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
62346         (round_test, signbit_test, significand_test): Note missing +/-Inf
62347         as well as qNaN tests.
62349         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
62350         qNaN_var.  Fix a few strings, too.
62351         * math/libm-test.inc (nan_value): Rename to qnan_value.
62352         * math/gen-libm-test.pl (%beautify): Adjust to that.
62353         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
62354         * math/test-misc.c (main): Likewise.
62355         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
62356         to __qnan_bytes, and __qnan_union, respectively.
62357         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
62358         Likewise.
62359         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
62360         and lqnanval, respectively.
62361         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
62362         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
62363         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
62364         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
62366         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
62367         * math/test-misc.c (main) [__x86_64__]: Enable test for long
62368         doubles.
62370         * math/test-misc.c (main): Fix copy'n'pastos.
62371         * misc/tst-efgcvt.c (special): Likewise.
62373         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
62374         Remove declarations.
62376 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62378         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
62379         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
62380         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
62381         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
62383 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62385         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
62386         macro to return vdso values correctly in IFUNC implementations.
62387         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
62388         Optimization by using IFUNC.
62390 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62391             Richard Henderson  <rth@redhat.com>
62392             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62394         * Makefile.in (bench): New target.
62395         * NEWS: Mention the benchmark framework.
62396         * Rules (bench): Likewise.
62397         (binaries-bench): Generate binaries for functions to
62398         benchmark.
62399         * benchtests/Makefile: New makefile for benchmark tests.
62400         * benchtests/bench-skeleton.c: New skeleton file for benchmark
62401         programs.
62402         * benchtests/exp-inputs: New input file for EXP function.
62403         * benchtests/pow-inputs: New input file for POW function.
62404         * scripts/bench.pl: New script to generate source files for
62405         benchmark programs.
62407 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62409         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62410         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
62411         computations on mantissa.  Use macros for rounding and
62412         division.
62413         (denorm): Likewise.
62414         (__dbl_mp): Likewise.
62415         (add_magnitudes): Likewise.
62416         (sub_magnitudes): Likewise.
62417         (__mul): Likewise.
62418         (__sqr): Likewise.
62419         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62420         powers of two in terms of TWOPOW macro.
62421         (mp_no): Make type of mantissa as MANTISSA_T.
62422         [!RADIXI]: Define RADIXI.
62423         [!TWO52]: Define TWO52.
62424         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62426         * manual/nptl.texi (cindex): Modify threads to pthreads.
62428 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
62430         * sysdeps/x86_64/preconfigure: Regenerated.
62432 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
62434         [BZ #14155]
62435         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
62436         0x1p28 and above.
62437         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
62438         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
62439         0x1p28 and above.
62440         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
62441         * math/libm-test.inc (j0_test): Do not allow one spurious
62442         underflow exception.
62443         (y1_test): Likewise.
62445 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62447         * manual/Makefile (chapters): Add nptl.
62448         * manual/debug.texi (Debugging Support): Add link to Threads
62449         chapter.
62450         * manual/nptl.texi: New file.
62452         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
62454 2013-03-14  Petr Baudis  <pasky@ucw.cz>
62456         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
62457         for non-NULL pointer before the memory validity test. Pointed
62458         out by Holger Brunck <holger.brunck@keymile.com>.
62460 2013-03-13  Andreas Schwab  <schwab@suse.de>
62462         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
62463         instead of .os.
62465 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
62467         * timezone/zic.c: Update from tzcode 2013b.
62469 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
62471         * manual/install.texi (Configuring and compiling):
62472         Mention i686 and i586.
62473         * INSTALL: Regenerate.
62475 2013-03-12  Roland McGrath  <roland@hack.frob.com>
62477         * sysdeps/init_array/elf-init.c: New file.
62478         * csu/elf-init.c
62479         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
62480         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
62482         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
62483         __gmon_start__ as global, but as static with a .preinit_array pointer.
62484         * sysdeps/init_array/gmon-start.c: New file.  Use that.
62485         * sysdeps/init_array/crti.S: New file, empty except for comments.
62486         * sysdeps/init_array/crtn.S: Likewise.
62488 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
62490         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
62491         definining bcopy.
62492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62493         Remove Prefer_SSE_for_memop.
62494         * sysdeps/x86_64/multiarch/init-arch.h: Remove
62495         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
62496         HAS_PREFER_SSE_FOR_MEMOP.
62497         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
62498         memset-x86-64.
62499         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62500         Remove bzero, memset ifunc support.
62501         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
62502         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
62503         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62504         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62506 2013-03-11  Andreas Schwab  <schwab@suse.de>
62508         [BZ #15234]
62509         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
62510         by SHLIB_COMPAT.
62511         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
62512         (GLIBC_2.16): Remove pthread_atfork.
62514 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
62516         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
62517         (ptestcases.h): Likewise.
62519 2013-03-08  Roland McGrath  <roland@hack.frob.com>
62521         * Makeconfig ($(common-objpfx)config.status): Depend on
62522         sysdeps/*/preconfigure{,.in} too.
62524 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
62526         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
62527         (__free_hook): Use void * instead of __malloc_ptr_t.
62528         (__malloc_hook): Likewise.
62529         (__realloc_hook): Likewise.
62530         (__memalign_hook): Likewise.
62531         (__after_morecore_hook): Likewise.
62532         * malloc/arena.c (save_malloc_hook): Likewise.
62533         (save_free_hook): Likewise.
62534         * malloc/hooks.c (malloc_hook_ini): Likewise.
62535         (realloc_hook_ini): Likewise.
62536         (memalign_hook_ini): Likewise.
62537         * malloc/malloc.c (malloc_hook_ini): Likewise.
62538         (realloc_hook_ini): Likewise.
62539         (memalign_hook_ini): Likewise.
62540         (__free_hook): Likewise.
62541         (__malloc_hook): Likewise.
62542         (__realloc_hook): Likewise.
62543         (__memalign_hook): Likewise.
62544         (__libc_malloc): Likewise.
62545         (__libc_free): Likewise.
62546         (__libc_realloc): Likewise.
62547         (__libc_memalign): Likewise.
62548         (__libc_valloc): Likewise.
62549         (__libc_pvalloc): Likewise.
62550         (__libc_calloc): Likewise.
62551         (__posix_memalign): Likewise.
62552         * malloc/morecore.c (__sbrk): Likewise.
62553         (__default_morecore): Likewise.
62555         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
62557         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
62558         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
62559         __malloc_ptrdiff_t.
62561         * malloc/malloc.h (__malloc_size_t): Remove macro.
62562         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
62563         __malloc_size_t.
62564         (old_memalign_hook): Likewise.
62565         (old_realloc_hook): Likewise.
62566         (struct hdr): Likewise.
62567         (flood): Likewise.
62568         (mallochook): Likewise.
62569         (memalignhook): Likewise.
62570         (reallochook): Likewise.
62571         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
62572         (tr_old_realloc_hook): Likewise.
62573         (tr_old_memalign_hook): Likewise.
62574         (tr_mallochook): Likewise.
62575         (tr_reallochook): Likewise.
62576         (tr_memalignhook): Likewise.
62578 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62580         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
62581         default_ldbl_pack and using as default implementation.
62582         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
62583         implementation.
62584         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
62585         redundant definition.
62586         (ldbl_insert_mantissa): Likewise.
62587         (ldbl_canonicalize): Likewise.
62588         (ldbl_nearbyint): Likewise.
62589         (ldbl_pack): Rename to ldbl_pack_ppc.
62590         (ldbl_unpack): Rename to ldbl_unpack_ppc.
62591         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
62592         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
62594 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62596         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
62597         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
62598         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
62599         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
62600         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
62601         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
62602         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
62603         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
62605 2013-03-07  Andreas Jaeger  <aj@suse.de>
62607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62608         bits/mman-linux.h.
62610 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62612         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
62613         Include mpa.h and declare __MPEXP.
62614         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
62615         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62616         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62617         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
62618         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62619         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62620         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
62622         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
62623         (__slowpow): Use long double EXPL and LOGL functions to
62624         compute POW.
62625         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62626         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62627         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
62628         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62629         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62630         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
62632         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
62633         intermediate variable to calculate exponent.
62634         (__sqr): Likewise.
62635         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62636         Likewise.
62637         (__sqr): Likewise.
62639         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
62640         [!NO__SQR]: Define __sqr.
62641         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
62642         and NO__SQR.  Remove all code except __mul and __sqr.  Include
62643         sysdeps/ieee754/dbl-64/mpa.c.
62644         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62646         [BZ #12723]
62647         * posix/Makefile (tests): Add tst-pathconf.
62648         * posix/tst-pathconf.c: New test case.
62649         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
62650         _PC_PIPE_BUF.
62651         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
62653 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
62655         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
62657 2013-03-06  Andreas Jaeger  <aj@suse.de>
62659         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
62660         definition via __MAP_ANONYMOUS.
62662         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
62663         it's not part of Linux headers.
62665         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
62666         (MAP_HUGE_MASK): Define.
62668         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62669         Define.
62670         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62671         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62672         Define.
62673         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62674         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62675         Define.
62676         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62677         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
62678         Define.
62679         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62681         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
62682         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
62683         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
62684         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
62685         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
62686         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
62688         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62689         Handle f2fs.
62691         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62692         Handle f2fs and efivarfs.
62694         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
62695         f2fs.
62697         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
62698         (EFIVARFS_MAGIC): Add.
62699         (F2FS_LINK_MAX): Add.
62701 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62703         * stdio-common/vfprintf.c: Replace __builtin_expect with
62704         __glibc_unlikely.
62706 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
62708         [BZ #13550]
62709         * sysdeps/generic/bp-sym.h: Remove file.
62710         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
62711         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
62712         <bp-sym.h> and <bp-asm.h>.
62713         (__longjmp): Don't use BP_SYM.
62714         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
62715         and <bp-asm.h>.
62716         (memcpy): Don't use BP_SYM.
62717         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
62718         <bp-sym.h> and <bp-asm.h>.
62719         (memcpy): Don't use BP_SYM.
62720         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
62721         <bp-asm.h>.
62722         (memcpy): Don't use BP_SYM.
62723         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
62724         <bp-asm.h>.
62725         (memset): Don't use BP_SYM.
62726         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62727         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62728         (__bzero): Don't use BP_SYM.
62729         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62730         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62731         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
62732         <bp-sym.h> and <bp-asm.h>.
62733         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62734         pointers.
62735         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
62736         <bp-sym.h> and <bp-asm.h>.
62737         (memcpy): Don't use BP_SYM.
62738         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
62739         <bp-sym.h> and <bp-asm.h>.
62740         (memset): Don't use BP_SYM.
62741         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62742         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62743         (__bzero): Don't use BP_SYM.
62744         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62745         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62746         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
62747         <bp-sym.h> and <bp-asm.h>.
62748         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62749         pointers.
62750         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
62751         <bp-sym.h> and <bp-asm.h>.
62752         (memcpy): Don't use BP_SYM.
62753         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
62754         <bp-sym.h> and <bp-asm.h>.
62755         (memset): Don't use BP_SYM.
62756         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62757         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62758         (__bzero): Don't use BP_SYM.
62759         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62760         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62761         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
62762         <bp-sym.h> and <bp-asm.h>.
62763         (__memchr): Don't use BP_SYM.
62764         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
62765         <bp-sym.h> and <bp-asm.h>.
62766         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62767         pointers.
62768         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
62769         <bp-sym.h> and <bp-asm.h>.
62770         (memcpy): Don't use BP_SYM.
62771         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
62772         <bp-sym.h> and <bp-asm.h>.
62773         (__mempcpy): Don't use BP_SYM.
62774         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
62775         <bp-sym.h> and <bp-asm.h>.
62776         (__memrchr): Don't use BP_SYM.
62777         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
62778         <bp-sym.h> and <bp-asm.h>.
62779         (memset): Don't use BP_SYM.
62780         (__bzero): Likewise.
62781         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
62782         <bp-sym.h> and <bp-asm.h>.
62783         (__rawmemchr): Don't use BP_SYM.
62784         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
62785         <bp-sym.h> and <bp-asm.h>.
62786         (__STRCMP): Don't use BP_SYM.
62787         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
62788         <bp-sym.h> and <bp-asm.h>.
62789         (strchr): Don't use BP_SYM.
62790         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
62791         <bp-sym.h> and <bp-asm.h>.
62792         (__strchrnul): Don't use BP_SYM.
62793         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
62794         <bp-sym.h> and <bp-asm.h>.
62795         (strlen): Don't use BP_SYM.
62796         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
62797         <bp-sym.h> and <bp-asm.h>.
62798         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62799         pointers.
62800         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
62801         <bp-sym.h> and <bp-asm.h>.
62802         (__strnlen): Don't use BP_SYM.
62803         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
62804         <bp-sym.h> and <bp-asm.h>.
62805         (__GI__setjmp): Don't use BP_SYM.
62806         (_setjmp): Likewise.
62807         (__sigsetjmp): Likewise.
62808         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
62809         (L(start_addresses)): Don't use BP_SYM.
62810         (_start): Likewise.
62811         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
62812         <bp-asm.h>.
62813         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
62814         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
62815         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62816         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62817         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
62818         <bp-asm.h>.
62819         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
62820         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
62821         about bounded pointers.
62822         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62823         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62824         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
62825         <bp-asm.h>.
62826         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62827         about bounded pointers.  Remove GKM FIXME comments.
62828         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62829         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
62830         <bp-asm.h>.
62831         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
62832         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
62833         Remove GKM FIXME comments.
62834         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62835         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62836         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
62837         <bp-asm.h>.
62838         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62839         about bounded pointers.  Remove GKM FIXME comment.
62840         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
62841         and <bp-asm.h>.
62842         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62843         pointers.
62844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
62845         <bp-sym.h> and <bp-asm.h>.
62846         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
62848         <bp-sym.h> and <bp-asm.h>.
62849         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62850         comment.
62852 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62854         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
62855         call free(NULL).
62857 2013-03-05  David S. Miller  <davem@davemloft.net>
62859         * po/es.po: Update from translation team.
62861 2013-03-05  Andreas Jaeger  <aj@suse.de>
62863         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
62864         <bits/mman-linux.h>.
62865         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62866         is fine.
62867         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
62868         <bits/mman-linux.h> to end of file.
62869         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62870         is fine.
62871         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
62872         <bits/mman-linux.h> to end of file.
62873         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62874         is fine.
62875         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
62876         <bits/mman-linux.h> to end of file.
62878         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
62879         (MCL_CURRENT, MCL_FUTURE): Define here.
62881 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62883         [BZ #15232]
62884         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
62885         attribute_hidden.
62886         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62888 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62890         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
62891         fourth parameter needed for rt_sigprocmask syscall.
62892         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
62893         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62894         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
62895         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62896         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62897         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
62899 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
62901         [BZ #13550]
62902         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
62903         comment about bounded pointers.
62904         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
62905         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
62907 2013-03-04  Andreas Jaeger  <aj@suse.de>
62909         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
62910         common definitions.
62912         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
62913         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
62914         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
62915         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62916         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62917         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62919 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62921         [BZ #15055]
62922         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
62923         __ieee754_sqrl instead of __sqrl.
62925 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
62927         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
62928         * sysdeps/powerpc/fpu_control.h: ... here.
62929         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
62930         * sysdeps/powerpc/bits/fenvinline.h: ... here.
62931         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
62932         * sysdeps/powerpc/bits/mathinline.h: ... here.
62934 2013-03-01  Roland McGrath  <roland@hack.frob.com>
62936         * elf/dl-hwcaps.c (_dl_important_hwcaps):
62937         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
62938         to just [NEED_DL_SYSINFO_DSO].
62939         * elf/dl-support.c: Likewise.
62940         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
62941         * elf/rtld.c (dl_main): Likewise.
62942         * elf/setup-vdso.h (setup_vdso): Likewise.
62943         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
62944         * sysdeps/unix/sysv/linux/dl-sysdep.c
62945         (_dl_discover_osversion): Likewise.
62947 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
62949         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
62950         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62952 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
62954         * NEWS: Mention libm performance improvements and non-x86 PI
62955         futex support.
62957         * csu/libc-start.c (__pthread_initialize_minimal): Change
62958         function arguments.
62959         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62961 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
62963         [BZ #13550]
62964         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
62965         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
62966         <bp-sym.h> and <bp-asm.h>.
62967         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62968         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
62969         and <bp-asm.h>.
62970         (memcpy): Don't use BP_SYM.
62971         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
62972         <bp-asm.h>.
62973         (__mpn_add_n): Don't use BP_SYM.
62974         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
62975         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
62976         and <bp-asm.h>.
62977         (__mpn_addmul_1): Don't use BP_SYM.
62978         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62979         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
62980         <bp-sym.h>.
62981         (_setjmp): Don't use BP_SYM.
62982         (__novmx_setjmp): Likewise.
62983         (__GI__setjmp): Likewise.
62984         (__vmx_setjmp): Likewise.
62985         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
62986         <bp-sym.h>.
62987         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
62988         (__bzero): Don't use BP_SYM.
62989         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62990         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62991         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
62992         <bp-sym.h> and <bp-asm.h>.
62993         (memcpy): Don't use BP_SYM.
62994         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
62995         <bp-sym.h> and <bp-asm.h>.
62996         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62997         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
62998         <bp-sym.h> and <bp-asm.h>.
62999         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63000         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
63001         <bp-asm.h>.
63002         (__mpn_lshift): Don't use BP_SYM.
63003         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63004         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
63005         <bp-asm.h>.
63006         (memset): Don't use BP_SYM.
63007         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63008         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63009         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
63010         <bp-asm.h>.
63011         (__mpn_mul_1): Don't use BP_SYM.
63012         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63013         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
63014         <bp-sym.h> and <bp-asm.h>.
63015         (memcmp): Don't use BP_SYM.
63016         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
63017         <bp-sym.h> and <bp-asm.h>.
63018         (memcpy): Don't use BP_SYM.
63019         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
63020         <bp-sym.h> and <bp-asm.h>.
63021         (memset): Don't use BP_SYM.
63022         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
63023         <bp-sym.h> and <bp-asm.h>.
63024         (strncmp): Don't use BP_SYM.
63025         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
63026         <bp-sym.h> and <bp-asm.h>.
63027         (memcpy): Don't use BP_SYM.
63028         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
63029         <bp-sym.h> and <bp-asm.h>.
63030         (memset): Don't use BP_SYM.
63031         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
63032         <bp-sym.h> and <bp-asm.h>.
63033         (__memchr): Don't use BP_SYM.
63034         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
63035         <bp-sym.h> and <bp-asm.h>.
63036         (memcmp): Don't use BP_SYM.
63037         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
63038         <bp-sym.h> and <bp-asm.h>.
63039         (memcpy): Don't use BP_SYM.
63040         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
63041         <bp-sym.h> and <bp-asm.h>.
63042         (__mempcpy): Don't use BP_SYM.
63043         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
63044         <bp-sym.h> and <bp-asm.h>.
63045         (__memrchr): Don't use BP_SYM.
63046         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
63047         <bp-sym.h> and <bp-asm.h>.
63048         (memset): Don't use BP_SYM.
63049         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
63050         <bp-sym.h> and <bp-asm.h>.
63051         (__rawmemchr): Don't use BP_SYM.
63052         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
63053         <bp-sym.h> and <bp-asm.h>.
63054         (__STRCMP): Don't use BP_SYM.
63055         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
63056         <bp-sym.h> and <bp-asm.h>.
63057         (strchr): Don't use BP_SYM.
63058         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
63059         <bp-sym.h> and <bp-asm.h>.
63060         (__strchrnul): Don't use BP_SYM.
63061         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
63062         <bp-sym.h> and <bp-asm.h>.
63063         (strlen): Don't use BP_SYM.
63064         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
63065         <bp-sym.h> and <bp-asm.h>.
63066         (strncmp): Don't use BP_SYM.
63067         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
63068         <bp-sym.h> and <bp-asm.h>.
63069         (__strnlen): Don't use BP_SYM.
63070         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
63071         <bp-asm.h>.
63072         (__mpn_rshift): Don't use BP_SYM.
63073         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63074         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
63075         <bp-sym.h> and <bp-asm.h>.
63076         (__sigsetjmp): Don't use BP_SYM.
63077         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
63078         (L(start_addresses)): Don't use BP_SYM.
63079         (_start): Likewise.
63080         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
63081         <bp-asm.h>.
63082         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
63083         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63084         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63085         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
63086         <bp-asm.h>.
63087         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
63088         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63089         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63090         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
63091         <bp-asm.h>.
63092         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63093         comments.
63094         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63095         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
63096         <bp-asm.h>.
63097         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
63098         FIXME comments.
63099         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63100         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63101         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
63102         <bp-asm.h>.
63103         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63104         comment.
63105         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
63106         and <bp-asm.h>.
63107         (strncmp): Don't use BP_SYM,
63108         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
63109         <bp-asm.h>.
63110         (__mpn_sub_n): Don't use BP_SYM.
63111         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63112         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
63113         and <bp-asm.h>.
63114         (__mpn_submul_1): Don't use BP_SYM.
63115         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
63117         <bp-sym.h> and <bp-asm.h>.
63118         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
63120         <bp-sym.h> and <bp-asm.h>.
63121         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63122         comment.
63124 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63126         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
63127         Use ZK to minimize writes to Z.
63128         (sub_magnitudes): Simplify code a bit.
63129         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
63130         Use ZK to minimize writes to Z.
63131         (sub_magnitudes): Simplify code a bit.
63133 2013-02-27  Roland McGrath  <roland@hack.frob.com>
63135         * csu/gmon-start.c: Add special exception to license text.
63137 2013-02-27  Richard Henderson  <rth@redhat.com>
63139         * scripts/config.guess: Update from config.git.
63140         * scripts/config.sub: Likewise.
63142 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
63144         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
63146         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
63148         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
63150         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
63152         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
63154 2013-02-26  Roland McGrath  <roland@hack.frob.com>
63156         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
63157         [$(build-shared = yes].
63159 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63161         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
63162         (__mul): Reduce iterations for calculating mantissa.
63164         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
63165         MPTWO.
63166         (__mpranred): Likewise.
63168         [BZ #15160]
63169         * malloc/memusagestat.c (main): Draw graphs for heap and stack
63170         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
63172 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
63174         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
63175         Define __attribute__.
63177 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63179         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
63180         unused.
63181         * posix/regex_internal.h (__attribute): Remove.
63182         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
63183         (re_string_context_at): Likewise.
63184         (bitset_not): Use __attribute__ and mark function as possibly
63185         unused.
63186         (bitset_merge): Likewise.
63187         (bitset_mask): Likewise.
63188         (re_string_char_size_at): Likewise.
63189         (re_string_wchar_at): Likewise.
63190         (re_string_elem_size_at): Likewise.
63192 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63194         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
63195         code.
63196         (cc32): Likewise.
63198         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
63199         (__acr): Likewise.
63200         (__cpy): Likewise.
63201         (norm): Likewise.
63202         (denorm): Likewise.
63203         (__dbl_mp): Likewise.
63204         (add_magnitudes): Likewise.
63205         (sub_magnitudes): Likewise.
63206         (__mul): Likewise.
63207         (__inv): Likewise.
63209         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
63210         style.
63212         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
63213         style.
63215         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
63216         code.
63218         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
63219         up changes with default code.
63220         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
63221         Likewise.
63223 2013-02-24  Allan McRae  <allan@archlinux.org>
63225         * manual/socket.texi (The Internet Namespace): Order menu items
63226         to match that in the file.
63228         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
63229         node listing of the info page menu.
63231 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
63233         [BZ #13550]
63234         * sysdeps/i386/bp-asm.h: Remove file.
63235         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63236         (PARMS): Do not use macros from bp-asm.h.
63237         (S1): Likewise.
63238         (S2): Likewise.
63239         (SIZE): Likewise.
63240         (__mpn_add_n): Do not use BP_SYM
63241         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
63242         "bp-asm.h".
63243         (PARMS): Do not use macros from bp-asm.h.
63244         (S1): Likewise.
63245         (SIZE): Likewise.
63246         (__mpn_addmul_1): Do not use BP_SYM
63247         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
63248         "bp-asm.h".
63249         (PARMS): Do not use macros from bp-asm.h.
63250         (SIGMSK): Likewise.
63251         (_setjmp): Likewise.  Do not use BP_SYM.
63252         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
63253         "bp-asm.h".
63254         (PARMS): Do not use macros from bp-asm.h.
63255         (SIGMSK): Likewise.
63256         (setjmp): Likewise.  Do not use BP_SYM.
63257         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
63258         "bp-asm.h".
63259         (PARMS): Do not use macros from bp-asm.h.
63260         (__frexp): Do not use BP_SYM.
63261         (frexp): Likewise.
63262         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
63263         "bp-asm.h".
63264         (PARMS): Do not use macros from bp-asm.h.
63265         (__frexpf): Do not use BP_SYM.
63266         (frexpf): Likewise.
63267         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
63268         "bp-asm.h".
63269         (PARMS): Do not use macros from bp-asm.h.
63270         (__frexpl): Do not use BP_SYM.
63271         (frexpl): Likewise.
63272         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
63273         "bp-asm.h".
63274         (PARMS): Do not use macros from bp-asm.h.
63275         (__remquo): Do not use BP_SYM.
63276         (remquo): Likewise.
63277         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
63278         "bp-asm.h".
63279         (PARMS): Do not use macros from bp-asm.h.
63280         (__remquof): Do not use BP_SYM.
63281         (remquof): Likewise.
63282         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
63283         "bp-asm.h".
63284         (PARMS): Do not use macros from bp-asm.h.
63285         (__remquol): Do not use BP_SYM.
63286         (remquol): Likewise.
63287         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
63288         "bp-asm.h".
63289         (PARMS): Do not use macros from bp-asm.h.
63290         (DEST): Likewise.
63291         (SRC): Likewise.
63292         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
63293         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
63294         "bp-asm.h".
63295         (PARMS): Do not use macros from bp-asm.h.
63296         (strlen): Do not use BP_SYM.
63297         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
63298         "bp-asm.h".
63299         (PARMS): Do not use macros from bp-asm.h.
63300         (S1): Likewise.
63301         (S2): Likewise.
63302         (SIZE): Likewise.
63303         (__mpn_add_n): Do not use BP_SYM.
63304         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
63305         "bp-asm.h".
63306         (PARMS): Do not use macros from bp-asm.h.
63307         (S1): Likewise.
63308         (SIZE): Likewise.
63309         (__mpn_addmul_1): Do not use BP_SYM.
63310         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
63311         weak_alias.
63312         (bzero): Likewise.
63313         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
63314         "bp-asm.h".
63315         (PARMS): Do not use macros from bp-asm.h.
63316         (S): Likewise.
63317         (SIZE): Likewise.
63318         (__mpn_lshift): Do not use BP_SYM.
63319         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
63320         "bp-asm.h".
63321         (PARMS): Do not use macros from bp-asm.h.
63322         (DEST): Likewise.
63323         (SRC): Likewise.
63324         (LEN): Likewise.
63325         (memcpy): Likewise.  Do not use BP_SYM.
63326         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
63327         libc_hidden_def and weak_alias.
63328         (mempcpy): Do not use BP_SYM in weak_alias.
63329         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
63330         "bp-asm.h".
63331         (PARMS): Do not use macros from bp-asm.h.
63332         (DEST): Likewise.
63333         (LEN): Likewise.
63334         [!BZERO_P] (CHR): Likewise.
63335         (memset): Likewise.  Do not use BP_SYM.
63336         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
63337         "bp-asm.h".
63338         (PARMS): Do not use macros from bp-asm.h.
63339         (S1): Likewise.
63340         (SIZE): Likewise.
63341         (__mpn_mul_1): Do not use BP_SYM.
63342         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
63343         "bp-asm.h".
63344         (PARMS): Do not use macros from bp-asm.h.
63345         (S): Likewise.
63346         (SIZE): Likewise.
63347         (__mpn_rshift): Do not use BP_SYM.
63348         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
63349         "bp-asm.h".
63350         (PARMS): Do not use macros from bp-asm.h.
63351         (STR): Likewise.
63352         (CHR): Likewise.
63353         (strchr): Likewise.  Do not use BP_SYM.
63354         (index): Do not use BP_SYM in weak_alias.
63355         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
63356         "bp-asm.h".
63357         (PARMS): Do not use macros from bp-asm.h.
63358         (DEST): Likewise.
63359         (SRC): Likewise.
63360         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
63361         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
63362         "bp-asm.h".
63363         (PARMS): Do not use macros from bp-asm.h.
63364         (strlen): Do not use BP_SYM.
63365         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
63366         "bp-asm.h".
63367         (PARMS): Do not use macros from bp-asm.h.
63368         (S1): Likewise.
63369         (S2): Likewise.
63370         (SIZE): Likewise.
63371         (__mpn_sub_n): Do not use BP_SYM.
63372         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
63373         "bp-asm.h".
63374         (PARMS): Do not use macros from bp-asm.h.
63375         (S1): Likewise.
63376         (SIZE): Likewise.
63377         (__mpn_submul_1): Do not use BP_SYM.
63378         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
63379         "bp-asm.h".
63380         (PARMS): Do not use macros from bp-asm.h.
63381         (S1): Likewise.
63382         (S2): Likewise.
63383         (SIZE): Likewise.
63384         (__mpn_add_n): Do not use BP_SYM.
63385         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
63386         weak_alias.
63387         (bzero): Likewise.
63388         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
63389         "bp-asm.h".
63390         (PARMS): Do not use macros from bp-asm.h.
63391         (BLK2): Likewise.
63392         (LEN): Likewise.
63393         (memcmp): Do not use BP_SYM.
63394         (bcmp): Do not use BP_SYM in weak_alias.
63395         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
63396         "bp-asm.h".
63397         (PARMS): Do not use macros from bp-asm.h.
63398         (DEST): Likewise.
63399         (SRC): Likewise.
63400         (LEN): Likewise.
63401         (memcpy): Likewise.  Do not use BP_SYM.
63402         * sysdeps/i386/i686/memmove.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         (LEN): Likewise.
63408         (memmove): Likewise.  Do not use BP_SYM.
63409         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
63410         "bp-asm.h".
63411         (PARMS): Do not use macros from bp-asm.h.
63412         (DEST): Likewise.
63413         (SRC): Likewise.
63414         (LEN): Likewise.
63415         (__mempcpy): Likewise.  Do not use BP_SYM.
63416         (mempcpy): Do not use BP_SYM in weak_alias.
63417         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
63418         "bp-asm.h".
63419         (PARMS): Do not use macros from bp-asm.h.
63420         (DEST): Likewise.
63421         (LEN): Likewise.
63422         [!BZERO_P] (CHR): Likewise.
63423         (memset): Likewise.  Do not use BP_SYM.
63424         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
63425         "bp-asm.h".
63426         (PARMS): Do not use macros from bp-asm.h.
63427         (STR2): Likewise.
63428         (strcmp): Do not use BP_SYM.
63429         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
63430         "bp-asm.h".
63431         (PARMS): Do not use macros from bp-asm.h.
63432         (STR): Likewise.
63433         (DELIM): Likewise.
63434         [USE_AS_STRTOK_R] (SAVE): Likewise.
63435         (FUNCTION): Likewise.  Do not use BP_SYM.
63436         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
63437         aliases.
63438         (strtok_r): Likewise.
63439         (__GI___strtok_r): Likewise.
63440         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63441         (PARMS): Do not use macros from bp-asm.h.
63442         (S): Likewise.
63443         (SIZE): Likewise.
63444         (__mpn_lshift): Do not use BP_SYM.
63445         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63446         (PARMS): Do not use macros from bp-asm.h.
63447         (STR): Likewise.
63448         (CHR): Likewise.
63449         (__memchr): Do not use BP_SYM.
63450         (memchr): Do not use BP_SYM in weak_alias.
63451         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63452         (PARMS): Do not use macros from bp-asm.h.
63453         (BLK2): Likewise.
63454         (LEN): Likewise.
63455         (memcmp): Do not use BP_SYM.
63456         (bcmp): Do not use BP_SYM in weak_alias.
63457         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
63458         (PARMS): Do not use macros from bp-asm.h.
63459         (S1): Likewise.
63460         (SIZE): Likewise.
63461         (__mpn_mul_1): Do not use BP_SYM.
63462         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
63463         "bp-asm.h".
63464         (PARMS): Do not use macros from bp-asm.h.
63465         (STR): Likewise.
63466         (CHR): Likewise.
63467         (__rawmemchr): Do not use BP_SYM.
63468         (rawmemchr): Do not use BP_SYM in weak_alias.
63469         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63470         (PARMS): Do not use macros from bp-asm.h.
63471         (S): Likewise.
63472         (SIZE): Likewise.
63473         (__mpn_rshift): Do not use BP_SYM.
63474         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63475         (PARMS): Do not use macros from bp-asm.h.
63476         (SIGMSK): Likewise.
63477         (__sigsetjmp): Likewise.  Do not use BP_SYM.
63478         * sysdeps/i386/start.S: Do not include "bp-sym.h".
63479         (_start): Do not use BP_SYM.
63480         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
63481         (PARMS): Do not use macros from bp-asm.h.
63482         (DEST): Likewise.
63483         (SRC): Likewise.
63484         (__stpcpy): Likewise.  Do not use BP_SYM.
63485         (stpcpy): Do not use BP_SYM in weak_alias.
63486         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
63487         "bp-asm.h".
63488         (PARMS): Do not use macros from bp-asm.h.
63489         (DEST): Likewise.
63490         (SRC): Likewise.
63491         (LEN): Likewise.
63492         (__stpncpy): Likewise.  Do not use BP_SYM.
63493         (stpncpy): Do not use BP_SYM in weak_alias.
63494         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63495         (PARMS): Do not use macros from bp-asm.h.
63496         (STR): Likewise.
63497         (CHR): Likewise.
63498         (strchr): Likewise.  Do not use BP_SYM.
63499         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
63500         "bp-asm.h".
63501         (PARMS): Do not use macros from bp-asm.h.
63502         (STR): Likewise.
63503         (CHR): Likewise.
63504         (__strchrnul): Likewise.  Do not use BP_SYM.
63505         (strchrnul): Do not use BP_SYM in weak_alias.
63506         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
63507         "bp-asm.h".
63508         (PARMS): Do not use macros from bp-asm.h.
63509         (STOP): Likewise.
63510         (strcspn): Do not use BP_SYM.
63511         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
63512         "bp-asm.h".
63513         (PARMS): Do not use macros from bp-asm.h.
63514         (STR): Likewise.
63515         (STOP): Likewise.
63516         (strpbrk): Likewise.  Do not use BP_SYM.
63517         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
63518         "bp-asm.h".
63519         (PARMS): Do not use macros from bp-asm.h.
63520         (STR): Likewise.
63521         (CHR): Likewise.
63522         (strrchr): Likewise.  Do not use BP_SYM.
63523         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
63524         (PARMS): Do not use macros from bp-asm.h.
63525         (SKIP): Likewise.
63526         (strspn): Do not use BP_SYM.
63527         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
63528         (PARMS): Do not use macros from bp-asm.h.
63529         (STR): Likewise.
63530         (DELIM): Likewise.
63531         (SAVE): Likewise.
63532         (FUNCTION): Likewise.  Do not use BP_SYM.
63533         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
63534         aliases.
63535         (strtok_r): Likewise.
63536         (__GI___strtok_r): Likewise.
63537         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63538         (PARMS): Do not use macros from bp-asm.h.
63539         (S1): Likewise.
63540         (S2): Likewise.
63541         (SIZE): Likewise.
63542         (__mpn_sub_n): Do not use BP_SYM.
63543         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
63544         "bp-asm.h".
63545         (PARMS): Do not use macros from bp-asm.h.
63546         (S1): Likewise.
63547         (SIZE): Likewise.
63548         (__mpn_submul_1): Do not use BP_SYM.
63549         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
63550         <bp-sym.h>.
63551         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
63552         and <bp-asm.h>.
63553         (PARMS): Do not use macros from bp-asm.h.
63554         (FLAGS): Likewise.
63555         (PTID): Likewise.
63556         (TLS): Likewise.
63557         (CTID): Likewise.
63558         (__clone): Do not use BP_SYM.
63559         (clone): Do not use BP_SYM in weak_alias.
63560         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
63561         and <bp-asm.h>.
63562         (PARMS): Do not use macros from bp-asm.h.
63563         (LEN): Likewise.
63564         (__mmap64): Do not use BP_SYM.
63565         (mmap64): Do not use BP_SYM in weak_alias.
63566         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63567         <bp-sym.h> and <bp-asm.h>.
63568         (PARMS): Do not use macros from bp-asm.h.
63569         (__posix_fadvise64_l64): Do not use BP_SYM.
63570         * sysdeps/unix/sysv/linux/i386/semtimedop.S
63571         (PARMS): Do not use macros from bp-asm.h.
63572         (NSOPS): Likewise.
63573         (semtimedop): Do not use BP_SYM.
63574         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
63575         and <bp-asm.h>.
63577 2013-02-21  Allan McRae  <allan@archlinux.org>
63579         * manual/message.texi (Charset conversion in gettext):
63580         Move @end statement to beginning of line.
63582 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63584         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
63585         static.
63586         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63587         Likewise.
63589         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
63590         (denorm): Likewise.
63591         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
63592         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
63594 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63596         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
63597         tail-call to the resolved function if pltexit isn't needed.
63599 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
63602         or Y being zero as being unlikely.
63603         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63604         Likewise.
63606 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
63608         * manual/nss.texi (System Databases and Name Service Switch):
63609         Remove frobnicate @pxref.
63611 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63613         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63614         __attribute__ ((unused)) to __attribute__ ((__unused__)).
63616 2013-02-20  Petr Machata  <pmachata@redhat.com>
63618         * elf/elf.h (R_ARM_TARGET1): New macro.
63619         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
63620         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
63621         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
63622         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
63623         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
63624         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
63625         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
63626         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
63627         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
63628         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
63629         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
63630         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
63631         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
63632         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
63633         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
63634         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
63635         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
63636         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
63637         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
63638         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
63639         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
63640         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
63641         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
63642         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
63643         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
63644         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
63645         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
63646         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
63647         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
63648         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
63649         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
63650         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
63651         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
63652         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
63653         (R_ARM_THM_GOT_BREL12): Likewise.
63654         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
63655         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
63656         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
63657         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
63658         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
63659         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
63660         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
63661         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
63662         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
63664 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63666         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63667         __attribute_used__ to __attribute__ ((unused)).
63669 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63671         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
63672         powerpc mpa.c.
63673         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
63674         comment formatting.
63675         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
63677 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
63679         [BZ #13550]
63680         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
63681         Remove macro.
63682         (ENTER): Remove both macro definitions.
63683         (LEAVE): Likewise.
63684         (CHECK_BOUNDS_LOW): Likewise.
63685         (CHECK_BOUNDS_HIGH): Likewise.
63686         (CHECK_BOUNDS_BOTH): Likewise.
63687         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
63688         (RETURN_BOUNDED_POINTER): Likewise.
63689         (RETURN_NULL_BOUNDED_POINTER): Likewise.
63690         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
63691         (POP_ERRNO_LOCATION_RETURN): Likewise.
63692         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
63693         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63694         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
63695         macros.
63696         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63697         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
63698         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
63699         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
63700         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
63701         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
63702         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
63703         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
63704         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
63705         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
63706         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
63707         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
63708         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63709         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
63710         removed macros.
63711         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63712         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
63713         macros.
63714         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63715         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
63716         * sysdeps/i386/i586/memset.S (memset): Likewise.
63717         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
63718         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63719         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
63720         macros.
63721         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63722         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
63723         Change uses of L(2) to L(out).
63724         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
63725         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
63726         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
63727         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63728         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
63729         removed macros.
63730         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63731         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
63732         macros.
63733         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63734         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
63735         (RETURN): Do not use macro LEAVE.
63736         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
63737         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
63738         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
63739         * sysdeps/i386/i686/memset.S (memset): Likewise.
63740         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
63741         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
63742         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63743         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
63744         Likewise.
63745         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63746         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
63747         L(1_2) and L(1_3) into L(1).
63748         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63749         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
63750         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63751         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
63752         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63753         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
63754         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
63755         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63756         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
63757         macros.
63758         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
63759         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63760         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
63761         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
63762         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
63763         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63764         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
63765         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
63766         * sysdeps/i386/strcspn.S (strcspn): Likewise.
63767         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
63768         * sysdeps/i386/strrchr.S (strrchr): Likewise.
63769         * sysdeps/i386/strspn.S (strspn): Likewise.
63770         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
63771         conditional code.
63772         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63773         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
63774         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63775         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
63776         L(1_3) into L(1_1).
63777         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
63778         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63779         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
63780         macros.
63781         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63783 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
63785         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
63786         macro.
63788 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63790         * math/atest-exp.c (exp_mpn): Remove ROUND.
63791         * math/atest-exp2.c (exp_mpn): Likewise.
63792         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
63794         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
63795         * stdlib/tst-tls-atexit-lib.c: Likewise.
63796         * stdlib/tst-tls-atexit.c: Likewise.
63798 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63800         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
63801         and __attribute_alloc_size__.
63803 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63805         * include/programs/xmalloc.h: Change __attribute_alloc_size to
63806         __attribute_alloc_size__.
63807         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
63808         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
63810 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63812         * include/programs/xmalloc.h: New file.
63813         * catgets/gencat.c: Include it.
63814         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
63815         * elf/pldd.c: Likewise.
63816         * iconv/iconv_charmap.c: Likewise.
63817         * iconv/iconvconfig.c: Likewise.
63818         * iconv/strtab.c: Likewise.
63819         * locale/programs/locale.c: Likewise.
63820         * locale/programs/localedef.h: Likewise.
63821         * locale/programs/simple-hash.c: Likewise.
63822         * nscd/nscd.h: Likewise.
63823         * nss/makedb.c: Likewise.
63824         * sysdeps/generic/ldconfig.h: Likewise.
63826 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63828         * Versions.def: Add GLIBC_2.18.
63829         * include/link.h (struct link_map): New member l_tls_dtor_count.
63830         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
63831         (__call_tls_dtors): Likewise.
63832         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
63833         __cxa_thread_atexit_impl.
63834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63835         Likewise.
63836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63837         Likewise.
63838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
63839         Likewise.
63840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
63841         Likewise.
63842         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
63844         Likewise.
63845         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
63846         Likewise.
63847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63849         Likewise.
63850         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
63851         (tests): Add test case tst-tls-atexit.
63852         (modules-names): Add shared library for tst-tls-atexit.
63853         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
63854         (GLIBC_PRIVATE): Add __call_tls_dtors.
63855         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
63856         for libstdc++.
63857         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
63858         * stdlib/tst-tls-atexit.c: New test case.
63859         * stdlib/tst-tls-atexit-lib.c: New test case.
63861         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
63863         * elf/Versions (ld): Add _dl_find_dso_for_object.
63864         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
63865         * elf/dl-open.c (_dl_find_dso_for_object): New function.
63866         (dl_open_worker): Use _dl_find_dso_for_object.
63867         * elf/dl-sym.c (do_sym): Likewise.
63868         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
63870 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63872         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
63873         Syntactic changes only.
63874         (_dl_runtime_profile): Do a tail-call to the resolved function.
63876 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
63878         [BZ #13550]
63879         * sysdeps/x86_64/bp-asm.h: Remove file.
63880         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
63881         <bp-sym.h> and <bp-asm.h>.
63882         (__clone): Do not use BP_SYM.
63883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
63884         <bp-sym.h> and <bp-asm.h>.
63885         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63886         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
63887         "bp-asm.h".
63888         (_setjmp): Do not use BP_SYM.
63889         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
63890         "bp-asm.h".
63891         (setjmp): Do not use BP_SYM.
63892         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
63893         libc_hidden_def.
63894         (mempcpy): Do not use BP_SYM in weak_alias.
63895         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
63896         "bp-asm.h".
63897         (strchr): Do not use BP_SYM.
63898         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
63899         "bp-asm.h".
63900         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
63901         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
63902         (_start): Do not use BP_SYM.
63903         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
63904         "bp-asm.h".
63905         (strcat): Do not use BP_SYM.
63906         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
63907         "bp-asm.h".
63908         (STRCMP): Do not use BP_SYM.
63909         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
63910         "bp-asm.h".
63911         (STRCPY): Do not use BP_SYM.
63912         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
63913         "bp-asm.h".
63914         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
63915         "bp-asm.h".
63916         (FUNCTION): Do not use BP_SYM.
63917         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
63918         weak_alias.
63919         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
63921 2013-02-17  Andreas Jaeger  <aj@suse.de>
63923         * time/Versions: Sort entries.
63924         * string/Versions: Likewise.
63925         * resolv/Versions: Likewise.
63926         * posix/Versions: Likewise.
63927         * iconv/Versions: Likewise.
63928         * elf/Versions: Likewise.
63929         * wcsmbs/Versions: Likewise.
63931 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63933         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
63934         loop termination condition.
63936         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
63937         variable to calculate EZ.
63938         (__sqr): Likewise.
63940         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
63941         the lower precision input.
63943 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
63945         [BZ #13550]
63946         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
63947         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
63948         (run-via-rtld-prefix): Do not handle %-bp tests.
63949         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
63950         (all-object-suffixes): Remove .ob.
63951         (bppfx): Remove variable.
63952         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
63953         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
63954         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
63955         [$(build-bounded) = yes] (libtype.ob): Likewise.
63956         * Makerules (elide-routines.ob): Remove variable.
63957         (do-tests-clean): Do not handle *-bp.out.
63958         (common-mostlyclean): Do not handle *-bp and *-bp.out.
63959         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
63960         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
63961         (tests): Do not include $(tests-bp.out).
63962         (xtests): Do not include $(xtests-bp.out).
63963         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
63964         [$(build-bounded) = yes] ($(addprefix
63965         $(objpfx),$(binaries-bounded))): Remove rule.
63966         ($(objpfx)%-bp.out): Remove rule.
63967         * config.make.in (build-bounded): Remove variable.
63968         * crypt/Makefile [$(build-bounded) = yes]
63969         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
63970         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
63971         append to variable.
63972         [$(build-bounded) = yes] (install-lib): Likewise.
63973         [$(build-bounded) = yes] (generated): Likewise.
63974         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
63975         Remove rule.
63976         * intl/Makefile [$(build-bounded) = yes]
63977         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
63978         * math/Makefile [$(build-bounded) = yes]
63979         ($(tests:%=$(objpfx)%-bp): Likewise.
63980         * misc/Makefile [$(build-bounded) = yes]
63981         ($(objpfx)tst-tsearch-bp): Likewise.
63982         * nptl/Makeconfig (bounded-thread-library): Remove variable.
63983         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
63984         Remove dependency.
63985         * string/Makefile (o-objects.ob): Remove variable.
63986         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
63987         (CFLAGS-.ob): Remove variable.
63988         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
63989         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
63990         both definitions of variable.
63991         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
63992         (ASFLAGS-.ob): Remove variable.
63994 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
63996         [BZ #13550]
63997         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
63998         Remove __BOUNDED_POINTERS__ from condition.
63999         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
64000         * string/bits/string2.h [!__NO_STRING_INLINES &&
64001         !__BOUNDED_POINTERS__]: Likewise.
64002         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
64003         Likewise.
64004         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
64005         Remove conditional code.
64006         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
64007         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
64008         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
64009         condition.
64011         [BZ #13550]
64012         * csu/libc-start.c: Do not include <bp-sym.h>.
64013         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
64014         * elf/dl-open.c: Do not include <bp-sym.h>.
64015         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
64016         * math/fegetenv.c: Do not include <bp-sym.h>.
64017         (fegetenv): Do not use BP_SYM in versioned symbols.
64018         * nptl/sysdeps/pthread/bits/libc-lockP.h
64019         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
64020         <bp-sym.h>.
64021         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64022         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
64023         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64024         (__pthread_mutex_destroy): Likewise.
64025         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64026         (__pthread_mutex_lock): Likewise.
64027         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64028         (__pthread_mutex_trylock): Likewise.
64029         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64030         (__pthread_mutex_unlock): Likewise.
64031         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64032         (__pthread_mutexattr_init): Likewise.
64033         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64034         (__pthread_mutexattr_destroy): Likewise.
64035         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64036         (__pthread_mutexattr_settype): Likewise.
64037         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64038         (__pthread_rwlock_init): Likewise.
64039         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64040         (__pthread_rwlock_destroy): Likewise.
64041         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64042         (__pthread_rwlock_rdlock): Likewise.
64043         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64044         (__pthread_rwlock_tryrdlock): Likewise.
64045         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64046         (__pthread_rwlock_wrlock): Likewise.
64047         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64048         (__pthread_rwlock_trywrlock): Likewise.
64049         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64050         (__pthread_rwlock_unlock): Likewise.
64051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64052         (__pthread_key_create): Likewise.
64053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64054         (__pthread_setspecific): Likewise.
64055         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64056         (__pthread_getspecific): Likewise.
64057         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
64058         Likewise.
64059         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64060         (_pthread_cleanup_push_defer): Likewise.
64061         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64062         (_pthread_cleanup_pop_restore): Likewise.
64063         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64064         (pthread_setcancelstate): Likewise.
64065         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
64066         <bp-sym.h>.
64067         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
64068         (memchr): Do not use BP_SYM in weak_alias.
64069         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
64070         (fegetenv): Do not use BP_SYM in versioned symbols.
64071         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
64072         (fesetenv): Do not use BP_SYM in versioned symbols.
64073         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64074         (feupdateenv): Do not use BP_SYM in versioned symbols.
64075         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64076         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64077         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
64078         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
64079         (open64): Do not use BP_SYM in weak_alias.
64080         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
64081         (fegetenv): Do not use BP_SYM in versioned symbols.
64082         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
64083         (fesetenv): Do not use BP_SYM in versioned symbols.
64084         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64085         (feupdateenv): Do not use BP_SYM in versioned symbols.
64086         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
64087         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
64088         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
64089         (feraiseexcept): Do not use BP_SYM in versioned symbols.
64090         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64091         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64092         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
64093         <bp-sym.h>.
64094         (__libc_start_main): Do not use BP_SYM.
64096 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64098         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
64099         redundant return line.
64100         (norm): Likewise.
64101         (denorm): Likewise.
64102         (dbl_mp): Likewise.
64103         (sub_magnitudes): Likewise.
64104         (__add): Likewise.
64105         (__sub): Likewise.
64106         (__mul): Likewise.
64107         (__inv): Likewise.
64108         (__dvd): Likewise.
64109         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
64110         (norm): Likewise.
64111         (denorm): Likewise.
64112         (dbl_mp): Likewise.
64113         (sub_magnitudes): Likewise.
64114         (__add): Likewise.
64115         (__sub): Likewise.
64116         (__mul): Likewise.
64117         (__inv): Likewise.
64118         (__dvd): Likewise.
64120         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
64121         instead of __mul.
64122         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64123         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
64124         (cc32): Likewise.
64126         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
64127         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
64128         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
64129         of __mul for squares.
64130         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
64131         function
64132         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
64133         Likewise.
64134         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
64135         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64137 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
64139         [BZ #13550]
64140         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
64141         code.
64142         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
64143         prototype or function definition.  Rename ubp_* variables and
64144         parameters.  Remove argv definitions conditional on
64145         [__BOUNDED_POINTERS__].
64146         * debug/backtrace.c (__backtrace): Do not use __unbounded.
64147         * elf/dl-runtime.c (_dl_fixup): Likewise.
64148         * include/set-hooks.h (RUN_HOOK): Likewise.
64149         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
64150         definition.
64151         * string/strcpy.c (strcpy): Do not use __unbounded.
64152         * sysdeps/generic/frame.h (struct layout): Likewise.
64153         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
64154         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
64155         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
64156         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
64157         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
64158         (__backtrace): Likewise.
64159         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
64160         use __ptrvalue.
64161         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
64162         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
64163         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
64164         Likewise.
64165         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
64166         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
64167         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
64168         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64169         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
64170         Do not use __unbounded.
64171         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
64172         Rename __unboundedrlimits parameter to rlimits in prototype.
64173         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
64174         Do not use __unbounded.
64175         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
64176         not use __ptrvalue.
64177         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64178         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
64179         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64180         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
64181         __ptrvalue or __unbounded.
64182         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
64183         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
64184         use __unbounded.
64185         (__new_msgctl): Do not use __ptrvalue.
64186         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
64187         __unbounded.
64188         (__libc_msgrcv): Do not use __ptrvalue.
64189         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
64190         startup_info): Do not use __unbounded.
64191         (__libc_start_main): Likewise.  Rename ubp_* variables and
64192         parameters.  Remove argv definitions conditional on
64193         [__BOUNDED_POINTERS__].
64194         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
64195         __ptrvalue.
64196         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
64197         use __unbounded.
64198         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
64199         or __ptrvalue.
64200         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
64201         use __unbounded.
64202         (__new_shmctl): Do not use __ptrvalue.
64203         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
64204         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
64205         Likewise.
64206         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
64207         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
64208         (__libc_sigaction): Likewise.
64209         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
64210         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
64211         Likewise.
64212         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64214 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
64216         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
64218         * string/mempcpy.c: Implement by calling memcpy.
64220 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64222         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
64224         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
64225         evaluation.
64227         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
64228         values in the mantissa.
64230         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
64231         minimize writes to Z.
64232         (sub_magnitudes): Simplify code a bit.
64234 2013-02-12  Roland McGrath  <roland@hack.frob.com>
64236         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
64237         from the message.  The linker prefixes all warnings with that already.
64239 2013-02-12  Andreas Schwab  <schwab@suse.de>
64241         [BZ #15078]
64242         * posix/regexec.c (extend_buffers): Add parameter min_len.
64243         (check_matching): Pass minimum needed length.
64244         (clean_state_log_if_needed): Likewise.
64245         (get_subexp): Likewise.
64246         * posix/Makefile (tests): Add bug-regex34.
64247         (bug-regex34-ENV): Define.
64248         * posix/bug-regex34.c: New file.
64250         [BZ #11561]
64251         * posix/regcomp.c (parse_bracket_exp): When looking up collating
64252         elements compare against the byte sequence of it, not its name.
64253         * posix/Makefile (tests): Add bug-regex35.
64254         (bug-regex35-ENV): Define.
64255         * posix/bug-regex35.c: New file.
64257 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64259         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
64260         comment.
64261         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
64262         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
64263         (CHECK_EOL): Add undef.
64265 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
64267         * bits/stdlib-bsearch.h: New file.
64268         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
64269         * stdlib/stdlib.h: Likewise.
64271 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64273         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
64274         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
64275         declaration.
64276         * manual/search.texi (Array Search Function): Add missing const in
64277         lfind prototype.
64278         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
64279         declaration to use rlim_t.
64280         (Basic Scheduling Functions): Remove erroneous const from
64281         sched_getparam prototype.  Remove erroneous * from
64282         sched_get_priority_max and sched_get_priority_min prototypes.
64283         (Resource Usage): Fix summary @comment on vtimes to refer to
64284         sys/vtimes.h rather than vtimes.h.
64285         Add missing *s in vtimes prototype.
64286         (Limits on Resources): Fix ulimit prototype to return long int.
64287         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
64288         prototypes to use long int rather than double.
64289         (BSD Random): Fix initstate and setstate to use char *, not void *.
64290         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
64291         prototype to make second argument 'struct aiocb64 *const[]'.
64292         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
64293         (Status of AIO Operations): Remove erroneous const in aio_return and
64294         aio_return64 prototypes.
64295         (Synchronizing I/O): Fix sync prototype to return void.
64296         * manual/startup.texi (Suboptions): Remove an erroneous const in
64297         getsubopt prototype.
64298         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
64299         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
64300         use size_t rather than int.
64301         (Scanning All Users): Likewise for getpwent_r.
64302         (Setting Groups): Add missing const to setgroups prototype.
64303         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
64304         * manual/socket.texi (Host Names): Fix gethostbyaddr and
64305         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
64306         'const void *' rather than 'const char *'.
64307         (Host Address Functions): Likewise for inet_ntop.
64308         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
64309         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
64310         ssize_t for return value.
64311         (Sending Data): Likewise for send, sendto, sendmsg.
64312         (Socket Option Functions): Add a missing const in setsockopt prototype.
64313         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
64314         use wchar_t for the argument.
64315         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
64316         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
64317         take no arguments.
64318         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
64319         double/float/long double for second argument.
64320         Fix return types of significand, significandf, significandl.
64321         * manual/filesys.texi (Setting Permissions): Use mode_t for second
64322         argument in fchmod prototype.
64323         (File Owner): Use uid_t and gid_t in fchown prototype.
64324         (File Times): Add const to utimes, futimes, and lutimes prototypes.
64325         (Making Special Files): Use mode_t and dev_t in mknod prototype.
64326         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
64327         use 'const struct dirent **' as argument types to CMP function pointer
64328         argument.
64329         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
64330         (File Times): Fix summary magic @comment for struct utimbuf and utime
64331         to refer to utime.h, not time.h.
64332         * manual/string.texi (Argz Functions): Add missing const in
64333         argz_extract and argz_next prototypes.
64334         (Finding Tokens in a String): Likewise for basename.
64335         (String/Array Comparison): Fix typo in wcscasecmp prototype.
64336         (Copying and Concatenation): Fix typo in wmemmove prototype.
64337         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
64338         (Signal Stack): Remove erroneous const in sigstack prototype.
64339         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
64340         prototype.
64341         (Simple Calendar Time): Likewise for stime.
64342         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
64343         prototype.
64344         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
64345         say sys/sysctl.h instead.
64346         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
64347         and vsyslog prototypes.
64349 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64351         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
64352         Remove.
64354 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64356         * misc/sys/mman.h: Fix typo in mremap comment.
64358 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64360         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
64361         the '\0' terminator.
64363 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64365         [BZ #13550]
64366         * debug/segfault.c: Don't include <bp-checks.h>.
64367         * sysdeps/generic/bp-checks.h: Remove file.
64368         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
64369         (__GETDENTS): Don't use CHECK_N.
64370         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
64371         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
64372         (__getgroups): Don't use CHECK_N.
64373         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
64374         (setgroups): Don't use CHECK_N.
64375         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
64376         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
64377         (__libc_msgrcv): Don't use CHECK_N.
64378         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
64379         (__libc_msgsnd): Don't use CHECK_N.
64380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
64381         <bp-checks.h>.
64382         (__libc_pread): Don't use CHECK_N.
64383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
64384         include <bp-checks.h>.
64385         (__libc_pread64): Don't use CHECK_N.
64386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
64387         include <bp-checks.h>.
64388         (__libc_pwrite): Don't use CHECK_N.
64389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
64390         include <bp-checks.h>.
64391         (__libc_pwrite64): Don't use CHECK_N.
64392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
64393         <bp-checks.h>.
64394         (__libc_pread): Don't use CHECK_N.
64395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
64396         include <bp-checks.h>.
64397         (__libc_pread64): Don't use CHECK_N.
64398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
64399         include <bp-checks.h>.
64400         (__libc_pwrite): Don't use CHECK_N.
64401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
64402         include <bp-checks.h>.
64403         (__libc_pwrite64): Don't use CHECK_N.
64404         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
64405         (do_pread): Don't use CHECK_N.
64406         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
64407         (do_pread64): Don't use CHECK_N.
64408         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
64409         (do_pwrite): Don't use CHECK_N.
64410         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
64411         (do_pwrite64): Don't use CHECK_N.
64412         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
64413         (__libc_readv): Don't use CHECK_N.
64414         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
64415         (semop): Don't use CHECK_N.
64416         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
64417         <bp-checks.h>.
64418         (semtimedop): Don't use CHECK_N.
64419         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
64420         (__libc_pread): Don't use CHECK_N.
64421         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
64422         <bp-checks.h>.
64423         (__libc_pread64): Don't use CHECK_N.
64424         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
64425         <bp-checks.h>.
64426         (__libc_pwrite): Don't use CHECK_N.
64427         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
64428         <bp-checks.h>.
64429         (__libc_pwrite64): Don't use CHECK_N.
64430         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
64431         <bp-checks.h>.
64432         (__libc_msgrcv): Don't use CHECK_N.
64433         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
64434         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
64435         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
64436         (__libc_writev): Don't use CHECK_N.
64438 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64440         * string/strcpy.c: Removed unused variable.
64442         * Makeconfig (+sysdep-includes): Define with := rather than =.
64443         Use an existing include/ subdir of each sysdeps dir before it.
64445 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64447         * nscd/connection.c (register_traced_file): Comment function.
64448         [HAVE_INOTIFY] (union __inev): Define.
64449         [HAVE_INOTIFY] (inotify_check_files): New function.
64450         [HAVE_INOTIFY] (clear_db_cache): Likewise.
64451         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
64452         clear_db_cache.
64453         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
64455 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64457         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
64458         loaded if not already and that a failure is permanent.
64460 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64462         [BZ #15006]
64463         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
64464         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
64466 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64468         [BZ #13550]
64469         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
64470         (CHECK_1_NULL_OK): Likewise.
64471         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
64472         (__fxstat): Do not use CHECK_1.
64473         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
64474         <bp-checks.h>.
64475         (___fxstat64): Do not use CHECK_1.
64476         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
64477         <bp-checks.h>.
64478         (__fxstatat): Do not use CHECK_1.
64479         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
64480         <bp-checks.h>.
64481         (__fxstatat64): Do not use CHECK_1.
64482         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
64483         <bp-checks.h>.
64484         (__fxstat): Do not use CHECK_1.
64485         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
64486         <bp-checks.h>.
64487         (__fxstatat): Do not use CHECK_1.
64488         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64489         <bp-checks.h>.
64490         (__getresgid): Do not use CHECK_1.
64491         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64492         <bp-checks.h>.
64493         (__getresuid): Do not use CHECK_1.
64494         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
64495         <bp-checks.h>.
64496         (__lxstat): Do not use CHECK_1.
64497         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64498         <bp-checks.h>.
64499         (__old_msgctl): Do not use CHECK_1.
64500         (__new_msgctl): Likewise.
64501         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
64502         <bp-checks.h>.
64503         (__new_setrlimit): Do not use CHECK_1.
64504         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64505         <bp-checks.h>.
64506         (__old_shmctl): Do not use CHECK_1.
64507         (__new_shmctl): Likewise.
64508         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
64509         <bp-checks.h>.
64510         (__xstat): Do not use CHECK_1.
64511         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
64512         (__lxstat): Do not use CHECK_1.
64513         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
64514         <bp-checks.h>.
64515         (___lxstat64): Do not use CHECK_1.
64516         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
64517         (__old_msgctl): Do not use CHECK_1.
64518         (__new_msgctl): Likewise.
64519         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
64520         <bp-checks.h>.
64521         (__gettimeofday): Do not use CHECK_1.
64522         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
64523         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
64524         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
64525         <bp-checks.h>.
64526         (__gettimeofday): Do not use CHECK_1.
64527         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
64528         (__old_shmctl): Do not use CHECK_1_NULL_OK.
64529         (__new_shmctl): Do not use CHECK_1.
64530         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
64531         <bp-checks.h>.
64532         (do_sigtimedwait): Do not use CHECK_1.
64533         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
64534         <bp-checks.h>.
64535         (do_sigwaitinfo): Do not use CHECK_1.
64536         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
64537         <bp-checks.h>.
64538         (msgctl): Do not use CHECK_1.
64539         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
64540         <bp-checks.h>.
64541         (shmctl): Do not use CHECK_1.
64542         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
64543         (ustat): Do not use CHECK_1.
64544         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
64545         <bp-checks.h>.
64546         (__fxstat): Do not use CHECK_1.
64547         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
64548         <bp-checks.h>.
64549         (__fxstatat): Do not use CHECK_1.
64550         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
64551         <bp-checks.h>.
64552         (__lxstat): Do not use CHECK_1.
64553         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
64554         <bp-checks.h>.
64555         (__xstat): Do not use CHECK_1.
64556         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
64557         (__xstat): Do not use CHECK_1.
64558         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
64559         (___xstat64): Do not use CHECK_1.
64561         [BZ #13550]
64562         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
64563         definitions.
64564         (CHECK_BOUNDS_HIGH): Likewise.
64565         * string/strcpy.c: Do not include <bp-checks.h>.
64566         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
64568 2013-02-07  Roland McGrath  <roland@hack.frob.com>
64570         * nscd/nscd-client.h (__nscd_drop_map_ref):
64571         Add __attribute__ ((unused)).
64572         * nis/nss-nisplus.h (niserr2nss): Likewise.
64574         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
64575         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
64577         * csu/libc-tls.c (init_static_tls, init_slotinfo):
64578         Remove inline keyword.
64579         * include/rounding-mode.h (round_away): Likewise.
64580         * libio/wfileops.c (adjust_wide_data): Likewise.
64581         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
64582         (__m128i_strloadu_tolower): Likewise.
64583         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
64584         (__m128i_strloadu_tolower): Likewise.
64585         * time/mktime.c (ydhms_diff): Likewise.
64586         * locale/elem-hash.h (elem_hash): Likewise.
64587         * locale/setlocale.c (setdata): Likewise.
64588         * posix/regex_internal.h (re_string_char_size_at): Likewise.
64589         (re_string_wchar_at): Likewise.
64590         (bitset_not, bitset_merge, bitset_mask): Likewise.
64591         [!(__GNUC__ > 3)] (inline): Remove macro.
64592         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
64593         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
64594         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
64595         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
64596         * string/memcmp.c (memcmp_bytes): Likewise.
64597         * locale/programs/locarchive.c (compute_hashval): Likewise.
64598         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
64599         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
64600         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
64601         * nss/getent.c (print_rpc, print_protocols): Likewise.
64602         (print_passwd, print_group, print_aliases): Likewise.
64603         * nis/nss-nisplus.h (niserr2nss): Likewise.
64604         * nscd/connections.c (restart_p): Likewise.
64605         Change return type to bool.
64607 2013-02-05  Roland McGrath  <roland@hack.frob.com>
64609         * Makeconfig (all-Depend-files): Add existing
64610         $(sorted-subdirs:=/Depend) files.
64611         (all-subdirs): Remove nss.
64612         * sysdeps/unix/inet/Subdirs: Add it here instead.
64613         * hesiod/Depend: New file.
64615         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
64616         instead of calling alloca.
64618         * io/lseek.c (__lseek): Rename to __libc_lseek.
64619         Define __lseek as an alias.
64621         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
64623 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
64625         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
64626         else clause and remove check for non-standard endianness.
64628 2013-02-04  David S. Miller  <davem@davemloft.net>
64630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64632 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
64634         [BZ #13550]
64635         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
64636         (__ubp_memchr): Remove prototype.
64637         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
64638         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64639         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
64640         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64641         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
64642         Remove alias.
64643         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
64644         (__ubp_memchr): Likewise.
64645         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
64646         (__ubp_memchr): Likewise.
64647         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
64648         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
64649         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
64650         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
64651         CHECK_STRING.
64652         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
64653         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
64654         (__getcwd): Do not use CHECK_STRING.
64655         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64656         <bp-checks.h>.
64657         (__real_chown): Do not use CHECK_STRING.
64658         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
64659         <bp-checks.h>.
64660         (fchownat): Do not use CHECK_STRING.
64661         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
64662         CHECK_STRING.
64663         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64664         <bp-checks.h>.
64665         (__lchown): Do not use CHECK_STRING.
64666         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64667         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64668         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64669         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
64670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64671         include <bp-checks.h>.
64672         (truncate64): Do not use CHECK_STRING.
64673         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64674         <bp-checks.h>.
64675         (__real_chown): Do not use CHECK_STRING.
64676         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64677         <bp-checks.h>.
64678         (__lchown): Do not use CHECK_STRING.
64679         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64680         <bp-checks.h>.
64681         (__chown): Do not use CHECK_STRING.
64682         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
64683         <bp-checks.h>.
64684         (truncate64): Do not use CHECK_STRING.
64685         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
64686         Likewise.
64687         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
64688         (__xmknod): Do not use CHECK_STRING.
64689         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
64690         <bp-checks.h>.
64691         (__xmknodat): Do not use CHECK_STRING.
64692         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64693         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
64695 2013-02-04  Andreas Schwab  <schwab@suse.de>
64697         [BZ #14142]
64698         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
64699         * include/netdb.h: Likewise for h_errno.
64700         * elf/tst-stackguard1.c: Include <tls.h>.
64702 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
64704         * elf/link.h (struct link_map): Extend the l_addr comment.
64705         * include/link.h (struct link_map): Likewise.
64707 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
64709         [BZ #13550]
64710         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
64711         (BOUNDED_1): Remove macro.
64712         * debug/backtrace.c: Don't include <bp-checks.h>.
64713         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
64714         (__backtrace): Likewise.
64715         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
64716         <bp-checks.h>.
64717         (__backtrace): Don't use BOUNDED_1.
64718         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
64719         <bp-checks.h>.
64720         (__backtrace): Don't use BOUNDED_1.
64721         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
64722         (__backtrace): Don't use BOUNDED_1.
64723         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
64724         (shmat): Don't use BOUNDED_N.
64726 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
64728         [BZ #13550]
64729         * sysdeps/generic/bp-start.h: Remove file.
64730         * csu/libc-start.c: Don't include <bp-start.h>.
64731         (LIBC_START_MAIN): Set up __environ directly instead of using
64732         INIT_ARGV_and_ENVIRON.
64733         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
64734         <bp-start.h>.
64736         [BZ #13550]
64737         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
64738         definitions.
64739         (CHECK_FCNTL): Likewise.
64740         (CHECK_N_PAGES): Likewise.
64742         [BZ #13550]
64743         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
64744         definitions.
64745         (CHECK_SIGSET_NULL_OK): Likewise.
64746         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
64747         <bp-checks.h>.
64748         (sigpending): Don't use CHECK_SIGSET.
64749         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
64750         <bp-checks.h>.
64751         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64752         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
64753         <bp-checks.h>.
64754         (do_sigsuspend): Don't use CHECK_SIGSET.
64755         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
64756         use CHECK_SIGSET.
64757         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
64758         (do_sigwait): Don't use CHECK_SIGSET.
64759         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
64760         use CHECK_SIGSET.
64761         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
64762         include <bp-checks.h>.
64763         (sigpending): Don't use CHECK_SIGSET.
64764         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
64765         include <bp-checks.h>.
64766         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64767         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
64768         <bp-checks.h>.
64769         (sigpending): Don't use CHECK_SIGSET.
64770         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
64771         <bp-checks.h>.
64772         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64774         [BZ #13550]
64775         * sysdeps/generic/bp-semctl.h: Remove file.
64776         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
64777         <bp-checks.h> and <bp-semctl.h>.
64778         (__old_semctl): Don't use CHECK_SEMCTL.
64779         (__new_semctl): Likewise.
64780         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
64781         and <bp-semctl.h>.
64782         (__old_semctl): Don't use CHECK_SEMCTL.
64783         (__new_semctl): Likewise.
64784         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
64785         <bp-checks.h> and <bp-semctl.h>.
64786         (__old_semctl): Don't use CHECK_SEMCTL.
64787         (__new_semctl): Likewise.
64788         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
64789         <bp-checks.h> and <bp-semctl.h>.
64790         (semctl): Don't use CHECK_SEMCTL.
64792         [BZ #13550]
64793         * Makerules (elide-bp-thunks): Remove variable.
64794         (elide-routines.oS): Don't use $(elide-bp-thunks).
64795         (elide-routines.os): Likewise.
64796         (elide-routines.o): Likewise.
64797         (elide-routines.op): Likewise.
64798         (elide-routines.og): Likewise.
64799         (objects): Don't use $(bp-thunks).
64800         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
64801         include.
64802         (common-generated): Do not add s-proto-bp.d.
64803         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
64804         (int): Likewise.
64805         (typ): Likewise.
64806         Do not generate makefile rules for bounded-pointer thunks.
64807         * sysdeps/generic/bp-thunks.h: Remove file.
64808         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
64809         * sysdeps/unix/s-proto-bp.S: Likewise.
64811         [BZ #15062]
64812         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
64813         parts of result separately when argument is not close to line from
64814         -i to i and one part of argument is small.
64815         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64816         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64817         * math/libm-test.inc (cacos_test): Add more tests.
64818         (casin_test): Likewise.
64819         (casinh_test): Likewise.
64820         * sysdeps/i386/fpu/libm-test-ulps: Update.
64821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64823 2013-01-31  David S. Miller  <davem@davemloft.net>
64825         * po/de.po: Update from translation team.
64827 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
64829         * time/tzfile.c: Include stdint.h for SIZE_MAX.
64831 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
64833         * configure.in (_AC_PROG_CC_C89): New definition.
64834         * configure: Regenerate.
64836         * configure.in (AC_PROG_CPP): New definition.
64837         * configure: Regenerate.
64839 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64841         * debug/tst-backtrace.h: New file.
64842         * debug/tst-backtrace2.c: Include tst-backtrace.h.
64843         (ret): Remove variable.
64844         (x): Likewise.
64845         (FAIL): Remove macro.
64846         (NO_INLINE): Likewise.
64847         (fn1): Use match function instead of strstr.
64848         * debug/tst-backtrace3.c: Include tst-backtrace.h.
64849         (ret): Remove variable.
64850         (x): Likewise.
64851         (FAIL): Remove macro.
64852         (NO_INLINE): Likewise.
64853         (fn): Use match function instead of strstr.
64854         * debug/tst-backtrace4.c: Include tst-backtrace.h.
64855         (ret): Remove variable.
64856         (x): Likewise.
64857         (FAIL): Remove macro.
64858         (NO_INLINE): Likewise.
64859         (handle_signal): Use match function instead of strstr.
64860         * debug/tst-backtrace5.c: Include tst-backtrace.h.
64861         (ret): Remove variable.
64862         (x): Likewise.
64863         (FAIL): Remove macro.
64864         (NO_INLINE): Likewise.
64865         (handle_signal): Use match function instead of strstr.
64867 2013-01-23  Roland McGrath  <roland@hack.frob.com>
64869         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
64871 2013-01-23  David S. Miller  <davem@davemloft.net>
64873         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
64874         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
64875         argument of CAS if possible.
64876         * sysdeps/sparc/sparc64/bits/atomic.h
64877         (__arch_compare_and_exchange_val_32_acq): Likewise.
64878         (__arch_compare_and_exchange_val_64_acq): Likewise.
64880 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
64882         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
64883         * sysdeps/posix/ulimit.c: ... this.
64884         Include <limits.h>.
64885         * sysdeps/unix/bsd/ulimit.c: Remove file.
64887 2013-01-23  Adam Conrad  <adconrad@0c3.net>
64889         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
64890         (LDFLAGS-tst-array5): Likewise.
64892 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64894         [BZ #15036]
64895         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
64896         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
64897         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
64898         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
64900 2013-01-21  David S. Miller  <davem@davemloft.net>
64902         * sysdeps/sparc/backtrace.c: New file.
64903         * sysdeps/sparc/sparc32/backtrace.h: New file.
64904         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
64905         * sysdeps/sparc/sparc64/backtrace.h: New file.
64906         * sysdeps/sparc/sparc64/backtrace.c: Delete.
64907         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
64908         -funwind-tables.
64910 2013-01-21  Andreas Schwab  <schwab@suse.de>
64912         [BZ #15020]
64913         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
64914         closed its stdout.
64916 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
64918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
64919         "mpa2.h".
64920         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64922 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
64923             Mark Mitchell  <mark@codesourcery.com>
64924             Tom de Vries  <tom@codesourcery.com>
64925             Paul Pluzhnikov  <ppluzhnikov@google.com>
64927         * debug/tst-backtrace2.c: New file.
64928         * debug/tst-backtrace3.c: Likewise.
64929         * debug/tst-backtrace4.c: Likewise.
64930         * debug/tst-backtrace5.c: Likewise.
64931         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
64932         (CFLAGS-tst-backtrace3.c): Likewise.
64933         (CFLAGS-tst-backtrace4.c): Likewise.
64934         (CFLAGS-tst-backtrace5.c): Likewise.
64935         (LDFLAGS-tst-backtrace2): Likewise.
64936         (LDFLAGS-tst-backtrace3): Likewise.
64937         (LDFLAGS-tst-backtrace4): Likewise.
64938         (LDFLAGS-tst-backtrace5): Likewise.
64939         (tests): Add new tests tst-backtrace2, tst-backtrace3,
64940         tst-backtrace4 and tst-backtrace5.
64942 2013-01-18  Anton Blanchard  <anton@samba.org>
64943             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64945         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
64946         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
64947         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
64948         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
64949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64950         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
64951         "+r" and remove output regs list as redundant.  Add explicit inline
64952         asm to specify register of return val to work around compiler codegen
64953         bug.  Remove (int) cast on return value.  Add return type parameter to
64954         use in macro so that this macro does not truncate return value for
64955         64-bit values.
64956         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
64957         pass to INTERNAL_VSYSCALL_NCS.
64958         (INLINE_VSYSCALL): Add 'long int' as return type to
64959         INTERNAL_VSYSCALL_NCS macro invocation.
64960         (INTERNAL_VSYSCALL): Add 'long int' as return type to
64961         INTERNAL_VSYSCALL_NCS macro invocation.
64962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64964 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64966         [BZ #14496]
64967         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
64968         Fix application of SIMD FP exception mask.
64970         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
64971         mp_no from a power of two.
64972         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
64973         __mpexp_twomm1.  Use __pow_mp.
64975         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
64976         multiplication.
64978 2013-01-17  David S. Miller  <davem@davemloft.net>
64980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64982 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64984         [BZ #15023]
64985         * include/complex.h: Condition contents on [!_COMPLEX_H].
64986         (__kernel_casinhf): New prototype.
64987         (__kernel_casinh): Likewise.
64988         (__kernel_casinhl): Likewise.
64989         * math/Makefile (libm_calls): Add k_casinh.
64990         * math/k_casinh.c: New file.
64991         * math/k_casinhf.c: Likewise.
64992         * math/k_casinhl.c: Likewise.
64993         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
64994         finite nonzero arguments.
64995         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
64996         finite nonzero arguments.
64997         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
64998         finite nonzero arguments.
64999         * math/s_casinh.c: Do not include <float.h>.
65000         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
65001         * math/s_casinhf.c: Do not include <float.h>.
65002         (__casinhf): Move code for finite nonzero arguments to
65003         k_casinhf.c.
65004         * math/s_casinhl.c: Do not include <float.h>.
65005         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
65006         redefine.
65007         (__casinhl): Move code for finite nonzero arguments to
65008         k_casinhl.c.
65009         * math/libm-test.inc (cacos_test): Add more tests.
65010         * sysdeps/i386/fpu/libm-test-ulps: Update.
65011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65013 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
65015         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
65016         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
65017         [!HAVE_MREMAP]: Remove [defined linux] case.
65018         * malloc/arena.c: Do not include <malloc-sysdep.h>.
65020 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65022         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
65024 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
65026         * elf/elf.h (R_386_SIZE32): New relocation.
65027         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
65028         R_386_SIZE32.
65029         (elf_machine_rela): Likewise.
65030         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65031         R_X86_64_SIZE64 and R_X86_64_SIZE32.
65033 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65035         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
65036         (FP_FAST_FMA): Do not define.
65037         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
65038         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
65039         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
65040         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
65041         !_SOFT_FLOAT]: Likewise.
65042         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
65043         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
65044         value.
65045         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
65046         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
65047         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
65048         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
65049         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
65050         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
65051         file.
65053 2013-01-16  Andreas Schwab  <schwab@suse.de>
65055         [BZ #14327]
65056         * include/stdlib.h (__mktemp): Add declaration.
65057         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
65058         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
65060 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65062         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
65063         definitions.
65064         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65065         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
65066         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
65067         definitions here.
65068         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
65069         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
65070         definitions.
65071         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
65072         and ONE.
65073         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
65074         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
65075         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
65076         definitions.
65077         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
65078         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
65079         definitions.
65080         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65082         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
65084 2013-01-15  David S. Miller  <davem@davemloft.net>
65086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65087         trunc{,f} to libm-sysdep_routes.
65088         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
65090         file.
65091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
65092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
65093         file.
65094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
65095         file.
65096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
65097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
65098         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
65099         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
65100         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
65101         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
65102         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
65103         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
65105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65106         nearbyint{,f} to libm-sysdep_routes.
65107         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
65109         New file.
65110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
65111         file.
65112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
65113         New file.
65114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
65115         file.
65116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
65117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
65118         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
65119         file.
65120         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
65121         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
65122         file.
65123         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
65124         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
65125         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
65127         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65128         libc_feholdexcept and libc_fesetenv.
65130 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
65132         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
65134 2013-01-14  David S. Miller  <davem@davemloft.net>
65136         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
65137         (SPARC_ASM_VIS2_IFUNC): Likewise.
65138         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
65139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
65140         use of 'siam' instruction.
65141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
65142         Likewise.
65143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
65144         Likewise.
65145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
65146         Likewise.
65147         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
65148         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
65149         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
65150         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
65151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
65152         file.
65153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
65154         file.
65155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
65156         file.
65157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
65158         file.
65159         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
65160         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
65161         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
65162         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
65163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
65164         new VIS2 routines.
65165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65168         Likewise.
65169         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65170         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65171         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65172         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
65174         routines to libm-sysdep_routines.
65175         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65178         fdim/fdimf to libm-sysdep_routines.
65179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
65180         file.
65181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
65182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
65183         file.
65184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
65185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
65186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
65187         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
65188         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
65189         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
65190         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
65192 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65194         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
65195         to optimize copies.
65197         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
65198         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65199         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65201         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
65202         local variable MPTWO.
65203         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
65204         Likewise.
65206 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65208         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
65209         GLOB_NOESCAPE.
65211 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65213         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
65215 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65217         * manual/pattern.texi (glob_t): Document gl_flags.
65218         (glob64_t): Likewise.
65220 2013-01-11  David S. Miller  <davem@davemloft.net>
65222         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
65223         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
65224         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
65225         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
65226         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
65227         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
65228         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
65229         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
65230         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
65231         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
65232         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
65233         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
65234         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
65236         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65237         sparc V9 rather than using V8 code.
65238         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65239         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65241         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65242         Move to...
65243         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
65244         Here.
65246 2013-01-11  Roland McGrath  <roland@hack.frob.com>
65248         [BZ #14941]
65249         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
65250         not in the main loop.
65251         * configure: Regenerated.
65253 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
65255         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
65256         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
65257         to just #else.
65258         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
65259         [!__GLIBC_HAVE_LONG_LONG] case.
65260         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
65261         condition to just #else.
65262         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
65263         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
65264         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
65265         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
65266         unconditional.
65267         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
65268         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65269         #elif condition to just #else.
65270         * sysdeps/unix/sysv/linux/sys/sysmacros.h
65271         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
65272         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65273         #elif condition to just #else.
65275 2013-01-11  Steve Ellcey  <sellcey@mips.com>
65277         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
65278         (EF_MIPS_ARCH_64): Fix value.
65279         (EF_MIPS_ARCH_32R2): New.
65280         (EF_MIPS_ARCH_64R2): New.
65282 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
65284         * Makeconfig (+link-pie-before-libc): New.
65285         (+link-pie-after-libc): Likewise.
65286         (+link-pie-tests): Likewise.
65287         (+link-pie): Rewritten.
65288         (link-before-libc): Remove $(config-LDFLAGS).
65289         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
65290         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
65291         (config-LDFLAGS): Renamed to ...
65292         (rtld-LDFLAGS): This.
65293         (rtld-tests-LDFLAGS): New macro.
65294         (link-libc-rpath-link): Likewise.
65295         (link-libc-tests-rpath-link): Likewise.
65296         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
65297         (link-libc): Prepand $(link-libc-rpath-link).
65298         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
65299         (test-program-prefix): New macro.
65300         (test-via-rtld-prefix): Likewise.
65301         (test-program-cmd): Likewise.
65302         (host-test-program-cmd): Likewise.
65303         * Makefile ($(common-objpfx)testrun.sh): Replace
65304         $(run-program-prefix) with $(test-program-prefix).
65305         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
65306         $(rtld-LDFLAGS).
65307         ($(common-objpfx)shlib.lds): Likewise.
65308         (build-module-helper): Likewise.
65309         ($(common-objpfx)format.lds): Likewise.
65310         * Rules (binaries-pie-tests): New.
65311         (binaries-pie-notests): Likewise.
65312         (binaries-pie): Rewritten.
65313         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
65314         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
65315         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
65316         (make-test-out): Replace $(host-built-program-cmd) with
65317         $(host-test-program-cmd).
65318         * config.make.in (build-hardcoded-path-in-tests): New variable.
65319         * configure.in (--enable-hardcoded-path-in-tests): New configure
65320         option.
65321         (hardcoded_path_in_tests): New AC_SUBST.
65322         * configure: Regenerated.
65323         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
65324         $(built-program-cmd) with $(test-program-cmd).
65325         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
65326         (test_program_cmd): This.
65327         * elf/Makefile ($(objpfx)order.out): Run test with
65328         $(test-program-prefix).
65329         ($(objpfx)order2.out): Likewise.
65330         ($(objpfx)tst-initorder.out): Likewise.
65331         ($(objpfx)tst-initorder2.out): Likewise.
65332         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
65333         $(test-program-cmd).
65334         ($(objpfx)tst-array1-static.out): Likewise.
65335         ($(objpfx)tst-array2.out): Likewise.
65336         ($(objpfx)tst-array3.out): Likewise.
65337         ($(objpfx)tst-array4.out): Likewise.
65338         ($(objpfx)tst-array5.out): Likewise.
65339         ($(objpfx)tst-array5-static.out): Likewise.
65340         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
65341         $(test-program-cmd).
65342         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
65343         $(run-program-prefix) with $(test-program-prefix).
65344         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
65345         (test_program_prefix): This.
65346         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
65347         $(run-program-prefix) with $(test-program-prefix).
65348         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
65349         (test_program_prefix): This.
65350         * iconvdata/tst-tables.sh: Likewise.
65351         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
65352         $(run-program-prefix) with $(test-program-prefix).
65353         ($(objpfx)tst-translit.out): Likewise.
65354         ($(objpfx)tst-gettext2.out): Likewise.
65355         ($(objpfx)tst-gettext4.out): Likewise.
65356         ($(objpfx)tst-gettext6.out): Likewise.
65357         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
65358         (test_program_prefix): This.
65359         * intl/tst-gettext2.sh: Likewise.
65360         * intl/tst-gettext4.sh  Likewise.
65361         * intl/tst-gettext6.sh: Likewise.
65362         * intl/tst-translit.sh: Likewise.
65363         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
65364         with $(test-program-cmd).
65365         * libio/Makefile ($(objpfx)test-freopen.out): Replace
65366         $(run-program-prefix) with $(test-program-prefix).
65367         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
65368         (test_program_prefix): This.
65369         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
65370         $(run-program-prefix) with $(test-program-prefix).
65371         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
65372         (test_program_prefix): This.
65373         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
65374         * posix/Makefile ($(objpfx)globtest.out): Replace
65375         $(run-via-rtld-prefix) and $(test-wrapper) with
65376         $(test-program-prefix) and $(test-via-rtld-prefix).
65377         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
65378         $(test-program-prefix).
65379         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
65380         $(host-test-program-cmd).
65381         (tst-spawn-ARGS): Likewise.
65382         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
65383         $(test-program-prefix).
65384         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
65385         (test_via_rtld_prefix): This.
65386         (test_wrapper): Renamed to ...
65387         (test_program_prefix): This.
65388         (run_program_prefix): Replaced by test_program_prefix.
65389         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
65390         (test_program_prefix): This.
65391         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
65392         with $(host-test-program-cmd).
65393         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
65394         $(run-program-prefix) with $(test-program-prefix).
65395         ($(objpfx)tst-printf.out): Likewise.
65396         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
65397         $(test-program-cmd).
65398         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
65399         (test_program_prefix): This.
65400         * stdio-common/tst-unbputc.sh: Likewise.
65401         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
65402         $(run-program-prefix) with $(test-program-prefix).
65403         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
65404         (test_program_prefix): This.
65405         * string/Makefile ($(objpfx)tst-svc.out):  Replace
65406         $(built-program-cmd) with $(test-program-cmd).
65408 2013-01-11  Andreas Jaeger  <aj@suse.de>
65410         [BZ #15003]
65411         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
65412         value. Sync with Linux 3.7.
65414 2013-01-10  David S. Miller  <davem@davemloft.net>
65416         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
65417         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65418         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65420 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65422         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
65423         never set.
65424         * configure: Regenerated.
65426 2013-01-10  David S. Miller  <davem@davemloft.net>
65428         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65429         sparc V9 rather than using V8 code.
65430         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65431         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65433 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65435         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
65436         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
65437         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
65438         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
65439         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
65440         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
65441         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
65442         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
65443         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
65444         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
65445         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
65446         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
65447         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
65448         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
65449         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
65450         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
65451         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
65452         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
65453         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
65454         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
65455         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
65456         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
65457         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
65458         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
65459         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
65460         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
65461         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
65463 2013-01-10  David S. Miller  <davem@davemloft.net>
65465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65467 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65469         * posix/Makefile (tests-static): New variable.
65470         (tests): Add $(tests-static).
65471         (tst-exec-static-ARGS): New variable.
65472         (tst-spawn-static-ARGS): Likewise.
65473         * posix/tst-exec-static.c: New file.
65474         * posix/tst-spawn-static.c: Likewise.
65475         * posix/tst-exec.c: Support run directly.
65476         * posix/tst-spawn.c: Likewise.
65478 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
65480         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
65481         long.
65482         * math/bits/mathcalls.h (llrint): Likewise.
65483         (llround): Likewise.
65484         * stdlib/stdlib.h (struct drand48_data): Likewise.
65485         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
65486         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
65487         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
65488         Likewise.
65489         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
65490         Likewise.
65491         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
65492         (elf_greg_t): Likewise.
65493         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
65494         (__jmp_buf): Likewise.
65495         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
65496         definitions.
65497         (llrint): Likewise, for all definitions.
65498         (llrintl): Likewise.
65500         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
65501         Remove [__GNUC__] condition.
65502         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
65503         condition to just [__USE_ISOC99].
65504         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
65506 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65508         [BZ #14200]
65509         * sysdeps/unix/sysv/linux/x86/bits/environments.h
65510         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
65511         defined.
65512         (_POSIX_V6_ILP32_OFF32): Likewise.
65513         (_XBS5_ILP32_OFF32): Likewise.
65514         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
65515         (__ILP32_OFFBIG_LDFLAGS): Likewise.
65517 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65519         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
65521         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
65522         doubles __mpexp_twomm1.  Adjust usage.
65523         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
65524         Remove.
65526 2013-01-10  Andreas Schwab  <schwab@suse.de>
65528         [BZ #14964]
65529         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
65530         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
65532 2013-01-09  David S. Miller  <davem@davemloft.net>
65534         [BZ #15003]
65535         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
65536         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
65537         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
65538         (TCP_FASTOPEN): Define.
65539         (tcp_repair_opt): New structure.
65540         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
65541         enum values.
65542         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
65543         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
65544         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
65545         (tcp_cookie_transactions): New structure.
65547 2013-01-09  Anton Blanchard  <anton@samba.org>
65549         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
65550         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
65551         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
65552         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
65554 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
65556         * include/features.h (__USE_ANSI): Remove.
65558 2013-01-09  Roland McGrath  <roland@hack.frob.com>
65560         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
65562         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
65564 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
65566         * sysdeps/s390/fpu/libm-test-ulps: Update.
65568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65570         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
65571         (__acr): Likewise.
65572         (__cpy): Likewise.
65573         (norm): Likewise.
65574         (denorm): Likewise.
65575         (__mp_dbl): Likewise.
65576         (__dbl_mp): Likewise.
65577         (add_magnitudes): Likewise.
65578         (sub_magnitudes): Likewise.
65579         (__add): Likewise.
65580         (__sub): Likewise.
65581         (__mul): Likewise.
65582         (__inv): Likewise.
65583         (__dvd): Likewise.
65584         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
65585         (__acr): Likewise.
65586         (__cpy): Likewise.
65587         (norm): Likewise.
65588         (denorm): Likewise.
65589         (__mp_dbl): Likewise.
65590         (__dbl_mp): Likewise.
65591         (add_magnitudes): Likewise.
65592         (sub_magnitudes): Likewise.
65593         (__add): Likewise.
65594         (__sub): Likewise.
65595         (__mul): Likewise.
65596         (__inv): Likewise.
65597         (__dvd): Likewise.
65598         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
65599         (__acr): Likewise.
65600         (__cpy): Likewise.
65601         (norm): Likewise.
65602         (denorm): Likewise.
65603         (__mp_dbl): Likewise.
65604         (__dbl_mp): Likewise.
65605         (add_magnitudes): Likewise.
65606         (sub_magnitudes): Likewise.
65607         (__add): Likewise.
65608         (__sub): Likewise.
65609         (__mul): Likewise.
65610         (__inv): Likewise.
65611         (__dvd): Likewise.
65613 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
65615         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
65616         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
65617         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
65618         2 && __USE_EXTERN_INLINES]: Likewise.
65620 2013-01-08  Andreas Jaeger  <aj@suse.de>
65622         [BZ# 14985]
65623         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
65624         Remove.
65625         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65626         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65628 2013-01-07  Anton Blanchard  <anton@samba.org>
65630         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
65631         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65632         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
65633         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65634         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
65635         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65636         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
65637         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65639         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65640         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65641         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65642         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65643         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65644         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
65645         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65646         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65647         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65648         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
65649         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
65650         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
65651         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
65652         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
65653         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
65654         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
65655         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
65656         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
65657         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65658         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
65659         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65660         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
65661         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65662         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65663         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65664         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65665         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
65666         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65667         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
65668         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
65669         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
65670         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
65671         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65672         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65674 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
65676         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
65677         (__MALLOC_PMT): Likewise.
65678         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
65679         [__GNUC__], only on [_LIBC].
65680         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65681         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
65682         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65683         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
65684         forward declaration.
65685         (realloc_hook_ini): Likewise.
65686         (memalign_hook_ini): Likewise.
65687         (__libc_memalign): Do not use __MALLOC_PMT in variable
65688         declaration.
65689         (__libc_valloc): Likewise.
65690         (__libc_pvalloc): Likewise.
65691         (__libc_calloc): Likewise.
65692         (__posix_memalign): Likewise.
65694         [BZ #14996]
65695         * math/s_casinh.c: Include <float.h>.
65696         (__casinh): Do not do computation with squaring and square root
65697         for large arguments.
65698         * math/s_casinhf.c: Include <float.h>.
65699         (__casinhf): Do not do computation with squaring and square root
65700         for large arguments.
65701         * math/s_casinhl.c: Include <float.h>.
65702         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
65703         (__casinhl): Do not do computation with squaring and square root
65704         for large arguments.
65705         * math/libm-test.inc (casin_test): Add more tests.
65706         (casinh_test): Likewise.
65707         * sysdeps/i386/fpu/libm-test-ulps: Update.
65708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65710 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
65712         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
65713         (__x86_64_raw_data_cache_size): Likewise.
65714         (__x86_64_data_cache_size_half): Likewise.
65715         (__x86_64_raw_data_cache_size_half): Likewise.
65716         (__x86_64_shared_cache_size): Likewise.
65717         (__x86_64_raw_shared_cache_size): Likewise.
65718         (__x86_64_shared_cache_size_half): Likewise.
65719         (__x86_64_raw_shared_cache_size_half): Likewise.
65720         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
65721         to ...
65722         (__x86_data_cache_size): This.
65723         (__x86_64_raw_data_cache_size): Renamed to ...
65724         (__x86_raw_data_cache_size): This.
65725         (__x86_64_data_cache_size_half): Renamed to ...
65726         (__x86_data_cache_size_half): This.
65727         (__x86_64_raw_data_cache_size_half): Renamed to ...
65728         (__x86_raw_data_cache_size_half): This.
65729         (__x86_64_shared_cache_size): Renamed to ...
65730         (__x86_shared_cache_size): This.
65731         (__x86_64_raw_shared_cache_size): Renamed to ...
65732         (__x86_raw_shared_cache_size): This.
65733         (__x86_64_shared_cache_size_half): Renamed to ...
65734         (__x86_shared_cache_size_half): This.
65735         (__x86_64_raw_shared_cache_size_half): Renamed to ...
65736         (__x86_raw_shared_cache_size_half): This.
65737         * sysdeps/x86_64/memcpy.S: Updated.
65738         * sysdeps/x86_64/memset.S: Likewise.
65739         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
65740         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
65741         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
65743 2013-01-04  David S. Miller  <davem@davemloft.net>
65745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65747 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
65749         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
65750         1 to avoid redefinition warning.
65751         (__USE_GNU): Don't define.
65752         (init_signaling_nan): Protoize.
65754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65756 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65758         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
65759         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
65760         (__cpymn): Likewise.
65761         (norm): Remove commented code.
65762         (denorm): Likewise.
65763         (__mp_dbl): Likewise.
65764         (__inv): Likewise.
65765         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
65766         (__cpymn): Likewise.
65767         (norm): Remove commented code.
65768         (denorm): Likewise.
65769         (__mp_dbl): Likewise.
65770         (__inv): Likewise.
65772         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
65773         mp_no value for 1.0 and 2.0.
65774         (norm): Use RADIXI instead of radixi.d.
65775         (denorm): Likewise.
65776         (__mul): Use 0.0 instead of zero.d.
65777         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
65778         mp_no value for 1.0 and 2.0.
65779         (norm): Use RADIXI instead of radixi.d.
65780         (denorm): Likewise.
65781         (__mul): Use 0.0 instead of zero.d.
65783 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
65785         [BZ #14994]
65786         * math/s_casinh.c (__casinh): Reduce finite argument to first
65787         quadrant then set signs of results at the end.
65788         * math/s_casinhf.c (__casinhf): Likewise.
65789         * math/s_casinhl.c (__casinhl): Likewise.
65790         * math/libm-test.inc (casin_test): Add more tests.
65791         (casinh_test): Likewise.
65792         * sysdeps/i386/fpu/libm-test-ulps: Update.
65793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65795 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65797         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
65799         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
65801         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
65802         declarations.
65803         (denorm): Likewise.
65804         (__mp_dbl): Likewise.
65805         (__inv): Likewise.
65807         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
65808         and adjust the header comment.
65810         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
65811         variable name from declaration.
65813 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
65815         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65816         Initialize COMMON_CPUID_INDEX_7 element.
65817         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
65818         (CPUID_RTM): Likewise.
65819         (HAS_RTM): Likewise.
65820         (COMMON_CPUID_INDEX_7): New enum.
65822 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
65824         [BZ #14981]
65825         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
65826         size is zero, record memory as freed.
65828 2013-01-03  Andreas Jaeger  <aj@suse.de>
65830         * po/ia.po: Add new Interlingua translation.
65832 2012-01-03  Allan McRae  <allan@archlinux.org>
65834         * locale/programs/localedef.c: Fix description of '--posix' flag.
65836 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
65838         * NEWS: Update dates in second copyright notice.
65839         * README: Update copyright dates in example.
65840         * manual/libc.texinfo: Update copyright dates.
65841         * scripts/test-installation.pl: Update copyright date in --version
65842         output.
65844         * hurd/ctty-input.c: Fix copyright notice formatting.
65845         * hurd/ctty-output.c: Likewise.
65846         * hurd/dtable.c: Likewise.
65847         * hurd/hurd-raise.c: Likewise.
65848         * hurd/hurdprio.c: Likewise.
65849         * hurd/msgportdemux.c: Likewise.
65850         * misc/sys/file.h: Likewise.
65851         * misc/sys/ioctl.h: Likewise.
65852         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
65853         * sysdeps/mach/hurd/chdir.c: Likewise.
65854         * sysdeps/mach/hurd/fchdir.c: Likewise.
65855         * sysdeps/mach/hurd/rename.c: Likewise.
65856         * sysdeps/mach/hurd/rmdir.c: Likewise.
65857         * sysdeps/mach/hurd/seekdir.c: Likewise.
65858         * sysdeps/mach/hurd/setsid.c: Likewise.
65859         * sysdeps/posix/wait3.c: Likewise.
65861         * All files with FSF copyright notices: Update copyright dates
65862         using scripts/update-copyrights.
65863         * intl/plural.c: Regenerated.
65864         * locale/programs/charmap-kw.h: Likewise.
65865         * locale/programs/locfile-kw.h: Likewise.
65867 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65869         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
65870         four values.
65872         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
65873         calculation loop and add branch prediction.
65875         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
65876         check access beyond bounds of m1np.
65878         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65879         MPTWO.
65880         (__inv): Remove local variable MPTWO to use the global
65881         constant.
65882         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
65883         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65884         variable MPTWO.
65885         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
65886         MP3HALFS static const.
65888 2013-01-01  David S. Miller  <davem@davemloft.net>
65890         * po/ca.po: Update from translation team.
65892 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
65894         * scripts/update-copyrights: New file.
65895         * Makeconfig: Reformat copyright notice.
65896         * ctype/ctype.h: Likewise.
65897         * debug/swprintf_chk.c: Likewise.
65898         * elf/dl-cache.c: Likewise.
65899         * elf/dl-debug.c: Likewise.
65900         * elf/dl-object.c: Likewise.
65901         * grp/initgroups.c: Likewise.
65902         * hurd/Makefile: Likewise.
65903         * hurd/hurd/signal.h: Likewise.
65904         * hurd/hurdfault.c: Likewise.
65905         * hurd/hurdioctl.c: Likewise.
65906         * hurd/hurdlookup.c: Likewise.
65907         * hurd/intr-msg.c: Likewise.
65908         * iconv/gconv_open.c: Likewise.
65909         * libio/swprintf.c: Likewise.
65910         * locale/lc-ctype.c: Likewise.
65911         * locale/nl_langinfo.c: Likewise.
65912         * mach/Machrules: Likewise.
65913         * mach/Makefile: Likewise.
65914         * malloc/obstack.h: Likewise.
65915         * manual/Makefile: Likewise.
65916         * manual/tsort.awk: Likewise.
65917         * misc/bits/stab.def: Likewise.
65918         * nis/nis_print_group_entry.c: Likewise.
65919         * nis/nis_table.c: Likewise.
65920         * nis/nss_compat/compat-pwd.c: Likewise.
65921         * nis/nss_compat/compat-spwd.c: Likewise.
65922         * po/Makefile: Likewise.
65923         * posix/fnmatch.c: Likewise.
65924         * posix/regex.h: Likewise.
65925         * resolv/Makefile: Likewise.
65926         * resolv/nss_dns/dns-network.c: Likewise.
65927         * resolv/res_hconf.c: Likewise.
65928         * scripts/gen-sorted.awk: Likewise.
65929         * soft-fp/soft-fp.h: Likewise.
65930         * stdio-common/printf.h: Likewise.
65931         * stdlib/monetary.h: Likewise.
65932         * stdlib/random.c: Likewise.
65933         * stdlib/random_r.c: Likewise.
65934         * sysdeps/generic/Makefile: Likewise.
65935         * sysdeps/gnu/Makefile: Likewise.
65936         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65937         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65938         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65939         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65940         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65941         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65942         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65943         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65944         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65945         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65946         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65947         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65948         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65949         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65950         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
65951         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65952         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65953         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65954         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65955         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65956         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65957         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65958         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65959         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65960         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
65961         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65962         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
65963         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
65964         * sysdeps/mach/hurd/errnos.awk: Likewise.
65965         * sysdeps/mach/hurd/fork.c: Likewise.
65966         * sysdeps/mach/hurd/getcwd.c: Likewise.
65967         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
65968         * sysdeps/mach/hurd/mmap.c: Likewise.
65969         * sysdeps/mach/hurd/utimes.c: Likewise.
65970         * sysdeps/mach/hurd/xmknod.c: Likewise.
65971         * sysdeps/posix/profil.c: Likewise.
65972         * sysdeps/posix/readdir_r.c: Likewise.
65973         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65974         * sysdeps/powerpc/bits/setjmp.h: Likewise.
65975         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
65976         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65977         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65978         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65979         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65980         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65981         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65982         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65983         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65984         * sysdeps/pthread/lio_listio.c: Likewise.
65985         * sysdeps/sparc/dl-procinfo.h: Likewise.
65986         * sysdeps/unix/i386/sysdep.S: Likewise.
65987         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
65988         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
65989         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
65990         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
65991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65992         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
65993         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
65994         * sysdeps/unix/sysv/linux/speed.c: Likewise.
65995         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
65996         * sysdeps/wordsize-32/divdi3.c: Likewise.
65997         * time/sys/time.h: Likewise.
65998         * wcsmbs/Makefile: Likewise.
66000 2013-01-01  David S. Miller  <davem@davemloft.net>
66002         * po/fr.po: Update from translation team.
66004         * catgets/gencat.c: Update copyright year.
66005         * csu/version.c: Likewise.
66006         * debug/catchsegv.sh: Likewise.
66007         * debug/pcprofiledump.c: Likewise.
66008         * debug/xtrace.sh: Likewise.
66009         * elf/ldconfig.c: Likewise.
66010         * elf/ldd.bash.in: Likewise.
66011         * elf/pldd.c: Likewise.
66012         * elf/sotruss.ksh: Likewise.
66013         * elf/sprof.c: Likewise.
66014         * iconv/iconv_prog.c: Likewise.
66015         * iconv/iconvconfig.c: Likewise.
66016         * locale/programs/locale.c: Likewise.
66017         * locale/programs/localedef.c: Likewise.
66018         * login/programs/pt_chown.c: Likewise.
66019         * malloc/memusage.sh: Likewise.
66020         * malloc/memusagestat.c: Likewise.
66021         * malloc/mtrace.pl: Likewise.
66022         * nscd/nscd.c: Likewise.
66023         * nss/getent.c: Likewise.
66024         * nss/makedb.c: Likewise.
66025         * posix/getconf.c: Likewise.
66027 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66029         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
66030         numbers.
66032 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
66034         * math/bits/mathcalls.h (modf): Use __nonnull.
66036 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66038         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
66039         (split): Use macro CN instead of the bare value.
66040         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
66041         could be used.
66042         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
66043         instead of the bare value.
66044         (power1): Likewise.
66046 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66048         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
66049         __ATAN_TWOM.
66050         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66052         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
66053         their values.
66054         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66055         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66056         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
66057         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66059 2012-12-28  Andreas Jaeger  <aj@suse.de>
66061         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
66062         values are from Linux 3.7.
66064         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
66065         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
66067 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66069         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
66070         TRUE case.
66072         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
66073         (norm): Likewise.
66074         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
66075         variables with preprocessor constants.
66076         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66077         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66078         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66080 2012-12-27  Bruno Haible  <bruno@clisp.org>
66082         [BZ #14317]
66083         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
66084         only if needed.
66086 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
66089         and use variable directly.
66090         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
66092         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66093         MPONE.
66094         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
66095         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66096         variable MPONE.
66097         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66098         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
66099         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
66100         include directive.  Remove local variable MPONE.
66101         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
66102         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
66103         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66105 2012-12-25  David S. Miller  <davem@davemloft.net>
66107         * version.h (RELEASE): Set to "development".
66108         (VERSION): Set to "2.17.90".
66109         * NEWS: Add 2.18 section.
66111 2012-12-21  David S. Miller  <davem@davemloft.net>
66113         * po/hr.po: Update from translation team.
66115 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66117         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
66119 2012-12-19  Steve Ellcey  <sellcey@mips.com>
66121         * NEWS:  Mention new memcpy for MIPS.
66123 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66125         * manual/contrib.texi (Contributors): Spelling correction.
66127 2012-12-15  David S. Miller  <davem@davemloft.net>
66129         * po/ru.po: Update from translation team.
66131 2012-12-13  David S. Miller  <davem@davemloft.net>
66133         * NEWS: Mention IFUNC testsuite enhancements.
66135         * po/pl.po: Update from translation team.
66136         * po/bg.po: Likewise.
66138         * manual/contrib.texi (Contributors): Update entries for Hongjiu
66139         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
66141 2012-12-11  David S. Miller  <davem@davemloft.net>
66143         * po/sv.po: Update from translation team.
66145         * po/vi.po: Update from translation team.
66147         * po/cs.po: Update from translation team.
66149         * po/de.po: Update from translation team.
66150         * po/eo.po: Likewise.
66151         * po/nl.po: Likewise.
66153 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
66155         [BZ #14246]
66156         * manual/argp.texi (Argp Helper Functions): Move node to follow
66157         Argp Parsing State.
66159         [BZ #14872]
66160         * manual/conf.texi (Limits on File System Capacity): Mention if
66161         terminating null is included in the max size.
66163 2012-12-10  Andreas Jaeger  <aj@suse.de>
66165         * po/cs.po: Update from translation team.
66167 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
66169         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
66170         void pointer and cast to uintptr_t.
66171         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
66172         path.
66173         * sysdeps/s390/s390-64/memcpy.S: Likewise.
66174         * sysdeps/s390/s390-64/memset.S: Likewise.
66176 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
66178         [BZ #14833]
66179         * menual/message.texi (Message Translation): Fix typos.
66180         (Helper programs for gettext): Likewise.
66182 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
66184         [BZ #14898]
66185         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
66186         Change to -1.
66188 2012-12-07  David S. Miller  <davem@davemloft.net>
66190         * po/libc.pot: Update.
66192 2012-12-07  Richard Henderson  <rth@redhat.com>
66194         [BZ #10114]
66195         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
66196         normal/normal case to before the switch.
66197         (_FP_DIV): Likewise.
66199 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
66200             Mike Frysinger  <vapier@gentoo.org>
66202         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
66203         check for __NR_fadvise64_64.
66205 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
66207         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
66208         0, not just to plain "0" as a statement.
66209         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
66210         with cw.
66212 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
66214         * NEWS: Use sourceware.org in Bugzilla URL.
66216 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
66218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
66219         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66221         * stdio-common/tst-put-error.c (do_test): Add newline to the
66222         padded test to ensure flush.
66224 2012-12-05  Jeff Law  <law@redhat.com>
66226         * sunrpc/etc.rpc (fedfs_admin): Add entry.
66228 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
66230         * README: Don't refer to ports add-on as distributed separately.
66231         Mention AArch64 in list of systems supported in the ports add-on.
66233         * LICENSES: Add more non-FSF copyright and license notices.
66235         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
66236         ((unused)).
66238         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
66240         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
66241         10000 as width of padded output.
66243 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
66245         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
66247         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
66248         variable LX with __attribute__ ((unused)).
66249         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
66250         Likewise.
66251         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
66252         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66253         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
66254         with __attribute__ ((unused)).
66256 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
66258         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
66260 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
66262         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
66263         (CFLAGS-nldbl-acos.c): New variable.
66264         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
66265         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
66266         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
66267         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
66268         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
66269         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
66270         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
66271         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
66272         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
66273         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
66274         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
66275         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
66276         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
66277         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
66278         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
66279         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
66280         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
66281         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
66282         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
66283         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
66284         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
66285         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
66286         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
66287         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
66288         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
66289         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
66290         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
66291         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
66292         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
66293         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
66294         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
66295         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
66296         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
66297         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
66298         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
66299         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
66300         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
66301         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
66302         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
66303         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
66304         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
66305         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
66306         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
66307         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
66308         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
66309         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
66310         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
66311         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
66312         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
66313         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
66314         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
66315         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
66316         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
66317         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
66318         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
66319         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
66320         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
66321         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
66322         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
66323         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
66324         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
66325         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
66326         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
66327         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
66328         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
66329         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
66330         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
66331         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
66332         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
66333         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
66334         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
66335         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
66336         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
66337         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
66338         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
66339         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
66340         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
66341         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
66342         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
66343         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
66344         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
66345         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
66346         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
66347         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
66348         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
66349         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
66350         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
66351         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
66352         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
66353         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
66354         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
66355         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
66356         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
66357         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
66358         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
66359         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
66360         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
66362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66363         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66365         [BZ #14914]
66366         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
66367         whole low double instead of just low 47 bits when splitting values
66368         into two parts.
66370 2012-12-03  Allan McRae  <allan@archlinux.org>
66372         * manual/stdio.texi (Predefined Printf Handlers): Remove
66373         @hsep and @vsep usage.
66375 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
66377         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
66378         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
66380 2012-12-03  Jeff Law  <law@redhat.com>
66382         * time/sys/time.h (settimeofday): Do not mark TV argument
66383         as __nonnull.
66385 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
66387         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
66388         when currently writing and seek to current position when not.
66389         * libio/Makefile (tests): Remove bug-fclose1.
66390         * libio/bug-fclose1.c: Delete.
66392 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
66394         * manual/arith.texi (feenableexcept): Fix typo.
66395         (fedisableexcept): Likewise.
66397 2012-11-30  Roland McGrath  <roland@hack.frob.com>
66399         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
66400         second, differently-typed declaration, rather than a cast.
66402 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66404         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
66405         * include/rpc/svc.h: ... here.
66407 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
66409         [BZ #13013]
66410         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
66411         depending n and resplen2 to catch cases where answer
66412         equals answerp2.
66414 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
66416         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
66417         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
66419 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
66421         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
66423 2012-11-29  Roland McGrath  <roland@hack.frob.com>
66425         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
66427 2012-11-28  Jeff Law  <law@redhat.com>
66429         [BZ #13761]
66430         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
66431         dataset_temporary.  Track alloca usage into alloca_used.
66432         If dataset is large allocate and release it via malloc/free.
66434 2012-06-04  Florian Weimer  <fweimer@redhat.com>
66436         [BZ #14197]
66437         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
66439 2012-11-28  David S. Miller  <davem@davemloft.net>
66441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66443 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66445         [BZ #14803]
66446         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
66447         of pi/2 rounded to nearest to 64 bits.
66448         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
66449         nearest to 64 bits.
66450         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
66451         bits.
66453 2012-11-28  Jeff Law <law@redhat.com>
66454             Martin Osvald <mosvald@redhat.com>
66456         [BZ #14889]
66457         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
66458         * sunrpc/svc.c: Include time.h.
66459         (__svc_accept_failed): New function.
66460         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
66461         any reason other than EINTR, call __svc_accept_failed.
66462         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
66463         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
66465 2012-11-28  Andreas Schwab  <schwab@suse.de>
66467         * scripts/abilist.awk: Also handle indirect functions in .opd
66468         section.
66470 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66472         [BZ #13881]
66473         * sysdeps/x86/fpu/powl_helper.c: New file.
66474         * sysdeps/x86/fpu/Makefile: Likewise.
66475         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
66476         (p3): New object.
66477         (__ieee754_powl): Use __powl_helper for finite arguments except
66478         integer exponents below 8.
66479         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
66480         (p3): New object.
66481         (__ieee754_powl): Use __powl_helper for finite arguments except
66482         integer exponents below 8.
66483         * math/libm-test.inc (pow_test): Add more tests and enable some
66484         previously disabled tests.
66485         * sysdeps/i386/fpu/libm-test-ulps: Update.
66486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66488 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66489             Carlos O'Donell  <carlos_odonell@mentor.com>
66491         * nss/makedb.c (is_prime): Assert that input is odd and greater
66492         than 4.  Note that fact in a comment too.
66493         (next_prime): Add 4 to input.
66495 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66497         [BZ #11741]
66498         * libio/Makefile (tests): Add test case tst-fwrite-error.
66499         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
66500         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
66501         * libio/tst-fwrite-error.c: New test case.
66503 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
66505         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
66506         before casting to void *.
66507         * include/libc-internal.h (__pointer_type): New macro.
66508         (__integer_if_pointer_type_sub): Likewise.
66509         (__integer_if_pointer_type): Likewise.
66510         (cast_to_integer): Likewise.
66511         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
66512         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
66513         before casting to atomic64_t.
66514         (atomic_exchange_acq): Likewise.
66515         (__arch_exchange_and_add_body): Likewise.
66516         (__arch_add_body): Likewise.
66517         (atomic_add_negative): Likewise.
66518         (atomic_add_zero): Likewise.
66520 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
66522         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
66523         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
66524         (add_fdes): Likewise.
66525         (linear_search_fdes): Likewise.
66526         (binary_search_unencoded_fdes): Likewise.
66528 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
66530         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
66532 2012-11-24  Adam Conrad  <adconrad@0c3.net>
66534         * configure.in: Autodetect C++ header directories.
66535         * configure: Regenerated.
66537 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
66539         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
66541 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
66543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66545 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
66547         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
66548         LDBL_MANT_DIG == 106]: Disable some tests.
66549         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66550         Likewise.
66551         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66552         Likewise.
66554         [BZ #14871]
66555         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
66556         input for small inputs.  Return +/- pi/2 for large inputs.
66557         * math/libm-test.inc (atan_test): Add more tests.
66559         * sysdeps/generic/unwind-dw2-fde-glibc.c
66560         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
66561         __attribute__ ((unused)).
66563         [BZ #14645]
66564         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
66565         x * y if x and y are nonzero and z is zero.
66567         [BZ #14811]
66568         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
66569         nonzero exponents with absolute value below 0x1p-117 to +/-
66570         0x1p-117.
66572         [BZ #14869]
66573         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
66574         up arguments below 2**-450, not just those below 2**-500.
66575         * math/libm-test.inc (hypot_test): Add another test.
66577         [BZ #14868]
66578         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
66579         Return a+b for ratio over 2**120, not 2**60.
66580         * math/libm-test.inc (hypot_test): Add another test.
66582         * math/libm-test.inc (clog_test): Use
66583         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
66584         (clog10_test): Likewise.
66586         [BZ #6778]
66587         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
66589 2012-11-22  Andreas Schwab  <schwab@suse.de>
66591         * sysdeps/i386/fpu/libm-test-ulps: Update.
66593 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
66595         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
66596         printf output with newline.
66598 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
66600         [BZ #14865]
66601         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
66602         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
66603         -z nodlopen, -z initfirst and -z execstack support.
66604         * configure: Regenerated.
66606         * elf/elf.h (DF_1_NODIRECT): New macro.
66607         (DF_1_IGNMULDEF): Likewise.
66608         (DF_1_NOKSYMS): Likewise.
66609         (DF_1_NOHDR): Likewise.
66610         (DF_1_EDITED): Likewise.
66611         (DF_1_NORELOC): Likewise.
66612         (DF_1_SYMINTPOSE): Likewise.
66613         (DF_1_GLOBAUDIT): Likewise.
66614         (DF_1_SINGLETON): Likewise.
66615         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
66616         DT_1_SUPPORTED_MASK bits.
66617         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
66619 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
66621         * sysdeps/unix/make-syscalls.sh: Document prefixes.
66623 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
66625         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
66626         macro.
66628         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
66629         (sendmmsg): Move declarations...
66630         * socket/sys/socket.h: ... here.
66631         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
66632         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
66633         include it from...
66634         * socket/recvmmsg.c: ... this new file.
66635         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
66636         (sendmmsg): Rename to __sendmmsg, create weak alias and make
66637         definition of __sendmmsg hidden.
66638         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
66639         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
66640         Move ENOSYS stub into and include it from...
66641         * socket/sendmmsg.c: ... this new file.
66642         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
66643         (sysdep_routines): Move recvmmsg and sendmmsg...
66644         * socket/Makefile (routines): ... here.
66645         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
66646         (GLIBC_PRIVATE): Add __sendmmsg.
66647         * include/sys/socket.h (__sendmmsg): Add declarations.
66648         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
66649         sendmmsg.
66651 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
66653         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
66654         variable I1 with __attribute__ ((unused)).
66655         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66657 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66659         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
66660         DUMMY variables with __attribute__ ((unused)).
66662         * bits/byteswap.h: Include <bits/types.h>.
66663         (__bswap_64): Use __uint64_t instead of unsigned long long int.
66665 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66667         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
66668         string_t.  Do not manually set errno.
66669         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
66670         length with __strnlen.  Make sure to both set errno and return it on
66671         failure.
66673 2012-11-19  David S. Miller  <davem@davemloft.net>
66675         With help from Joseph Myers.
66676         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
66677         very large arguments properly.
66678         * math/libm-test.inc (atan_test): New tests.
66679         (atan2_test): New tests.
66680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66681         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66683 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66685         [BZ #14856]
66686         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
66687         Define to 3.
66689         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
66690         [POSIX] (EADDRNOTAVAIL): Likewise.
66691         [POSIX] (EAFNOSUPPORT): Likewise.
66692         [POSIX] (EALREADY): Likewise.
66693         [POSIX] (ECONNABORTED): Likewise.
66694         [POSIX] (ECONNREFUSED): Likewise.
66695         [POSIX] (ECONNRESET): Likewise.
66696         [POSIX] (EDESTADDRREQ): Likewise.
66697         [POSIX] (EDQUOT): Likewise.
66698         [POSIX] (EHOSTUNREACH): Likewise.
66699         [POSIX] (EIDRM): Likewise.
66700         [POSIX] (EISCONN): Likewise.
66701         [POSIX] (ELOOP): Likewise.
66702         [POSIX] (EMULTIHOP): Likewise.
66703         [POSIX] (ENETDOWN): Likewise.
66704         [POSIX] (ENETUNREACH): Likewise.
66705         [POSIX] (ENOBUFS): Likewise.
66706         [POSIX] (ENODATA): Likewise.
66707         [POSIX] (ENOLINK): Likewise.
66708         [POSIX] (ENOMSG): Likewise.
66709         [POSIX] (ENOPROTOOPT): Likewise.
66710         [POSIX] (ENOSR): Likewise.
66711         [POSIX] (ENOSTR): Likewise.
66712         [POSIX] (ENOTCONN): Likewise.
66713         [POSIX] (ENOTSOCK): Likewise.
66714         [POSIX] (EOPNOTSUPP): Likewise.
66715         [POSIX] (EOVERFLOW): Likewise.
66716         [POSIX] (EPROTO): Likewise.
66717         [POSIX] (EPROTONOSUPPORT): Likewise.
66718         [POSIX] (EPROTOTYPE): Likewise.
66719         [POSIX] (ESTALE): Likewise.
66720         [POSIX] (ETIME): Likewise.
66721         [POSIX] (ETXTBSY): Likewise.
66722         [POSIX] (EWOULDBLOCK): Likewise.
66723         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
66724         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
66725         [POSIX] (SEEK_CUR): Likewise.
66726         [POSIX] (SEEK_END): Likewise.
66727         [POSIX || UNIX98] (mode_t): Do not require.
66728         [POSIX] (off_t): Likewise.
66729         [POSIX] (pid_t): Likewise.
66730         [POSIX] (sys/stat.h): Do not allow header.
66731         [POSIX] (unistd.h): Likewise.
66732         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
66733         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
66734         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
66735         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
66736         require.
66737         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
66738         sigevent): Specify elements.
66739         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
66740         entry.
66741         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
66742         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
66744         * conform/data/cpio.h-data [POSIX]: Disable whole file.
66745         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
66746         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
66747         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
66748         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
66749         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
66750         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
66751         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
66752         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
66753         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
66754         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
66755         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
66756         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
66757         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
66758         Likewise.
66759         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
66760         Likewise.
66761         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
66762         Likewise.
66763         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
66764         Likewise.
66765         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
66766         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
66767         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
66768         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
66769         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
66770         Specify lower bound on value.
66771         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
66772         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
66773         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
66774         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
66775         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
66776         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
66777         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
66778         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
66779         value.
66780         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
66781         as optional.
66782         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
66783         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
66784         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
66785         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
66786         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
66787         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
66788         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
66789         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
66790         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
66791         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
66792         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
66793         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
66794         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
66795         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
66796         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
66797         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
66798         entry.
66799         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
66800         optional.
66801         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
66802         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
66803         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
66804         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
66805         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
66806         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
66807         Likewise.
66808         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
66809         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
66810         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
66811         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
66812         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
66813         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
66814         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
66815         as optional.
66816         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
66817         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
66818         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
66819         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
66820         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
66821         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
66822         specify as optional.
66823         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
66824         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
66825         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
66826         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
66827         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
66828         [XPG3] (NL_LANGMAX): Likewise.
66829         [POSIX || XPG3] (NL_MSGMAX): Likewise.
66830         [POSIX || XPG3] (NL_NMAX): Likewise.
66831         [POSIX || XPG3] (NL_SETMAX): Likewise.
66832         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
66833         [XPG3] (NZERO): Likewise.
66834         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
66835         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
66836         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
66837         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
66838         (REG_ERANGE): Expect.
66839         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
66840         optional-constant.
66841         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
66842         Use (void) in prototype.
66843         [POSIX] (*_t): Allow.
66844         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
66845         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
66846         (WRDE_BADVAL): Expect.
66848         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
66849         expect.
66850         [XPG3 || XPG4] (O_RSYNC): Likewise.
66851         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
66852         Likewise.
66853         [XPG3 || XPG4] (pthread_sigmask): Likewise.
66854         [XPG3 || XPG4] (sigqueue): Likewise.
66855         [XPG3 || XPG4] (sigtimedwait): Likewise.
66856         [XPG3 || XPG4] (sigwaitinfo): Likewise.
66857         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
66858         [XPG3 || XPG4] (vsnprintf): Likewise.
66859         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
66860         Likewise.
66861         [XPG3 || XPG4] (blksize_t): Likewise.
66862         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
66863         Likewise.
66864         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
66865         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
66866         [XPG3 || XPG4] (struct itimerspec): Likewise.
66867         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
66868         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
66869         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
66870         [XPG3 || XPG4] (clockid_t): Likewise.
66871         [XPG3 || XPG4] (timer_t): Likewise.
66872         [XPG3 || XPG4] (clock_getres): Likewise.
66873         [XPG3 || XPG4] (clock_gettime): Likewise.
66874         [XPG3 || XPG4] (clock_settime): Likewise.
66875         [XPG3 || XPG4] (nanosleep): Likewise.
66876         [XPG3 || XPG4] (timer_create): Likewise.
66877         [XPG3 || XPG4] (timer_delete): Likewise.
66878         [XPG3 || XPG4] (timer_gettime): Likewise.
66879         [XPG3 || XPG4] (timer_getoverrun): Likewise.
66880         [XPG3 || XPG4] (timer_settime): Likewise.
66881         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
66882         [XPG3 || XPG4] (getlogin_r): Likewise.
66883         [XPG3 || XPG4] (pread): Likewise.
66884         [XPG3 || XPG4] (pthread_atfork): Likewise.
66885         [XPG3 || XPG4] (pwrite): Likewise.
66887         [BZ #14835]
66888         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
66889         <bits/siginfo.h>.
66891 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66893         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
66894         finalizing MALLSTREAM.
66896         * sysdeps/mach/hurd/syncfs.c: New file.
66898 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66900         [BZ #14719]
66901         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
66902         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
66903         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
66904         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
66905         (_nss_dns_gethostbyname4_r): Likewise.
66906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
66907         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
66909 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
66911         [BZ #13763]
66912         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
66914 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
66916         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
66917         * elf/cache.c (print_entry): Print ",AArch64" for
66918         FLAG_AARCH64_LIB64
66920         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
66921         * elf/cache.c (print_entry): Print ",hard-float" for
66922         FLAG_ARM_LIBHF.
66924 2012-11-18  David S. Miller  <davem@davemloft.net>
66926         With help from Joseph Myers.
66927         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
66928         cutoff to 2**-13.
66929         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
66930         cutoff to 2**-25.
66931         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
66932         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
66933         small.
66934         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
66935         * math/libm-test.inc (y0_test): New tests.
66936         (y1_test): New tests.
66937         * sysdeps/i386/fpu/libm-test-ulps: Update.
66938         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66941 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
66943         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
66944         64-bit targets.
66945         * configure: Regenerated.
66947 2012-11-17  David S. Miller  <davem@davemloft.net>
66949         [BZ #14811]
66950         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
66951         nonzero exponents with absolute value below 0x1p-128 to +/-
66952         0x1p-128.
66954 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
66956         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
66958         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
66960         * posix/getconf-speclist.c: New file.
66961         * posix/posix-envs.def: Likewise.
66962         * posix/confstr.c (START_ENV_GROUP): New macro.
66963         (END_ENV_GROUP): Likewise.
66964         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66965         (KNOWN_PRESENT_ENV_STRING): Likewise.
66966         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66967         (UNKNOWN_ENVIRONMENT): Likewise.
66968         (confstr): Include posix-envs.def instead of handling
66969         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
66970         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
66971         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
66972         (END_ENV_GROUP): Likewise.
66973         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66974         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66975         (UNKNOWN_ENVIRONMENT): Likewise.
66976         (__sysconf): Include posix-envs.def instead of handling associated
66977         cases directly here.
66978         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
66979         preprocessing getconf-speclist.c rather than running getconf or
66980         generating empty file.
66982 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
66984         * scripts/check-local-headers.sh: Ignore 'mach' headers.
66986 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
66988         [BZ #14672]
66989         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
66991 2012-11-16  David S. Miller  <davem@davemloft.net>
66993         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
66994         smaller than LDBL_EPSILON/2.0L, just return xm1.
66996 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
66998         * elf/tst-array1.c (init): Set constructor priority to 1000.
66999         (fini): Set destructor priority to 1000.
67000         * elf/tst-array2dep.c: Likewise.
67002 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67004         [BZ #11741]
67005         * libio/fileops.c (_IO_new_file_write): Correctly return error.
67006         (_IO_new_file_xsputn): Also return EOF if none of the input
67007         data was written when overflow failed.
67008         * libio/iopadn.c (_IO_padn): Likewise.
67009         * libio/iowpadn.c (_IO_wpadn): Likewise.
67010         * stdio-common/tst-put-error.c: Add copyright notice.
67011         (do_test): Add case for printing padded string.
67012         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
67013         _IO_padn returned error.
67014         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
67015         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
67016         return EOF.
67018 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67020         * libio/libioP.h: Add comment note that the references to C++
67021         bits are now obsolete.
67023 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67025         * math/libm-test.inc (check_complex): Use asprintf.
67027 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
67029         * debug/pcprofiledump.c (print_version): Update copyright year.
67030         * malloc/memusagestat.c (print_version): Likewise.
67032 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
67034         [BZ #14831]
67035         * elf/Makefile (tests): Add tst-audit8.
67036         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
67037         ($(objpfx)tst-audit8.out): New target.
67038         (tst-audit8-ENV): New variable.
67039         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
67040         audit if l_reloc_result is NULL.
67041         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
67042         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
67043         * elf/tst-audit8.c: New file.
67045 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67047         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
67048         * misc/Makefile (CFLAGS-select.c): Define.
67049         * posix/Makefile (CFLAGS-pause.c): Define.
67051 2012-11-13  David S. Miller  <davem@davemloft.net>
67053         * crypt/Makefile: Move test targets after toplevel Rules
67054         inclusion.  Grab any necessary sysdep routines when linking.
67055         * crypt/md5.c (md5_process_block): Remove define, we will always
67056         name it __md5_process_block.
67057         (md5_finish_ctx): Update md5_process_block call.
67058         (md5_stream): Likewise.
67059         (md5_process_bytes): Likewise.
67060         (md5_process_block): Rename to __md5_process_block and move to ...
67061         * crypt/md5-block.c: ... here.
67062         * crypt/sha256.c (sha256_process_block): Move to ...
67063         * crypt/sha256-block.c: ... here.
67064         * crypt/sha512.c (sha512_process_block): Move to ...
67065         * crypt/sha512-block.c: ... here.
67066         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
67067         path.
67068         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
67069         * sysdeps/sparc/sparc64/multiarch/Makefile
67070         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
67071         crypt subdir.
67072         (localedef-aux): Add md5 crypto assembler when in locale subdir.
67073         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
67074         multiarch changes.
67075         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
67076         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
67077         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
67078         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
67079         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
67080         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
67081         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
67082         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
67083         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
67084         file.
67085         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
67086         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
67087         file.
67088         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
67090 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
67092         * timezone/tzselect.ksh: Update from tzcode git revision
67093         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
67094         * timezone/zdump.c: Likewise.
67095         * timezone/zic.c: Likewise.
67096         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
67097         in TZVERSION setting, not $(PKGVERSION).
67098         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
67099         REPORT_BUGS_TO settings.
67101         [BZ #14838]
67102         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
67103         macro.
67105 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67107         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
67108         detection to immediately after _FP_ROUND().
67109         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
67110         bits are 0.
67112 2012-11-11  David S. Miller  <davem@davemloft.net>
67114         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
67115         inttypes.h
67116         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
67117         __close rather than their public counterparts.
67119 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
67121         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
67122         file.
67123         [UNIX98] (sem_timedwait): Do not expect.
67124         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
67125         [XPG4 || UNIX98] (sockatmark): Do not expect.
67126         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
67127         (clock_getcpuclockid): Do not expect.
67128         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
67129         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
67130         Do not expect.
67131         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
67132         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
67133         [UNIX98] (vwscanf): Likewise.
67134         [UNIX98] (vswscanf): Likewise.
67136 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
67138         * timezone/version.h: Remove file.
67139         * timezone/README: Do not refer to version.h.
67140         * timezone/Makefile ($(objpfx)zic.o): New dependency on
67141         $(objpfx)version.h.
67142         ($(objpfx)zdump.o): Likewise.
67143         ($(objpfx)version.h): New target.
67145         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
67146         2012i.
67147         * timezone/README: Don't mention modification to tzselect.ksh.
67148         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
67149         work on unmodified tzselect.ksh.  Substitute version numbers in
67150         tzselect.ksh.
67152         * Makefile (format-me): Remove.
67153         (INSTALL): Adjust indentation.  Use commands directly instead of
67154         using $(format-me).
67156         * aclocal.m4 (ACX_PKGVERSION): New macro.
67157         (ACX_BUGURL): Likewise.
67158         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
67159         (PKGVERSION): New AC_DEFINE_UNQUOTED.
67160         (REPORT_BUGS_TO): Likewise.
67161         * configure: Regenerated.
67162         * config.h.in (PKGVERSION): New macro.
67163         (REPORT_BUGS_TO): Likewise.
67164         * config.make.in (PKGVERSION): New variable.
67165         (PKGVERSION_TEXI): Likewise.
67166         (REPORT_BUGS_TO): Likewise.
67167         (REPORT_BUGS_TEXI): Likewise.
67168         * Makefile (format-me): Use -I$(common-objpfx)manual.
67169         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
67170         ($(common-objpfx)manual/%): New target.
67171         (manual/%): Remove target.
67172         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
67173         (print_version): Use PKGVERSION.
67174         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
67175         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
67176         and REPORT_BUGS_TO.
67177         ($(objpfx)xtrace): Likewise.
67178         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
67179         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
67180         (print_version): Use PKGVERSION.
67181         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
67182         (do_version): Use PKGVERSION.
67183         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
67184         REPORT_BUGS_TO.
67185         (common-ldd-rewrite): Likewise.
67186         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
67187         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
67188         (print_version): Use PKGVERSION.
67189         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
67190         * elf/pldd.c (argp_program_bug_address): Remove variable.
67191         (more_help): New function.
67192         (argp): Use more_help.
67193         (print_version): Use PKGVERSION.
67194         * elf/sln.c (main): Use PKGVERSION.
67195         (usage): Use REPORT_BUGS_TO.
67196         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
67197         (top level): Use PKGVERSION.
67198         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
67199         (print_version): Use PKGVERSION.
67200         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
67201         (print_version): Use PKGVERSION.
67202         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
67203         (print_version): Use PKGVERSION.
67204         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
67205         (print_version): Use PKGVERSION.
67206         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
67207         (print_version): Use PKGVERSION.
67208         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
67209         (print_version): Use PKGVERSION.
67210         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
67211         and BUGURL.
67212         ($(objpfx)memusage): Likewise.
67213         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
67214         (do_version): Use PKGVERSION.
67215         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
67216         (print_version): Use PKGVERSION.
67217         * malloc/mtrace.pl ($PACKAGE): Remove variable.
67218         ($PKGVERSION): New variable.
67219         ($REPORT_BUGS_TO): Likewise.
67220         (usage): Use $REPORT_BUGS_TO.
67221         (top level): Use $PKGVERSION.
67222         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
67223         ($(objpfx)pkgvers.texi): New rule.
67224         ($(objpfx)stamp-pkgvers): Likewise.
67225         * manual/install.texi: Include pkgvers.texi.
67226         (--with-pkgversion): Document new configure option.
67227         (--with-bugurl): Likewise.
67228         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
67229         than necessarily for this particular distribution.  Use
67230         REPORT_BUGS_TO for where to report bugs.
67231         * INSTALL: Regenerated.
67232         * manual/libc.texinfo: Include pkgvers.texi.
67233         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
67234         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
67235         (print_version): Use PKGVERSION.
67236         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
67237         (print_version): Use PKGVERSION.
67238         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
67239         (print_version): Use PKGVERSION.
67240         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
67241         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
67242         macro.
67243         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
67244         (print_version): Use PKGVERSION.
67245         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
67246         (print_version): Use PKGVERSION.
67247         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
67248         and PKGVERSION.
67250         * timezone/checktab.awk: Update from tzcode 2012i.
67251         * timezone/ialloc.c: Likewise.
67252         * timezone/private.h: Likewise.
67253         * timezone/scheck.c: Likewise.
67254         * timezone/tzfile.h: Likewise.
67255         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
67256         (TZVERSION): Hardcode tzcode version number.
67257         * timezone/zdump.c: Update from tzcode 2012i.
67258         * timezone/zic.c: Likewise.
67259         * timezone/version.h: New file.
67260         * timezone/README: Describe version.h.  Update upstream location.
67262         [BZ #14824]
67263         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
67264         (mktemp): Enable declaration.
67265         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
67266         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
67267         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
67268         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
67269         Likewise.
67270         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
67271         Likewise.
67272         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
67273         Likewise.
67274         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
67275         Likewise.
67276         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
67277         Likewise.
67278         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
67279         Likewise.
67281         [BZ #14821]
67282         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
67283         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
67284         for copies of such integer values.
67285         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
67286         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
67288 2012-11-09  Andreas Jaeger  <aj@suse.de>
67290         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
67291         definitions and declarations that are provided by
67292         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
67294 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67296         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
67297         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
67298         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
67299         definition.
67301 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67303         * elf/elf.h: Update comment before AArch64 relocations.
67305 2012-11-07  David S. Miller  <davem@davemloft.net>
67307         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
67308         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67309         (__start_context): Declare.
67310         (__makecontext_ret): Delete.
67311         (__makecontext): Hook up __start_context instead of
67312         __makecontext_ret.
67313         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
67314         (sysdep_routines): Add __start_context when in stdlib.
67316 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67318         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
67319         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
67320         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
67321         hardcoded "nm".
67322         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
67323         (READELF): New variable.  Use it instead of hardcoded "readelf".
67325 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67327         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
67328         * sysdeps/x86/Makefile: Here.
67329         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
67330         * sysdeps/x86/tst-xmmymm.sh: This.
67332 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67334         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
67335         expectations.
67336         [UNIX98] (pthread_barrier_t): Do not expect.
67337         [UNIX98] (pthread_barrierattr_t): Likewise.
67338         [UNIX98] (pthread_spinlock_t): Likewise.
67339         [UNIX98] (pthread_barrier_destroy): Likewise.
67340         [UNIX98] (pthread_barrier_init): Likewise.
67341         [UNIX98] (pthread_barrier_wait): Likewise.
67342         [UNIX98] (pthread_barrierattr_destroy): Likewise.
67343         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
67344         [UNIX98] (pthread_barrierattr_init): Likewise.
67345         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
67346         [UNIX98] (pthread_getcpuclockid): Likewise.
67347         [UNIX98] (pthread_mutex_timedlock): Likewise.
67348         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
67349         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
67350         [UNIX98] (pthread_sigmask): Likewise.
67351         [UNIX98] (pthread_spin_destroy): Likewise.
67352         [UNIX98] (pthread_spin_init): Likewise.
67353         [UNIX98] (pthread_spin_lock): Likewise.
67354         [UNIX98] (pthread_spin_trylock): Likewise.
67355         [UNIX98] (pthread_spin_unlock): Likewise.
67356         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
67357         Do not expect.
67358         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
67359         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
67360         [XPG3 || XPG4] (pthread_cond_t): Likewise.
67361         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
67362         [XPG3 || XPG4] (pthread_key_t): Likewise.
67363         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
67364         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
67365         [XPG3 || XPG4] (pthread_once_t): Likewise.
67366         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
67367         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
67368         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
67369         [XPG3 || XPG4] (pthread_t): Likewise.
67371         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
67372         not expect.
67373         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
67375         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
67376         Change function return type to int.
67378         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
67379         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
67380         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
67381         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
67382         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
67383         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
67384         [!POSIX] (posix_madvise): Likewise.
67385         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
67386         && !UNIX98].
67387         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
67388         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
67389         (mode_t): Likewise.
67390         (posix_mem_offset): Likewise.
67391         (posix_typed_mem_get_info): Likewise.
67392         (posix_typed_mem_open): Likewise.
67394         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
67395         Change condition to [XOPEN2K8].
67397         * conform/conformtest.pl: Preprocess allow-header data with -x c
67398         instead of from stdin.
67399         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
67400         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
67401         [C99-based standards] (cerfc): Likewise.
67402         [C99-based standards] (cexp2): Likewise.
67403         [C99-based standards] (cexpm1): Likewise.
67404         [C99-based standards] (clog10): Likewise.
67405         [C99-based standards] (clog1p): Likewise.
67406         [C99-based standards] (clog2): Likewise.
67407         [C99-based standards] (clgamma): Likewise.
67408         [C99-based standards] (ctgamma): Likewise.
67409         [C99-based standards] (cerff): Likewise.
67410         [C99-based standards] (cerfcf): Likewise.
67411         [C99-based standards] (cexp2f): Likewise.
67412         [C99-based standards] (cexpm1f): Likewise.
67413         [C99-based standards] (clog10f): Likewise.
67414         [C99-based standards] (clog1pf): Likewise.
67415         [C99-based standards] (clog2f): Likewise.
67416         [C99-based standards] (clgammaf): Likewise.
67417         [C99-based standards] (ctgammaf): Likewise.
67418         [C99-based standards] (cerfl): Likewise.
67419         [C99-based standards] (cerfcl): Likewise.
67420         [C99-based standards] (cexp2l): Likewise.
67421         [C99-based standards] (cexpm1l): Likewise.
67422         [C99-based standards] (clog10l): Likewise.
67423         [C99-based standards] (clog1pl): Likewise.
67424         [C99-based standards] (clog2l): Likewise.
67425         [C99-based standards] (clgammal): Likewise.
67426         [C99-based standards] (ctgammal): Likewise.
67427         * conform/data/inttypes.h-data [C99-based standards]: Include
67428         stdint.h-data.  Remove all expectations for stdint.h contents.
67429         [C99-based standards] (PRI*): Do not allow.
67430         [C99-based standards] (SCN*): Likewise.
67431         [C99-based standards] (*_t): Likewise.
67432         [C99-based-standards] (PRId8): Expect macro.
67433         [C99-based-standards] (PRIi8): Likewise.
67434         [C99-based-standards] (PRIo8): Likewise.
67435         [C99-based-standards] (PRIu8): Likewise.
67436         [C99-based-standards] (PRIx8): Likewise.
67437         [C99-based-standards] (PRIX8): Likewise.
67438         [C99-based-standards] (SCNd8): Likewise.
67439         [C99-based-standards] (SCNi8): Likewise.
67440         [C99-based-standards] (SCNo8): Likewise.
67441         [C99-based-standards] (SCNu8): Likewise.
67442         [C99-based-standards] (SCNx8): Likewise.
67443         [C99-based-standards] (PRIdLEAST8): Likewise.
67444         [C99-based-standards] (PRIiLEAST8): Likewise.
67445         [C99-based-standards] (PRIoLEAST8): Likewise.
67446         [C99-based-standards] (PRIuLEAST8): Likewise.
67447         [C99-based-standards] (PRIxLEAST8): Likewise.
67448         [C99-based-standards] (PRIXLEAST8): Likewise.
67449         [C99-based-standards] (SCNdLEAST8): Likewise.
67450         [C99-based-standards] (SCNiLEAST8): Likewise.
67451         [C99-based-standards] (SCNoLEAST8): Likewise.
67452         [C99-based-standards] (SCNuLEAST8): Likewise.
67453         [C99-based-standards] (SCNxLEAST8): Likewise.
67454         [C99-based-standards] (PRIdFAST8): Likewise.
67455         [C99-based-standards] (PRIiFAST8): Likewise.
67456         [C99-based-standards] (PRIoFAST8): Likewise.
67457         [C99-based-standards] (PRIuFAST8): Likewise.
67458         [C99-based-standards] (PRIxFAST8): Likewise.
67459         [C99-based-standards] (PRIXFAST8): Likewise.
67460         [C99-based-standards] (SCNdFAST8): Likewise.
67461         [C99-based-standards] (SCNiFAST8): Likewise.
67462         [C99-based-standards] (SCNoFAST8): Likewise.
67463         [C99-based-standards] (SCNuFAST8): Likewise.
67464         [C99-based-standards] (SCNxFAST8): Likewise.
67465         [C99-based-standards] (PRId16): Likewise.
67466         [C99-based-standards] (PRIi16): Likewise.
67467         [C99-based-standards] (PRIo16): Likewise.
67468         [C99-based-standards] (PRIu16): Likewise.
67469         [C99-based-standards] (PRIx16): Likewise.
67470         [C99-based-standards] (PRIX16): Likewise.
67471         [C99-based-standards] (SCNd16): Likewise.
67472         [C99-based-standards] (SCNi16): Likewise.
67473         [C99-based-standards] (SCNo16): Likewise.
67474         [C99-based-standards] (SCNu16): Likewise.
67475         [C99-based-standards] (SCNx16): Likewise.
67476         [C99-based-standards] (PRIdLEAST16): Likewise.
67477         [C99-based-standards] (PRIiLEAST16): Likewise.
67478         [C99-based-standards] (PRIoLEAST16): Likewise.
67479         [C99-based-standards] (PRIuLEAST16): Likewise.
67480         [C99-based-standards] (PRIxLEAST16): Likewise.
67481         [C99-based-standards] (PRIXLEAST16): Likewise.
67482         [C99-based-standards] (SCNdLEAST16): Likewise.
67483         [C99-based-standards] (SCNiLEAST16): Likewise.
67484         [C99-based-standards] (SCNoLEAST16): Likewise.
67485         [C99-based-standards] (SCNuLEAST16): Likewise.
67486         [C99-based-standards] (SCNxLEAST16): Likewise.
67487         [C99-based-standards] (PRIdFAST16): Likewise.
67488         [C99-based-standards] (PRIiFAST16): Likewise.
67489         [C99-based-standards] (PRIoFAST16): Likewise.
67490         [C99-based-standards] (PRIuFAST16): Likewise.
67491         [C99-based-standards] (PRIxFAST16): Likewise.
67492         [C99-based-standards] (PRIXFAST16): Likewise.
67493         [C99-based-standards] (SCNdFAST16): Likewise.
67494         [C99-based-standards] (SCNiFAST16): Likewise.
67495         [C99-based-standards] (SCNoFAST16): Likewise.
67496         [C99-based-standards] (SCNuFAST16): Likewise.
67497         [C99-based-standards] (SCNxFAST16): Likewise.
67498         [C99-based-standards] (PRId32): Likewise.
67499         [C99-based-standards] (PRIi32): Likewise.
67500         [C99-based-standards] (PRIo32): Likewise.
67501         [C99-based-standards] (PRIu32): Likewise.
67502         [C99-based-standards] (PRIx32): Likewise.
67503         [C99-based-standards] (PRIX32): Likewise.
67504         [C99-based-standards] (SCNd32): Likewise.
67505         [C99-based-standards] (SCNi32): Likewise.
67506         [C99-based-standards] (SCNo32): Likewise.
67507         [C99-based-standards] (SCNu32): Likewise.
67508         [C99-based-standards] (SCNx32): Likewise.
67509         [C99-based-standards] (PRIdLEAST32): Likewise.
67510         [C99-based-standards] (PRIiLEAST32): Likewise.
67511         [C99-based-standards] (PRIoLEAST32): Likewise.
67512         [C99-based-standards] (PRIuLEAST32): Likewise.
67513         [C99-based-standards] (PRIxLEAST32): Likewise.
67514         [C99-based-standards] (PRIXLEAST32): Likewise.
67515         [C99-based-standards] (SCNdLEAST32): Likewise.
67516         [C99-based-standards] (SCNiLEAST32): Likewise.
67517         [C99-based-standards] (SCNoLEAST32): Likewise.
67518         [C99-based-standards] (SCNuLEAST32): Likewise.
67519         [C99-based-standards] (SCNxLEAST32): Likewise.
67520         [C99-based-standards] (PRIdFAST32): Likewise.
67521         [C99-based-standards] (PRIiFAST32): Likewise.
67522         [C99-based-standards] (PRIoFAST32): Likewise.
67523         [C99-based-standards] (PRIuFAST32): Likewise.
67524         [C99-based-standards] (PRIxFAST32): Likewise.
67525         [C99-based-standards] (PRIXFAST32): Likewise.
67526         [C99-based-standards] (SCNdFAST32): Likewise.
67527         [C99-based-standards] (SCNiFAST32): Likewise.
67528         [C99-based-standards] (SCNoFAST32): Likewise.
67529         [C99-based-standards] (SCNuFAST32): Likewise.
67530         [C99-based-standards] (SCNxFAST32): Likewise.
67531         [C99-based-standards] (PRId64): Likewise.
67532         [C99-based-standards] (PRIi64): Likewise.
67533         [C99-based-standards] (PRIo64): Likewise.
67534         [C99-based-standards] (PRIu64): Likewise.
67535         [C99-based-standards] (PRIx64): Likewise.
67536         [C99-based-standards] (PRIX64): Likewise.
67537         [C99-based-standards] (SCNd64): Likewise.
67538         [C99-based-standards] (SCNi64): Likewise.
67539         [C99-based-standards] (SCNo64): Likewise.
67540         [C99-based-standards] (SCNu64): Likewise.
67541         [C99-based-standards] (SCNx64): Likewise.
67542         [C99-based-standards] (PRIdLEAST64): Likewise.
67543         [C99-based-standards] (PRIiLEAST64): Likewise.
67544         [C99-based-standards] (PRIoLEAST64): Likewise.
67545         [C99-based-standards] (PRIuLEAST64): Likewise.
67546         [C99-based-standards] (PRIxLEAST64): Likewise.
67547         [C99-based-standards] (PRIXLEAST64): Likewise.
67548         [C99-based-standards] (SCNdLEAST64): Likewise.
67549         [C99-based-standards] (SCNiLEAST64): Likewise.
67550         [C99-based-standards] (SCNoLEAST64): Likewise.
67551         [C99-based-standards] (SCNuLEAST64): Likewise.
67552         [C99-based-standards] (SCNxLEAST64): Likewise.
67553         [C99-based-standards] (PRIdFAST64): Likewise.
67554         [C99-based-standards] (PRIiFAST64): Likewise.
67555         [C99-based-standards] (PRIoFAST64): Likewise.
67556         [C99-based-standards] (PRIuFAST64): Likewise.
67557         [C99-based-standards] (PRIxFAST64): Likewise.
67558         [C99-based-standards] (PRIXFAST64): Likewise.
67559         [C99-based-standards] (SCNdFAST64): Likewise.
67560         [C99-based-standards] (SCNiFAST64): Likewise.
67561         [C99-based-standards] (SCNoFAST64): Likewise.
67562         [C99-based-standards] (SCNuFAST64): Likewise.
67563         [C99-based-standards] (SCNxFAST64): Likewise.
67564         [C99-based-standards] (PRIdMAX): Likewise.
67565         [C99-based-standards] (PRIiMAX): Likewise.
67566         [C99-based-standards] (PRIoMAX): Likewise.
67567         [C99-based-standards] (PRIuMAX): Likewise.
67568         [C99-based-standards] (PRIxMAX): Likewise.
67569         [C99-based-standards] (PRIXMAX): Likewise.
67570         [C99-based-standards] (SCNdMAX): Likewise.
67571         [C99-based-standards] (SCNiMAX): Likewise.
67572         [C99-based-standards] (SCNoMAX): Likewise.
67573         [C99-based-standards] (SCNuMAX): Likewise.
67574         [C99-based-standards] (SCNxMAX): Likewise.
67575         [C99-based-standards] (PRIdPTR): Likewise.
67576         [C99-based-standards] (PRIiPTR): Likewise.
67577         [C99-based-standards] (PRIoPTR): Likewise.
67578         [C99-based-standards] (PRIuPTR): Likewise.
67579         [C99-based-standards] (PRIxPTR): Likewise.
67580         [C99-based-standards] (PRIXPTR): Likewise.
67581         [C99-based-standards] (SCNdPTR): Likewise.
67582         [C99-based-standards] (SCNiPTR): Likewise.
67583         [C99-based-standards] (SCNoPTR): Likewise.
67584         [C99-based-standards] (SCNuPTR): Likewise.
67585         [C99-based-standards] (SCNxPTR): Likewise.
67586         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
67587         allow.
67588         * conform/data/stdint.h-data: Update comments to clarify
67589         requirements.
67590         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
67591         type.
67592         [C99-based standards] (INT8_MAX): Likewise.
67593         [C99-based standards] (INT16_MIN): Likewise.
67594         [C99-based standards] (INT16_MAX): Likewise.
67595         [C99-based standards] (INT32_MIN): Likewise.
67596         [C99-based standards] (INT32_MAX): Likewise.
67597         [C99-based standards] (INT64_MIN): Likewise.
67598         [C99-based standards] (INT64_MAX): Likewise.
67599         [C99-based standards] (UINT8_MAX): Likewise.
67600         [C99-based standards] (UINT16_MAX): Likewise.
67601         [C99-based standards] (UINT32_MAX): Likewise.
67602         [C99-based standards] (UINT64_MAX): Likewise.
67603         [C99-based standards] (INT_LEAST8_MIN): Likewise.
67604         [C99-based standards] (INT_LEAST8_MAX): Likewise.
67605         [C99-based standards] (INT_LEAST16_MIN): Likewise.
67606         [C99-based standards] (INT_LEAST16_MAX): Likewise.
67607         [C99-based standards] (INT_LEAST32_MIN): Likewise.
67608         [C99-based standards] (INT_LEAST32_MAX): Likewise.
67609         [C99-based standards] (INT_LEAST64_MIN): Likewise.
67610         [C99-based standards] (INT_LEAST64_MAX): Likewise.
67611         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
67612         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
67613         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
67614         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
67615         [C99-based standards] (INT_FAST8_MIN): Likewise.
67616         [C99-based standards] (INT_FAST8_MAX): Likewise.
67617         [C99-based standards] (INT_FAST16_MIN): Likewise.
67618         [C99-based standards] (INT_FAST16_MAX): Likewise.
67619         [C99-based standards] (INT_FAST32_MIN): Likewise.
67620         [C99-based standards] (INT_FAST32_MAX): Likewise.
67621         [C99-based standards] (INT_FAST64_MIN): Likewise.
67622         [C99-based standards] (INT_FAST64_MAX): Likewise.
67623         [C99-based standards] (UINT_FAST8_MAX): Likewise.
67624         [C99-based standards] (UINT_FAST16_MAX): Likewise.
67625         [C99-based standards] (UINT_FAST32_MAX): Likewise.
67626         [C99-based standards] (UINT_FAST64_MAX): Likewise.
67627         [C99-based standards] (INTPTR_MIN): Likewise.
67628         [C99-based standards] (INTPTR_MAX): Likewise.
67629         [C99-based standards] (UINTPTR_MAX): Likewise.
67630         [C99-based standards] (INTMAX_MIN): Likewise.
67631         [C99-based standards] (INTMAX_MAX): Likewise.
67632         [C99-based standards] (UINTMAX_MAX): Likewise.
67633         [C99-based standards] (PTRDIFF_MIN): Likewise.
67634         [C99-based standards] (PTRDIFF_MAX): Likewise.
67635         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
67636         [C99-based standards] (SIZE_MAX): Likewise.
67637         [C99-based standards] (WCHAR_MAX): Likewise.
67638         [C99-based standards] (WINT_MAX): Likewise.
67639         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
67640         constraint on value.
67641         [C99-based standards] (WCHAR_MIN): Likewise.
67642         [C99-based standards] (WINT_MIN): Likewise.
67643         [C99-based standards] (*_t): Allow.
67644         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
67645         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
67646         Include math.h-data and complex.h-data.  Remove all expectations
67647         of math.h and complex.h contents.
67648         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
67649         at end of line.
67650         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
67651         (struct tm): Expect tag.
67652         [C99-based-standards] (wcstof): Expect function.
67653         [C99-based-standards] (wcstold): Likewise.
67654         [C99-based-standards] (wcstoll): Likewise.
67655         [C99-based-standards] (wcstoull): Likewise.
67656         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
67657         macro-int-constant.  Specify type.
67658         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
67659         constraint on value.
67660         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67661         Specify type.
67662         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
67663         Specify value.
67664         [ISO C standards]: Do not allow headers.
67665         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
67666         wcs[abcdefghijklmnopqrstuvwxyz]*.
67667         [ISO C standards] (*_t): Do not allow.
67668         * conform/data/wctype.h-data [C99-based standards] (iswblank):
67669         Expect function.
67670         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
67671         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67672         Specify type.
67673         [ISO C standards]: Do not allow headers.
67674         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
67675         is[abcdefghijklmnopqrstuvwxyz]*.
67676         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
67677         to[abcdefghijklmnopqrstuvwxyz]*.
67678         [ISO C standards] (*_t): Do not allow.
67679         * conform/data/stdalign.h-data: New file.
67680         * conform/data/stdbool.h-data: Likewise.
67681         * conform/data/stdnoreturn.h-data: Likewise.
67683 2012-11-07  Roland McGrath  <roland@hack.frob.com>
67685         [BZ #14815]
67686         * manual/filesys.texi (Directory Entries): Typo fix.
67687         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
67689 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67691         * elf/elf.h (EM_AARCH64): New macro.
67692         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
67693         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
67694         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
67695         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
67696         (R_AARCH64_TLSDESC): Likewise.
67697         (NT_ARM_TLS): Likewise.
67698         (NT_ARM_HW_BREAK): Likewise.
67699         (NT_ARM_HW_WATCH): Likewise.
67701 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67703         [BZ #14811]
67704         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
67705         (__ieee754_powl): Saturate nonzero exponents with absolute value
67706         below 0x1p-79 to +/- 0x1p-79.
67707         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
67708         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
67709         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
67710         nonzero exponents with absolute value below 0x1p-32 to +/-
67711         0x1p-32.
67712         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
67713         (__ieee754_powl): Saturate nonzero exponents with absolute value
67714         below 0x1p-79 to +/- 0x1p-79.
67715         * math/libm-test.inc (pow_test): Add more tests.
67717 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67719         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
67720         _dl_s390_cap_flags with kernel. Increase string length.
67721         (_dl_s390_platforms): Add z196 and zEC12.
67723 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67725         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
67726         Change XOPEN21K to XOPEN2K.
67728 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
67730         * string/memmove.c: Use memcpy when possible.
67732 2012-11-06  Andreas Jaeger  <aj@suse.de>
67734         * po/eo.po: Update from translation team.
67736 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
67738         [BZ #14793]
67739         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
67740         exponent and small x and y exponents, scale x or y up.  Increase
67741         by 2 the exponent used in scaling up.
67742         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67743         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67744         * math/libm-test.inc (fma_test): Add more tests.
67745         (fma_test_towardzero): Likewise.
67746         (fma_test_downward): Likewise.
67747         (fma_test_upward): Likewise.
67749 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
67751         [BZ #14805]
67752         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
67753         fenv_t *.
67755         [BZ #14801]
67756         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
67757         namespace for names of struct fields.
67758         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
67759         fenv_t fields.
67760         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
67761         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
67763 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67765         [BZ #3665]
67766         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
67768 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67770         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
67771         PTR_DEMANGLE.
67773         [BZ #5246]
67774         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
67775         PTR_DEMANGLE.
67777 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
67779         [BZ #14797]
67780         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
67781         definitely overflow as x * y not x * y + z.
67782         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67783         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67784         * math/libm-test.inc (fma_test): Add more tests.
67785         (fma_test_towardzero): Likewise.
67786         (fma_test_downward): Likewise.
67787         (fma_test_upward): Likewise.
67789 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67791         [BZ #157]
67793         * include/stub-tag.h: Remove file.
67794         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
67795         '#include' of it.
67796         * manual/maint.texi (Porting): Don't reference it.
67797         * Makerules ($(objpfx)stubs): Likewise.
67798         * dirent/closedir.c: Don't include <stub-tag.h>.
67799         * dirent/dirfd.c: Likewise.
67800         * dirent/fdopendir.c: Likewise.
67801         * dirent/getdents.c: Likewise.
67802         * dirent/getdents64.c: Likewise.
67803         * dirent/opendir.c: Likewise.
67804         * dirent/readdir.c: Likewise.
67805         * dirent/readdir64.c: Likewise.
67806         * dirent/readdir64_r.c: Likewise.
67807         * dirent/readdir_r.c: Likewise.
67808         * dirent/rewinddir.c: Likewise.
67809         * dirent/seekdir.c: Likewise.
67810         * dirent/telldir.c: Likewise.
67811         * gmon/profil.c: Likewise.
67812         * grp/setgroups.c: Likewise.
67813         * inet/if_index.c: Likewise.
67814         * io/access.c: Likewise.
67815         * io/chdir.c: Likewise.
67816         * io/chmod.c: Likewise.
67817         * io/chown.c: Likewise.
67818         * io/close.c: Likewise.
67819         * io/dup.c: Likewise.
67820         * io/dup2.c: Likewise.
67821         * io/dup3.c: Likewise.
67822         * io/euidaccess.c: Likewise.
67823         * io/faccessat.c: Likewise.
67824         * io/fchdir.c: Likewise.
67825         * io/fchmod.c: Likewise.
67826         * io/fchmodat.c: Likewise.
67827         * io/fchown.c: Likewise.
67828         * io/fchownat.c: Likewise.
67829         * io/fcntl.c: Likewise.
67830         * io/flock.c: Likewise.
67831         * io/fstatfs.c: Likewise.
67832         * io/fstatfs64.c: Likewise.
67833         * io/fstatvfs.c: Likewise.
67834         * io/fstatvfs64.c: Likewise.
67835         * io/futimens.c: Likewise.
67836         * io/fxstat.c: Likewise.
67837         * io/fxstat64.c: Likewise.
67838         * io/fxstatat.c: Likewise.
67839         * io/fxstatat64.c: Likewise.
67840         * io/getcwd.c: Likewise.
67841         * io/isatty.c: Likewise.
67842         * io/lchmod.c: Likewise.
67843         * io/lchown.c: Likewise.
67844         * io/link.c: Likewise.
67845         * io/linkat.c: Likewise.
67846         * io/lseek.c: Likewise.
67847         * io/lseek64.c: Likewise.
67848         * io/lxstat64.c: Likewise.
67849         * io/mkdir.c: Likewise.
67850         * io/mkdirat.c: Likewise.
67851         * io/mkfifo.c: Likewise.
67852         * io/mkfifoat.c: Likewise.
67853         * io/open.c: Likewise.
67854         * io/open64.c: Likewise.
67855         * io/openat.c: Likewise.
67856         * io/openat64.c: Likewise.
67857         * io/pipe.c: Likewise.
67858         * io/pipe2.c: Likewise.
67859         * io/poll.c: Likewise.
67860         * io/posix_fadvise.c: Likewise.
67861         * io/posix_fadvise64.c: Likewise.
67862         * io/posix_fallocate.c: Likewise.
67863         * io/posix_fallocate64.c: Likewise.
67864         * io/read.c: Likewise.
67865         * io/readlink.c: Likewise.
67866         * io/readlinkat.c: Likewise.
67867         * io/rmdir.c: Likewise.
67868         * io/sendfile.c: Likewise.
67869         * io/sendfile64.c: Likewise.
67870         * io/statfs.c: Likewise.
67871         * io/statfs64.c: Likewise.
67872         * io/statvfs.c: Likewise.
67873         * io/statvfs64.c: Likewise.
67874         * io/symlink.c: Likewise.
67875         * io/symlinkat.c: Likewise.
67876         * io/ttyname.c: Likewise.
67877         * io/ttyname_r.c: Likewise.
67878         * io/umask.c: Likewise.
67879         * io/unlink.c: Likewise.
67880         * io/unlinkat.c: Likewise.
67881         * io/utime.c: Likewise.
67882         * io/utimensat.c: Likewise.
67883         * io/write.c: Likewise.
67884         * io/xmknod.c: Likewise.
67885         * io/xmknodat.c: Likewise.
67886         * io/xstat.c: Likewise.
67887         * io/xstat64.c: Likewise.
67888         * login/getpt.c: Likewise.
67889         * login/grantpt.c: Likewise.
67890         * login/unlockpt.c: Likewise.
67891         * math/e_acoshl.c: Likewise.
67892         * math/e_acosl.c: Likewise.
67893         * math/e_asinl.c: Likewise.
67894         * math/e_atan2l.c: Likewise.
67895         * math/e_atanhl.c: Likewise.
67896         * math/e_coshl.c: Likewise.
67897         * math/e_expl.c: Likewise.
67898         * math/e_fmodl.c: Likewise.
67899         * math/e_gammal_r.c: Likewise.
67900         * math/e_hypotl.c: Likewise.
67901         * math/e_j0l.c: Likewise.
67902         * math/e_j1l.c: Likewise.
67903         * math/e_jnl.c: Likewise.
67904         * math/e_lgammal_r.c: Likewise.
67905         * math/e_log10l.c: Likewise.
67906         * math/e_log2l.c: Likewise.
67907         * math/e_logl.c: Likewise.
67908         * math/e_powl.c: Likewise.
67909         * math/e_rem_pio2l.c: Likewise.
67910         * math/e_sinhl.c: Likewise.
67911         * math/e_sqrtl.c: Likewise.
67912         * math/fclrexcpt.c: Likewise.
67913         * math/fedisblxcpt.c: Likewise.
67914         * math/feenablxcpt.c: Likewise.
67915         * math/fegetenv.c: Likewise.
67916         * math/fegetexcept.c: Likewise.
67917         * math/fegetround.c: Likewise.
67918         * math/feholdexcpt.c: Likewise.
67919         * math/fesetenv.c: Likewise.
67920         * math/fesetround.c: Likewise.
67921         * math/feupdateenv.c: Likewise.
67922         * math/fgetexcptflg.c: Likewise.
67923         * math/fraiseexcpt.c: Likewise.
67924         * math/fsetexcptflg.c: Likewise.
67925         * math/ftestexcept.c: Likewise.
67926         * math/k_cosl.c: Likewise.
67927         * math/k_rem_pio2l.c: Likewise.
67928         * math/k_sinl.c: Likewise.
67929         * math/k_tanl.c: Likewise.
67930         * math/s_asinhl.c: Likewise.
67931         * math/s_atanl.c: Likewise.
67932         * math/s_cbrtl.c: Likewise.
67933         * math/s_erfl.c: Likewise.
67934         * math/s_expm1l.c: Likewise.
67935         * math/s_log1pl.c: Likewise.
67936         * math/s_tanhl.c: Likewise.
67937         * misc/acct.c: Likewise.
67938         * misc/brk.c: Likewise.
67939         * misc/chflags.c: Likewise.
67940         * misc/chroot.c: Likewise.
67941         * misc/fchflags.c: Likewise.
67942         * misc/fgetxattr.c: Likewise.
67943         * misc/flistxattr.c: Likewise.
67944         * misc/fremovexattr.c: Likewise.
67945         * misc/fsetxattr.c: Likewise.
67946         * misc/fsync.c: Likewise.
67947         * misc/ftruncate.c: Likewise.
67948         * misc/futimes.c: Likewise.
67949         * misc/futimesat.c: Likewise.
67950         * misc/getdomain.c: Likewise.
67951         * misc/getdtsz.c: Likewise.
67952         * misc/gethostid.c: Likewise.
67953         * misc/gethostname.c: Likewise.
67954         * misc/getloadavg.c: Likewise.
67955         * misc/getpagesize.c: Likewise.
67956         * misc/getsysstats.c: Likewise.
67957         * misc/getxattr.c: Likewise.
67958         * misc/gtty.c: Likewise.
67959         * misc/ioctl.c: Likewise.
67960         * misc/lgetxattr.c: Likewise.
67961         * misc/listxattr.c: Likewise.
67962         * misc/llistxattr.c: Likewise.
67963         * misc/lremovexattr.c: Likewise.
67964         * misc/lsetxattr.c: Likewise.
67965         * misc/lutimes.c: Likewise.
67966         * misc/madvise.c: Likewise.
67967         * misc/mincore.c: Likewise.
67968         * misc/mlock.c: Likewise.
67969         * misc/mlockall.c: Likewise.
67970         * misc/mmap.c: Likewise.
67971         * misc/mprotect.c: Likewise.
67972         * misc/msync.c: Likewise.
67973         * misc/munlock.c: Likewise.
67974         * misc/munlockall.c: Likewise.
67975         * misc/munmap.c: Likewise.
67976         * misc/preadv.c: Likewise.
67977         * misc/preadv64.c: Likewise.
67978         * misc/ptrace.c: Likewise.
67979         * misc/pwritev.c: Likewise.
67980         * misc/pwritev64.c: Likewise.
67981         * misc/readv.c: Likewise.
67982         * misc/reboot.c: Likewise.
67983         * misc/remap_file_pages.c: Likewise.
67984         * misc/removexattr.c: Likewise.
67985         * misc/revoke.c: Likewise.
67986         * misc/select.c: Likewise.
67987         * misc/setdomain.c: Likewise.
67988         * misc/setegid.c: Likewise.
67989         * misc/seteuid.c: Likewise.
67990         * misc/sethostid.c: Likewise.
67991         * misc/sethostname.c: Likewise.
67992         * misc/setregid.c: Likewise.
67993         * misc/setreuid.c: Likewise.
67994         * misc/setxattr.c: Likewise.
67995         * misc/sstk.c: Likewise.
67996         * misc/stty.c: Likewise.
67997         * misc/swapoff.c: Likewise.
67998         * misc/swapon.c: Likewise.
67999         * misc/sync.c: Likewise.
68000         * misc/syncfs.c: Likewise.
68001         * misc/syscall.c: Likewise.
68002         * misc/truncate.c: Likewise.
68003         * misc/ualarm.c: Likewise.
68004         * misc/usleep.c: Likewise.
68005         * misc/ustat.c: Likewise.
68006         * misc/utimes.c: Likewise.
68007         * misc/vhangup.c: Likewise.
68008         * misc/writev.c: Likewise.
68009         * posix/_exit.c: Likewise.
68010         * posix/alarm.c: Likewise.
68011         * posix/execve.c: Likewise.
68012         * posix/fexecve.c: Likewise.
68013         * posix/fork.c: Likewise.
68014         * posix/fpathconf.c: Likewise.
68015         * posix/getaddrinfo.c: Likewise.
68016         * posix/getegid.c: Likewise.
68017         * posix/geteuid.c: Likewise.
68018         * posix/getgid.c: Likewise.
68019         * posix/getgroups.c: Likewise.
68020         * posix/getlogin.c: Likewise.
68021         * posix/getlogin_r.c: Likewise.
68022         * posix/getpgid.c: Likewise.
68023         * posix/getpid.c: Likewise.
68024         * posix/getppid.c: Likewise.
68025         * posix/getresgid.c: Likewise.
68026         * posix/getresuid.c: Likewise.
68027         * posix/getsid.c: Likewise.
68028         * posix/getuid.c: Likewise.
68029         * posix/glob64.c: Likewise.
68030         * posix/nanosleep.c: Likewise.
68031         * posix/pathconf.c: Likewise.
68032         * posix/pause.c: Likewise.
68033         * posix/posix_madvise.c: Likewise.
68034         * posix/pread.c: Likewise.
68035         * posix/pread64.c: Likewise.
68036         * posix/pwrite.c: Likewise.
68037         * posix/pwrite64.c: Likewise.
68038         * posix/sched_getaffinity.c: Likewise.
68039         * posix/sched_getp.c: Likewise.
68040         * posix/sched_gets.c: Likewise.
68041         * posix/sched_primax.c: Likewise.
68042         * posix/sched_primin.c: Likewise.
68043         * posix/sched_rr_gi.c: Likewise.
68044         * posix/sched_setaffinity.c: Likewise.
68045         * posix/sched_setp.c: Likewise.
68046         * posix/sched_sets.c: Likewise.
68047         * posix/sched_yield.c: Likewise.
68048         * posix/setgid.c: Likewise.
68049         * posix/setlogin.c: Likewise.
68050         * posix/setpgid.c: Likewise.
68051         * posix/setresgid.c: Likewise.
68052         * posix/setresuid.c: Likewise.
68053         * posix/setsid.c: Likewise.
68054         * posix/setuid.c: Likewise.
68055         * posix/sleep.c: Likewise.
68056         * posix/spawni.c: Likewise.
68057         * posix/sysconf.c: Likewise.
68058         * posix/times.c: Likewise.
68059         * posix/wait.c: Likewise.
68060         * posix/wait3.c: Likewise.
68061         * posix/wait4.c: Likewise.
68062         * posix/waitpid.c: Likewise.
68063         * resolv/gai_sigqueue.c: Likewise.
68064         * resource/getpriority.c: Likewise.
68065         * resource/getrlimit.c: Likewise.
68066         * resource/getrusage.c: Likewise.
68067         * resource/nice.c: Likewise.
68068         * resource/setpriority.c: Likewise.
68069         * resource/setrlimit.c: Likewise.
68070         * resource/ulimit.c: Likewise.
68071         * rt/aio_cancel.c: Likewise.
68072         * rt/aio_fsync.c: Likewise.
68073         * rt/aio_read.c: Likewise.
68074         * rt/aio_sigqueue.c: Likewise.
68075         * rt/aio_suspend.c: Likewise.
68076         * rt/aio_write.c: Likewise.
68077         * rt/clock_getres.c: Likewise.
68078         * rt/clock_gettime.c: Likewise.
68079         * rt/clock_nanosleep.c: Likewise.
68080         * rt/clock_settime.c: Likewise.
68081         * rt/lio_listio.c: Likewise.
68082         * rt/mq_close.c: Likewise.
68083         * rt/mq_getattr.c: Likewise.
68084         * rt/mq_notify.c: Likewise.
68085         * rt/mq_open.c: Likewise.
68086         * rt/mq_receive.c: Likewise.
68087         * rt/mq_send.c: Likewise.
68088         * rt/mq_setattr.c: Likewise.
68089         * rt/mq_timedreceive.c: Likewise.
68090         * rt/mq_timedsend.c: Likewise.
68091         * rt/mq_unlink.c: Likewise.
68092         * rt/shm_open.c: Likewise.
68093         * rt/shm_unlink.c: Likewise.
68094         * rt/timer_create.c: Likewise.
68095         * rt/timer_delete.c: Likewise.
68096         * rt/timer_getoverr.c: Likewise.
68097         * rt/timer_gettime.c: Likewise.
68098         * rt/timer_settime.c: Likewise.
68099         * setjmp/__longjmp.c: Likewise.
68100         * setjmp/setjmp.c: Likewise.
68101         * signal/kill.c: Likewise.
68102         * signal/killpg.c: Likewise.
68103         * signal/raise.c: Likewise.
68104         * signal/sigaction.c: Likewise.
68105         * signal/sigaltstack.c: Likewise.
68106         * signal/sigblock.c: Likewise.
68107         * signal/sigignore.c: Likewise.
68108         * signal/sigintr.c: Likewise.
68109         * signal/signal.c: Likewise.
68110         * signal/sigpause.c: Likewise.
68111         * signal/sigpending.c: Likewise.
68112         * signal/sigqueue.c: Likewise.
68113         * signal/sigreturn.c: Likewise.
68114         * signal/sigset.c: Likewise.
68115         * signal/sigsetmask.c: Likewise.
68116         * signal/sigstack.c: Likewise.
68117         * signal/sigsuspend.c: Likewise.
68118         * signal/sigtimedwait.c: Likewise.
68119         * signal/sigvec.c: Likewise.
68120         * signal/sigwait.c: Likewise.
68121         * signal/sigwaitinfo.c: Likewise.
68122         * signal/sysv_signal.c: Likewise.
68123         * socket/accept.c: Likewise.
68124         * socket/accept4.c: Likewise.
68125         * socket/bind.c: Likewise.
68126         * socket/connect.c: Likewise.
68127         * socket/getpeername.c: Likewise.
68128         * socket/getsockname.c: Likewise.
68129         * socket/getsockopt.c: Likewise.
68130         * socket/isfdtype.c: Likewise.
68131         * socket/listen.c: Likewise.
68132         * socket/recv.c: Likewise.
68133         * socket/recvfrom.c: Likewise.
68134         * socket/recvmsg.c: Likewise.
68135         * socket/send.c: Likewise.
68136         * socket/sendmsg.c: Likewise.
68137         * socket/sendto.c: Likewise.
68138         * socket/setsockopt.c: Likewise.
68139         * socket/shutdown.c: Likewise.
68140         * socket/sockatmark.c: Likewise.
68141         * socket/socket.c: Likewise.
68142         * socket/socketpair.c: Likewise.
68143         * stdio-common/ctermid.c: Likewise.
68144         * stdio-common/cuserid.c: Likewise.
68145         * stdio-common/remove.c: Likewise.
68146         * stdio-common/rename.c: Likewise.
68147         * stdio-common/renameat.c: Likewise.
68148         * stdio-common/tempname.c: Likewise.
68149         * stdlib/getcontext.c: Likewise.
68150         * stdlib/makecontext.c: Likewise.
68151         * stdlib/setcontext.c: Likewise.
68152         * stdlib/swapcontext.c: Likewise.
68153         * stdlib/system.c: Likewise.
68154         * streams/fattach.c: Likewise.
68155         * streams/fdetach.c: Likewise.
68156         * streams/getmsg.c: Likewise.
68157         * streams/getpmsg.c: Likewise.
68158         * streams/putmsg.c: Likewise.
68159         * streams/putpmsg.c: Likewise.
68160         * sysdeps/unix/bsd/getpt.c: Likewise.
68161         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
68162         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
68163         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
68164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68165         Likewise.
68166         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
68167         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68168         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
68169         * sysvipc/msgctl.c: Likewise.
68170         * sysvipc/msgget.c: Likewise.
68171         * sysvipc/msgrcv.c: Likewise.
68172         * sysvipc/msgsnd.c: Likewise.
68173         * sysvipc/semctl.c: Likewise.
68174         * sysvipc/semget.c: Likewise.
68175         * sysvipc/semop.c: Likewise.
68176         * sysvipc/semtimedop.c: Likewise.
68177         * sysvipc/shmat.c: Likewise.
68178         * sysvipc/shmctl.c: Likewise.
68179         * sysvipc/shmdt.c: Likewise.
68180         * sysvipc/shmget.c: Likewise.
68181         * termios/tcdrain.c: Likewise.
68182         * termios/tcflow.c: Likewise.
68183         * termios/tcflush.c: Likewise.
68184         * termios/tcgetattr.c: Likewise.
68185         * termios/tcgetpgrp.c: Likewise.
68186         * termios/tcsendbrk.c: Likewise.
68187         * termios/tcsetattr.c: Likewise.
68188         * termios/tcsetpgrp.c: Likewise.
68189         * time/adjtime.c: Likewise.
68190         * time/clock.c: Likewise.
68191         * time/getitimer.c: Likewise.
68192         * time/gettimeofday.c: Likewise.
68193         * time/setitimer.c: Likewise.
68194         * time/settimeofday.c: Likewise.
68195         * time/stime.c: Likewise.
68196         * time/time.c: Likewise.
68198 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
68200         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
68201         /usr/old/bin.
68203         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
68204         instead of spaces.
68205         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
68207 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
68209         [BZ #14796]
68210         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
68211         FE_TONEAREST before applying Dekker multiplication and Knuth
68212         addition.  Clear inexact exceptions and check for exact zero
68213         results afterwards.
68214         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68215         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
68216         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68217         * math/libm-test.inc (fma_test): Add more tests.
68218         (fma_test_towardzero): Likewise.
68219         (fma_test_downward): Likewise.
68220         (fma_test_upward): Likewise.
68221         * sysdeps/generic/math_private.h (default_libc_fesetround): New
68222         function.
68223         (libc_fesetround): New macro.
68224         (libc_fesetroundf): Likewise.
68225         (libc_fesetroundl): Likewise.
68226         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
68227         function.
68228         (libc_fesetround_387): Likewise.
68229         (libc_fesetroundf): New macro.
68230         (libc_fesetround): Likewise.
68231         (libc_fesetroundl): Likewise.
68232         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
68233         function.
68234         (libc_fesetroundf): New macro.
68235         (libc_fesetround): Likewise.
68236         (libc_fesetroundl): Likewise.
68237         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
68238         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
68239         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
68240         libm_hidden_ver.
68241         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
68242         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
68243         libm_hidden_def.
68244         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
68245         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
68246         libm_hidden_ver.
68247         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
68248         libm_hidden_def.
68250         [BZ #3439]
68251         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
68252         integer constant usable in #if and use that to give value to enum
68253         constant.
68254         (FE_DIVBYZERO): Likewise.
68255         (FE_UNDERFLOW): Likewise.
68256         (FE_OVERFLOW): Likewise.
68257         (FE_INVALID): Likewise.
68258         (FE_INVALID_SNAN): Likewise.
68259         (FE_INVALID_ISI): Likewise.
68260         (FE_INVALID_IDI): Likewise.
68261         (FE_INVALID_ZDZ): Likewise.
68262         (FE_INVALID_IMZ): Likewise.
68263         (FE_INVALID_COMPARE): Likewise.
68264         (FE_INVALID_SOFTWARE): Likewise.
68265         (FE_INVALID_SQRT): Likewise.
68266         (FE_INVALID_INTEGER_CONVERSION): Likewise.
68267         (FE_TONEAREST): Likewise.
68268         (FE_TOWARDZERO): Likewise.
68269         (FE_UPWARD): Likewise.
68270         (FE_DOWNWARD): Likewise.
68271         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
68272         (FE_DIVBYZERO): Likewise.
68273         (FE_OVERFLOW): Likewise.
68274         (FE_UNDERFLOW): Likewise.
68275         (FE_INEXACT): Likewise.
68276         (FE_TONEAREST): Likewise.
68277         (FE_DOWNWARD): Likewise.
68278         (FE_UPWARD): Likewise.
68279         (FE_TOWARDZERO): Likewise.
68280         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
68281         (FE_UNDERFLOW): Likewise.
68282         (FE_OVERFLOW): Likewise.
68283         (FE_DIVBYZERO): Likewise.
68284         (FE_INVALID): Likewise.
68285         (FE_TONEAREST): Likewise.
68286         (FE_TOWARDZERO): Likewise.
68287         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
68288         (FE_OVERFLOW): Likewise.
68289         (FE_UNDERFLOW): Likewise.
68290         (FE_DIVBYZERO): Likewise.
68291         (FE_INEXACT): Likewise.
68292         (FE_TONEAREST): Likewise.
68293         (FE_TOWARDZERO): Likewise.
68294         (FE_UPWARD): Likewise.
68295         (FE_DOWNWARD): Likewise.
68296         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
68297         (FE_DIVBYZERO): Likewise.
68298         (FE_OVERFLOW): Likewise.
68299         (FE_UNDERFLOW): Likewise.
68300         (FE_INEXACT): Likewise.
68301         (FE_TONEAREST): Likewise.
68302         (FE_DOWNWARD): Likewise.
68303         (FE_UPWARD): Likewise.
68304         (FE_TOWARDZERO): Likewise.
68306 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
68308         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
68310 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
68312         * scripts/cross-test-ssh.sh (command): Use newlines to separate
68313         commands.  Quote $PWD.
68314         (blacklist_exports): Don't use remove_newlines.  Replace "declare
68315         -x" by "export".
68316         (remove_newlines): Remove.
68318 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
68320         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
68321         * stdlib/stdlib.h (atof): Moved to ...
68322         * include/bits/stdlib-float.h: Here.  New file.
68323         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
68324         * stdlib/bits/stdlib-float.h: New file.
68325         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
68326         -mno-sse -mno-mmx.
68327         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
68328         <xmmintrin.h>.
68330 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68332         * conform/conformtest.pl (@headers): Add fenv.h.
68333         * conform/data/fenv.h-data: New file.
68334         * include/fenv.h [_ISOMAC]: Disable all contents of file except
68335         include of <math/fenv.h>.
68337         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
68338         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
68339         && !UNIX98].  Enables tests for XOPEN2K8.
68340         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
68341         POSIX2008]: Likewise.
68343         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
68344         (struct rusage): Do not expect type or its members.
68346         [BZ #3439]
68347         * math/math.h (FP_NAN): Define macro to integer constant usable in
68348         #if and use that to give value to enum constant.
68349         (FP_INFINITE): Likewise.
68350         (FP_ZERO): Likewise.
68351         (FP_SUBNORMAL): Likewise.
68352         (FP_NORMAL): Likewise.
68354 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
68356         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
68357         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
68358         arguments.
68360 2012-11-02  Roland McGrath  <roland@hack.frob.com>
68362         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
68363         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
68364         autoconf-time if not.
68365         * configure.in: Remove AC_PREREQ.
68367 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68369         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
68370         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
68371         of the internal implementation.
68373 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68375         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
68376         except include of <misc/sys/syslog.h>.
68378 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
68381         function returns with a NULL context exit with zero.
68383 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68385         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
68387 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
68389         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
68390         (run_program_cmd): This.
68391         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
68392         (tst_langinfo): New variable.  Use it.
68394 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
68396         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
68397         floating point opcodes.
68399 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68401         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
68402         variable.
68404         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
68406         * sysdeps/mach/hurd/powerpc: Remove directory.
68407         * sysdeps/mach/powerpc: Likewise.
68409 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68411         * scripts/check-local-headers.sh: Ignore c++ headers.
68413 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68415         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
68416         __libc_cleanup_region_start argument.
68418 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
68420         [BZ #14784]
68421         [BZ #14785]
68422         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
68423         x * y using scaling, not as x * y + z.
68424         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68425         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68426         * math/libm-test.inc (fma_test): Add more tests.
68427         (fma_test_towardzero): Likewise.
68428         (fma_test_downward): Likewise.
68429         (fma_test_upward): Likewise.
68431 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68433         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
68435 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68437         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
68438         New variable.
68440 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
68442         * rt/tst-shm.c (worker): Correct checking for mmap failure.
68444 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68447         Fix sort order.
68448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68449         Likewise.
68451 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68454         Fix the order of the list for glibc 2.17.
68455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68456         Likewise.
68458 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68462 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68464         [BZ #14610]
68465         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
68466         for low part of x being zero before using __atanl (y).
68467         * math/libm-test.inc (atan2_test): Add another test.
68469         * manual/install.texi (Configuring and compiling): Document
68470         general use of test-wrapper and test-wrapper-env.
68471         * INSTALL: Regenerated.
68473         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
68474         (__fma): Do not extract and scale down low bits on after-rounding
68475         systems when result rounded to normal precision would have normal
68476         exponent.
68477         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
68478         (__fmal): Do not extract and scale down low bits on after-rounding
68479         systems when result rounded to normal precision would have normal
68480         exponent.
68481         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
68482         (__fmal): Do not extract and scale down low bits on after-rounding
68483         systems when result rounded to normal precision would have normal
68484         exponent.
68485         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
68486         macro.
68487         (fma_test): Add more tests.
68488         (fma_test_towardzero): Likewise.
68489         (fma_test_downward): Likewise.
68490         (fma_test_upward): Likewise.
68492 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
68494         * sysdeps/i386/tininess.h: Renamed to ...
68495         * sysdeps/x86/tininess.h: This.
68496         * sysdeps/x86_64/tininess.h: Removed.
68498 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68500         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
68501         input.  Use $(build-program-cmd).
68502         ($(objpfx)tst-array1-static.out): Likewise.
68503         ($(objpfx)tst-array2.out): Likewise.
68504         ($(objpfx)tst-array3.out): Likewise.
68505         ($(objpfx)tst-array4.out): Likewise.
68506         ($(objpfx)tst-array5.out): Likewise.
68507         ($(objpfx)tst-array5-static.out): Likewise.
68509 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
68511         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
68512         if defined.
68514         * nss/nsswitch.h (nss_interface_function): Provide new
68515         macro for use with NSS functions.
68516         * grp/initgroups.c: Use new macro.
68517         * nss/getXXbyYY.c: Likewise.
68518         * nss/getXXbyYY_r.c: Likewise.
68519         * nss/getXXent.c: Likewise.
68520         * nss/getXXent_r.c: Likewise.
68521         * sysdeps/posix/getaddrinfo.c: Likewise.
68523 2012-10-30  Andreas Jaeger  <aj@suse.de>
68525         * po/ru.po: Update Russion translation from translation project.
68527 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68529         [BZ #14152]
68530         [BZ #14783]
68531         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
68532         result and shift together with sticky bit instead of replicating
68533         round-to-nearest rounding.
68534         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68535         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68536         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
68537         missing underflow exceptions.
68538         (fma_test_towardzero): Add more tests.
68539         (fma_test_downward): Likewise.
68540         (fma_test_upward): Likewise.
68542         [BZ #14047]
68543         * sysdeps/generic/tininess.h: New file.
68544         * sysdeps/i386/tininess.h: Likewise.
68545         * sysdeps/sh/tininess.h: Likewise.
68546         * sysdeps/x86_64/tininess.h: Likewise.
68547         * stdlib/tst-strtod-underflow.c: Likewise.
68548         * stdlib/tst-tininess.c: Likewise.
68549         * stdlib/strtod_l.c: Include <tininess.h>.
68550         (round_and_return): Do not set errno for exact underflow cases.
68551         Force an underflow exception when setting errno for underflow.
68552         Determine underflow based on rounding to normal precision if
68553         TININESS_AFTER_ROUNDING.
68554         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
68555         ERANGE for exact underflow cases.
68556         * stdlib/Makefile (tests): Add tst-tininess and
68557         tst-strtod-underflow.
68558         ($(objpfx)tst-tininess): Use $(link-libm).
68559         ($(objpfx)tst-strtod-underflow): Likewise.
68561 2012-10-30  Andreas Jaeger  <aj@suse.de>
68563         [BZ#14767]
68564         * elf/Makefile (tests): Remove conditional for have-initfini-array
68565         since this is now always required and the variable does not exist
68566         anymore.
68567         (tests-static): Likewise.
68568         (modules-names): Likewise.
68570         * po/eo.po: Add Esperanto translation from translation project.
68572         * elf/tst-array1.c (fini_array): Make writeable so that it can be
68573         merged with constructor/destructor.
68574         (init_array): Likewise.
68575         * elf/tst-array2dep.c (fini_array): Likewise.
68576         (init_array): Likewise.
68578 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
68580         * manual/message.texi: Delete @cartouche tags.
68582 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
68584         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
68585         EOPNOTSUPP.
68586         * sysdeps/mach/hurd/fsync.c: Likewise.
68588         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
68589         [_POSIX_REALTIME_SIGNALS]: Change condition to
68590         [_POSIX_REALTIME_SIGNALS > 0].
68592 2012-10-27  Andreas Jaeger  <aj@suse.de>
68594         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
68595         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
68596         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
68597         [__WORDSIZE != 64]: Likewise.
68599 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
68601         *  iconvdata/tst-table.sh: Remove ${SHELL}.
68602         *  iconvdata/tst-tables.sh: Likewise.
68604 2012-10-25  David S. Miller  <davem@davemloft.net>
68606         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68607         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
68608         of strtoull.
68610         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
68611         ifunc-impl-list.c
68612         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68613         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
68614         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
68615         file.
68617 2012-10-25  Roland McGrath  <roland@hack.frob.com>
68619         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68620         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
68621         __getdirentries.
68623 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68624             Jim Blandy  <jimb@codesourcery.com>
68626         * scripts/cross-test-ssh.sh: New file.
68627         * manual/install.texi (Configuring and compiling): Document use of
68628         cross-test-ssh.sh.
68629         * INSTALL: Regenerated.
68631 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
68633         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
68634         EOPNOTSUPP.
68636 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68638         * Makeconfig (run-program-prefix): Fix comment.
68640 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68641             Jim Blandy  <jimb@codesourcery.com>
68643         * Makeconfig (test-wrapper): New variable,
68644         (test-wrapper-env): Likewise.
68645         [$(cross-compiling) = yes && $(test-wrapper) != ""]
68646         (run-built-tests): Define to yes.
68647         (run-program-prefix): Use $(test-wrapper).
68648         (built-program-cmd): Likewise.
68649         * Rules (make-test-out): Use $(test-wrapper-env) and
68650         $(host-built-program-cmd).
68651         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
68652         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
68653         tst-pathopt.sh.
68654         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
68655         $(test-wrapper-env) to tst-rtld-load-self.sh.
68656         ($(objpfx)order2.out): Use $(test-wrapper).
68657         ($(objpfx)tst-initorder.out): Likewise.
68658         ($(objpfx)tst-initorder2.out): Likewise.
68659         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
68660         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
68661         (test_wrapper_env): New variable.  Use it to run ld.so.
68662         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
68663         Use it to run ld.so.
68664         (test_wrapper_env): Likewise.
68665         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
68666         $(test-wrapper) to run-iconv-test.sh.
68667         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
68668         (ICONV): Use $test_wrapper.
68669         * posix/Makefile ($(objpfx)globtest.out): Pass
68670         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
68671         globtest.sh, not $(run-program-prefix).
68672         * posix/globtest.sh (run_via_rtld_prefix): New variable.
68673         (test_wrapper): Likewise.
68674         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
68675         set together with run_via_rtld_prefix.
68676         (run_program_prefix): Define in terms of test_wrapper and
68677         run_via_rtld_prefix.
68679 2012-10-24  Roland McGrath  <roland@hack.frob.com>
68681         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
68682         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
68683         Targets removed.
68685         [BZ #14743]
68686         * include/time.h: Remove librt_hidden_proto (clock_gettime).
68687         Declare __clock_getres, __clock_gettime, __clock_settime,
68688         __clock_nanosleep, and __clock_getcpuclockid.
68689         * rt/clock_gettime.c: Define __clock_gettime as an alias.
68690         Remove librt_hidden_def (clock_gettime).
68691         * sysdeps/unix/clock_gettime.c: Likewise.
68692         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
68693         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
68694         * rt/clock_getres.c: Define __clock_getres as an alias.
68695         * sysdeps/posix/clock_getres.c: Likewise.
68696         * rt/clock_settime.c: Define __clock_settime as an alias.
68697         * sysdeps/unix/clock_settime.c: Likewise.
68698         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
68699         * sysdeps/unix/clock_nanosleep.c: Likewise.
68700         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
68701         * rt/clock-compat.c: New file.
68702         * rt/Makefile (librt-routines): Add clock-compat and move
68703         $(clock-routines) to ...
68704         (routines): ... here, new variable.
68705         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
68706         Don't add get_clockfreq here.
68707         * rt/Versions (libc: GLIBC_2.17): New version set.
68708         Add clock_* symbols here.
68709         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
68710         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
68711         (GLIBC_2.17): Add clock_* symbols.
68712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68714         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68716         Likewise.
68717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68718         Likewise.
68719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68723         * NEWS: Mention the move.
68725         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
68726         Use __open, __read, __close rather than their public counterparts.
68727         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68728         (__get_clockfreq_via_cpuinfo): Likewise.
68729         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
68730         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
68732         * config.h.in (HAVE_IFUNC): New #undef.
68733         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
68734         was successful.
68735         * configure: Regenerated.
68737 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68739         * configure.in: Move READELF check to start of file.
68740         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
68741         libc_cv_asm_gnu_indirect_function in the process.
68742         * configure: Regenerated.
68744 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68746         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
68747         send the output to /dev/null.
68748         (libc_cv_cc_with_libunwind): Likewise.
68749         (libc_cv_as_noexecstack): Likewise.
68750         * configure: Regenerate.
68752 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68754         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
68756         * posix/globtest.sh (TMPDIR): Do not set.
68757         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
68758         (testout): Likewise.
68760 2012-10-24  Andreas Jaeger  <aj@suse.de>
68762         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
68763         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
68764         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
68765         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
68766         posix_fadvise64, posix_fallocate64.
68768         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
68769         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
68770         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
68771         Likewise.
68772         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
68773         Likewise.
68774         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
68776         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
68777         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
68778         <bits/fcntl-linux.h>.
68779         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
68781         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
68782         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
68783         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
68784         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
68785         [__WORDSIZE != 64]: Likewise.
68787 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68789         * Makeconfig (run-built-tests): New variable.
68790         * Rules [$(cross-compiling) = yes]: Change condition to
68791         [$(run-built-tests) = no].
68792         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
68793         to [$(run-built-tests) = yes].
68794         * elf/Makefile [$(cross-compiling) = no]: Likewise.
68795         * grp/Makefile [$(cross-compiling) = no]: Likewise.
68796         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
68797         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
68798         * intl/Makefile [$(cross-compiling) = no]: Likewise.
68799         * io/Makefile [$(cross-compiling) = no]: Likewise.
68800         * libio/Makefile [$(cross-compiling) = no]: Likewise.
68801         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
68802         * misc/Makefile [$(cross-compiling) = no]: Likewise.
68803         * posix/Makefile [$(cross-compiling) = no]: Likewise.
68804         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
68805         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
68806         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
68807         * string/Makefile [$(cross-compiling) = no]: Likewise.
68809         * posix/Makefile ($(objpfx)globtest.out): Pass
68810         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
68811         $(rtld-installed-name).
68812         * posix/globtest.sh (elf_objpfx): Remove variable.
68813         (rtld_installed_name): Likewise.
68814         (library_path): Likewise.
68815         (run_program_prefix): New variable.  Use for running globtest
68816         binary.
68818 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
68819             Joseph Myers  <joseph@codesourcery.com>
68821         * Makeconfig (host-built-program-cmd): New variable.
68822         * elf/Makefile (tst-stackguard1-ARGS): Use
68823         $(host-built-program-cmd).
68824         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
68825         (tst-spawn-ARGS): Likewise.
68826         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
68828 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68829             Jim Blandy  <jimb@codesourcery.com>
68831         * Makeconfig (run-via-rtld-prefix): New variable.
68832         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
68833         (built-program-cmd): Likewise.
68835 2012-10-22  Andreas Jaeger  <aj@suse.de>
68837         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
68838         __O_RSYNC if it exists, otherwise to O_SYNC.
68840 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
68841             Joseph Myers  <joseph@codesourcery.com>
68843         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
68844         /dev/null.
68845         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
68846         from /dev/null
68847         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
68848         /dev/null.
68850 2012-10-22  Andreas Jaeger  <aj@suse.de>
68852         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
68853         Define always.
68854         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
68856         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68857         bits/fcntl-linux.h.
68859         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
68860         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
68862         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
68863         to __O_LARGEFILE.
68864         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
68865         to __O_LARGEFILE.
68867 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
68868             Joseph Myers  <joseph@codesourcery.com>
68870         * config.make.in (NM): New variable.
68872 2012-10-21  Andreas Jaeger  <aj@suse.de>
68874         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
68875         definitions and declarations that are provided by
68876         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68878 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68880         [BZ #14683]
68881         * elf/Makefile (tests-static): Add tst-leaks1-static.
68882         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
68883         ($(objpfx)tst-leaks1-static): New rule.
68884         ($(objpfx)tst-leaks1-static-mem): Likewise.
68885         (tst-leaks1-static-ENV): New macro.
68886         * elf/dl-open.c (dl_open_worker): Check the main application
68887         only if SHARED is defined.
68888         * elf/tst-leaks1-static.c: New file.
68890 2012-10-20  Andreas Jaeger  <aj@suse.de>
68892         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
68893         generic values for Linux.
68894         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
68895         and declarations that are provided by <bits/fcntl-linux.h> and
68896         include <bits/fcntl-linux.h>.
68897         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68898         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68900 2012-10-20  Roland McGrath  <roland@hack.frob.com>
68902         * io/fcntl.h: Move include of <bits/types.h> to the top and
68903         include it unconditionally.
68905 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68907         * wcsmbs/Makefile (tests-ifunc): New variable.
68908         (tests): Add $(tests-ifunc).
68909         * wcsmbs/test-wcschr-ifunc.c: New file.
68910         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
68911         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
68912         * wcsmbs/test-wcslen-ifunc.c: Likewise.
68913         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
68914         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
68916         * string/Makefile (tests-ifunc): New variable.
68917         (tests): Add $(tests-ifunc).
68918         * string/test-memccpy.c (TEST_NAME): New macro.
68919         * string/test-memchr.c (TEST_NAME): Likewise.
68920         * string/test-memcmp.c (TEST_NAME): Likewise.
68921         * string/test-memcpy.c (TEST_NAME): Likewise.
68922         * string/test-memmem.c (TEST_NAME): Likewise.
68923         * string/test-memmove.c (TEST_NAME): Likewise.
68924         * string/test-memset.c (TEST_NAME): Likewise.
68925         * string/test-rawmemchr.c (TEST_NAME): Likewise.
68926         * string/test-stpcpy.c (TEST_NAME): Likewise.
68927         * string/test-stpncpy.c (TEST_NAME): Likewise.
68928         * string/test-strcasecmp.c (TEST_NAME): Likewise.
68929         * string/test-strcasestr.c (TEST_NAME): Likewise.
68930         * string/test-strcat.c (TEST_NAME): Likewise.
68931         * string/test-strchr.c (TEST_NAME): Likewise.
68932         * string/test-strcmp.c(TEST_NAME): Likewise.
68933         * string/test-strcpy.c (TEST_NAME): Likewise.
68934         * string/test-strcspn.c (TEST_NAME): Likewise.
68935         * string/test-strlen.c (TEST_NAME): Likewise.
68936         * string/test-strncasecmp.c (TEST_NAME): Likewise.
68937         * string/test-strncmp.c (TEST_NAME): Likewise.
68938         * string/test-strncpy.c (TEST_NAME): Likewise.
68939         * string/test-strnlen.c (TEST_NAME): Likewise.
68940         * string/test-strpbrk.c (TEST_NAME): Likewise.
68941         * string/test-strrchr.c (TEST_NAME): Likewise.
68942         * string/test-strspn.c (TEST_NAME): Likewise.
68943         * string/test-strstr.c (TEST_NAME): Likewise.
68944         * string/test-bcopy-ifunc.c: New file.
68945         * string/test-bzero-ifunc.c: Likewise.
68946         * string/test-memccpy-ifunc.c: Likewise.
68947         * string/test-memchr-ifunc.c: Likewise.
68948         * string/test-memcmp-ifunc.c: Likewise.
68949         * string/test-memcpy-ifunc.c: Likewise.
68950         * string/test-memmem-ifunc.c: Likewise.
68951         * string/test-memmove-ifunc.c: Likewise.
68952         * string/test-mempcpy-ifunc.c: Likewise.
68953         * string/test-memset-ifunc.c: Likewise.
68954         * string/test-rawmemchr-ifunc.c: Likewise.
68955         * string/test-stpcpy-ifunc.c: Likewise.
68956         * string/test-stpncpy-ifunc.c: Likewise.
68957         * string/test-strcasecmp-ifunc.c: Likewise.
68958         * string/test-strcasestr-ifunc.c: Likewise.
68959         * string/test-strcat-ifunc.c: Likewise.
68960         * string/test-strchr-ifunc.c: Likewise.
68961         * string/test-strchrnul-ifunc.c: Likewise.
68962         * string/test-strcmp-ifunc.c: Likewise.
68963         * string/test-strcpy-ifunc.c: Likewise.
68964         * string/test-strcspn-ifunc.c: Likewise.
68965         * string/test-strlen-ifunc.c: Likewise.
68966         * string/test-strncasecmp-ifunc.c: Likewise.
68967         * string/test-strncat-ifunc.c: Likewise.
68968         * string/test-strncmp-ifunc.c: Likewise.
68969         * string/test-strncpy-ifunc.c: Likewise.
68970         * string/test-strnlen-ifunc.c: Likewise.
68971         * string/test-strpbrk-ifunc.c: Likewise.
68972         * string/test-strrchr-ifunc.c: Likewise.
68973         * string/test-strspn-ifunc.c: Likewise.
68974         * string/test-strstr-ifunc.c: Likewise.
68976         * debug/Makefile (tests-ifunc): New variable.
68977         (tests): Add $(tests-ifunc).
68978         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
68979         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
68980         * debug/test-stpcpy_chk-ifunc.c: New file.
68981         * debug/test-strcpy_chk-ifunc.c: Likewise.
68983 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
68985         [BZ #13601]
68986         * elf/dl-load.c (open_verify): Retry read if the entire ELF
68987         header is not read in.
68989 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
68991         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
68992         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
68993         directly.  Pass built executable to script as
68994         $(built-program-cmd).
68995         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
68996         $testprogram without using LD_LIBRARY_PATH and $ldso.
68998         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
68999         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
69000         $(rtld-installed-name).
69001         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
69002         (rtld_installed_name): Likewise.
69003         (library_path): Likewise.
69004         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
69005         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
69006         $(run-program-prefix) to tst-tables.sh.
69007         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
69008         it to run tst-table-from and tst-table-to.
69009         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
69010         Pass it to tst-table.sh.
69011         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
69012         $(run-program-prefix) to tst-gettext.sh.
69013         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
69014         tst-translit.sh.
69015         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
69016         tst-gettext2.sh.
69017         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
69018         to run tst-gettext.
69019         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
69020         to run tst-gettext2.
69021         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
69022         to run tst-translit.
69023         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
69024         $(run-program-prefix) to tst-mtrace.sh.
69025         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
69026         to run tst-mtrace.
69027         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
69028         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
69029         $(rtld-installed-name).
69030         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
69031         (rtld_installed_name): Likewise.
69032         (run_program_prefix): New variable.  Use it to run wordexp-test.
69034         * Makeconfig (ARCH): Remove all definitions.
69035         (machine): Likewise.
69036         [ARCH]: Remove conditional code.
69037         [!objdir]: Give error.
69038         [!objdir] (objpfx): Remove.
69039         [!objdir] (common-objpfx): Likewise.
69040         [!objdir] (common-objdir): Likewise.
69041         * configure.in (config_makefile): Remove.  Hardcode Makefile in
69042         AC_CONFIG_FILES call.
69043         * configure: Regenerated.
69045         [BZ #13888]
69046         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
69047         or TMPDIR.
69048         (testout): Likewise.
69050         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
69051         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
69052         $(rtld-installed-name).
69053         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
69054         (rtld_installed_name): Likewise.
69055         (runit): Remove function.
69056         (run_getconf): New variable,  Use it for running getconf binary.
69058 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
69060         [BZ #14716]
69061         * string/test-memmem.c (check_result): New function.
69062         (do_one_test): Use it.
69063         (check1): New function.
69064         (test_main): Use it.
69066 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
69068         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
69070 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
69072         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
69073         (_G_LSEEK64): Likewise.
69074         (_G_MMAP64): Likewise.
69075         (_G_FSTAT64): Likewise.
69076         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
69077         (_G_LSEEK64): Likewise.
69078         (_G_MMAP64): Likewise.
69079         (_G_FSTAT64): Likewise.
69080         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
69081         unconditional.  Call __mmap64 directly.
69082         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
69083         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
69084         __lseek64 directly.
69085         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
69086         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
69087         __mmap64 directly.
69088         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
69089         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69090         __lseek64 directly.
69091         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
69092         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69093         __lseek64 directly.
69094         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
69095         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
69096         __lseek64 directly.
69097         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
69098         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
69099         __fxstat64 directly.
69100         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
69101         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
69102         unconditional.
69103         (freopen64) [!_G_OPEN64]: Remove conditional code.
69104         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
69105         unconditional.
69106         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
69107         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
69108         unconditional.
69109         (ftello64) [!_G_LSEEK64]: Remove conditional code.
69110         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
69111         unconditional.
69112         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69113         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
69114         unconditional.
69115         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
69116         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
69117         unconditional.
69118         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69119         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
69120         unconditional.
69121         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69122         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
69123         unconditional.
69124         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69126 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69128         [BZ #12140]
69129         * manual/memory.texi (Malloc Tunable Parameters): Add note
69130         about free list pointers overwriting some perturb bytes.
69131         Wording suggested by Roland McGrath.
69133 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
69135         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
69136         (lgamma_test): Likewise.
69137         (tgamma_test): Likewise.
69139 2012-10-16  Florian Weimer  <fweimer@redhat.com>
69141         [BZ #14700]
69142         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
69143         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
69145 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
69147         * NEWS: Mention BZ #14716.
69148         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
69149         when removing AVAILABLE1_USES_J macro.
69151 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
69153         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
69154         (__bswap_64): __uint64_t for unsigned 64-bit int.
69156 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
69158         * include/string.h (memmem): Declare libc hidden alias.
69159         * string/memmem.c (memmem): Define libc hidden alias.
69160         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
69161         __read, __close instead of open, read, close.
69163 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
69165         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
69166         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
69167         global and hidden.
69168         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
69169         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
69170         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
69171         Likewise.
69172         (__rawmemchr_sse2): Likewise.
69173         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
69174         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
69175         (__strchr_sse2): Likewise.
69176         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
69177         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
69178         (__strcasecmp_sse2): Likewise.
69179         (__strncasecmp_sse2): Likewise.
69180         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
69181         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
69182         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
69183         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
69184         (__strrchr_sse2): Likewise.
69185         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
69186         ifunc-impl-list.c.
69187         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
69188         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
69189         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
69190         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69191         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
69192         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
69193         * sysdeps/x86_64/multiarch/memset.S: Likewise.
69194         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69195         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
69196         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
69197         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
69198         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
69199         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
69200         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
69201         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
69202         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
69203         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
69204         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
69205         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
69206         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
69207         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
69208         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
69209         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
69210         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69211         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
69212         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69213         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
69214         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
69215         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
69216         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
69218         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
69219         global and hidden.
69220         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
69221         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
69222         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
69223         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
69224         Likewise.
69225         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
69226         Likewise.
69227         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
69228         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
69229         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
69230         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
69231         ifunc-impl-list.c.
69232         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69233         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69234         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69235         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69236         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69237         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69238         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69239         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69240         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69241         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69242         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69243         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69244         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69245         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
69246         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
69247         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69248         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
69249         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
69250         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69251         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69252         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69253         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69254         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69255         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69256         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69257         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
69258         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
69259         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
69260         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
69261         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69262         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
69263         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69264         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69265         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
69266         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69267         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69268         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69269         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69270         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69271         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69272         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
69274         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
69275         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
69276         * include/ifunc-impl-list.h: New file.
69277         * misc/ifunc-impl-list.c: Likewise.
69278         * misc/Makefile (routines): Add ifunc-impl-list.
69279         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
69280         * string/test-string.h: Include <ifunc-impl-list.h>.
69281         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
69282         TEST_NAME]: New variables.
69283         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
69284         are defined.
69285         (test_init): Call __libc_ifunc_impl_list to initialize
69286         func_list if TEST_IFUNC and TEST_NAME are defined.
69288         * string/Makefile (strop-tests): Add bcopy and bzero.
69289         * string/test-bcopy.c: New file.
69290         * string/test-bzero.c: Likewise.
69291         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
69292         defined.
69293         * string/test-memset.c: Support bzero test if TEST_BZERO is
69294         defined.
69295         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
69296         __libc_memmove.
69297         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
69298         __libc_memset.
69299         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
69300         of memset.
69302 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
69304         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
69305         * configure: Regenerated.
69307         * Makeconfig (+link-static-before-libc): Don't include
69308         $(link-static-libc).
69310         * libio/libio.h (_IO_pos_t): Remove.
69312 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69314         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
69315         McGrath.
69317 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69319         * crypt/crypt-entry.c: Include fips-private.h.
69320         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
69321         * crypt/md5c-test.c (main): Tolerate disabled MD5.
69322         * sysdeps/unix/sysv/linux/fips-private.h: New file.
69323         * sysdeps/generic/fips-private.h: New file, dummy fallback.
69325 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69327         * crypt/crypt-private.h: Include stdbool.h.
69328         (_ufc_setup_salt_r): Return bool.
69329         * crypt/crypt-entry.c: Include errno.h.
69330         (__crypt_r): Return NULL with EINVAL for bad salt.
69331         * crypt/crypt_util.c (bad_for_salt): New.
69332         (_ufc_setup_salt_r): Check that salt is long enough and within
69333         the specified alphabet.
69334         * crypt/badsalttest.c: New file.
69335         * crypt/Makefile (tests): Add it.
69336         ($(objpfx)badsalttest): New.
69338 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
69340         * NEWS: Add entry for BZ #14602.
69342 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69344         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
69345         type-generic.
69346         * math/libm-test.inc: Update comment listing what functions and
69347         macros are tested.
69348         (isgreater_test): New function.
69349         (isgreaterequal_test): Likewise.
69350         (isless_test): Likewise.
69351         (islessequal_test): Likewise.
69352         (islessgreater_test): Likewise.
69353         (isunordered_test): Likewise.
69354         (main): Call the new functions.
69356 2012-10-09  Roland McGrath  <roland@hack.frob.com>
69358         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
69359         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
69360         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
69361         * sysdeps/i386/configure: Regenerated.
69362         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
69363         * sysdeps/mach/configure: Regenerated.
69364         * sysdeps/mach/hurd/configure: Regenerated.
69365         * sysdeps/powerpc/configure: Regenerated.
69366         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69367         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69368         * sysdeps/s390/s390-32/configure: Regenerated.
69369         * sysdeps/s390/s390-64/configure: Regenerated.
69370         * sysdeps/sh/configure: Regenerated.
69371         * sysdeps/sparc/configure: Regenerated.
69372         * sysdeps/unix/sysv/linux/configure: Regenerated.
69373         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
69374         * sysdeps/x86_64/configure: Regenerated.
69376         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
69377         defined.  Don't check if MAP is NULL.
69379 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69381         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
69382         (_G_stat64): Likewise.
69383         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
69384         (_G_stat64): Likewise.
69385         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
69386         instead of struct _G_stat64.
69387         * libio/fileops.c (mmap_remap_check): Likewise.
69388         (decide_maybe_mmap): Likewise.
69389         (_IO_new_file_seekoff): Likewise.
69390         (_IO_file_stat): Likewise.
69391         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
69392         _G_off64_t.
69393         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
69394         instead of struct _G_stat64.
69395         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69397 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
69399         [BZ #14602]
69400         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69401         Replace with ...
69402         (CHECK_EOL): New macro.
69403         (two_way_short_needle): Check beginning of haystack for EOL.  Use
69404         CHECK_EOL.
69405         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69406         Replace with CHECK_EOL.
69407         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69408         Replace with CHECK_EOL.
69410 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
69412         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
69413         type-generic.
69414         * math/libm-test.inc: Update comment listing what functions and
69415         macros are tested.
69416         (finite_test): New function.
69417         (isinf_test): Likewise.
69418         (isnan_test): Likewise.
69419         (fpclassify_test): Test subnormal input.
69420         (isfinite_test): Likewise.
69421         (isnormal_test): Likewise.
69422         (main): Call the new functions.
69424 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
69426         [BZ #14660]
69427         * Makerules (%.dynsym): Force C locale when running
69428         $(OBJDUMP) --dynamic-syms.
69430 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
69432         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
69433         <stdint.h>.
69435 2012-10-06  David S. Miller  <davem@davemloft.net>
69437         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
69438         upper 32-bits of the length value in %o2 since we use branch-on-register
69439         tests which consider the entire 64-bit register.
69441 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
69443         * string/test-strstr.c (check2): Add a test for page boundary.
69445 2012-10-05  David S. Miller  <davem@davemloft.net>
69447         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
69448         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
69449         file.
69450         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69451         sysdep_routines.
69452         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69453         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
69454         and bzero when HWCAP_SPARC_CRYPTO is present.
69456 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
69458         [BZ #14602]
69459         * string/test-strstr.c (check2): New function.
69460         (test_main): Call check2.
69462         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
69463         and bug-strchr1.
69464         * string/bug-strcasestr1.c (do_test): Moved to ...
69465         * string/test-strcasestr.c (check1): Here.  New function.
69466         (do_one_test): Break out result checking code into ...
69467         (check_result): This.  New function.
69468         (do_one_test): Call check_result.
69469         (test_main): Call check1.
69470         * string/bug-strchr1.c (do_test): Moved to ...
69471         * string/test-strchr.c (check1): Here.  New function.
69472         (do_one_test): Break out result checking code into ...
69473         (check_result): This.  New function.
69474         (do_one_test): Call check_result.
69475         (test_main): Call check1.
69476         * string/bug-strstr1.c (main): Moved to ...
69477         * string/test-strstr.c (check1): Here.  New function.
69478         (do_one_test): Break out result checking code into ...
69479         (check_result): This.  New function.
69480         (do_one_test): Call check_result.
69481         (test_main): Call check1.
69482         * string/bug-strcasestr1.c: Removed.
69483         * string/bug-strchr1.c: Likewise.
69484         * string/bug-strstr1.c: Likewise.
69486         * elf/Makefile (dl-routines): Add hwcaps.
69487         * elf/dl-support.c (_dl_important_hwcaps): Removed.
69488         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
69489         (_dl_important_hwcaps): Moved to ...
69490         * elf/dl-hwcaps.c: Here.  New file.
69491         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
69493         [BZ #14557]
69494         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
69495         if IS_IN_rtld isn't defined.
69497         * elf/dl-support.c (_dl_sysinfo_map): New.
69498         Include "get-dynamic-info.h" and "setup-vdso.h".
69499         (_dl_non_dynamic_init): Call setup_vdso.
69500         * elf/dynamic-link.h: Don't include <assert.h>.
69501         (elf_get_dynamic_info): Moved to ...
69502         * elf/get-dynamic-info.h: Here.  New file.
69503         * elf/dynamic-link.h: Include "get-dynamic-info.h".
69504         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
69505         * elf/setup-vdso.h: Here.  New file.
69506         * elf/rtld.c: Include "setup-vdso.h".
69507         (dl_main): Call setup_vdso.
69509 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
69511         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
69512         creal in comment listing functions tested.  List finite, isinf,
69513         isnan, isless, islessequal, isgreater, isgreaterequal,
69514         islessgreater, isunordered, lgamma_r and pow10 as functions and
69515         macros not tested.  Mention which functions not tested are aliases
69516         for other functions.  Fix typo.  Note that signs of NaNs are not
69517         tested.
69519         * scripts/config.guess: Update from config.git.
69520         * scripts/config.sub: Likewise.
69522 2012-10-04  Roland McGrath  <roland@hack.frob.com>
69524         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
69525         * misc/madvise.c (madvise): Renamed to __madvise.
69526         Make madvise a weak alias.
69527         * include/sys/mman.h: Declare __madvise.
69528         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
69529         * sysdeps/unix/syscalls.list
69530         (madvise): Make __madvise the strong name, and madvise a weak alias.
69531         * sysdeps/unix/sysv/linux/syscalls.list
69532         (madvise, mmap): Remove redundant entries.
69533         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
69534         * malloc/malloc.c (mtrim): Likewise.
69535         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
69537 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69539         * sysdeps/mach/hurd/dl-cache.c: File removed.
69540         * config.h.in (USE_LDCONFIG): New #undef.
69541         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
69542         * configure: Regenerated.
69543         * elf/Makefile (dl-routines): Add dl-cache only under
69544         [$(use-ldconfig) = yes].
69545         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
69546         cache on [USE_LDCONFIG].
69547         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
69548         [USE_LDCONFIG].
69549         * elf/rtld.c (dl_main): Likewise.
69551 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
69553         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
69554         _SC_LEVEL4_CACHE_LINESIZE.
69556 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69558         * sysdeps/unix/bsd/confstr.h: File removed.
69560 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
69562         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
69563         sys/sdt-config.h.
69565 2012-10-02  Roland McGrath  <roland@hack.frob.com>
69567         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
69568         Make 'mapoff' field ElfW(Off) rather than off_t.
69570 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
69572         * nscd/Makefile: Remove nscd-cflags and all its users.
69573         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
69574         (CFLAGS-nonlib): Add compiler flags for nscd modules.
69576         [BZ #10631]
69577         * malloc.c (malloc_printerr): Clarify error message.
69579 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
69581         [BZ #14648]
69582         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69583         Set bit_FMA_Usable if FMA is supported.
69584         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
69585         macro.
69586         (bit_FMA4_Usable): Updated.
69587         (index_FMA_Usable): New macro.
69588         (CPUID_FMA): Likewise.
69589         (HAS_FMA): Defined with bit_FMA_Usable.
69591 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69593         * bits/types.h (__swblk_t): Type removed.
69594         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
69595         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
69596         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69597         (__SWBLK_T_TYPE): Likewise.
69598         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69599         (__SWBLK_T_TYPE): Likewise.
69600         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69601         (__SWBLK_T_TYPE): Likewise.
69602         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69603         (__SWBLK_T_TYPE): Likewise.
69605 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
69606             Honza Horak <hhorak@redhat.com>
69608         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
69609         (xdr_mapname): Use YPMAXMAP as maxsize.
69610         (xdr_peername): Use YPMAXPEER as maxsize.
69611         (xdr_keydat): Use YPAXRECORD as maxsize.
69612         (xdr_valdat): Use YPMAXRECORD as maxsize.
69614 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69616         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
69618         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
69619         * csu/init-first.c: ... here.
69620         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
69621         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
69622         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
69623         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
69624         * sysdeps/i386/init-first.c: File removed.
69625         * sysdeps/sh/init-first.c: File removed.
69627 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
69629         [BZ #14645]
69630         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
69631         if x * y might underflow to zero and z is zero.
69632         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69633         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69634         * math/libm-test.inc (min_subnorm_value): New variable.
69635         (fma_test): Add more tests.
69636         (fma_test_towardzero): Likewise.
69637         (fma_test_downward): Likewise.
69638         (fma_test_upward): Likewise.
69639         (initialize): Set min_subnorm_value.
69641 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
69643         [BZ #14638]
69644         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
69645         0 + 0.
69646         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
69647         mode for addition resulting in exact zero.
69648         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
69649         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
69650         exact 0 + 0.
69651         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69652         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69653         * math/libm-test.inc (fma_test): Add more tests.
69654         (fma_test_towardzero): New function.
69655         (fma_test_downward): Likewise.
69656         (fma_test_upward): Likewise.
69657         (main): Call the new functions.
69659 2012-09-28  David S. Miller  <davem@davemloft.net>
69661         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
69663 2012-09-28  Roland McGrath  <roland@hack.frob.com>
69665         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
69666         instead of SIGALRM.
69668         * sysdeps/gnu/_G_config.h: Moved to ...
69669         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
69670         * sysdeps/mach/hurd/_G_config.h: Moved to ...
69671         * sysdeps/generic/_G_config.h: ... here.
69673         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
69675         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
69677         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
69678         Conditionalize target on [libnss_test1.so-version].
69680         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
69682         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
69683         (elfobjdir): Move out of conditionals.
69685         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
69686         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
69687         (__nss_lookup_function): Conditionalize label remove_from_tree on
69688         [!DO_STATIC_NSS || SHARED], matching its only use.
69690 2012-09-28  David S. Miller  <davem@davemloft.net>
69692         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
69693         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
69694         file.
69695         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69696         sysdep_routines.
69697         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69698         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
69699         when HWCAP_SPARC_CRYPTO is present.
69701 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69703         * io/tst-mknodat.c: Create a FIFO instead of a socket.
69705 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
69707         [BZ #6530]
69708         * stdio-common/vfprintf.c (process_string_arg): Revert
69709         2000-07-22 change.
69711 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
69713         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
69714         for testcase.
69715         * stdio-common/tst-sprintf.c: Include <locale.h>
69716         (main): Test sprintf's handling of incomplete multibyte
69717         characters.
69719 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
69721         * elf/dl-runtime.c (VERSYMIDX): Removed.
69722         * elf/dl-version.c (VERSYMIDX): Likewise.
69723         * elf/do-rel.h (VERSYMIDX): Likewise.
69724         (VALIDX): Likewise.
69725         * elf/dynamic-link.h (VERSYMIDX): Likewise.
69726         * elf/rtld.c (VALIDX): Likewise.
69727         (ADDRIDX): Likewise.
69728         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
69729         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
69730         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
69731         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
69732         (VALIDX): Likewise.
69733         (ADDRIDX): Likewise.
69735 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69737         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
69739 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
69741         [BZ #11438]
69742         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
69743         to global scope.
69744         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
69745         addresses are in the same scope as 192.0.2/24.
69746         * posix/gai.conf: Document new scope table defaults.
69748 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69750         [BZ #5298]
69751         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
69752         for ftell.  Compute offsets from write pointers instead.
69753         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69755 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69757         [BZ #14543]
69758         * libio/Makefile (tests): New test case tst-fseek.
69759         * libio/tst-fseek.c: New test case to verify that fseek/ftell
69760         combination works in wide mode.
69761         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
69762         state when the external buffer state changes.
69764 2012-09-27  David S. Miller  <davem@davemloft.net>
69766         [BZ #14376]
69767         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
69768         pass reloc->r_addend in as the 'high' argument to
69769         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
69771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69773 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69775         * rt/tst-aio2.c: Include <pthread.h>.
69776         * rt/tst-aio3.c: Likewise.
69778 2012-09-27  Steve Ellcey  <sellcey@mips.com>
69780         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
69782 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
69784         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
69785         contents on [SHARED].
69787 2012-09-26  Marek Polacek  <polacek@redhat.com>
69789         [BZ #14530]
69790         [BZ #13741]
69791         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
69792         for C++ and GCC <4.3 as well as for non GCC compilers.
69794 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
69796         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69798 2012-09-25  Roland McGrath  <roland@hack.frob.com>
69800         * Makefile.in (all, install): Declare with .PHONY.
69801         Reported by Michael Hope <michael.hope@linaro.org>.
69803 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69805         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
69806         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
69807         system header.
69808         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
69809         Likewise.
69810         (sydep_routines): Add the new and the internal functions.
69811         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
69812         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
69813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
69814         (GLIBC_2.17): Add the new function.
69815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69816         (GLIBC_2.17): Likewise.
69817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
69818         (GLIBC_2.17): Likewise.
69819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
69820         (GLIBC_2.17): Likewise.
69821         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
69823 2012-09-25  Alan Modra  <amodra@gmail.com>
69825         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
69826         Add release barrier before setting once_control to say
69827         initialisation is done.  Add hints on lwarx.  Use macro in
69828         place of isync.
69829         (clear_once_control): Add release barrier.
69831 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69833         [BZ #13629]
69834         * math/s_clog.c (__clog): Handle more values close to |z| = 1
69835         specially.
69836         * math/s_clog10.c (__clog10): Likewise.
69837         * math/s_clog10f.c (__clog10f): Likewise.
69838         * math/s_clog10l.c (__clog10l): Likewise.
69839         * math/s_clogf.c (__clogf): Likewise.
69840         * math/s_clogl.c (__clogl): Likewise.
69841         * math/Makefile (libm-calls): Add x2y2m1.
69842         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
69843         (__x2y2m1): Likewise.
69844         (__x2y2m1l): Likewise.
69845         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
69846         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
69847         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
69848         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
69849         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
69850         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
69851         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
69852         * sysdeps/i386/fpu/libm-test-ulps: Update.
69853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69855         [BZ #14621]
69856         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
69857         int as type of variable DEPTH.
69858         (glob): Use size_t instead of int as type of variables NEWCOUNT
69859         and OLD_PATHC.
69861 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69863         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69864         Add s_sincosf-sse2.
69865         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
69866         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
69867         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
69868         macros for using routine as __sincosf_ia32.
69869         Use macro for function declaration and weak_alias.
69870         * sysdeps/i386/fpu/libm-test-ulps: Update.
69872         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
69873         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69875         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
69876         subnormal argument.
69877         * math/s_cexpf.c (__cexpf): Likewise.
69878         * math/s_csinf.c (__csinf): Likewise.
69879         * math/s_csinhf.c (__csinhf): Likewise.
69880         * math/s_ctanf.c (__ctanf): Likewise.
69881         * math/s_ctanhf.c (__ctanhf): Likewise.
69882         * math/s_ccosh.c (__ccoshf): Likewise.
69883         * math/s_cexp.c (__cexpl): Likewise.
69884         * math/s_csin.c (__csin): Likewise.
69885         * math/s_csinh.c (__csinh): Likewise.
69886         * math/s_ctan.c (__ctan): Likewise.
69887         * math/s_ctanh.c (ctanh): Likewise.
69888         * math/s_ccoshl.c (__ccoshl): Likewise.
69889         * math/s_cexpl.c (__cexpl): Likewise.
69890         * math/s_csinl.c (__csinl): Likewise.
69891         * math/s_csinhl.c (__csinhl): Likewise.
69892         * math/s_ctanl.c (__ctanl): Likewise.
69893         * math/s_ctanhl.c (__ctanhl): Likewise.
69895 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69897         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
69898         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
69899         (_IO_off_t): Define to __off_t, not _G_off_t.
69900         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
69901         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
69902         (_IO_wint_t): Define to wint_t, not _G_wint_t.
69903         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
69904         type of __dummy and __dummy2 fields.
69905         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
69906         (_G_ssize_t): Likewise.
69907         (_G_off_t): Likewise.
69908         (_G_pid_t): Likewise.
69909         (_G_uid_t): Likewise.
69910         (_G_wchar_t): Likewise.
69911         (_G_wint_t): Likewise.
69912         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
69913         (_G_ssize_t): Likewise.
69914         (_G_off_t): Likewise.
69915         (_G_pid_t): Likewise.
69916         (_G_uid_t): Likewise.
69917         (_G_wchar_t): Likewise.
69918         (_G_wint_t): Likewise.
69919         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
69920         (_G_ssize_t): Likewise.
69921         (_G_off_t): Likewise.
69922         (_G_pid_t): Likewise.
69923         (_G_uid_t): Likewise.
69924         (_G_wchar_t): Likewise.
69925         (_G_wint_t): Likewise.
69927 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69929         * malloc/arena.c: Include malloc-sysdep.h.
69930         (shrink_heap): Use check_may_shrink_heap to decide if madvise
69931         is sufficient to shrink the heap or an unmap is needed.
69932         * sysdeps/generic/malloc-sysdep.h: New file.  Define
69933         new function check_may_shrink_heap.
69934         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
69935         new function check_may_shrink_heap.
69937 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69939         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
69940         comments.
69942 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
69944         * catgets/test-gencat.sh: Add "set -e".
69945         * elf/tst-pathopt.sh: Likewise.
69946         * grp/tst_fgetgrent.sh: Likewise.
69947         * iconvdata/run-iconv-test.sh: Likewise.
69948         * intl/tst-gettext.sh: Likewise.
69949         * intl/tst-gettext2.sh: Likewise.
69950         * intl/tst-gettext4.sh: Likewise.
69951         * intl/tst-gettext6.sh: Likewise.
69952         * intl/tst-translit.sh: Likewise.
69953         * io/ftwtest-sh: Likewise.
69954         * libio/test-freopen.sh: Likewise.
69955         * malloc/tst-mtrace.sh: Likewise.
69956         * posix/globtest.sh: Likewise.
69957         * posix/tst-getconf.sh: Likewise.
69958         * posix/wordexp-tst.sh: Likewise.
69959         * stdio-common/tst-printf.sh: Likewise.
69960         * stdio-common/tst-unbputc.sh: Likewise.
69961         * stdlib/tst-fmtmsg.sh: Likewise.
69962         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69963         * catgets/Makefile: Do not specify -e option when running
69964         testsuite shell scripts.
69965         * elf/Makefile: Likewise.
69966         * grp/Makefile: Likewise.
69967         * iconvdata/Makefile: Likewise.
69968         * intl/Makefile: Likewise.
69969         * io/Makefile: Likewise.
69970         * libio/Makefile: Likewise.
69971         * malloc/Makefile: Likewise.
69972         * posix/Makefile: Likewise.
69973         * stdio-common/Makefile: Likewise.
69974         * stdlib/Makefile: Likewise.
69975         * sysdeps/x86_64/Makefile: Likewise.
69977         * io/ftwtest-sh: Add copyright header.
69978         * posix/globtest.sh: Likewise.
69979         * posix/tst-getconf.sh: Likewise.
69980         * posix/wordexp-tst.sh: Likewise.
69981         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69983 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
69985         [BZ #13679]
69986         * Makeconfig (+link): Defined as $(+link-static) if
69987         $(build-shared) isn't yes.
69988         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
69989         isn't yes.
69990         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
69992         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
69994         [BZ #14562]
69995         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
69996         new chunk size with MALLOC_ALIGN_MASK.
69998 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
70000         [BZ #5044]
70001         * stdio-common/printf_fphex.c: Include <stdbool.h> and
70002         <rounding-mode.h>.
70003         (__printf_fphex): Determine rounding using get_rounding_mode and
70004         round_away.
70005         * stdio-common/tst-printf-round.c (struct hex_test): New
70006         structure.
70007         (hex_tests): New variable.
70008         (test_hex_in_one_mode): New function.
70009         (do_test): Also run tests for hex float output.
70011 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
70013         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70014         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70015         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
70016         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70017         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70018         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
70019         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70020         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70022 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
70024         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
70025         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
70026         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
70027         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
70029 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
70031         [BZ #14579]
70032         * elf/rtld.c (dl_main): Limit the check for self loading to normal
70033         mode only.
70034         * elf/tst-rtld-load-self.sh: New test.
70035         * elf/Makefile: Run it.
70037 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
70039         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
70040         (tst-writev-ENV): Remove.
70041         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
70043 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
70045         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
70047 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
70049         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
70050         unconditional.
70051         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
70052         Likewise.
70053         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
70054         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
70055         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
70056         Likewise.
70058 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
70060         [BZ #14587]
70061         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
70062         * config.make.in (have-cpp-asm-debuginfo): Removed.
70063         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
70064         * configure: Regenerated.
70066 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
70068         [BZ #5044]
70069         * stdio-common/printf_fp.c: Include <stdbool.h> and
70070         <rounding-mode.h>.
70071         (___printf_fp): Determine rounding using get_rounding_mode and
70072         round_away.
70073         * stdio-common/tst-printf-round.c: New file.
70074         * stdio-common/Makefile (tests): Add tst-printf-round.
70075         (link-libm): New variable.
70076         ($(objpfx)tst-printf-round): Depend in $(link-libm).
70078 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
70080         [BZ #14576]
70081         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
70082         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
70083         Likewise.
70084         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
70085         Likewise.
70087 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
70089         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
70090         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70091         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70092         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70094 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
70096         [BZ #14518]
70097         * include/rounding-mode.h: New file.
70098         * sysdeps/generic/get-rounding-mode.h: Likewise.
70099         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
70100         * stdlib/strtod_l.c: Include <rounding-mode.h>.
70101         (MAX_VALUE): New macro.
70102         (MIN_VALUE): Likewise.
70103         (overflow_value): New function.
70104         (underflow_value): Likewise.
70105         (round_and_return): Use overflow_value and underflow_value to
70106         determine return values in overflow and underflow cases.  Use
70107         round_away to determine rounding depending on rounding mode.
70108         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
70109         determine return values in overflow and underflow cases.
70110         * stdlib/tst-strtod-round.c: Include <fenv.h>.
70111         (struct test_results): New structure.
70112         (struct test): Use struct test_results to store expected results
70113         for all rounding modes.
70114         (TEST): Include expected results for all rounding modes.
70115         (test_in_one_mode): New function.
70116         (do_test): Use test_in_one_mode to compute and check results.
70117         Check results for all rounding modes.
70118         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
70119         $(link-libm).
70121 2012-12-09  Allan McRae  <allan@archlinux.org>
70123         * sysdeps/i386/fpu/libm-test-ulps: Update
70125 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
70127         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
70128         (_G_int32_t): Likewise.
70129         (_G_uint16_t): Likewise.
70130         (_G_uint32_t): Likewise.
70131         (_G_HAVE_BOOL): Likewise.
70132         (_G_HAVE_ATEXIT): Likewise.
70133         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70134         (_G_HAVE_IO_FILE_OPEN): Likewise.
70135         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
70136         (_G_int32_t): Likewise.
70137         (_G_uint16_t): Likewise.
70138         (_G_uint32_t): Likewise.
70139         (_G_HAVE_BOOL): Likewise.
70140         (_G_HAVE_ATEXIT): Likewise.
70141         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70142         (_G_HAVE_IO_FILE_OPEN): Likewise.
70143         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
70144         (_G_int32_t): Likewise.
70145         (_G_uint16_t): Likewise.
70146         (_G_uint32_t): Likewise.
70147         (_G_HAVE_BOOL): Likewise.
70148         (_G_HAVE_ATEXIT): Likewise.
70149         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70150         (_G_HAVE_IO_FILE_OPEN): Likewise.
70152 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
70154         * csu/libc-tls.c: Update copyright years.
70156 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
70158         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
70159         [!_G_USING_THUNKS]: Remove conditional code.
70160         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
70161         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
70163         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
70164         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
70165         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70166         (_G_VTABLE_LABEL_PREFIX): Likewise.
70167         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70168         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70169         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70170         (_G_VTABLE_LABEL_PREFIX): Likewise.
70171         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
70172         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70173         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70174         (_G_VTABLE_LABEL_PREFIX): Likewise.
70175         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
70177 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
70179         * libio/Makefile: Include ../Makeconfig before tests.
70180         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
70181         only if $(build-shared) is yes.
70183         * iconv/gconv_db.c: Update copyright years.
70185 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70187         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
70188         unwind info if defined PIC. Fix special cases description.
70189         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
70191         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
70192         DP_HI_MASK entry.
70193         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
70195 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
70197         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
70199         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
70200         is NULL.
70202         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
70203         (LDLIBS-tst-chk4): This.
70204         (LDFLAGS-tst-chk5): Renamed to ...
70205         (LDLIBS-tst-chk5): This.
70206         (LDFLAGS-tst-chk6): Renamed to ...
70207         (LDLIBS-tst-chk6): This.
70208         (LDFLAGS-tst-lfschk4): Renamed to ...
70209         (LDLIBS-tst-lfschk4): This.
70210         (LDFLAGS-tst-lfschk5): Renamed to ...
70211         (LDLIBS-tst-lfschk5): This.
70212         (LDFLAGS-tst-lfschk6): Renamed to ...
70213         (LDLIBS-tst-lfschk6): This.
70215         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
70216         on $(common-objpfx)soversions.mk.
70218 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
70220         [BZ #10014]
70221         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
70222         example host name.
70224 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
70226         * malloc/arena.c (arena_get_retry): New function that gets
70227         another arena for the caller to try its request on.
70228         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
70229         current arena cannot fulfill the request.
70230         (__libc_memalign): Likewise.
70231         (__libc_memalign): Likewise.
70232         (__libc_pvalloc): Likewise.
70233         (__libc_calloc): Likewise.
70235 2012-09-05  John Tobey  <john.tobey@gmail.com>
70237         [BZ #13542]
70238         * manual/arith.texi (Operations on Complex): Fix description
70239         of carg branch cut.
70241 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
70243         [BZ #10014]
70244         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
70245         host name.
70247         [BZ #10038]
70248         * manual/memory.texi (Memory): Make order of menu items match
70249         order of sections.
70251 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70253         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
70254         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
70255         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
70257 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70259         * csu/libc-tls.c (static_dtv): Renamed to ...
70260         (_dl_static_dtv): This.  Make it global.
70261         (_dl_initial_dtv): Removed.
70262         (__libc_setup_tls): Updated.
70263         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
70264         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
70265         DL_INITIAL_DTV.
70267 2012-09-06  Petr Machata  <pmachata@redhat.com>
70269         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
70270         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
70271         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
70272         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
70274 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70276         [BZ #14545]
70277         * csu/libc-tls.c (_dl_initial_dtv): New variable.
70278         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
70279         freeing dtv[-1].
70281 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70283         [BZ #14544]
70284         * Makeconfig (link-static-before-libc): Replace $(+prector)
70285         with $(+prectorT).
70286         (link-static-after-libc): Replace $(+postctor) with
70287         $(+postctorT).
70288         (link-bounded): Replace $(+prector)/$(+postctor) with
70289         $(+prectorT)/$(+postctorT).
70290         (+prectorT): New macro.
70291         (+postctorT): Likewise.
70293 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
70295         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
70296         (round_str): Handle values above the maximum for IBM long double
70297         as inexact.
70298         * stdlib/tst-strtod-round.c (tests): Regenerated.
70300 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70302         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
70303         assembler flag.
70304         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
70305         zarch_nohighgprs around the zarch optimized routines.
70306         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
70307         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
70308         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
70309         for zarch.
70311 2012-09-05  David S. Miller  <davem@davemloft.net>
70313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70315         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
70316         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
70317         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
70318         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
70319         entries.
70321 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70323         * malloc/arena.c: Fold copyright years.
70324         * malloc/mcheck.c, malloc/memusage.c: Likewise.
70326 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70328         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
70330 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70332         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
70334 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70336         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
70337         change internal state upon failure.
70339 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70341         * malloc/mcheck.c (mcheck_check_all): Fix typo.
70342         * malloc/memusage.c (mmap): Likewise.
70343         (mmap64, mremap): Likewise.  Adjust name in comment.
70345 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70347         * libio/fileops.c: Fix typos in comments.
70348         * libio/oldfileops.c: Likewise.
70349         * libio/wfileops.c: Likewise.
70351 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70353         [BZ #1349]
70354         * malloc/Makefile (tests): Add tst-malloc-usable test case.
70355         (tst-malloc-usable-ENV): Set environment for test case.
70356         * malloc/hooks.c (malloc_check_get_size): New function to get
70357         requested size.
70358         * malloc/malloc.c (musable): Use malloc_check_get_size.
70359         * malloc/tst-malloc-usable.c: New test case.
70361 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70363         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
70365 2012-09-05  Allan McRae  <allan@archlinux.org>
70367         [BZ #13966]
70368         * configure.in (CXX_SYSINCLUDES): Use compiler output to
70369         determine header location.
70370         * configure: Regenerated.
70372 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70374         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
70375         float format.
70376         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
70377         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
70378         format.
70379         (test): Regenerate.
70381 2012-09-04  David S. Miller  <davem@davemloft.net>
70383         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
70384         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
70385         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
70387 2012-09-04  Florian Weimer  <fweimer@redhat.com>
70389         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
70390         failures.
70392         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
70394 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
70396         [BZ #9914]
70397         * libio/iogetdelim.c: Include <limits.h>.
70398         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
70399         + len + 1 would overflow.
70401 2012-09-03  Andreas Jaeger  <aj@suse.de>
70403         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70404         * sysdeps/i386/fpu/libm-test-ulps: Update.
70406 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70408         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70409         Add s_sinf-sse2, s_conf-sse2.
70411         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
70412         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
70413         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
70414         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
70416         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
70417         for using routine as __sinf_ia32.
70418         Use macro for function declaration and weak_alias.
70419         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
70420         for using routine as __cosf_ia32.
70421         Use macro for function declaration and weak_alias.
70423         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
70424         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
70426         * sysdeps/x86_64/fpu/s_sinf.S: New file.
70427         * sysdeps/x86_64/fpu/s_cosf.S: New file.
70428         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70430         * math/libm-test.inc (cos_test): Add more test cases.
70431         (sin_test): Likewise.
70432         (sincos_test): Likewise.
70434 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70436         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
70437         (IFUNC_RESOLVE): Make pointers to the specialized implementations
70438         hidden.
70439         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70441 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
70443         [BZ #14538]
70444         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
70445         first element of the GOT.
70446         (elf_machine_load_address): Return the difference between
70447         the runtime address of _DYNAMIC and elf_machine_dynamic ().
70449 2012-09-01  Allan McRae  <allan@archlinux.org>
70451         [BZ #13412]
70452         * configure.in (AWK): Require gawk version 3.0 or later.
70453         * configure: Regenerated.
70455 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
70457         * sysdeps/unix/sysv/linux/kernel-features.h
70458         (__ASSUME_POSIX_CPU_TIMERS): Remove.
70459         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70460         [__NR_clock_getres]: Make code unconditional.
70461         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
70462         (clock_getcpuclockid): Remove code left unreachable by removal of
70463         conditionals.
70464         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
70465         code unconditional.
70466         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70467         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70468         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
70469         Make code unconditional.
70470         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70471         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70472         * sysdeps/unix/sysv/linux/clock_settime.c
70473         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
70474         conditional code.
70475         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
70476         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70478 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
70480         [BZ #14476]
70481         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
70482         scripts/test-installation.pl.
70484         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
70485         and $ld_so_version if it is set.
70487 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70489         [BZ #14516]
70490         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
70491         failure if reading from procfs failed.
70492         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
70494 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70496         * sysdeps/unix/sysv/linux/kernel-features.h
70497         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
70498         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70499         Remove conditional code.
70500         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70501         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
70502         Remove conditional code.
70503         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70504         * sysdeps/unix/sysv/linux/i386/fxstat.c
70505         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70506         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70507         * sysdeps/unix/sysv/linux/i386/fxstatat.c
70508         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70509         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70510         * sysdeps/unix/sysv/linux/i386/lxstat.c
70511         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70512         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70513         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
70514         Remove conditional code.
70515         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70516         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70517         Remove conditional code.
70518         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70519         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
70520         <kernel-features.h>.
70521         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
70522         Remove.
70523         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
70524         Remove conditional code.
70525         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70526         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
70527         Remove conditional.
70529 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
70531         [BZ #5400]
70532         * NEWS: Add fixed bug number.
70534 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70536         [BZ #14519]
70537         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
70538         underflowing exponent in case of negative sign.
70539         * stdlib/tst-strtod-round-data: Add more tests.
70540         * stdlib/tst-strtod-round.c (tests): Regenerated.
70542         [BZ #3479]
70543         * stdlib/strtod_l.c (NDIG): Remove.
70544         (HEXNDIG): Likewise.
70545         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
70546         smallest representable value.
70547         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
70548         lie within an exact representation of 1/2 ulp of the result.
70549         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
70550         unconditionally.
70551         (TENS_P9_IDX): Define unconditionally.
70552         (TENS_P9_SIZE): Likewise.
70553         (TENS_P10_IDX): Likewise.
70554         (TENS_P10_SIZE): Likewise.
70555         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
70556         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
70557         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
70558         entries for 10^2^13 and 10^2^14.
70559         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
70560         (TENS_P13_IDX): Define.
70561         (TENS_P13_SIZE): Likewise.
70562         (TENS_P14_IDX): Likewise.
70563         (TENS_P14_SIZE): Likewise.
70564         (_fpioconst_pow10): Change array size to
70565         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
70566         unconditional.
70567         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
70568         1024]: Add entries for 10^2^13 and 10^2^14.
70569         [LAST_POW10 > _LAST_POW10]: Remove #error.
70570         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
70571         (_fpioconst_pow10): Change array size to
70572         FPIOCONST_POW10_ARRAY_SIZE.
70573         * stdlib/gen-fpioconst.c: New file.
70574         * stdlib/gen-tst-strtod-round.c: Likewise.
70575         * stdlib/tst-strtod-round-data: Likewise.
70576         * stdlib/tst-strtod-round.c: Likewise.
70577         * stdlib/Makefile (tests): Add tst-strtod-round.
70579         [BZ #14459]
70580         * stdlib/strtod_l.c: Include <stdint.h>.
70581         (NDEBUG): Do not define.
70582         (round_and_return): Change EXPONENT parameter to type intmax_t.
70583         Rearrange calculations to avoid internal overflow possibilities.
70584         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
70585         Rearrange calculations to avoid internal overflow possibilities.
70586         Assert that number fits inside MPNSIZE limbs.
70587         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
70588         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
70589         calculations and add assertions to avoid internal overflow
70590         possibilities.  Add casts to avoid signed/unsigned operations.
70591         * stdlib/tst-strtod-overflow.c: New file.
70592         * stdlib/Makefile (tests): Add tst-strtod-overflow.
70594 2012-08-25  Marek Polacek  <polacek@redhat.com>
70596         * time/time.h: Fix some typos in comments.
70598 2012-08-23  Roland McGrath  <roland@hack.frob.com>
70600         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
70601         * posix/tst-rfc3484-2.c: Likewise.
70602         * posix/tst-rfc3484-3.c: Likewise.
70604 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
70606         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
70607         (EF_ARM_ABI_FLOAT_HARD): Likewise.
70609 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
70611         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
70612         #include of fxstatat64.c.
70614 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70616         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
70617         * shadow/getspent_r.c: Likewise.
70618         * shadow/getspnam.c: Likewise.
70619         * shadow/getspnam_r.c: Likewise.
70620         * gshadow/getsgent.c: Likewise.
70621         * gshadow/getsgent_r.c: Likewise.
70622         * gshadow/getsgnam.c: Likewise.
70623         * gshadow/getsgnam_r.c: Likewise.
70624         * inet/getnetbyad.c: Likewise.
70625         * inet/getnetbyad_r.c: Likewise.
70626         * inet/getnetbynm.c: Likewise.
70627         * inet/getnetbynm_r.c: Likewise.
70628         * inet/getnetent.c: Likewise.
70629         * inet/getnetent_r.c: Likewise.
70630         * inet/getproto.c: Likewise.
70631         * inet/getproto_r.c: Likewise.
70632         * inet/getprtent.c: Likewise.
70633         * inet/getprtent_r.c: Likewise.
70634         * inet/getprtname.c: Likewise.
70635         * inet/getprtname_r.c: Likewise.
70636         * inet/getrpcbyname.c: Likewise.
70637         * inet/getrpcbyname_r.c: Likewise.
70638         * inet/getrpcbynumber.c: Likewise.
70639         * inet/getrpcbynumber_r.c: Likewise.
70640         * inet/getrpcent.c: Likewise.
70641         * inet/getrpcent_r.c: Likewise.
70642         * inet/getaliasent.c: Likewise.
70643         * inet/getaliasent_r.c: Likewise.
70644         * inet/getaliasname.c: Likewise.
70645         * inet/getaliasname_r.c: Likewise.
70646         * nscd/getgrgid_r.c: Likewise.
70647         * nscd/getgrnam_r.c: Likewise.
70648         * nscd/gethstbyad_r.c: Likewise.
70649         * nscd/gethstbynm3_r.c: Likewise.
70650         * nscd/getpwnam_r.c: Likewise.
70651         * nscd/getpwuid_r.c: Likewise.
70652         * nscd/getsrvbynm_r.c: Likewise.
70653         * nscd/getsrvbypt_r.c: Likewise.
70654         * nscd/gai.c: Likewise.
70656         * configure.in (build_nscd): New substituted variable, set
70657         by --disable-build-nscd and defaults to $use_nscd.
70658         * configure: Regenerated.
70659         * config.make.in (build-nscd): New substituted variable.
70660         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
70661         Change conditional to require [$(build-nscd) = yes] as well.
70662         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
70664         [BZ# 13696]
70665         * configure.in (use_nscd): New substituted variable, set by
70666         --disable-nscd.  If enabled, define USE_NSCD.
70667         * configure: Regenerated.
70668         * config.h.in: Add USE_NSCD.
70669         * config.make.in (use-nscd): New substituted variable.
70670         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
70671         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
70672         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
70673         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
70674         (CFLAGS-getgrnam_r.c): Likewise.
70675         (CFLAGS-initgroups.c): Likewise.
70676         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
70677         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
70678         Variables removed.
70679         * inet/getnetgrent_r.c
70680         (nscd_setnetgrent): New function, broken out of ...
70681         (setnetgrent): ... here.  Call it.
70682         (innetgr): Conditionalize nscd bits on [USE_NSCD].
70683         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
70684         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
70685         * nscd/Makefile (routines, aux): Move definitions after include of
70686         Makeconfig.  Conditionalize on [$(use-nscd) != no].
70687         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
70688         Conditionalize on [USE_NSCD].
70689         (is_nscd, nscd_init_cb): Likewise.
70690         (nss_load_library): Conditionalize init callback on [USE_NSCD].
70691         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
70692         * nss/nss_db/db-init.c: Likewise.
70693         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
70694         [USE_NSCD].
70695         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
70696         (make_request): Use it.
70697         (cache_valid_p): New function.
70698         (__check_pf): Use it.
70699         * NEWS: Add item for --disable-nscd.
70701 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
70703         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
70704         to support sed >= 4.2.1-20-ga9bf076.
70705         * configure: Regenerated.
70707 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70709         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
70710         Conditionalize whole body on [IREL].
70712 2012-08-22  Jeff Law <law@redhat.com>
70714         [BZ #14505]
70715         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
70716         if the family is PF_UNSPEC.
70718 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
70720         * Makerules (lib-version): Rename from V.
70721         (install-lib-nosubdir): Change V to lib-version.
70723 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
70725         [BZ #14252]
70726         * powerpc32/power6/wcschr.c: New file.
70727         * powerpc32/power6/wcscpy.c: New file.
70728         * powerpc32/power6/wcsrchr.c: New file.
70729         * powerpc64/power6/wcschr.c: New file.
70730         * powerpc64/power6/wcscpy.c: New file.
70731         * powerpc64/power6/wcsrchr.c: New file.
70733 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70735         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
70736         (two_way_short_needle): Use it.
70737         * string/strstr.c (AVAILABLE1_USES_J): Define.
70738         * string/strcasestr.c: Likewise.
70740         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
70741         array references.
70742         * string/strcasestr.c (TOLOWER): Make side-effect safe.
70744         [BZ #11607]
70745         * NEWS: Add an entry.
70746         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
70747         define their defaults.
70748         (two_way_short_needle): Detect end-of-string on-the-fly.
70749         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
70750         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
70751         * string/bug-strcasestr1.c: New test.
70752         * string/Makefile: Run it.
70754 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70756         [BZ #11607]
70757         * string/str-two-way.h (two_way_short_needle): Optimize matching of
70758         the first character.
70760 2012-08-21  Roland McGrath  <roland@hack.frob.com>
70762         * csu/elf-init.c (__libc_csu_irel): Function removed.
70763         * csu/libc-start.c (apply_irel): New function.
70764         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
70766 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
70768         * sysdeps/unix/sysv/linux/kernel-features.h
70769         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
70770         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70771         <kernel-features.h>.
70772         [__NR_fadvise64_64]: Make code unconditional.
70773         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
70774         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70775         !__NR_fadvise64_64)]: Likewise.
70776         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70777         !__NR_fadvise64_64))]: Likewise.
70778         [__NR_fadvise64]: Make code unconditional.
70779         [!__NR_fadvise64]: Remove conditional code.
70780         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
70781         <kernel-features.h>.
70782         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70783         unconditional.
70784         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70785         conditional code.
70786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
70787         not include <kernel-features.h>.
70788         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70789         unconditional.
70790         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70791         conditional code.
70792         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
70793         include <kernel-features.h>.
70794         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70795         unconditional.
70796         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70797         conditional code.
70799 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70801         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
70802         slight instruction rearrangements per scrollpipe analysis.
70803         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
70805 2012-08-20  Roland McGrath  <roland@hack.frob.com>
70807         * manual/syslog.texi (syslog; vsyslog, closelog):
70808         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
70809         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
70811         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
70812         DSOCAPS to match condition on defining it.
70814 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
70816         * sysdeps/unix/sysv/linux/kernel-features.h
70817         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
70818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
70819         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70820         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
70822         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70823         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
70825         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70826         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70828         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
70829         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
70831         * sysdeps/unix/sysv/linux/kernel-features.h
70832         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
70833         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
70834         unconditional.
70835         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70836         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
70837         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70838         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70839         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
70840         Make code unconditional.
70841         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70842         (__mmap64) [!__NR_mmap2]: Likewise.
70843         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
70844         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70845         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70846         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
70847         [__NR_mmap2]: Make code unconditional.
70848         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70849         (__mmap64) [!__NR_mmap2]: Likewise.
70851 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70853         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
70855 2012-08-18  Andreas Jaeger  <aj@suse.de>
70857         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
70859 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70861         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
70862         * include/unistd.h (__have_sock_cloexec): Likewise.
70863         (__have_pipe2): Likewise.
70864         (__have_dup3): Likewise.
70866 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70868         [BZ #9685]
70869         * include/unistd.h (__have_pipe2): Change define into an extern int.
70870         (__have_dup3): Likewise.
70871         * socket/have_sock_cloexec.c: Include fcntl.h.
70872         (__have_pipe2): New variable.
70873         (__have_dup3): Likewise.
70875 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
70877         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
70879 2012-08-17  Marek Polacek  <polacek@redhat.com>
70881         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
70882         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
70884 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70886         * configure.in: Add AC_SUBST for sysheaders.
70887         * configure: Regenerated.
70888         * config.make.in (sysheaders): New substituted variable.
70890         * sysdeps/unix/mkfifo.c: Moved ...
70891         * sysdeps/posix/mkfifo.c: ... here.
70892         * sysdeps/unix/mkfifoat.c: Moved ...
70893         * sysdeps/posix/mkfifoat.c: ... here.
70895         * sysdeps/unix/utime.c: Moved ...
70896         * sysdeps/posix/utime.c: ... here.
70898         * sysdeps/unix/time.c: Moved ...
70899         * sysdeps/posix/time.c: ... here.
70900         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
70901         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
70903         * sysdeps/unix/nice.c: Moved ...
70904         * sysdeps/posix/nice.c: ... here.
70906         * sysdeps/unix/alarm.c: Moved ...
70907         * sysdeps/posix/alarm.c: ... here.
70909         * intl/Makefile ($(codeset_mo)): Depend on the input file.
70911 2012-08-17  Jeff Law <law@redhat.com>
70913         * intl/Makefile (codeset_mo): New variable.
70914         ($(codeset_mo)): New target.
70915         (tst-codeset.out): Depend on that.  Remove explicit rule.
70916         (tst-gettext3.out, tst-gettext5.out): Likewise.
70917         (LOCPATH-ENV, tst-codeset-ENV): New variables.
70918         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
70919         * intl/tst-codeset.sh: Remove.
70920         * intl/tst-gettext3.sh: Likewise.
70921         * intl/tst-gettext5.sh: Likewise.
70923 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70925         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
70926         * sysdeps/unix/syscalls.list: ... here.
70928         * sysdeps/posix/getaddrinfo.c
70929         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
70930         (gaiconf_init, gaiconf_reload): Use them.
70931         [!_STATBUF_ST_NSEC]
70932         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
70933         Define using time_t rather than struct timespec.
70935         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
70936         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
70937         Macros removed.
70938         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
70939         [!NO_THREADS].
70940         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
70941         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
70942         Likewise.
70944         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
70945         __libc_cleanup_push argument.
70947         * bits/param.h: New file.
70948         * misc/sys/param.h: New file.
70949         * include/sys/param.h: New file.
70950         * misc/Makefile (headers): Add bits/param.h.
70951         * sysdeps/generic/sys/param.h: File removed.
70952         * sysdeps/unix/sysv/linux/bits/param.h: New file.
70953         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
70954         * sysdeps/mach/hurd/bits/param.h: New file.
70955         * sysdeps/mach/hurd/sys/param.h: File removed.
70957         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
70958         last change.
70960         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
70961         [_IO_MTSAFE_IO].
70962         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
70963         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
70964         New macros.
70966         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
70967         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
70968         rather than -D_IO_MTSAFE_IO conditionally.
70969         * stdio-common/Makefile (CPPFLAGS): Likewise.
70970         * wcsmbs/Makefile (CPPFLAGS): Likewise.
70971         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
70972         Use $(libio-mtsafe).
70973         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
70974         of -D_IO_MTSAFE_IO.
70975         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
70976         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
70977         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
70978         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
70979         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
70980         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
70981         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
70982         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
70983         (CFLAGS-fread_u_chk.c): Likewise.
70984         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
70985         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
70986         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
70987         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
70988         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
70989         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
70990         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
70991         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
70992         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
70994         * libio/Makefile: Test [$(libc-reentrant) = yes]
70995         instead of [$(filter %REENTRANT, $(defines)) nonempty].
70997         * Makeconfig
70998         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
70999         * sysdeps/pthread/configure: File removed.
71000         * sysdeps/pthread/Makeconfig: New file.
71001         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
71002         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
71004 2012-08-16  Gary Benson  <gbenson@redhat.com>
71006         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
71007         unmapping the first object in a namespace.
71009 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71011         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
71012         (__internal_setnetgrent): ... this.  Add internal_function to
71013         definition.  Add libc_hidden_def.
71014         (setnetgrent): Update caller.
71015         (internal_endnetgrent): Renamed to ...
71016         (__internal_endnetgrent): ... this.  Add internal_function to
71017         definition.  Add libc_hidden_def.
71018         (endnetgrent): Update caller.
71019         (internal_getnetgrent_r): Renamed to ...
71020         (__internal_getnetgrent_r): ... this.  Add internal_function to
71021         definition.  Add libc_hidden_def.
71022         (__getnetgrent_r): Update caller.
71023         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
71025 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71027         * stdlib/longlong.h: Update from GCC.
71029 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71031         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
71032         on _QL, which is set by umul_ppmm but never used.
71033         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
71034         variables, which are set by GMP macros but never used.
71035         * stdio-common/_itowa.c (_itowa): Likewise.
71036         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
71037         * stdlib/mod_1.c (mpn_mod_1): Likewise.
71039 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
71041         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
71042         struct La_sh_regs is not constant.
71043         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
71044         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
71045         and struct La_sparc64_regs are not constant.
71047 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71049         * sysdeps/unix/sysv/linux/kernel-features.h
71050         (__ASSUME_POSIX_TIMERS): Remove.
71051         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71052         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71053         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
71054         Make code unconditional.
71055         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71056         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
71057         Make code unconditional.
71058         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71059         * sysdeps/unix/sysv/linux/clock_nanosleep.c
71060         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
71061         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71062         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
71063         Make code unconditional.
71064         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71065         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
71066         (__libc_missing_posix_timers): Remove.
71068 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71070         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
71071         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
71073         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
71075         * elf/dl-sym.c: Include <stdlib.h>.
71077         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
71078         constants, which avoids warnings in 32-bit builds.
71080         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
71081         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
71083         * misc/lseek.c: File moved to ...
71084         * io/lseek.c: ... here.
71086         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
71088         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
71089         shifting LEN more than 31 bits at once.
71091 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71093         [BZ #14195]
71094         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
71095         segmentation fault for a case of two empty input strings.
71096         * string/test-strncasecmp.c (check1): Renamed to...
71097         (bz12205): ...this.
71098         (bz14195): Add new testcase for two empty input strings and N > 0.
71099         (test_main): Call new testcase, adapt for renamed function.
71101 2012-08-15  Andreas Jaeger  <aj@suse.de>
71103         [BZ #14090]
71104         * crypt/md5test2.c: New test, based on test supplied by Serge
71105         Belyshev <belyshev@depni.sinp.msu.ru>.
71106         * crypt/Makefile (xtests): Add md5test-giant..
71107         * crypt/Makefile ($(objpfx)md5test-giant): Add.
71109 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
71111         [BZ #14090]
71112         * crypt/md5.c (md5_process_block): Don't assume the buffer
71113         length is less than 2**32.
71114         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
71115         length is less than 2**64.
71117 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71119         * string/str-two-way.h: Include <sys/param.h>.
71120         (MAX): Macro removed.
71122         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
71123         Move #define and #undef of memmove to just before and after
71124         including <string.h>.
71126         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
71127         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
71128         and after including <string.h>.  Move declarations of
71129         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
71130         to before #include "string/memmove.c".
71132         * include/dirent.h: Declare __getdirentries.
71134         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
71135         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
71137 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
71139         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
71140         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
71141         * sysdeps/i386/configure: Regenerated.
71142         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
71143         STABS_CURRENT_FILE, and STABS_FUN.
71144         (END): Remove call to STABS_FUN_END.
71145         (STABS_CURRENT_FILE1): Delete.
71146         (STABS_CURRENT_FILE): Likewise.
71147         (STABS_FUN): Likewise.
71148         (STABS_FUN_END): Likewise.
71149         (STABS_FUN2): Likewise.
71150         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
71151         * sysdeps/x86_64/configure: Regenerated.
71153 2012-08-14  Roland McGrath  <roland@hack.frob.com>
71155         * elf/dl-open.c: Include <atomic.h>.
71156         * elf/dl-lookup.c: Likewise.
71158 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
71160         * sysdeps/unix/sysv/linux/kernel-features.h
71161         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
71162         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
71163         unconditionally.
71164         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
71165         unconditionally.
71166         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
71167         condition on __ASSUME_CLONE_THREAD_FLAGS.
71169 2012-08-14  Andreas Jaeger  <aj@suse.de>
71171         * sysdeps/i386/fpu/libm-test-ulps: Update.
71173 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
71175         * include/atomic.h (atomic_exchange_and_add): Split into ...
71176         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
71177         New atomic macros.
71179 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
71181         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71183 2012-08-13  Jeff Law <law@redhat.com>
71185         * manual/stdio.texi (snprintf): Clarify handling of the trailing
71186         null byte in the output string.
71188 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
71190         * sysdeps/unix/sysv/linux/kernel-features.h
71191         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
71192         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
71193         (__ASSUME_ARG_MAX_STACK_BASED): Define.
71194         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
71195         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
71196         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
71197         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
71199 2012-08-09  Jeff Law <law@redhat.com>
71201         [BZ #13939]
71202         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
71203         When avoid_arena is set, don't retry in the that arena.  Pick the
71204         next one, whatever it might be.
71205         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
71206         (arena_lock): Pass in new parameter to arena_get2.
71207         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
71208         arena_get2.
71209         (__libc_malloc): Unify retrying after main arena failure with
71210         __libc_memalign version.
71211         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
71213 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
71215         [BZ #14166]
71216         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
71217         to __redirect_strstr.
71218         (__strstr_sse42): Use typeof __redirect_strstr.
71219         (__strstr_ia32): Likewise.
71220         (__libc_strstr): New prototype.
71221         (strstr): Renamed to ...
71222         (__libc_strstr): This.
71223         (strstr): New strong alias of __libc_strstr.
71224         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
71225         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
71226         __redirect_time.
71227         Include <time.h>.
71228         (__libc_time): New prototype.
71229         (time_ifunc): Replace time with __libc_time.
71230         (time): New strong alias and hidden definition of __libc_time.
71231         (__GI_time): Remove strong alias.
71232         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
71233         Include <stddef.h>.
71234         (memmove): Redefined to __redirect_memmove.
71235         (__memmove_sse2): Use typeof __redirect_memmove.
71236         (__memmove_ssse3): Likewise.
71237         (__memmove_ssse3_back): Likewise.
71238         (__libc_memmove): New prototype.
71239         (memmove): Renamed to ...
71240         (__libc_memmove): This.
71241         (memmove): New strong alias of __libc_memmove.
71243 2012-08-08  Mark Salter  <msalter@redhat.com>
71245         * elf/elf.h
71246         (R_MN10300_TLS_GD): Define.
71247         (R_MN10300_TLS_LD): Likewise.
71248         (R_MN10300_TLS_LDO): Likewise.
71249         (R_MN10300_TLS_GOTIE): Likewise.
71250         (R_MN10300_TLS_IE): Likewise.
71251         (R_MN10300_TLS_LE): Likewise.
71252         (R_MN10300_TLS_DTPMOD): Likewise.
71253         (R_MN10300_TLS_DTPOFF): Likewise.
71254         (R_MN10300_TLS_TPOFF): Likewise.
71255         (R_MN10300_SYM_DIFF): Likewise.
71256         (R_MN10300_ALIGN): Likewise.
71257         (R_MN10300_NUM): Update.
71259 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
71261         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
71262         Remove.
71264 2012-08-08  Roland McGrath  <roland@hack.frob.com>
71266         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
71268         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
71269         sysdeps/unix -> sysdeps/posix move.
71270         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
71272 2012-08-07      Allan McRae     <allan@archlinux.org>
71274         [BZ #14303]
71275         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
71276         (SUNOS_CPP): Likewise.
71277         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
71278         not found.
71279         (open_input): Call CPP using execvp.
71281 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71283         * sysdeps/unix/sysv/linux/kernel-features.h
71284         (__ASSUME_PROT_GROWSUPDOWN): Remove.
71285         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71286         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71287         (__ASSUME_WAITID_SYSCALL): Likewise.
71288         * sysdeps/unix/sysv/linux/dl-execstack.c
71289         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
71290         code unconditional.
71291         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
71292         conditional code.
71293         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
71294         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
71295         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
71296         code.
71297         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
71298         unconditional.
71299         [__ASSUME_WAITID_SYSCALL]: Likewise.
71300         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
71302 2012-08-07  Roland McGrath  <roland@hack.frob.com>
71304         * sysdeps/unix/closedir.c: Renamed to ...
71305         * sysdeps/posix/closedir.c: ... here.
71306         * sysdeps/unix/dirfd.c: Renamed to ...
71307         * sysdeps/posix/dirfd.c: ... here.
71308         * sysdeps/unix/dirstream.h: Renamed to ...
71309         * sysdeps/posix/dirstream.h: ... here.
71310         * sysdeps/unix/fdopendir.c: Renamed to ...
71311         * sysdeps/posix/fdopendir.c: ... here.
71312         * sysdeps/unix/opendir.c: Renamed to ...
71313         * sysdeps/posix/opendir.c: ... here.
71314         * sysdeps/unix/readdir.c: Renamed to ...
71315         * sysdeps/posix/readdir.c: ... here.
71316         * sysdeps/unix/readdir_r.c: Renamed to ...
71317         * sysdeps/posix/readdir_r.c: ... here.
71318         * sysdeps/unix/rewinddir.c: Renamed to ...
71319         * sysdeps/posix/rewinddir.c: ... here.
71320         * sysdeps/unix/seekdir.c: Renamed to ...
71321         * sysdeps/posix/seekdir.c: ... here.
71322         * sysdeps/unix/telldir.c: Renamed to ...
71323         * sysdeps/posix/telldir.c: ... here.
71324         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
71325         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
71326         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
71327         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
71329         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
71330         * bits/fcntl.h: ... here.
71332         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
71333         not 0.
71334         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
71335         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
71336         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
71337         (struct flock): Move l_start, l_len to the beginning.
71338         Use __pid_t for l_pid.
71339         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
71340         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
71341         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
71342         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
71343         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
71344         [__USE_LARGEFILE64] (struct flock64): New type.
71345         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
71347         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
71348         * bits/dirent.h: ... here.
71350         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
71351         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
71353 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71355         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71356         Change from 2.6.0 to 2.6.16.
71357         * sysdeps/unix/sysv/linux/configure: Regenerated.
71358         * sysdeps/unix/sysv/linux/kernel-features.h
71359         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
71360         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
71361         version.
71362         (__ASSUME_UTIMES): Likewise.
71363         (__ASSUME_CLONE_STOPPED): Remove.
71364         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
71365         architectures, not kernel version.
71366         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
71367         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71368         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71369         (__ASSUME_WAITID_SYSCALL): Likewise.
71370         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
71371         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
71372         * README: State 2.6.16 as minimum Linux kernel version.  Do not
71373         refer to older versions.
71375 2012-08-06  Roland McGrath  <roland@hack.frob.com>
71377         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
71378         Define alphasort64 as an alias.
71379         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
71380         Define versionsort64 as an alias.
71381         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
71382         Define scandir64 as an alias.
71383         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
71384         Define scandirat64 as an alias.
71385         * dirent/alphasort64.c (alphasort64):
71386         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
71387         * dirent/versionsort64.c: Likewise.
71388         * dirent/scandir64.c: Likewise.
71389         * dirent/scandirat64.c: Likewise.
71390         * sysdeps/wordsize-64/alphasort.c: File removed.
71391         * sysdeps/wordsize-64/alphasort64.c: File removed.
71392         * sysdeps/wordsize-64/scandir.c: File removed.
71393         * sysdeps/wordsize-64/scandir64.c: File removed.
71394         * sysdeps/wordsize-64/scandirat.c: File removed.
71395         * sysdeps/wordsize-64/scandirat64.c: File removed.
71396         * sysdeps/wordsize-64/versionsort.c: File removed.
71397         * sysdeps/wordsize-64/versionsort64.c: File removed.
71398         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
71399         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
71400         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
71401         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
71402         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
71403         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
71404         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
71405         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
71407         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
71408         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71409         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
71410         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71411         [defined __arch64__ || defined __sparcv9]
71412         (__INO_T_MATCHES_INO64_T): New macro.
71413         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71414         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
71415         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
71416         * sysdeps/unix/sysv/linux/bits/dirent.h
71417         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
71418         (_DIRENT_MATCHES_DIRENT64): New macro.
71420         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
71421         Define lockf64 as an alias.
71422         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
71423         Define fseeko64 as an alias.
71424         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
71425         Define ftello64 as an alias.
71426         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
71427         Define _IO_fgetpos64 and fgetpos64 as aliases.
71428         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
71429         Define _IO_fsetpos64 and fsetpos64 as aliases.
71430         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
71431         Conditionalize body on this.
71432         * libio/fseeko64.c: Likewise.
71433         * libio/ftello64.c: Likewise.
71434         * libio/iofgetpos64.c: Likewise.
71435         * libio/iofsetpos64.c: Likewise.
71436         * sysdeps/wordsize-64/lockf.c: File removed.
71437         * sysdeps/wordsize-64/lockf64.c: File removed.
71438         * sysdeps/wordsize-64/fseeko.c: File removed.
71439         * sysdeps/wordsize-64/fseeko64.c: File removed.
71440         * sysdeps/wordsize-64/ftello.c: File removed.
71441         * sysdeps/wordsize-64/ftello64.c: File removed.
71442         * sysdeps/wordsize-64/iofgetpos.c: File removed.
71443         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
71444         * sysdeps/wordsize-64/iofsetpos.c: File removed.
71445         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
71446         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
71447         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
71448         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
71449         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
71450         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
71451         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
71452         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
71453         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
71454         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
71455         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
71457         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71458         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71459         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
71460         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71461         [defined __arch64__ || defined __sparcv9]
71462         (__OFF_T_MATCHES_OFF64_T): New macro.
71463         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71464         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71465         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71466         (__OFF_T_MATCHES_OFF64_T): New macro.
71468 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71470         * stdlib/secure-getenv.c (__secure_getenv): Replace
71471         GLIBC_2_16 with GLIBC_2_17.
71473 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71475         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
71476         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71478 2012-08-03  David S. Miller  <davem@davemloft.net>
71480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71482 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71484         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
71485         Remove.
71486         (__ASSUME_CORRECT_SI_PID): Likewise.
71487         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
71488         (__ASSUME_TMPFS_NAME): Likewise.
71489         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
71490         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
71491         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
71492         (HAVE_AUX_SECURE): Make definition unconditional.
71493         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
71494         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
71496 2012-08-03  Roland McGrath  <roland@hack.frob.com>
71498         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
71499         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
71500         * sysdeps/mach/hurd/eloop-threshold.h: New file.
71501         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71502         __eloop_threshold instead of SYMLOOP_MAX.
71504         * sysdeps/generic/eloop-threshold.h: New file.
71505         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
71506         of MAXSYMLINKS.
71507         * elf/chroot_canon.c (chroot_canon): Likewise.
71509 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71511         [BZ #13717]
71512         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71513         Change to 2.6.0 everywhere.
71514         * sysdeps/unix/sysv/linux/configure: Regenerated.
71515         * sysdeps/unix/sysv/linux/kernel-features.h
71516         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
71517         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
71518         kernel versions.
71519         (__ASSUME_POSIX_TIMERS): Define unconditionally.
71520         (__ASSUME_FUTEX_REQUEUE): Remove.
71521         (__ASSUME_STATFS64): Define unconditionally.
71522         (__ASSUME_AT_SECURE): Likewise.
71523         (__ASSUME_CORRECT_SI_PID): Likewise.
71524         (__ASSUME_TGKILL): Define without depending on kernel version for
71525         i386.
71526         (__ASSUME_UTIMES): Likewise.
71527         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
71528         kernel version.
71529         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
71530         (__ASSUME_TMPFS_NAME): Likewise.
71531         * README: Update reference to Linux kernel versions.
71533 2012-08-02  Marek Polacek  <polacek@redhat.com>
71535         [BZ# 14150]
71536         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
71537         libc_cv_asm_type_prefix with %.
71538         * configure: Regenerated.
71539         * include/libc-symbols.h: Remove comment about
71540         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71541         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
71542         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
71543         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
71544         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
71545         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71546         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
71547         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
71548         * elf/tst-unique2mod1.c: Likewise.
71549         * elf/tst-unique1mod2.c: Likewise.
71550         * elf/tst-unique1mod1.c: Likewise.
71551         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
71552         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
71553         Replace ASM_TYPE_DIRECTIVE with .type.
71554         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71555         * sysdeps/i386/sysdep.h: Likewise.
71556         * sysdeps/x86_64/sysdep.h: Likewise.
71557         * sysdeps/sh/sysdep.h: Likewise.
71558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71559         Do not define ASM_TYPE_DIRECTIVE.
71560         * sysdeps/powerpc/sysdep.h: Likewise.
71561         * sysdeps/powerpc/powerpc32/sysdep.h:
71562         Replace ASM_TYPE_DIRECTIVE with .type.
71563         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
71564         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
71565         * sysdeps/i386/fpu/e_powf.S: Likewise.
71566         * sysdeps/i386/fpu/e_expl.S: Likewise.
71567         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71568         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71569         * sysdeps/i386/fpu/e_pow.S: Likewise.
71570         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71571         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71572         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71573         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71574         * sysdeps/i386/fpu/e_log2.S: Likewise.
71575         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71576         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71577         * sysdeps/i386/fpu/e_powl.S: Likewise.
71578         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71579         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71580         * sysdeps/i386/fpu/e_logl.S: Likewise.
71581         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71582         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71583         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71584         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71585         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71586         * sysdeps/i386/fpu/e_log.S: Likewise.
71587         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71588         * sysdeps/i386/fpu/e_logf.S: Likewise.
71589         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71590         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71591         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71592         * sysdeps/i386/fpu/e_log10.S: Likewise.
71593         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71594         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71595         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71596         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71597         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71598         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
71599         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71600         * sysdeps/i386/i686/strtok.S: Likewise.
71601         * sysdeps/i386/i386-mcount.S: Likewise.
71602         * sysdeps/i386/strtok.S: Likewise.
71603         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
71604         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71605         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71606         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71607         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71608         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71609         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71610         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71611         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71612         * sysdeps/x86_64/_mcount.S: Likewise.
71613         * sysdeps/x86_64/strtok.S: Likewise.
71614         * sysdeps/sh/_mcount.S: Likewise.
71616 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71618         * libio/iofopen.c: Include <fcntl.h>.
71619         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
71620         (_IO_fopen64, fopen64): Define as aliases.
71621         * libio/iofopen64.c: Include <fcntl.h>.
71622         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
71623         Conditionalize body on this.
71624         * sysdeps/wordsize-64/iofopen.c: File removed.
71625         * sysdeps/wordsize-64/iofopen64.c: File removed.
71627 2012-08-01  Marek Polacek  <polacek@redhat.com>
71629         * libc/Makeconfig: Use elf in place of binfmt-subdir.
71630         Use dlfcn directly instead of a variable.
71631         (binfmt-subdir): Do not define.
71632         (dlfcn): Likewise.
71634 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
71636         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
71637         Remove all definitions.
71638         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
71639         <kernel-features.h>.
71640         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71641         (miss_F_GETOWN_EX): Remove all definitions.
71642         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
71643         macro definition.
71644         [!__ASSUME_FCNTL64]: Remove conditional code.
71645         [__ASSUME_FCNTL64]: Make code unconditional.
71646         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
71647         <kernel-features.h>.
71648         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71649         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
71650         (lockf64) [__NR_fcntl64]: Make code unconditional.
71651         (lockf64) [__ASSUME_FCNTL64]: Likewise.
71653         * sysdeps/unix/sysv/linux/kernel-features.h
71654         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
71655         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
71656         Make code unconditional.
71657         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71658         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
71660         [__NR_vfork]: Make code unconditional.
71661         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71662         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
71664         [__NR_vfork]: Make code unconditional.
71665         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71666         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71668 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71670         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
71671         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
71673         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71674         Define mkstemp64 as an alias.
71675         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71676         Define mkstemps64 as an alias.
71677         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71678         Define mkostemp64 as an alias.
71679         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71680         Define mkostemps64 as an alias.
71681         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
71682         Conditionalize body on this.
71683         * misc/mkostemp64.c: Likewise.
71684         * misc/mkostemps64.c: Likewise.
71685         * misc/mkstemps64.c: Likewise.
71686         * sysdeps/wordsize-64/mkstemp64.c: File removed.
71687         * sysdeps/wordsize-64/mkostemp64.c: File removed.
71688         * sysdeps/wordsize-64/mkostemp.c: File removed.
71689         * sysdeps/wordsize-64/mkstemp.c: File removed.
71690         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
71691         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
71692         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
71693         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
71695         [BZ #14138]
71696         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
71697         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
71698         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
71699         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
71701         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
71702         compat_symbol macros from <shlib-compat.h> rather than the underlying
71703         default_symbol_version and symbol_version macros, so that DEFAULT
71704         lines in shlib-versions are respected.
71705         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
71707 2012-08-01  Florian Weimer  <fweimer@redhat.com>
71709         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
71710         Declare with warn_unused_result.
71711         (setgid, setregid, setegid, setresgid): Likewise.
71712         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
71713         Likewise.
71714         * WUR-REPORT: Remove set*id functions.
71716 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
71718         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
71720 2012-07-31  Roland McGrath  <roland@hack.frob.com>
71722         [BZ #10191]
71723         * include/sys/socket.h (__libc_accept, __libc_accept4):
71724         Add attribute_hidden.
71725         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
71727         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
71728         use of PTR_MANGLE.
71729         * inet/getnetgrent_r.c (setup): Likewise.
71731         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
71733 2012-07-31  David S. Miller  <davem@davemloft.net>
71735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71737 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
71739         [BZ #13629]
71740         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
71741         value between 1.0 and 2.0 and smaller part has absolute value less
71742         than 1.0.
71743         * math/s_clog10.c (__clog10): Likewise.
71744         * math/s_clog10f.c (__clog10f): Likewise.
71745         * math/s_clog10l.c (__clog10l): Likewise.
71746         * math/s_clogf.c (__clogf): Likewise.
71747         * math/s_clogl.c (__clogl): Likewise.
71748         * math/libm-test.inc (clog_test): Add more tests.
71749         (clog10_test): Likewise.
71750         * sysdeps/i386/fpu/libm-test-ulps: Update.
71751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71753 2012-07-31  Florian Weimer  <fweimer@redhat.com>
71755         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
71756         Exit with zero in case no suitable GID is found, and write a
71757         message to standard error.
71759 2012-07-30  Roland McGrath  <roland@hack.frob.com>
71761         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
71762         rather than to 1.
71763         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
71764         (MAXPATHLEN): Removed.
71765         (NOGROUP, NODEV): New macros.
71766         (setbit, clrbit, isset, isclr): New macros.
71767         (howmany, roundup, powerof2): New macros.
71768         (DEV_BSIZE): New macro.
71770         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
71771         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
71773         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
71774         definition on [!__NO_LONG_DOUBLE_MATH].
71776         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
71777         PTR_MANGLE and PTR_DEMANGLE.
71779         * socket/accept4.c (accept4): Rename to __libc_accept4.
71780         Define accept4 as a weak alias.
71782         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
71783         on [_DIRENT_HAVE_D_TYPE].
71784         * io/ftw.c (ftw_dir): Likewise.
71786         * io/xmknod.c (__xmknod): Don't check PATH for being null.
71788         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
71790         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
71791         Use the BSD numbers rather than the arbitrary ones we had.
71792         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
71793         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
71794         (SIGXCPU, SIGXFSZ): New macros.
71795         (_NSIG): Now 32.
71797         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
71798         initializer on [_LIBC_REENTRANT].
71800         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
71801         definitions inside [_POSIX_MAPPED_FILES].
71803         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
71805         * dirent/opendir.c: Include <fcntl.h>.
71807         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
71808         (__libc_getspecific): Likewise.
71809         (__libc_key_create): Likewise.
71811         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
71812         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
71813         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
71814         (tmpfile64): Define as alias.
71815         * sysdeps/wordsize-64/tmpfile.c: File removed.
71816         * sysdeps/wordsize-64/tmpfile64.c: File removed.
71817         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
71818         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
71820         * stdio-common/vfscanf.c: Include <stdbool.h>.
71821         * nss/makedb.c: Likewise.
71822         * stdio-common/_i18n_number.h: Likewise.
71823         * argp/argp-help.c: Likewise.
71824         * posix/wordexp.c: Likewise.
71825         * sysdeps/posix/spawni.c: Likewise.
71826         * nss/nss_files/files-initgroups.c: Likewise.
71827         * stdio-common/reg-modifier.c: Include <stdlib.h>.
71828         * nss/nss_files/files-initgroups.c: Likewise.
71829         * nss/nss_db/db-netgrp.c: Likewise.
71830         * nss/nss_db/db-initgroups.c: Likewise.
71831         * io/fchmodat.c: Include <sys/stat.h>.
71833         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
71834         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
71836         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
71837         [HAVE_MMAP].
71839         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
71840         Add multiple inclusion protection.
71842 2012-07-27  David S. Miller  <davem@davemloft.net>
71844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71846 2012-07-27  Gary Benson  <gbenson@redhat.com>
71848         [BZ #14298]
71849         * elf/rtld.c: Include <stap-probe.h>.
71850         (dl_main): Added static probes "init_start" and "init_complete".
71851         * elf/dl-load.c: Include <stap-probe.h>.
71852         (lose): Take new parameter "nsid".
71853         Added static probe "map_failed".
71854         (_dl_map_object_from_fd): Pass namespace id to lose.
71855         Added static probe "map_start".
71856         (open_verify): Pass namespace id to lose.
71857         * elf/dl-open.c: Include <stap-probe.h>.
71858         (dl_open_worker) Added static probes "map_complete", "reloc_start"
71859         and "reloc_complete".
71860         * elf/dl-close.c: Include <stap-probe.h>.
71861         (_dl_close_worker): Added static probes "unmap_start" and
71862         "unmap_complete".
71863         * elf/rtld-debugger-interface.txt: New file documenting the above.
71865 2012-07-26  Roland McGrath  <roland@hack.frob.com>
71867         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
71868         rather than a string variable.
71869         * sunrpc/rpc_main.c (h_output): Likewise.
71870         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
71872 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
71874         * inet/check_native.c: New file.
71876 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
71878         [BZ #13629]
71879         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
71880         if larger part has absolute value 1.0.
71881         * math/s_clog10.c (__clog10): Likewise.
71882         * math/s_clog10f.c (__clog10f): Likewise.
71883         * math/s_clog10l.c (__clog10l): Likewise.
71884         * math/s_clogf.c (__clogf): Likewise.
71885         * math/s_clogl.c (__clogl): Likewise.
71886         * math/libm-test.inc (clog_test): Add more tests.
71887         (clog10_test): Likewise.
71888         * sysdeps/i386/fpu/libm-test-ulps: Update.
71889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71891         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
71892         (pltexit): Likewise.
71893         (La_regs): Likewise.
71894         (La_retval): Likewise.
71895         (int_retval): Likewise.
71896         Update #error for removed macros to refer only to definitions in
71897         tst-audit.h.
71898         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
71899         macro.
71900         (pltexit): Likewise.
71901         (La_regs): Likewise.
71902         (La_retval): Likewise.
71903         (int_retval): Likewise.
71904         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
71905         macro.
71906         (pltexit): Likewise.
71907         (La_regs): Likewise.
71908         (La_retval): Likewise.
71909         (int_retval): Likewise.
71910         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
71911         macro.
71912         (pltexit): Likewise.
71913         (La_regs): Likewise.
71914         (La_retval): Likewise.
71915         (int_retval): Likewise.
71916         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
71917         macro.
71918         (pltexit): Likewise.
71919         (La_regs): Likewise.
71920         (La_retval): Likewise.
71921         (int_retval): Likewise.
71922         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
71923         macro.
71924         (pltexit): Likewise.
71925         (La_regs): Likewise.
71926         (La_retval): Likewise.
71927         (int_retval): Likewise.
71928         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
71929         macro.
71930         (pltexit): Likewise.
71931         (La_regs): Likewise.
71932         (La_retval): Likewise.
71933         (int_retval): Likewise.
71934         * sysdeps/generic/tst-audit.h: Update comment to refer only to
71935         macro definitions in tst-audit.h.
71936         * sysdeps/i386/tst-audit.h: New file.
71937         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
71938         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
71939         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
71940         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
71941         * sysdeps/sh/tst-audit.h: Likewise.
71942         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
71943         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
71944         * sysdeps/x86_64/tst-audit.h: Likewise.
71946 2012-07-26  Andreas Jaeger  <aj@suse.de>
71948         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
71949         ptrace.
71951         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
71952         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
71953         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
71954         PTRACE_O_MASK.
71955         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
71956         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
71957         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
71959         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
71960         value.
71962         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
71963         _sigsys.
71964         (si_call_addr, si_syscall, si_arch): Define new macro.
71965         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
71966         _sigsys.
71967         (si_call_addr, si_syscall, si_arch): Define new marcro.
71968         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
71969         _sigsys.
71970         (si_call_addr, si_syscall, si_arch): Define new macro.
71971         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
71972         _sigsys.
71973         (si_call_addr, si_syscall, si_arch): Define new macro.
71975 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71977         [BZ #13717]
71978         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71979         Change to 2.4.21 where previously 2.4.1.
71980         * sysdeps/unix/sysv/linux/configure: Regenerated.
71981         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
71982         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
71983         Linux kernel version.
71984         (__ASSUME_STD_AUXV): Remove.
71985         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
71986         kernel version.
71987         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
71988         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
71989         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
71990         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
71991         (__ASSUME_NETLINK_SUPPORT): Likewise.
71992         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
71993         (__no_netlink_support): Remove conditional definition.
71994         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
71995         Remove.
71996         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71997         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
71998         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
71999         (if_nameindex_ioctl): Remove.
72000         (if_nameindex_netlink): Do not handle __no_netlink_support.
72001         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72002         code.
72003         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
72004         Remove conditional code.
72005         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72006         code.
72007         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
72008         unconditional.
72009         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72010         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
72011         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
72012         Remove.
72013         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
72014         [!__ASSUME_STD_AUXV]: Remove conditional code.
72015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
72016         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
72017         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
72018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
72019         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
72020         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72021         code.
72022         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
72024         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
72025         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72026         conditional code.
72027         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
72029         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72030         code.
72031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
72032         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72033         conditional code.
72034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
72035         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72036         code unconditional.
72037         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72038         conditional code.
72039         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72040         unconditional.
72041         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72042         conditional code.
72043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72044         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72045         unconditional.
72046         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72047         conditional code.
72048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
72049         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72050         code unconditional.
72051         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72052         conditional code.
72053         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72054         unconditional.
72055         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72056         conditional code.
72057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
72058         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72059         code unconditional.
72060         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72061         conditional code.
72062         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72063         unconditional.
72064         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72065         conditional code.
72067 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
72069         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
72070         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
72071         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
72072         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
72073         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
72074         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
72075         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
72076         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
72077         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
72078         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
72079         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
72080         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
72081         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
72082         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
72083         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
72084         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
72085         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
72086         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
72087         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
72088         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
72089         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
72090         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
72091         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
72093 2012-07-25  Florian Weimer  <fweimer@redhat.com>
72095         * Versions.def: Add GLIBC_2.17.
72096         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
72097         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
72098         Introduce __libc_secure_getenv.
72099         * stdlib/Versions (2.17): Add secure_getenv
72100         (GLIBC_PRIVATE): Add __libc_secure_getenv.
72101         * stdlib/secure-getenv.c: Rename __secure_getenv to
72102         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
72103         symbol __secure_getenv for GLIBC_2.0.
72104         * stdlib/tst-secure-getenv.c: New.
72105         * stdlib/Makefile (tests): Add testcase.
72106         * manual/startup.texi (Environment Access): Document
72107         secure_getenv.
72108         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
72109         __libc_secure_getenv.
72110         * inet/ruserpass.c (ruserpass): Likewise.
72111         * malloc/mtrace.c (mtrace): Likewise.
72112         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
72113         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
72114         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
72115         * sysdeps/posix/tempname.c: Likewise.  Evaluate
72116         HAVE_SECURE_GETENV.
72117         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
72118         __secure_getenv to __libc_secure_getenv.
72119         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
72120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72121         Likewise.
72122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72123         Likewise.
72124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72126         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72132 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72134         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
72135         (struct La_i86_retval): Likewise.
72136         (struct La_x86_64_regs): Likewise.
72137         (struct La_x86_64_retval): Likewise.
72138         (struct La_x32_regs): Likewise.
72139         (struct La_x32_retval): Likewise.
72140         (struct La_ppc32_regs): Likewise.
72141         (struct La_ppc32_retval): Likewise.
72142         (struct La_ppc64_regs): Likewise.
72143         (struct La_ppc64_retval): Likewise.
72144         (struct La_sh_regs): Likewise.
72145         (struct La_sh_retval): Likewise.
72146         (struct La_s390_32_regs): Likewise.
72147         (struct La_s390_32_retval): Likewise.
72148         (struct La_s390_64_regs): Likewise.
72149         (struct La_s390_64_retval): Likewise.
72150         (struct La_sparc32_regs): Likewise.
72151         (struct La_sparc32_retval): Likewise.
72152         (struct La_sparc64_regs): Likewise.
72153         (struct La_sparc64_retval): Likewise.
72154         (struct audit_ifaces): Remove architecture-specific pltenter and
72155         pltexit members.
72156         * sysdeps/i386/ldsodefs.h: New file.
72157         * sysdeps/powerpc/ldsodefs.h: Likewise.
72158         * sysdeps/s390/ldsodefs.h: Likewise.
72159         * sysdeps/sh/ldsodefs.h: Likewise.
72160         * sysdeps/sparc/ldsodefs.h: Likewise.
72161         * sysdeps/x86_64/ldsodefs.h: Likewise.
72163 2012-07-25  Marek Polacek  <polacek@redhat.com>
72165         [BZ #6808]
72166         * math/libm-test.inc (yn_test): Add another test.
72167         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
72168         to ERANGE when the result is +-Inf.
72169         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
72170         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
72171         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
72172         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
72174 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
72176         * conform/data/time.h-data (NULL): Use macro-constant.  Require
72177         equal to 0.
72178         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
72179         clock_t.
72180         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
72182 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
72184         * configure.in <sysdeps resolving>: Correct printing
72185         Implies_before.
72186         * configure: Regenerate.
72188 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
72190         * math/w_ilogb.c: Include <limits.h>.
72191         * math/w_ilogbl.c: Likewise.
72193 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
72195         * manual/lang.texi (__va_copy): Document primarily as ISO C99
72196         va_copy.  Document allowing for unavailable va_copy only as
72197         pre-C99 compatibility.
72198         * manual/string.texi (Copying and Concatenation): Use va_copy
72199         instead of __va_copy in concat example.
72201 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
72203         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
72204         (__sendto): Use create_address_port.  Initialize APORT and deallocate
72205         it if not null.
72207         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
72208         with O_NOLINK passed to __file_name_lookup.
72210         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
72211         with O_NOLINK passed to __file_name_lookup.
72213         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
72214         negative N or less than NGIDS.
72216         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
72217         type to string_t.  Set ERANGE as errno and return it if NAME is not big
72218         enough.  Use memcpy instead of strncpy.
72220 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
72222         * elf/Makefile (check-data): Remove.
72223         (localplt.data): New vpath directive.
72224         ($(objpfx)check-localplt.out): Use localplt.data from vpath
72225         instead of $(check-data).
72226         * scripts/data/localplt-generic.data: Move to ...
72227         * sysdeps/generic/localplt.data: ... here.
72228         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
72229         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
72230         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
72231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
72232         ... here.
72233         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
72234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
72235         ... here.
72236         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
72237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
72238         ... here.
72239         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
72240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
72241         ... here.
72242         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
72243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
72244         ... here.
72245         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
72246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
72247         ... here.
72249 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72251         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
72252         PPC32 and PPC64 files.
72253         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
72254         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
72256 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72258         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
72259         __makecontext_ret to ...
72260         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
72261         ... here and call exit if uc_link is NULL.  New file.
72262         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
72263         __makecontext_ret.S.
72264         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
72265         __makecontext_ret to ...
72266         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
72267         ... here and call exit if uc_link is NULL.  New file.
72268         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
72269         __makecontext_ret.S.
72271 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72273         * elf/elf.h (R_390_IRELATIVE): New definition.
72274         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
72275         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
72276         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
72277         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
72278         (elf_machine_lazy_rel): Likewise.
72279         * sysdeps/s390/dl-irel.h: New file.
72280         * sysdeps/s390/s390-64/memcpy.S: New asm code.
72281         * sysdeps/s390/s390-64/memset.S: New asm code.
72282         * sysdeps/s390/s390-64/memcmp.S: New asm code.
72283         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
72284         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
72285         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
72286         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
72287         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
72288         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
72289         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
72290         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
72291         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
72292         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
72293         * sysdeps/s390/s390-32/memcpy.S: New asm code.
72294         * sysdeps/s390/s390-32/memset.S: New asm code.
72295         * sysdeps/s390/s390-32/memcmp.S: New asm code.
72297 2012-07-17  Marek Polacek  <polacek@redhat.com>
72299         [BZ #14349]
72300         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
72301         * sysdeps/s390/s390-64/configure.in: Likewise.
72302         * sysdeps/sparc/configure.in: Likewise.
72303         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
72304         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
72305         * sysdeps/i386/configure.in: Likewise.
72306         * sysdeps/x86_64/configure.in: Likewise.
72307         * sysdeps/sh/configure.in: Likewise.
72308         * sysdeps/s390/s390-32/configure: Regenerated.
72309         * sysdeps/s390/s390-64/configure: Likewise.
72310         * sysdeps/x86_64/configure: Likewise.
72311         * sysdeps/sh/configure: Likewise.
72312         * sysdeps/powerpc/powerpc64/configure: Likewise.
72313         * sysdeps/powerpc/powerpc32/configure: Likewise.
72314         * sysdeps/sparc/configure: Likewise.
72315         * sysdeps/i386/configure: Likewise.
72317         * elf/dl-open.c: Comment fixes.
72319 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
72321         * Makefile [CXX] (check-data): Remove.
72322         [CXX] (c++-types.data): New vpath directive.
72323         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
72324         vpath.  Do not allow for C++ type data being missing.
72325         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
72326         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
72327         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
72328         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
72329         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
72330         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
72331         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
72332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
72333         ... here.
72334         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
72335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
72336         ... here.
72337         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
72338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
72339         ... here.
72340         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
72341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
72342         ... here.
72343         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
72344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
72345         ... here.
72346         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
72347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
72348         ... here.
72349         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
72350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
72351         ... here.
72352         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
72353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
72355         * elf/tls-macros.h (TLS_LE): Move architecture-specific
72356         definitions to architecture-specific files.
72357         (TLS_IE): Likewise.
72358         (TLS_LD): Likewise.
72359         (TLS_GD): Likewise.
72360         * sysdeps/i386/tls-macros.h: New file.
72361         * sysdeps/powerpc/tls-macros.h: Likewise.
72362         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
72363         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
72364         * sysdeps/sh/tls-macros.h: Likewise.
72365         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
72366         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
72367         * sysdeps/x86_64/tls-macros.h: Likewise.
72369 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72371         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
72372         zero value for regular exit case.
72374         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
72375         (__start_context): Preserve zero value for regular exit case.
72377 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72378             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72380         * manual/setjmp.texi (setcontext): Clarify normal process
72381         termination when uc_link is the null pointer.
72382         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
72383         exit call.
72385 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
72387         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
72388         preprocessor.  Test for each exception mask separately.
72390 2012-07-16  Andreas Jaeger  <aj@suse.de>
72392         * po/ru.po: Update from translation team.
72394 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
72396         * conform/data/string.h-data (NULL): Use macro-constant.  Require
72397         equal to 0.
72398         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72399         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72400         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
72401         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
72402         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72404 2012-07-13  Andreas Jaeger  <aj@suse.de>
72406         * po/fr.po: Update from translation team.
72408 2012-07-12  Marek Polacek  <polacek@redhat.com>
72410         [BZ #14173]
72411         * math/libm-test.inc (yn_test): Add test for BZ #14173.
72412         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
72413         loop condition.
72415 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
72417         [BZ #13717]
72418         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72419         Change to 2.4.1 where previously 2.4.0.
72420         * sysdeps/unix/sysv/linux/configure: Regenerated.
72421         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
72422         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
72423         version.
72424         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
72425         (__ASSUME_AT_CLKTCK): Remove.
72426         (__ASSUME_AT_PAGESIZE): Likewise.
72427         (__ASSUME_AT_XID): Likewise.
72428         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
72429         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
72430         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
72431         unconditionally.
72432         (HAVE_AUX_PAGESIZE): Likewise.
72433         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
72434         [__ASSUME_AT_CLKTCK]: Make code unconditional.
72435         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
72437 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
72439         [BZ #14307]
72440         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
72441         the temporary buffer used to invoke __gethostbyname2_r,
72442         __gethostbyaddr_r and gethostbyname4_r to make room for struct
72443         host_data / struct gaih_addrtuple.
72444         * resolv/nss_dns/dns-host.c (global scope): Move definition of
72445         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
72446         header file nss/nsswitch.h.
72447         * nss/nsswitch.h (global scope): Add definition of implementation
72448         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
72449         resolv/nss_dns/dns-host.c).
72451 2012-07-11  Andreas Jaeger  <aj@suse.de>
72453         * po/fr.po: Update from translation team.
72455         * po/sv.po: Update from translation team
72456         * po/fr.po: Another update from translation team.
72458 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72460         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
72461         for subnormals or multiply small sinh result by itself.
72462         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72465 2012-07-11  David S. Miller  <davem@davemloft.net>
72467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72469 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
72471         [BZ #14347]
72472         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
72473         (INTERNAL_MARK): Shift it here.
72475 2012-07-10  Marek Polacek  <polacek@redhat.com>
72477         [BZ #14151]
72478         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
72479         libc_cv_asm_global_directive with .globl.
72480         * configure: Regenerated.
72481         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
72482         with .globl.
72483         * sysdeps/i386/configure: Regenerated.
72484         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
72485         with .globl.
72486         * sysdeps/x86_64/configure: Regenerated.
72487         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
72488         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
72489         * elf/tst-unique2mod2.c: Likewise.
72490         * elf/tst-unique2mod1.c: Likewise.
72491         * elf/tst-unique1mod2.c: Likewise.
72492         * elf/tst-unique1mod1.c: Likewise.
72493         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72494         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72495         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72496         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72497         * sysdeps/mach/sysdep.h: Likewise.
72498         * sysdeps/i386/sysdep.h: Likewise.
72499         * sysdeps/i386/i386-mcount.S: Likewise.
72500         * sysdeps/x86_64/_mcount.S: Likewise.
72501         * sysdeps/x86_64/sysdep.h: Likewise.
72502         * sysdeps/sh/_mcount.S: Likewise.
72503         * sysdeps/sh/sysdep.h: Likewise.
72504         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
72505         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
72506         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
72507         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72508         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
72509         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
72510         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
72511         * locale/localeinfo.h: Likewise.
72512         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
72513         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
72515 2012-07-09  Roland McGrath  <roland@hack.frob.com>
72517         [BZ #14336]
72518         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
72519         system".
72520         * manual/message.texi (The Uniforum approach): Likewise.
72521         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
72522         (glibc iconv Implementation): Likewise.
72524 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
72526         [BZ #14337]
72527         * math/s_clog.c (__clog): Avoid scaling a value down where that
72528         could result in underflow.
72529         * math/s_clog10.c (__clog10): Likewise.
72530         * math/s_clog10f.c (__clog10f): Likewise.
72531         * math/s_clog10l.c (__clog10l): Likewise.
72532         * math/s_clogf.c (__clogf): Likewise.
72533         * math/s_clogl.c (__clogl): Likewise.
72534         * math/libm-test.inc (clog_test): Add more tests.
72535         (clog10_test): Likewise.
72536         * sysdeps/i386/fpu/libm-test-ulps: Update.
72537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72539 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
72541         [BZ #14283]
72542         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
72543         by 7 not 8 to examine high bit of fractional part.
72545         [BZ #14042]
72546         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
72547         for call to __mcount_internal.
72548         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
72549         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
72550         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
72552 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
72554         [BZ #14154]
72555         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
72556         approximation for values within 0x1p-13f of an odd multiple of
72557         pi/4.
72558         * math/libm-test.inc (tan_test): Do not allow spurious underflow
72559         exception.  Add more tests.
72560         * sysdeps/i386/fpu/libm-test-ulps: Update.
72562         [BZ #6778]
72563         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
72564         inputs and return -1 for them.  Do not check for +Inf in case not
72565         reachable for +Inf.
72566         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
72567         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
72568         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72569         and return -1 for them.  Do not check for +Inf in case not
72570         reachable for +Inf.
72571         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
72572         define.
72573         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72574         and return -1 for them.  Do not check for +Inf in case not
72575         reachable for +Inf.
72576         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
72577         spurious underflow.
72578         * sysdeps/i386/fpu/libm-test-ulps: Update.
72579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72581 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
72583         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
72585 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
72587         [BZ #14157]
72588         [BZ #14331]
72589         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
72590         could result in spurious underflow.  Scale down values above
72591         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
72592         * math/s_csqrtf.c (__csqrtf): Likewise.
72593         * math/s_csqrtl.c (__csqrtl): Likewise.
72594         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
72595         spurious underflow.
72596         * sysdeps/i386/fpu/libm-test-ulps: Update.
72597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72599 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
72601         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
72602         xopen-msg.sed.
72603         * catgets/xopen-msg.awk: New file.
72604         * catgets/xopen-msg.sed: Removed.
72606         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
72607         po2text.sed.
72608         * intl/po2test.awk: New file.
72609         * intl/po2test.sed: Removed.
72611 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
72613         [BZ #14328]
72614         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
72615         or multiply small sinh result by itself.
72616         * math/s_ctanf.c (__ctanf): Likewise.
72617         * math/s_ctanh.c (__ctanh): Likewise.
72618         * math/s_ctanhf.c (__ctanhf): Likewise.
72619         * math/s_ctanhl.c (__ctanhl): Likewise.
72620         * math/s_ctanl.c (__ctanl): Likewise.
72621         * math/libm-test.inc (ctan_test_tonearest): New function.
72622         (ctan_test_towardzero): Likewise.
72623         (ctan_test_downward): Likewise.
72624         (ctan_test_upward): Likewise.
72625         (ctanh_test_tonearest): Likewise.
72626         (ctanh_test_towardzero): Likewise.
72627         (ctanh_test_downward): Likewise.
72628         (ctanh_test_upward): Likewise.
72629         (main): Call these new functions.
72630         * sysdeps/i386/fpu/libm-test-ulps: Update.
72631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72633 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
72635         * .gitignore: Delete /ports entry.
72637 2012-07-03  Andreas Jaeger  <aj@suse.de>
72639         * po/bg.po: Update from translation team.
72640         * po/cs.po: Likewise.
72641         * po/de.po: Likewise.
72642         * po/hr.po: Likewise.
72643         * po/nl.pl: Likewise.
72644         * po/pl.po: Likewise.
72645         * po/vi.po: Likewise.
72647 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
72649         * Makeconfig [!+link] (+link-before-libc): New variable.
72650         [!+link] (+link-after-libc): Likewise.
72651         [!+link] (+link-tests): Likewise.
72652         [!+link] (+link): Define in terms of $(+link-before-libc) and
72653         $(+link-after-libc).
72654         [!+link-static] (+link-static-before-libc): New variable.
72655         [!+link-static] (+link-static-after-libc): Likewise.
72656         [!+link-static] (+link-static-tests): Likewise.
72657         [!+link-static] (+link-static): Define in terms of
72658         $(+link-static-before-libc) and $(+link-static-after-libc).
72659         [build-shared] (link-libc-before-gnulib): New variable.
72660         [build-shared] (link-libc-tests): Likewise.
72661         [build-shared] (link-libc): Define in terms of
72662         $(link-libc-before-gnulib).
72663         [!build-shared] (link-libc-tests): New variable.
72664         (link-libc-static-tests): New variable.
72665         [!gnulib] (gnulib-arch): New variable.
72666         [!gnulib] (gnulib-tests): Likewise.
72667         [!gnulib] (static-gnulib-arch): Likewise.
72668         [!gnulib] (static-gnulib-tests): Likewise.
72669         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
72670         Define with "=" instead of ":=".
72671         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
72672         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
72673         * Rules (binaries-all-notests): New variable.
72674         (binaries-all-tests): Likewise.
72675         (binaries-static-notests): Likewise.
72676         (binaries-static-tests): Likewise.
72677         (binaries-all): Define using $(binaries-all-notests) and
72678         $(binaries-all-tests).
72679         (binaries-static): Define using $(binaries-static-notests) and
72680         $(binaries-static-tests).
72681         (binaries-shared-tests): New variable.
72682         (binaries-shared-notests): Likewise.
72683         (binaries-shared): Remove variable.
72684         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
72685         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
72686         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
72687         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
72688         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
72689         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
72690         * elf/Makefile (sln-modules): New variable.
72691         (extra-objs): Add $(sln-modules:=.o).
72692         (ldconfig-modules): Add static-stubs.
72693         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
72694         * elf/static-stubs.c: New file.
72696         [BZ #14283]
72697         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
72698         by 7 not 8 to examine high bit of fractional part.  Use volatile
72699         variables when splitting into final array of floats if
72700         __FLT_EVAL_METHOD__ != 0.
72701         * math/libm-test.inc (cos_test): Add another test.
72702         (sin_test): Likewise.
72703         * sysdeps/i386/fpu/libm-test-ulps: Update.
72705         [BZ #14273]
72706         * math/libm-test.inc (cosh_test): Add more tests.
72708         * version.h (RELEASE): Set to "development".
72709         (VERSION): Set to "2.16.90".
72711 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
72713         * NEWS: Update copyright. Remove last-updated date.
72714         Mention math library bug fixes and timezone data changes.
72715         * README: Mention GNU/Hurd, x32, and HPPA support status.
72717 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
72719         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
72721 2012-06-27  Andreas Jaeger  <aj@suse.de>
72723         * manual/contrib.texi (Contributors): Add Samuel Thibault.
72725 2012-06-25  Andreas Jaeger  <aj@suse.de>
72727         * sysdeps/s390/fpu/libm-test-ulps: Update.
72729 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
72730             Thomas Schwinge  <thomas@codesourcery.com>
72732         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
72733         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
72734         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
72735         fanotify_mark.
72737 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
72739         * sysdeps/mach/start.c: Remove file.
72740         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
72741         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
72742         * sysdeps/sh/init-first.c: Likewise.
72744         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
72745         registers for frame unwinding purposes, add CFI directives.
72746         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72747         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
72748         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
72749         Likewise.
72751         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
72752         __fortify_fail returning.
72753         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72755         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
72756         sysdeps/sh/____longjmp_chk.S.
72757         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
72758         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
72759         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
72760         (gen-as-const-headers): Append sigaltstack-offsets.sym.
72762         * sysdeps/sh/abort-instr.h: New file.
72763         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
72764         process in case exit returns.
72766         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
72767         initialize the GOT register before use.
72769         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
72770         calculation of ARGC > 4.
72772         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
72773         meaningful names to some local labels.
72775 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72776             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72778         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
72779         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
72780         (__arch_compare_and_exchange_val_16_acq): Likewise.
72781         (__arch_compare_and_exchange_val_32_acq): Likewise.
72782         (atomic_exchange_and_add): Fix gUSA sequence.
72783         (atomic_add): Likewise.
72784         (atomic_add_negative): Likewise.
72785         (atomic_add_zero): Likewise.
72786         (atomic_bit_test_set): Likewise.
72788 2012-06-22  Andreas Schwab  <schwab@redhat.com>
72790         [BZ #13579]
72791         * include/link.h (struct link_map): Add l_free_initfini.
72792         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
72793         l_initfini.
72794         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
72795         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
72796         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
72797         set.
72799 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
72801         * configure.in: Use AC_LANG_SOURCE.
72802         * configure: Regenerate.
72804 2012-06-22  Roland McGrath  <roland@hack.frob.com>
72806         * configure.in (libc_cv_localstatedir): New substituted variable.
72807         * configure: Regenerated.
72808         * config.make.in (localstatedir): New variable, substituted from
72809         libc_cv_localstatedir.
72810         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
72811         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
72812         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
72813         * sysdeps/gnu/configure: Regenerated.
72815 2012-06-21  Jeff Law  <law@redhat.com>
72817         [BZ #14277]
72818         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
72819         free.  Simplify list management for _LIBC case.
72821 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
72823         [BZ #14273]
72824         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
72825         Clear sign bit of 64-bit integer value before comparing against
72826         overflow value.
72828         * sysdeps/mach/configure: Regenerated.
72830 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
72832         [BZ #14278]
72833         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
72835 2012-06-21  Jeff Law  <law@redhat.com>
72837         [BZ #13882]
72838         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
72839         uint16_t for elements in the "seen" array to avoid char overflows.
72840         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72841         * elf/dl-open.c (dl_open_worker): Likewise.
72843 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
72845         * scripts/list-sources.sh: Scan PORTS for translations.
72846         * po/libc.pot: Regenerated.
72848 2012-06-21  Andreas Jaeger  <aj@suse.de>
72850         [BZ #12194]
72851         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
72852         warning.
72853         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
72854         * bits/byteswap-16.h (__bswap_16): Likewise.
72855         * bits/byteswap.h (__bswap_constant_16): Likewise.
72857 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
72859         [BZ #14117]
72860         * sysdeps/i386/fpu_control.h: Removed.
72861         * sysdeps/x86_64/fpu_control.h: Moved to ...
72862         * sysdeps/x86/fpu_control.h: Here.
72864         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
72865         (_FPU_SETCW): Likewise.
72867 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
72869         [BZ #14117]
72870         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
72871         * sysdeps/x86/fpu/bits/mathinline.h: This.
72872         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
72874         [BZ #14050]
72875         [BZ #14117]
72876         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
72877         functions if __x86_64__ is defined.
72879 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
72881         * string/endian.h: Add !__ASSEMBLER__ condition for including
72882         conversion interfaces.
72884 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
72886         [BZ #14241]
72887         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
72888         of ABS(x) in calculating zero to negative powers other than odd
72889         integers.
72890         * math/libm-test.inc (pow_test): Add more tests.
72892 2012-06-15  Andreas Jaeger  <aj@suse.de>
72894         * manual/contrib.texi (Contributors): Update entry of Liubov
72895         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
72896         Machado Filho.
72898 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
72900         * string/string.h: Add __wur to GNU version of strerror_r.
72902 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
72904         [BZ #14229]
72905         * string/Makefile (tests): Add tst-strtok_r.
72906         * string/tst-strtok_r.c: New file.
72907         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
72908         RAX_LP/RDX_LP on SAVE_PTR.
72910 2012-06-14  Roland McGrath  <roland@hack.frob.com>
72912         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
72914 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
72916         * libm_test.inc (csqrt_test): Allow more spurious underflow
72917         exceptions.
72918         (j0_test): Likewise.
72919         (j1_test): Likewise.
72920         (y0_test): Likewise.
72921         (y1_test): Likewise.
72923 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
72925         * po/Makefile (libc.pot): Use UTF-8 charset.
72927 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
72929         [BZ #14210]
72930         Suppress sign-conversion warning from FD_SET.
72931         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
72932         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
72933         not unsigned long int.
72934         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
72936 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
72938         [BZ #14050]
72939         [BZ #14117]
72940         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
72941         __extern_always_inline instead of __extern_inline.
72942         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
72943         (__signbit): Likewise.
72944         (__signbitl): Support C++ namespace.
72945         (lrintf): New inline function.
72946         (lrint): Likewise.
72947         (llrintf): Likewise.
72948         (llrint): Likewise.
72949         (fmaxf): Likewise.
72950         (fmax): Likewise.
72951         (fminf): Likewise.
72952         (fmin): Likewise.
72953         (rint): Likewise.
72954         (rintf): Likewise.
72955         (ceil): Likewise.
72956         (ceilf): Likewise.
72957         (floor): Likewise.
72958         (floorf): Likewise.
72959         (nearbyint): Likewise.
72960         (nearbyintf): Likewise.
72962 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
72964         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
72965         non-default versions.
72967 2012-06-11  Roland McGrath  <roland@hack.frob.com>
72969         [BZ #14218]
72970         * manual/argp.texi (Argp): Reword argp_parse description slightly.
72972 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
72974         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
72975         (FE_UPWARD, FE_DOWNWARD): Don't define.
72976         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
72977         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72979         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
72980         reading it.
72981         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72982         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72984 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72986         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
72987         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
72988         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
72989         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
72991 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
72993         [BZ #14117]
72994         * sysdeps/i386/fpu/bits/fenv.h: Removed.
72995         * sysdeps/i386/fpu/Implies: New file.
72996         * sysdeps/x86_64/fpu/Implies: Likewise.
72997         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
72998         * sysdeps/x86/fpu/bits/fenv.h: This.
73000         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
73001         __SSE_MATH__.
73003 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73005         [BZ #14134]
73006         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
73007         character 0xffff that matches the last element of the
73008         conversion table.
73010 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73012         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
73013         fmodl commit.
73015 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73017         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
73018         values higher than 25.6283.
73020 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73022         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
73023         subnormal exponent extraction and add some __builtin_expect.
73024         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
73025         Fix for subnormal mantissa calculation.
73027 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
73029         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
73030         cpu2 is -1 and errno is not ENOSYS.
73032 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
73034         [BZ #14117]
73035         * sysdeps/i386/i486/bits/string.h: Renamed to ...
73036         * sysdeps/x86/bits/string.h: This.
73037         * sysdeps/x86_64/bits/string.h: Removed.
73039         * sysdeps/i386/i486/bits/string.h: Define inline functions only
73040         if not compiling for x86-64, but compiling for >= i486.
73042         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
73043         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
73045         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
73046         New macro from Linux kernel 3.4.0.
73047         (FP_XSTATE_MAGIC2): Likewise.
73048         (FP_XSTATE_MAGIC2_SIZE): Likewise.
73049         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
73050         (struct _fpx_sw_bytes): New struct.
73051         (struct _xsave_hdr): Likewise.
73052         (struct _ymmh_state): Likewise.
73053         (struct _xstate): Likewise.
73055         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
73056         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
73057         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
73058         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
73059         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
73060         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
73062         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
73063         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
73064         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
73065         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
73066         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
73067         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
73069 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73071         [BZ #13743]
73072         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
73073         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
73074         (sysdep_headers): Include sys/platform/ppc.h.
73075         * sysdeps/powerpc/test-gettimebase.c: Test for
73076         __ppc_get_timebase() to catch future ISA opcode/insn changes.
73077         * manual/Makefile (appendices): Include platform.texi.
73078         * manual/contrib.texi (Contributors): Update @node pointers.
73079         * manual/maint.texi (Maintenance): Likewise.
73080         (Platform): New node.
73081         * manual/platform.texi: New file.  Document the new features.
73083 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
73084             Jakub Jelinek  <jakub@redhat.com>
73086         [BZ #14188]
73087         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
73088         where __builtin_expect is unavailable.
73090 2012-06-03  David S. Miller  <davem@davemloft.net>
73092         * stdlib/longlong.h: Updated from GCC.
73094 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
73096         [BZ #14042]
73097         * sysdeps/powerpc/powerpc32/mcount.c: New file.
73098         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
73099         __mcount_internal.
73100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73101         (GLIBC_2.16): Likewise.
73103 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73105         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
73107 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
73110         (default-abi): New variable.
73111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
73112         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
73113         variable.
73114         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
73115         Likewise.
73116         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
73117         Likewise.
73118         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
73119         Likewise.
73121         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
73122         definition.  Document in comment.
73124 2012-06-01  David S. Miller  <davem@davemloft.net>
73126         * stdlib/longlong.h: Updated from GCC.
73128 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73130         [BZ #14117]
73131         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
73132         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
73133         sys/debugreg.h sys/io.h here.
73134         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
73135         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
73136         sys/io.h.
73137         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
73138         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
73139         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
73140         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
73141         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
73142         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
73144         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
73145         Define only if __x86_64__ is defined.
73147 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73149         [BZ #14048]
73150         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
73151         Use int64_t for variable i.
73152         * math/libm-test.inc (fmod_test): Add more tests.
73154         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
73155         z computation is not scheduled after fetestexcept.
73156         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
73157         Use math_force_eval instead of asm to ensure calculation scheduled
73158         before exception test.
73159         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
73160         Ensure a1 + u.d computation is not scheduled after fetestexcept.
73162 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
73164         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
73165         computation is not scheduled after fetestexcept.
73167 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73169         [BZ #14117]
73170         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
73171         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
73173 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73175         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
73176         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
73178 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
73180         [BZ #14117]
73181         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
73182         <bits/wordsize.h>.
73183         (__WCHAR_MIN): Support __WORDSIZE == 64.
73184         (__WCHAR_MAX): Likewise.
73186         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
73187         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
73189         [BZ #14183]
73190         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
73191         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
73193         [BZ #14117]
73194         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
73195         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
73197         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
73198         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
73200         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
73201         Defined to 1 if __x86_64__ isn't defined.
73202         (_STAT_VER_LINUX_OLD): New.
73203         (st_atime): Remove duplicate.
73204         (st_mtime): Likewise.
73205         (st_ctime): Likewise.
73207 2012-05-31  David S. Miller  <davem@davemloft.net>
73209         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
73210         entries.
73212 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
73214         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
73215         gen-libm-test.pl.
73217         [BZ #14132]
73218         * elf/dl-reloc.c: Include <_itoa.h>.
73219         (_dl_reloc_bad_type): Remove use of INTUSE.
73220         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
73221         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
73222         * stdio-common/psiginfo.c (psiginfo): Likewise.
73223         * stdio-common/psignal.c (psignal): Likewise.
73224         * string/strsignal.c (strsignal): Likewise.
73225         * include/signal.h (_sys_siglist): Declare hidden proto.
73226         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
73227         INTVARDEF with libc_hidden_data_def.
73228         * stdio-common/itoa-udigits.c: Likewise.
73229         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
73230         (_itoa_lower_digits_internal): Remove declaration.
73231         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
73232         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
73233         (_sys_sigabbrev_internal): Remove aliases.
73234         (_sys_siglist): Define hidden alias.
73236 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
73238         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73239         bits/sysctl.h.
73241 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
73243         [BZ #14117]
73244         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
73245         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
73247         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
73248         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
73249         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
73250         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
73251         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
73252         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
73254         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
73255         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
73256         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
73258         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
73259         with __addr.
73260         (insw): Likewise.
73261         (insl): Likewise.
73262         (outsb): Likewise.
73263         (outsw): Likewise.
73264         (outsl): Likewise.
73266         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
73267         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
73268         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
73270         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
73271         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
73272         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
73273         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
73274         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
73275         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
73277         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
73278         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
73280         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
73281         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
73283         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
73284         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
73285         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
73287         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
73288         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
73289         to ...
73290         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
73292         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
73293         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
73294         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
73296         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
73297         for x86-64.
73298         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
73300 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
73302         * math/math.h (M_El): Use two more decimal places.
73303         (M_LOG2El): Likewise.
73304         (M_LOG10El): Likewise.
73305         (M_LN2l): Likewise.
73306         (M_LN10l): Likewise.
73307         (M_PIl): Likewise.
73308         (M_PI_2l): Likewise.
73309         (M_PI_4l): Likewise.
73310         (M_1_PIl): Likewise.
73311         (M_2_PIl): Likewise.
73312         (M_2_SQRTPIl): Likewise.
73313         (M_SQRT2l): Likewise.
73314         (M_SQRT1_2l): Likewise.
73316 2012-05-31  David S. Miller  <davem@davemloft.net>
73318         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
73319         values between float registers.
73320         * sysdeps/sparc/sparc64/memset.S: Likewise.
73321         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
73323 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
73325         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
73326         -D_FORTIFY_SOURCE=1.
73327         (CPPFLAGS-tst-longjmp_chk.c): Define.
73328         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
73329         (CPPFLAGS-tst-longjmp_chk2.c): Define.
73330         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
73331         CFLAGS-tst-wchar-h.c.
73333 2012-05-31  Marek Polacek  <polacek@redhat.com>
73335         [BZ #14132]
73336         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
73337         __endmntent_internal): Remove declaration.
73338         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
73339         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
73340         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
73342 2012-05-30  David S. Miller  <davem@davemloft.net>
73344         * sysdeps/sparc/sparc32/soft-fp/q_util.c
73345         (___Q_simulate_exceptions): Use real FP ops rather than writing
73346         into the %fsr.
73347         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
73348         Likewise.
73350 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73352         [BZ #14117]
73353         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
73354         * sysdeps/x86/bits/xtitypes.h: This.
73356         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
73357         * sysdeps/x86/bits/wordsize.h: This.
73359         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
73360         * sysdeps/x86/bits/huge_vall.h: This.
73362         * sysdeps/i386/bits/select.h: Removed.
73363         * sysdeps/x86_64/bits/select.h: Renamed to ...
73364         * sysdeps/x86/bits/select.h: This.
73366         * sysdeps/i386/bits/setjmp.h: Removed.
73367         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
73368         * sysdeps/x86/bits/setjmp.h: This.
73370         * sysdeps/i386/bits/mathdef.h: Removed.
73371         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
73372         * sysdeps/x86/bits/mathdef.h: This.
73374 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
73376         [BZ #14132]
73377         * include/sys/socket.h (__connect_internal)
73378         (__libc_sa_len_internal): Remove declaration.
73379         (__connect, __libc_sa_len): Declare hidden_proto.
73380         (SA_LEN): Remove use of INTUSE.
73381         * socket/connect.c: Add libc_hidden_def.
73382         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
73383         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
73384         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
73385         alias.
73386         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
73387         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
73388         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
73389         of adding _internal alias.
73391 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73393         [BZ #14117]
73394         * sysdeps/i386/bits/link.h: Removed.
73395         * sysdeps/i386/bits/linkmap.h: Likewise.
73396         * sysdeps/x86_64/bits/link.h: Renamed to ...
73397         * sysdeps/x86/bits/link.h: This.
73398         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
73399         * sysdeps/x86/bits/linkmap.h: This.
73401         * sysdeps/i386/bits/endian.h: Removed.
73402         * sysdeps/x86_64/bits/endian.h: Renamed to ...
73403         * sysdeps/x86/bits/endian.h: This.
73405         * sysdeps/i386/bits/byteswap.h: Removed.
73406         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73407         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
73408         * sysdeps/x86/bits/byteswap.h: This.
73409         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
73410         * sysdeps/x86/bits/byteswap-16.h: This.
73411         * sysdeps/i386/Implies: Add x86.
73412         * sysdeps/x86_64/Implies: Likewise.
73414 2012-05-30  David S. Miller  <davem@davemloft.net>
73416         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
73417         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
73418         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
73419         (FP_TRAPPING_EXCEPTIONS): Define.
73420         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
73421         (FP_TRAPPING_EXCEPTIONS): Define.
73422         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
73423         subnormals only when inexact has been signalled or underflow
73424         exceptions are enabled.
73425         (_FP_PACK_CANONICAL): Likewise.
73427 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73429         [BZ #14183]
73430         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
73431         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
73433 2012-05-30  Richard Henderson  <rth@twiddle.net>
73435         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
73436         with #ifndef NOT_IN_libc.
73438         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
73439         marked to avoid plt entry.
73441 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73443         [BZ #14112]
73444         * Makeconfig (default-abi): New macro.
73445         (abi-includes): Likewise.
73446         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
73447         $(abi-$(default-abi)-lib-soname) for soname if defined.
73448         ($(common-objpfx)gnu/lib-names.stmp): Generate from
73449         abi-variants.
73450         * Makefile (installed-stubs): Likewise.
73451         * include/stubs-biarch.h: Removed.
73452         * scripts/lib-names.awk: Only handle one library at a time.
73453         * scripts/soversions.awk: Remove WORDSIZE support.
73454         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
73455         entries.
73456         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
73457         Removed.
73458         (syscall-list-default-condition): Likewise.
73459         (syscall-list-default-condition): Likewise.
73460         (syscall-list-includes): Likewise.
73461         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
73462         syscall-list-* with abi-*.  Handle undefined abi-variants.
73463         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
73464         * sysdeps/unix/sysv/linux/i386/Implies: New file.
73465         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
73466         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
73467         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
73468         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
73469         Removed.
73470         (syscall-list-32-options): Likewise.
73471         (syscall-list-32-condition): Likewise.
73472         (syscall-list-64-options): Likewise.
73473         (syscall-list-64-condition): Likewise.
73474         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
73475         macro.
73476         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
73477         Renamed to ...
73478         (abi-*): This.
73479         (abi-64-ld-soname): New macro.
73480         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
73481         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
73482         Renamed to ...
73483         (abi-*): This.
73484         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
73485         * sysdeps/x86_64/x32/shlib-versions: Likewise.
73487 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
73489         * sysdeps/unix/sysv/linux/kernel-features.h
73490         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
73491         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
73492         include <kernel-features.h>.
73493         [!__NR_ftruncate64]: Remove conditional code.
73494         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73495         [__NR_ftruncate64]: Make code unconditional.
73496         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73497         * sysdeps/unix/sysv/linux/truncate64.c: Do not
73498         include <kernel-features.h>.
73499         [!__NR_ftruncate64]: Remove conditional code.
73500         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73501         [__NR_ftruncate64]: Make code unconditional.
73502         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
73504         include <kernel-features.h>.
73505         [!__NR_ftruncate64]: Remove conditional code.
73506         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73507         [__NR_ftruncate64]: Make code unconditional.
73508         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
73510         include <kernel-features.h>.
73511         [!__NR_ftruncate64]: Remove conditional code.
73512         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73513         [__NR_ftruncate64]: Make code unconditional.
73514         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73516         * configure.in (libc_cv_fpie): Weaken to a compile test using
73517         LIBC_TRY_CC_OPTION.
73518         * configure: Regenerated.
73520 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
73523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
73524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
73525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73526         Refreshed.
73527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
73528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
73529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
73530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
73531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
73532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73533         Refreshed.
73535 2012-05-27  David S. Miller  <davem@davemloft.net>
73537         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
73538         (___Q_zero): New.
73539         (__Q_simulate_exceptions): Return void.  Change to simulate
73540         exceptions by writing into the %fsr.
73541         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
73542         (__Qp_handle_exceptions): Likewise.
73543         (numbers): Delete.
73544         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
73545         __Qp_handle_exceptions.
73546         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
73547         __Qp_handle_exceptions.
73548         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73549         as unused and give dummy FP_RND_NEAREST initializer.
73550         (FP_INHIBIT_RESULTS): Define.
73551         (___Q_simulate_exceptions): Update declaration.
73552         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
73553         formatting.
73554         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73555         as unused and give dummy FP_RND_NEAREST initializer.
73556         (__Qp_handle_exceptions): Update declaration.
73557         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
73558         formatting.
73560 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
73562         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
73563         the temporary FPU control word.
73564         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
73565         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
73566         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
73567         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73568         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
73569         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
73570         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
73571         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73572         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
73573         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
73574         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73576 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73578         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
73579         fields.
73581 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
73583         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
73584         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
73585         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
73586         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
73587         Likewise.
73588         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
73589         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
73590         Likewise.
73592 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
73594         * po/h.po: Update from translation team.
73596 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
73598         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
73600         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
73601         handling of denormals.
73602         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
73603         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
73604         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
73605         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
73606         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73607         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
73608         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
73609         Likewise.
73611 2012-05-26  Marek Polacek  <polacek@redhat.com>
73613         [BZ #14152]
73614         * math/libm-test.inc (fma_test): Don't always expect underflow
73615         exception.
73617 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
73619         [BZ #12416]
73620         * elf/tst-execstack.c: Include stackinfo.h.
73621         (do_test): Adjust test case to ensure that pthread_getattr_np
73622         behaviour remains the same after marking stack executable.
73624 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73626         * sysdeps/unix/sysv/linux/kernel-features.h
73627         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
73628         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
73629         kernel-features.h.
73630         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73631         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73632         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
73633         kernel-features.h.
73634         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73635         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73637 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
73639         * configure.in: Define the default includes to being none.
73640         * configure: Regenerated.
73642 2012-05-25  Roland McGrath  <roland@hack.frob.com>
73644         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
73645         * sysdeps/x86_64/setjmp.S: Likewise.
73646         * sysdeps/i386/bsd-setjmp.S: Likewise.
73647         * sysdeps/i386/bsd-_setjmp.S: Likewise.
73648         * sysdeps/i386/setjmp.S: Likewise.
73649         * sysdeps/i386/__longjmp.S: Likewise.
73650         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
73651         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
73653         * include/stap-probe.h: New file.
73654         * configure.in: Handle --enable-systemtap.
73655         * configure: Regenerated.
73656         * config.h.in (USE_STAP_PROBE): New #undef.
73657         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
73658         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
73659         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
73661 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73663         [BZ #13717]
73664         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73665         to 2.4.0 where earlier.
73666         * sysdeps/unix/sysv/linux/configure: Regenerated.
73667         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
73668         <kernel-features.h>.
73669         [__ASSUME_32BITUIDS]: Make code unconditional.
73670         [!__ASSUME_32BITUIDS]: Remove conditional code.
73671         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
73672         <kernel-features.h>.
73673         [__ASSUME_32BITUIDS]: Make code unconditional.
73674         [!__ASSUME_32BITUIDS]: Remove conditional code.
73675         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
73676         [__ASSUME_32BITUIDS]: Make code unconditional.
73677         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
73678         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
73679         <kernel-features.h>.
73680         [__ASSUME_32BITUIDS]: Make code unconditional.
73681         [!__ASSUME_32BITUIDS]: Remove conditional code.
73682         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
73683         <kernel-features.h>.
73684         [__ASSUME_32BITUIDS]: Make code unconditional.
73685         [!__ASSUME_32BITUIDS]: Remove conditional code.
73686         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
73687         <kernel-features.h>.
73688         [__ASSUME_32BITUIDS]: Make code unconditional.
73689         [!__ASSUME_32BITUIDS]: Remove conditional code.
73690         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
73691         <kernel-features.h>.
73692         [__ASSUME_32BITUIDS]: Make code unconditional.
73693         [!__ASSUME_32BITUIDS]: Remove conditional code.
73694         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
73695         <kernel-features.h>.
73696         [__ASSUME_32BITUIDS]: Make code unconditional.
73697         [!__ASSUME_32BITUIDS]: Remove conditional code.
73698         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
73699         <kernel-features.h>.
73700         [__ASSUME_32BITUIDS]: Make code unconditional.
73701         [!__ASSUME_32BITUIDS]: Remove conditional code.
73702         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
73703         <kernel-features.h>.
73704         [__ASSUME_32BITUIDS]: Make code unconditional.
73705         [!__ASSUME_32BITUIDS]: Remove conditional code.
73706         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
73707         <kernel-features.h>.
73708         [__ASSUME_32BITUIDS]: Make code unconditional.
73709         [!__ASSUME_32BITUIDS]: Remove conditional code.
73710         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
73711         <kernel-features.h>.
73712         [__ASSUME_32BITUIDS]: Make code unconditional.
73713         [!__ASSUME_32BITUIDS]: Remove conditional code.
73714         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
73715         <kernel-features.h>.
73716         [__ASSUME_32BITUIDS]: Make code unconditional.
73717         [!__ASSUME_32BITUIDS]: Remove conditional code.
73718         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
73719         <kernel-features.h>.
73720         [__NR_setresgid] (__setresgid): Do not declare.
73721         [__ASSUME_32BITUIDS]: Make code unconditional.
73722         [!__ASSUME_32BITUIDS]: Remove conditional code.
73723         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
73724         <kernel-features.h>.
73725         [__NR_setresuid] (__setresuid): Do not declare.
73726         [__ASSUME_32BITUIDS]: Make code unconditional.
73727         [!__ASSUME_32BITUIDS]: Remove conditional code.
73728         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
73729         <kernel-features.h>.
73730         [__ASSUME_32BITUIDS]: Make code unconditional.
73731         [!__ASSUME_32BITUIDS]: Remove conditional code.
73732         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
73733         <kernel-features.h>.
73734         [__ASSUME_32BITUIDS]: Make code unconditional.
73735         [!__ASSUME_32BITUIDS]: Remove conditional code.
73736         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
73737         <kernel-features.h>.
73738         [__ASSUME_32BITUIDS]: Make code unconditional.
73739         [!__ASSUME_32BITUIDS]: Remove conditional code.
73740         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
73741         <kernel-features.h>.
73742         [__ASSUME_32BITUIDS]: Make code unconditional.
73743         [!__ASSUME_32BITUIDS]: Remove conditional code.
73744         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
73745         <kernel-features.h>.
73746         [__ASSUME_32BITUIDS]: Make code unconditional.
73747         [!__ASSUME_32BITUIDS]: Remove conditional code.
73748         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
73749         <kernel-features.h>.
73750         [__ASSUME_32BITUIDS]: Make code unconditional.
73751         [!__ASSUME_32BITUIDS]: Remove conditional code.
73752         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
73753         <kernel-features.h>.
73754         [__ASSUME_32BITUIDS]: Make code unconditional.
73755         [!__ASSUME_32BITUIDS]: Remove conditional code.
73756         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
73757         <kernel-features.h>.
73758         [__ASSUME_32BITUIDS]: Make code unconditional.
73759         [!__ASSUME_32BITUIDS]: Remove conditional code.
73760         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
73761         <kernel-features.h>.
73762         [__ASSUME_32BITUIDS]: Make code unconditional.
73763         [!__ASSUME_32BITUIDS]: Remove conditional code.
73764         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
73765         <kernel-features.h>.
73766         [__ASSUME_32BITUIDS]: Make code unconditional.
73767         [!__ASSUME_32BITUIDS]: Remove conditional code.
73768         * sysdeps/unix/sysv/linux/kernel-features.h
73769         (__ASSUME_SETRESUID_SYSCALL): Remove.
73770         (__ASSUME_SETRESGID_SYSCALL): Likewise.
73771         (__ASSUME_32BITUIDS): Likewise.
73772         (__ASSUME_LDT_WORKS): Likewise.
73773         (__ASSUME_O_DIRECTORY): Likewise.
73774         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
73775         architecture but not kernel version.
73776         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
73777         (__ASSUME_MMAP2_SYSCALL): Likewise.
73778         (__ASSUME_STAT64_SYSCALL): Likewise.
73779         (__ASSUME_IPC64): Likewise.
73780         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
73781         <kernel-features.h>.
73782         [__ASSUME_32BITUIDS]: Make code unconditional.
73783         [!__ASSUME_32BITUIDS]: Remove conditional code.
73784         * sysdeps/unix/sysv/linux/opendir.c: Do not include
73785         <kernel-features.h>.
73786         [__ASSUME_O_DIRECTORY]: Make code unconditional.
73787         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
73788         132096]: Remove conditional code.
73789         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
73790         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
73791         <kernel-features.h>.
73792         [__ASSUME_32BITUIDS]: Make code unconditional.
73793         [!__ASSUME_32BITUIDS]: Remove conditional code.
73794         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
73795         <kernel-features.h>.
73796         [__ASSUME_32BITUIDS]: Make code unconditional.
73797         [!__ASSUME_32BITUIDS]: Remove conditional code.
73798         * sysdeps/unix/sysv/linux/setegid.c: Do not include
73799         <kernel-features.h>.
73800         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
73801         unconditional.
73802         (__setresgid): Do not declare.
73803         [__ASSUME_32BITUIDS]: Make code unconditional.
73804         [!__ASSUME_32BITUIDS]: Remove conditional code.
73805         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
73806         <kernel-features.h>.
73807         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
73808         unconditional.
73809         (__setresuid): Do not declare.
73810         [__ASSUME_32BITUIDS]: Make code unconditional.
73811         [!__ASSUME_32BITUIDS]: Remove conditional code.
73812         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
73813         <kernel-features.h>.
73814         [__ASSUME_32BITUIDS]: Make code unconditional.
73815         [!__ASSUME_32BITUIDS]: Remove conditional code.
73816         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
73817         <kernel-features.h>.
73818         [__ASSUME_32BITUIDS]: Make code unconditional.
73819         [!__ASSUME_32BITUIDS]: Remove conditional code.
73821 2012-05-25  Richard Henderson  <rth@twiddle.net>
73823         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
73824         dl_hwcap to ifunc resolver.
73825         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
73826         elf_ifunc_invoke.
73827         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
73828         dl_hwcap to ifunc resolver.
73829         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
73831 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73833         [BZ #14153]
73834         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
73835         for |x| <= 2**-26, not 2**-57.
73836         * math/libm-test.inc (acos_test): Do not allow spurious underflow
73837         exception.
73839 2012-05-24  Jeff Law  <law@redhat.com>
73841         * stdio-common/Makefile (tests): Add bug25.
73842         * stdio-common/bug25.c: New test.
73844 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73846         [BZ #13576]
73847         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
73848         multiple of MALLOC_ALIGNMENT in size.
73849         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
73851 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73853         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
73854         Require >= 256.
73855         (FILENAME_MAX): Use macro-int-constant.
73856         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
73857         (_IOFBF): Use macro-int-constant.
73858         (_IOLBF): Likewise.
73859         (_IONBF): Likewise.
73860         (SEEK_CUR): Likewise.
73861         (SEEK_END): Likewise.
73862         (SEEK_SET): Likewise.
73863         (TMP_MAX): Likewise.
73864         (EOF): Use macro-int-constant.  Require < 0.
73865         (NULL): Use macro-constant.  Require == 0.
73866         (stdin): Require type to be FILE *.
73867         (stdout): Likewise.
73868         (stderr): Likewise.
73869         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
73870         macro-int-constant.
73871         (EXIT_SUCCESS): Likewise.
73872         (NULL): Use macro-constant.  Require == 0.
73873         (RAND_MAX): Use macro-int-constant.
73874         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
73875         [C99-based standards] (strtof): Require function.
73876         [C99-based standards] (strtold): Likewise.
73877         [C99-based standards] (strtoll): Likewise.
73878         [C99-based standards] (strtoull): Likewise.
73879         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73880         [ISO || ISO99 || ISO11] (limits.h): Likewise.
73881         [ISO || ISO99 || ISO11] (math.h): Likewise.
73882         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
73883         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73884         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73886 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
73888         [BZ #14132]
73889         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
73890         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
73891         * intl/dgettext.c (DCGETTEXT): Likewise.
73892         * intl/gettext.c (DCGETTEXT): Likewise.
73893         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
73894         * posix/regex_internal.h (gettext): Likewise.
73895         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
73896         Remove declaration.
73897         * include/argz.h (__argz_count_internal)
73898         (__argz_stringify_internal): Remove declaration.
73899         (__argz_count, __argz_stringify): Declare hidden proto.
73900         * intl/dcgettext.c: Remove use of INTDEF.
73901         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
73902         * string/argz-stringify.c: Likewise.
73903         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73904         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73905         Declare hidden proto.
73906         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73907         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73908         Declare hidden proto.
73909         * include/stdio.h (__asprintf_internal): Don't declare.
73910         (__asprintf): Don't define as macro.  Declare hidden proto.
73911         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
73912         (__fsetlocking): Declare hidden proto.
73913         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
73914         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
73915         hidden proto.
73916         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
73917         (_IO_setlinebuf): Remove use of INTUSE.
73918         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
73919         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
73920         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
73921         Remove declaration.
73922         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
73923         (_IO_do_flush): Remove use of INTUSE.
73924         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
73925         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
73926         (_IO_adjust_column, _IO_least_wmarker)
73927         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
73928         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
73929         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
73930         (_IO_default_doallocate, _IO_wdefault_doallocate)
73931         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
73932         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
73933         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
73934         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
73935         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
73936         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
73937         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
73938         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
73939         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
73940         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
73941         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
73942         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
73943         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
73944         proto.
73945         (_IO_flush_all_internal, _IO_adjust_column_internal)
73946         (_IO_default_uflow_internal, _IO_default_finish_internal)
73947         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
73948         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
73949         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
73950         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
73951         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
73952         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
73953         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
73954         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
73955         (_IO_file_close_internal, _IO_file_close_it_internal)
73956         (_IO_file_underflow_internal, _IO_file_overflow_internal)
73957         (_IO_file_init_internal, _IO_file_attach_internal)
73958         (_IO_file_fopen_internal, _IO_file_read_internal)
73959         (_IO_file_sync_internal, _IO_file_seek_internal)
73960         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
73961         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
73962         (_IO_str_underflow_internal, _IO_str_overflow_internal)
73963         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
73964         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
73965         (_IO_list_all_internal, _IO_link_in_internal)
73966         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
73967         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
73968         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
73969         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
73970         (_IO_do_write_internal, _IO_padn_internal)
73971         (_IO_getline_info_internal, _IO_getline_internal)
73972         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
73973         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
73974         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
73975         (_IO_vfscanf_internal, _IO_vfprintf_internal)
73976         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
73977         (_IO_init_internal, _IO_un_link_internal): Don't declare.
73978         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
73979         with libc_hidden_ver, remove use of INTUSE.
73980         * libio/genops.c: Likewise.
73981         * libio/freopen.c: Likewise.
73982         * libio/freopen64.c: Likewise.
73983         * libio/iofclose.c: Likewise.
73984         * libio/iofdopen.c: Likewise.
73985         * libio/iofflush.c: Likewise.
73986         * libio/iofflush_u.c: Likewise.
73987         * libio/iofgets.c: Likewise.
73988         * libio/iofgets_u.c: Likewise.
73989         * libio/iofopen.c: Likewise.
73990         * libio/iofopncook.c: Likewise.
73991         * libio/iofread.c: Likewise.
73992         * libio/iofread_u.c: Likewise.
73993         * libio/ioftell.c: Likewise.
73994         * libio/iofwrite.c: Likewise.
73995         * libio/iogetline.c: Likewise.
73996         * libio/iogets.c: Likewise.
73997         * libio/iogetwline.c: Likewise.
73998         * libio/iopadn.c: Likewise.
73999         * libio/iopopen.c: Likewise.
74000         * libio/ioseekoff.c: Likewise.
74001         * libio/ioseekpos.c: Likewise.
74002         * libio/iosetbuffer.c: Likewise.
74003         * libio/iosetvbuf.c: Likewise.
74004         * libio/ioungetc.c: Likewise.
74005         * libio/ioungetwc.c: Likewise.
74006         * libio/iovdprintf.c: Likewise.
74007         * libio/iovsprintf.c: Likewise.
74008         * libio/iovsscanf.c: Likewise.
74009         * libio/memstream.c: Likewise.
74010         * libio/obprintf.c: Likewise.
74011         * libio/oldfileops.c: Likewise.
74012         * libio/oldiofclose.c: Likewise.
74013         * libio/oldiofdopen.c: Likewise.
74014         * libio/oldiofopen.c: Likewise.
74015         * libio/oldiopopen.c: Likewise.
74016         * libio/oldstdfiles.c: Likewise.
74017         * libio/putc.c: Likewise.
74018         * libio/setbuf.c: Likewise.
74019         * libio/setlinebuf.c: Likewise.
74020         * libio/stdfiles.c: Likewise.
74021         * libio/strops.c: Likewise.
74022         * libio/vasprintf.c: Likewise.
74023         * libio/vscanf.c: Likewise.
74024         * libio/vsnprintf.c: Likewise.
74025         * libio/vswprintf.c: Likewise.
74026         * libio/wfiledoalloc.c: Likewise.
74027         * libio/wfileops.c: Likewise.
74028         * libio/wgenops.c: Likewise.
74029         * libio/wmemstream.c: Likewise.
74030         * libio/wstrops.c: Likewise.
74031         * libio/__fpurge.c: Likewise.
74032         * libio/__fsetlocking.c: Likewise.
74033         * assert/assert.c: Likewise.
74034         * debug/fgets_chk.c: Likewise.
74035         * debug/fgets_u_chk.c: Likewise.
74036         * debug/fread_chk.c: Likewise.
74037         * debug/fread_u_chk.c: Likewise.
74038         * debug/gets_chk.c: Likewise.
74039         * debug/obprintf_chk.c: Likewise.
74040         * debug/vasprintf_chk.c: Likewise.
74041         * debug/vdprintf_chk.c: Likewise.
74042         * debug/vsnprintf_chk.c: Likewise.
74043         * debug/vsprintf_chk.c: Likewise.
74044         * malloc/mtrace.c: Likewise.
74045         * misc/error.c: Likewise.
74046         * misc/syslog.c: Likewise.
74047         * stdio-common/asprintf.c: Likewise.
74048         * stdio-common/fxprintf.c: Likewise.
74049         * stdio-common/getw.c: Likewise.
74050         * stdio-common/isoc99_fscanf.c: Likewise.
74051         * stdio-common/isoc99_scanf.c: Likewise.
74052         * stdio-common/isoc99_vfscanf.c: Likewise.
74053         * stdio-common/isoc99_vscanf.c: Likewise.
74054         * stdio-common/isoc99_vsscanf.c: Likewise.
74055         * stdio-common/printf-prs.c: Likewise.
74056         * stdio-common/printf_fp.c: Likewise.
74057         * stdio-common/printf_fphex.c: Likewise.
74058         * stdio-common/printf_size.c: Likewise.
74059         * stdio-common/putw.c: Likewise.
74060         * stdio-common/scanf.c: Likewise.
74061         * stdio-common/sprintf.c: Likewise.
74062         * stdio-common/tmpfile.c: Likewise.
74063         * stdio-common/vfprintf.c: Likewise.
74064         * stdio-common/vfscanf.c: Likewise.
74065         * stdlib/strfmon_l.c: Likewise.
74066         * sunrpc/openchild.c: Likewise.
74067         * sunrpc/xdr_stdio.c: Likewise.
74068         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
74069         * sysdeps/mach/hurd/tmpfile.c: Likewise.
74071 2012-05-24  Roland McGrath  <roland@hack.frob.com>
74073         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74075         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
74076         in the third column, to generate for the shared library an IFUNC
74077         that uses _dl_vdso_vsym.
74078         * Makerules (COMPILE.c, compile-stdin.c): New variables.
74079         * Makeconfig (object-suffixes-noshared): New variable.
74081         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
74082         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
74083         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
74084         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
74086         [BZ #14132]
74087         * include/sys/time.h (__gettimeofday): Remove macro.
74088         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
74089         * time/gettimeofday.c (__gettimeofday): Remove #undef.
74090         Remove INTDEF.
74091         (__gettimeofday): Add libc_hidden_def.
74092         (gettimeofday): Add libc_hidden_weak.
74093         * sysdeps/mach/gettimeofday.c: Likewise.
74094         * sysdeps/posix/gettimeofday.c: Likewise.
74095         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
74096         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
74097         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
74098         (__gettimeofday_internal): Remove strong_alias.
74099         (__gettimeofday): Add libc_hidden_def.
74100         (gettimeofday): Add libc_hidden_weak.
74101         * sysdeps/unix/syscalls.list (gettimeofday):
74102         Remove __gettimeofday_internal alias.
74104 2012-05-24  Daniel Jacobowitz  <drow@false.org>
74105             H.J. Lu  <hongjiu.lu@intel.com>
74107         [BZ #12495]
74108         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
74109         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
74110         (largebin_index_32_big): New.
74111         (largebin_index): Use it for 16-byte alignment.
74112         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
74113         correction with front_misalign.
74115 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
74118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
74119         Likewise.
74120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
74121         Likewise.
74122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
74123         Likewise.
74124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
74125         Likewise.
74126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
74127         Likewise.
74128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
74129         Likewise.
74130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
74131         Likewise.
74132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
74133         Likewise.
74134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
74135         Likewise.
74136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
74137         Likewise.
74138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
74139         Likewise.
74140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
74141         Likewise.
74143         * scripts/data/c++-types-x32-linux-gnu.data: New file.
74144         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
74146 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74148         [BZ #10846]
74149         [BZ #14036]
74150         * math/libm-test.inc (exp_test): Add test from bug 14036.
74151         (pow_test): Add test from bug 10846.
74153         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
74154         and other flags.
74155         (special_function): Do not include flags in test name.
74156         (parse_args): Likewise.
74157         * sysdeps/i386/fpu/libm-test-ulps: Update.
74158         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74159         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
74160         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
74161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74163         * math/gen-libm-test.pl (%beautify): Add entries for underflow
74164         exceptions.
74165         * math/libm-test.inc ("Philosophy"): Update comment about
74166         exception testing.
74167         (UNDERFLOW_EXCEPTION): New macro.
74168         (UNDERFLOW_EXCEPTION_OK): Likewise.
74169         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
74170         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
74171         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
74172         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
74173         (INVALID_EXCEPTION_OK): Update value.
74174         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74175         (OVERFLOW_EXCEPTION_OK): Likewise.
74176         (IGNORE_ZERO_INF_SIGN): Likewise.
74177         (test_exceptions): Handle underflow exceptions.
74178         (acos_test): Update for underflow exception expectations.
74179         (cexp_test): Likewise.
74180         (clog_test): Likewise.
74181         (clog10_test): Likewise.
74182         (csqrt_test): Likewise.
74183         (ctan_test): Likewise.
74184         (ctanh_test): Likewise.
74185         (exp_test): Likewise.
74186         (exp10_test): Likewise.
74187         (exp2_test): Likewise.
74188         (expm1_test): Likewise.
74189         (fma_test): Likewise.
74190         (j0_test): Likewise.
74191         (jn_test): Likewise.
74192         (nexttoward_test): Likewise.
74193         (pow_test): Likewise.
74194         (scalbn_test): Likewise.
74195         (scalbln_test): Likewise.
74196         (tan_test): Likewise.
74197         (y1_test): Likewise.
74198         * sysdeps/i386/fpu/libm-test-ulps: Update.
74199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74201 2012-05-23  David S. Miller  <davem@davemloft.net>
74203         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
74204         (__libc_sigaction): Remove unused local variables.
74206 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74208         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
74210 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
74212         mktime: avoid signed integer overflow
74213         * time/mktime.c (__mktime_internal): Do not mishandle the case
74214         where diff == INT_MIN.
74216         mktime: simplify computation of average
74217         * time/mktime.c (ranged_convert): Use new time_t_avg function
74218         instead of rolling our own (probably-slower) code.
74220         mktime: do not assume signed right shift propagates sign bit
74221         * time/mktime.c (isdst_differ): New static function.
74222         (__mktime_internal): No need to normalize tm_isdst now.
74223         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
74224         tm_isdst values.
74226         mktime: merge another wrapv change from gnulib
74227         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
74228         from some compilers.
74230         mktime: remove incorrect attempt at unusual arithmetics
74231         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
74232         The code didn't really work on such machines anyway.
74233         (TYPE_MINIMUM): Assume two's complement.
74234         (twos_complement_arithmetic): Verify that long_int and time_t
74235         are two's complement (or unsigned, in the latter case).
74237         mktime: check signed shifts on long_int and time_t, too
74238         * time/mktime.c (SHR): Check that shifts work as desired
74239         on the types long_int and time_t too, as SHR is used on
74240         such types.
74242         mktime: do not assume 'long' is wide enough
74243         * time/mktime.c (verify): Move decl up.
74244         (long_int): New type.
74245         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
74246         to remove assumption in the code that 'long' is wide enough to
74247         store year values.  This assumption is not true on x32 and on
74248         some non-glibc platforms.
74250         mktime: merge wrapv change from gnulib
74251         * time/mktime.c (WRAPV): New macro.
74252         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
74253         (guess_time_tm, __mktime_internal): Do not assume that signed
74254         integer overflow wraps around; modern compilers generate code
74255         where this assumption is no longer valid.
74257 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74259         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74260         Replace "jmp L(pseudo_end)" with "ret".
74261         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
74262         Likewise.
74264 2012-05-23  Andreas Jaeger  <aj@suse.de>
74266         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
74267         * sysdeps/unix/sysv/linux/poll.c: Remove file.
74269 2012-05-23  Andreas Jaeger  <aj@suse.de>
74270             Maximilian Attems  <max@stro.at>
74272         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
74273         New macros.
74275 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74277         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
74278         code so that pseudo_end is just ret and the stack pointer is
74279         correct also for static library in error case.
74281 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
74283         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
74284         move to syscalls.list.
74285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
74286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
74287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
74288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
74290         * manual/install.texi (Running make install): Do not mention Linux
74291         kernel version for which pt_chown is not needed.
74292         (Linux): Do not mention problems with nscd with 2.0 kernels.
74293         * INSTALL: Regenerated.
74295 2012-05-23  Andreas Jaeger  <aj@suse.de>
74297         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
74298         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
74299         macro.
74300         * sysdeps/unix/sysv/linux/s390/bits/mman.h
74301         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74302         * sysdeps/unix/sysv/linux/sh/bits/mman.h
74303         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74304         * sysdeps/unix/sysv/linux/i386/bits/mman.h
74305         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74306         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
74307         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74308         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
74309         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74310         * sysdeps/unix/sysv/linux/bits/in.h
74311         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
74313 2012-05-22  Roland McGrath  <roland@hack.frob.com>
74315         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
74316         (PREPARE_VERSION): Just use assert instead, it will be elided
74317         under [NDEBUG] anyway.
74319 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74321         * sysdeps/unix/sysv/linux/Makefile: Include
74322         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
74323         (sysdep_routines): Remove sysctl.
74324         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
74325         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
74326         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
74327         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
74328         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
74330 2012-05-22  Andreas Jaeger  <aj@suse.de>
74332         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
74333         that pseudo_end is just ret and the stack pointer is correct also
74334         for static library in error case.
74336 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
74338         [BZ #14122]
74339         * nss/nsswitch.c (defconfig_entries): New variable.
74340         (__nss_database_lookup): Don't leak defconfig entries.
74341         (nss_parse_service_list): Don't leak on error paths.
74342         (free_database_entries): New function.
74343         (free_defconfig): New function.
74344         (free_mem): Move common code to free_database_entries.
74346 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74348         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
74349         Add arch_prctl.
74350         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
74352         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
74353         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
74354         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
74355         New macro.
74356         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
74357         (INTERNAL_SYSCALL_TYPES): Likewise.
74358         (LOAD_ARGS_TYPES_[1-6]): Likewise.
74359         (LOAD_REGS_TYPES_[1-6]): Likewise.
74360         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
74361         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
74363 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74365         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
74366         copysignl for GLIBC_2_0.
74367         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
74368         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
74369         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
74370         logbl for GLIBC_2_0.
74371         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
74372         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
74374 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74376         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
74377         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74379         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74380         Use "neg %eax".
74382         * time/mktime.c: Update copyright years.
74384 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
74386         mktime: merge comment-quoting-style change from gnulib
74387         * time/mktime.c: Quote 'like this' in comments.
74388         The GNU coding standards suggest that we no longer quote `like this',
74389         as "`" and "'" are typically rendered asymmetrically nowadays.
74390         The typical gnulib style is to quote 'like this' when quoting
74391         code, and "like this" when quoting English.
74393         * time/mktime.c (compile-command): Add "-I.".
74395         mktime: merge mktime-internal.h change from gnulib
74396         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
74398         mktime: merge time_r change from gnulib
74399         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
74401         mktime: merge DEBUG change from gnulib
74402         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
74403         case system <time.h> has a #define.
74405         mktime: merge <sys/types.h> change from gnulib
74406         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
74407         since <time.t> is now guaranteed to define time_t.
74409         mktime: merge HAVE_CONFIG_H change from gnulib
74410         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
74412 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74414         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74415         Use "neg %eax".
74417         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
74418         __rlim_t cast.
74419         (struct rusage): Use anonymous union to pad each field to
74420         __syscall_slong_t.
74422 2012-05-21  David S. Miller  <davem@davemloft.net>
74424         * Makefules (o-iterator): Remove .s cases.
74425         (compile-command.s): Delete.
74426         (COMPILE.s): Delete.
74427         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
74429 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
74431         * configure.in (libc_cv_predef_stack_protector): Only consider
74432         "foobar" and "__stack_chk_fail" lines in libc_undefs.
74433         * configure: Regenerated.
74435 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74437         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74438         New macro.  Use R*LP on int and pointer.
74439         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
74440         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
74441         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
74442         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
74444         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
74445         [__WORDSIZE_TIME64_COMPAT32] instead of
74446         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
74447         (struct utmp): Likewise.
74448         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
74449         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
74450         Renamed to ...
74451         (__WORDSIZE_TIME64_COMPAT32): This.
74452         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
74453         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
74454         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
74455         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
74456         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
74457         (__WORDSIZE_TIME64_COMPAT32): New macro.
74459 2012-05-21  Andreas Jaeger  <aj@suse.de>
74461         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
74462         only if [SHARED]. Add prototype for __wcschr_ia32.
74464 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74466         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
74467         of %rbp unmolested in the jmp_buf while mangling the low bits.
74468         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
74469         unmolested high bits of %rbp while demangling the low bits.
74470         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74472 2012-05-21  Andreas Jaeger  <aj@suse.de>
74474         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
74475         * sunrpc/svc_simple.c: Use it for registerrpc.
74476         * sunrpc/xcrypt.c: Use it for passwd2des.
74478         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
74480 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74482         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
74483         Don't define if [__SYSCALL_WORDSIZE != 32].
74484         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
74485         New macro.
74487 2012-05-21  Bruno Haible  <bruno@clisp.org>
74488             Andreas Jaeger  <aj@suse.de>
74490         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
74491         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
74492         inptr and inend for must_buffer_ch.
74493         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
74494         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
74495         * stdio-common/Makefile (tests): Remove bug15.
74496         (bug15-ENV): Remove macro.
74497         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
74498         anymore.
74500 2012-05-19  Andreas Jaeger  <aj@suse.de>
74501             Roland McGrath  <roland@hack.frob.com>
74503         * manual/contrib.texi: Completely rewritten. It contains now an
74504         alphabetical list of contributors and their contributions.
74506 2012-05-21  Richard Henderson  <rth@twiddle.net>
74508         * misc/getauxval.c (__getauxval): Use unsigned long int.
74509         * misc/sys/auxv.h: Include <sys/cdefs.h>.
74510         (getauxval): Use unsigned long int.
74512 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74514         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74516 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74518         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
74519         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
74520         __alignof__ (long double).
74522 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74526 2012-05-20  Richard Henderson  <rth@twiddle.net>
74528         * misc/getauxval.c: New file.
74529         * misc/sys/auxv.h: New file.
74530         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
74531         (routines): Add getauxval.
74532         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
74533         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
74534         * elf/dl-sysdep.c (_dl_auxv): Remove.
74535         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
74536         * elf/dl-support.c (_dl_auxv): New variable.
74537         (_dl_aux_init): Initialize it.
74538         * manual/startup.texi (Auxiliary Vector): New node.
74539         * sysdeps/generic/bits/hwcap.h: New file.
74540         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
74541         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
74542         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
74543         * sysdeps/sparc/sysdep.h: ... here.  Include it.
74544         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
74545         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
74546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74547         Update.
74548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
74549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
74550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
74551         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
74552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
74555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
74557 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74559         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74561 2012-05-19  David S. Miller  <davem@davemloft.net>
74563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74565 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74567         [BZ #14123]
74568         * math/s_ccosh.c: Include <float.h>
74569         (__ccosh): Avoid internal overflow calculating sinh and cosh
74570         values before multiplying by sin and cos values.
74571         * math/s_ccoshf.c: Likewise.
74572         * math/s_ccoshl.c: Likewise.
74573         * math/s_csin.c: Likewise.
74574         * math/s_csinf.c: Likewise.
74575         * math/s_csinl.c: Likewise.
74576         * math/s_csinh.c: Likewise.
74577         * math/s_csinhf.c: Likewise.
74578         * math/s_csinhl.c: Likewise.
74579         * math/libm-test.inc (ccos_test): Add more tests.
74580         (ccosh_test): Likewise.
74581         (csin_test): Likewise.
74582         (csinh_test): Likewise.
74583         * sysdeps/i386/fpu/libm-test-ulps: Update.
74584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74586 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
74588         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
74589         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
74591         * sysdeps/x86_64/x32/_itoa.h: Add comment.
74593 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74595         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
74596         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
74597         * sysdeps/powerpc/soft-fp/Versions: Likewise.
74598         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
74599         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
74600         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
74601         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
74602         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
74603         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
74604         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
74605         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
74606         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
74607         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
74608         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
74609         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
74610         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
74611         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
74612         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
74613         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
74614         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
74615         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
74616         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
74617         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
74618         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
74619         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
74620         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
74621         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
74622         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
74623         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
74624         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
74625         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
74627 2012-05-18  Andreas Jaeger  <aj@suse.de>
74629         * csu/.gitignore: Delete.
74631 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74633         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
74634         (timex): Use __syscall_slong_t.
74636 2012-05-18  Andreas Jaeger  <aj@suse.de>
74637             Carlos O'Donell  <carlos_odonell@mentor.com>
74639         * manual/install.texi (Configuring and compiling): Update
74640         description about files modified in the source directory.
74641         * INSTALL: Regenerated.
74643 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74645         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
74646         value.  Use "or" to set return value to -1.
74647         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
74648         negate return value.
74650 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74652         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
74653         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
74654         failure if the compiler has Graphite support disabled.
74655         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
74656         Likewise.
74657         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
74658         (CFLAGS-memmove.c): Likewise.
74659         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
74660         Likewise.
74662 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74664         * sysdeps/x86_64/x32/_itoa.h: New file.
74666         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
74667         getdents system call only if kernel and user dirents have the
74668         same d_ino and d_off.
74670         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74671         LLONG_MAX != LONG_MAX.
74672         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74673         (_fitoa_word): Likewise.
74675         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
74676         years.
74677         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
74678         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
74679         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
74681         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
74682         include <bits/wordsize.h>.  Check __x86_64__ instead of
74683         __WORDSIZE.
74684         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
74685         if __x86_64__ is defined.  Use anonymous union on fpstate.
74687         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
74688         anonymous union.
74690 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
74692         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
74693         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
74694         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
74695         Refer to _rtld_local_ro instead of _rtld_global_ro.
74696         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
74697         Likewise.
74698         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
74699         Likewise.
74700         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
74701         Likewise.
74702         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
74703         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
74704         of _rtld_global, and rtld_progname instead of _dl_argv[0].
74706         [BZ #10882]
74707         * sysdeps/powerpc/powerpc32/dl-machine.c
74708         (__elf_machine_runtime_setup) [PROF]: Don't reference
74709         _dl_prof_resolve.
74711 2012-05-18  Andreas Jaeger  <aj@suse.de>
74713         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
74714         function only available for GCCs before 3.4 since GCC 3.4
74715         introduced a builtin.
74716         (lrint): Likewise.
74717         (llrintf): Likewise.
74718         (llrint): Likewise.
74719         (fmaxf): Likewise.
74720         (fmax): Likewise.
74721         (fminf): Likewise.
74722         (fmin): Likewise.
74723         (rint): Likewise.
74724         (rintf): Likewise.
74725         (nearbyint): Likewise.
74726         (nearbyintf): Likewise.
74727         (ceil): Likewise.
74728         (ceilf): Likewise.
74729         (floor): Likewise.
74730         (floorf): Likewise.
74732 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74734         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
74735         on both fields and cast pointer to __syscall_ulong_t.
74737         * bits/types.h (__fsword_t): New type.
74738         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
74739         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
74740         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74741         (__FSWORD_T_TYPE): Likewise.
74742         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74743         (__FSWORD_T_TYPE): Likewise.
74744         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74745         (__FSWORD_T_TYPE): Likewise.
74746         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
74747         (__FSWORD_T_TYPE): Likewise.
74748         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
74749         __SWORD_TYPE with __fsword_t.
74750         (statfs64): Likewise.
74752 2012-05-17  David S. Miller  <davem@davemloft.net>
74754         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
74756 2012-05-17  Andreas Jaeger  <aj@suse.de>
74758         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
74759         warning.
74761 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74763         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
74765 2012-05-17  Andreas Jaeger  <aj@suse.de>
74767         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
74768         when it is used.
74770 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74772         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
74774 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74776         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
74777         * sysdeps/x86_64/tst-mallocalign1.c: New file.
74779 2012-05-17  Andreas Jaeger  <aj@suse.de>
74780             Carlos O'Donell  <carlos_odonell@mentor.com>
74782         [BZ #14059]
74783         * sysdeps/x86_64/multiarch/init-arch.h
74784         (bit_YMM_Usable): Rename to...
74785         (bit_AVX_Usable): ... this.
74786         (bit_FMA4_Usable): New macro.
74787         (bit_XMM_state): New macro.
74788         (bit_YMM_state): New macro.
74789         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
74790         [__ASSEMBLER__] (index_AVX_Usable): ... this.
74791         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
74792         (CPUID_OSXSAVE): New macro.
74793         (CPUID_AVX): New macro.
74794         (CPUID_FMA4): New macro.
74795         (index_YMM_Usable): Rename to...
74796         (index_AVX_Usable): ... this.
74797         (HAS_AVX): Use HAS_ARCH_FEATURE.
74798         (HAS_FMA4): Likewise.
74799         (HAS_YMM_USABLE): Remove.
74800         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74801         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
74802         are present.
74803         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
74804         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
74805         * sysdeps/x86_64/multiarch/Makefile: Likewise.
74806         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
74807         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
74809 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74811         * math/libm-test.c: Support platforms without multiple rounding modes.
74812         * math/bug-nextafter.c: Support platforms without FP exceptions.
74813         * math/bug-nexttoward.c: Likewise.
74814         * math/test-fenv.c: Likewise.
74815         * math/test-misc.c: Likewise.
74816         * stdlib/bug-getcontext.c: Likewise.
74818 2012-05-17  Andreas Jaeger  <aj@suse.de>
74820         * manual/examples/search.c (critter_cmp): Change signature to
74821         avoid warnings.
74822         * manual/string.texi (Collation Functions): Likewise.
74824 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74826         * bits/types.h: Fold copyright years.
74827         * bits/typesizes.h: Likewise.
74828         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
74829         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
74830         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
74831         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
74832         * time/time.h: Likewise.
74834 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
74836         [BZ #208]
74837         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
74838         in instead of returning them.  Return void.
74839         (__libc_mallinfo): Accumulate over all arenas.
74840         (__malloc_stats): Adjust for change in int_mallinfo interface.
74842 2012-05-16  Roland McGrath  <roland@hack.frob.com>
74844         [BZ #10375]
74845         * configure.in (NM): Add AC_CHECK_TOOL for it.
74846         (libc_extra_cflags): New substituted variable.
74847         Check for -fstack-protector being used implicitly.
74848         * configure: Regenerated.
74849         * config.make.in (config-extra-cflags): New variable,
74850         gets @libc_extra_cflags@.
74851         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
74853         [BZ #10375]
74854         * configure.in: Check for _FORTIFY_SOURCE being predefined.
74855         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
74856         * configure: Regenerated.
74857         * config.make.in (CPPUNDEFS): New substituted variable.
74858         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
74859         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
74860         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
74862 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74864         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
74865         (mq_attr): Use __syscall_slong_t.
74867 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74869         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
74870         Check __x86_64__ instead of __WORDSIZE.
74871         (_STAT_VER_LINUX): Likewise.
74872         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
74873         __syscall_ulong_t and __syscall_slong_t.
74874         (stat64): Likewise.
74876 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74878         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
74880 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74882         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
74884 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74886         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
74887         __syscall_ulong_t.
74889         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
74890         include <bits/wordsize.h>.  Check __x86_64__ instead of
74891         __WORDSIZE.
74892         (greg_t): Use "__extension__ long long int" if __x86_64__ is
74893         defined.
74894         (mcontext_t): Replace "unsigned long" with "unsigned long long".
74896         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
74897         include <bits/wordsize.h>.  Check __x86_64__ instead of
74898         __WORDSIZE.
74899         (user_regs_struct): Use "__extension__ unsigned long long"
74900         instead of "unsigned long" if __x86_64__ is defined.
74901         (user): Likewise.  Pad after pointer field if __ILP32__ is
74902         defined.
74904 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
74906         * configure.in (makeinfo): Require version 4.5 or later.  Allow
74907         versions 5 to 9.
74908         * configure: Regenerated.
74909         * manual/install.texi (texinfo): Increase version requirement to
74910         4.5 or later.
74911         * INSTALL: Regenerated.
74913         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
74915 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74917         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
74919         * sysdeps/x86_64/x32/ffs.c: New file.
74921         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
74922         __syscall_ulong_t.
74923         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
74924         defined.  Use __syscall_ulong_t.
74925         (shminfo): Use __syscall_ulong_t.
74926         (shm_info): Likewise.
74928         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
74929         __syscall_ulong_t.
74931         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
74932         <bits/wordsize.h>.
74933         (msgqnum_t): Use __syscall_ulong_t.
74934         (msglen_t): Likewise.
74935         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
74936         __syscall_ulong_t.
74938         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
74939         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74941         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
74943         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
74944         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
74946         * sysvipc/sys/msg.h (msgbuf): Replace long int with
74947         __syscall_slong_t.
74949         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
74950         include <bits/wordsize.h>.  Check __x86_64__ instead of
74951         __WORDSIZE.
74953         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
74954         "unsigned long long int" if __x86_64__ is defined.
74955         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
74957         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
74958         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74959         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
74961         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
74962         <stdint.h>.
74963         (GET_PC): Cast to uintptr_t first.
74964         (GET_FRAME): Likewise.
74965         (GET_STACK): Likewise.
74967         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
74968         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
74969         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
74970         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
74971         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
74972         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
74973         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
74974         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
74975         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
74976         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
74977         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
74978         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
74979         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74980         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
74981         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
74982         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
74983         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
74984         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
74985         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
74986         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
74987         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
74988         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
74989         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
74990         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
74991         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
74992         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
74993         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
74994         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
74995         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
74997 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
74999         * Makerules (+depfiles): Also collect depfiles from .oS in
75000         $(extra-objs).
75001         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
75002         .oS, $(libnldbl-routines)).
75004         * Makerules (native-compile-mkdep-flags): Define.
75005         * sunrpc/Makefile (extra-objs): Add $(addprefix
75006         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
75007         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
75008         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
75009         calling $(make-target-directory).
75011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75013         * bits/types.h (__snseconds_t): Removed.
75014         * time/time.h (struct timespec): Replace __snseconds_t with
75015         __syscall_slong_t.
75016         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
75017         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
75018         Likewise.
75019         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75020         (__SNSECONDS_T_TYPE): Likewise.
75021         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75022         (__SNSECONDS_T_TYPE): Likewise.
75023         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75024         (__SNSECONDS_T_TYPE): Likewise.
75026 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75028         * sysdeps/mach/hurd/bits/typesizes.h
75029         (__SYSCALL_SLONG_TYPE): New macro.
75030         (__SYSCALL_ULONG_TYPE): Likewise.
75032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75034         * bits/types.h (__syscall_slong_t): New type.
75035         (__syscall_ulong_t): Likewise.
75037         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
75038         (__SYSCALL_ULONG_TYPE): Likewise.
75039         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75040         (__SYSCALL_SLONG_TYPE): Likewise.
75041         (__SYSCALL_ULONG_TYPE): Likewise.
75042         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75043         (__SYSCALL_SLONG_TYPE): Likewise.
75044         (__SYSCALL_ULONG_TYPE): Likewise.
75045         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75046         (__SYSCALL_SLONG_TYPE): Likewise.
75047         (__SYSCALL_ULONG_TYPE): Likewise.
75049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75051         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
75052         Add sigaltstack-offsets.sym.
75053         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
75054         <sigaltstack-offsets.h>.
75055         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
75056         longjmp_msg pointer.
75057         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
75058         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
75059         signal stack.
75060         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
75062 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
75064         * elf/stackguard-macros.h: Remove file.
75065         * sysdeps/generic/stackguard-macros.h: New file.
75066         * sysdeps/i386/stackguard-macros.h: Likewise.
75067         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
75068         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
75069         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
75070         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
75071         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
75072         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
75073         * sysdeps/x86_64/stackguard-macros.h: Likewise.
75074         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
75075         <elf/stackguard-macros.h>.
75077         [BZ #14109]
75078         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
75079         __aligned__ in attribute.
75080         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
75081         (gregset_t): Likewise.
75083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75085         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
75086         * sysdeps/x86_64/64/Implies-after: Here.  New file.
75087         * sysdeps/x86_64/x32/Implies-after: New file.
75089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75091         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
75092         and access return value for _dl_profile_fixup.  Use R10_LP to
75093         load frame size.
75095 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75097         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
75099 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75101         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
75102         * sysdeps/x86_64/x32/sysdep.h: New file.
75104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75106         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
75107         * sysdeps/x86_64/setjmp.S: Likewise.
75109 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75111         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
75112         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
75113         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
75114         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
75115         remove unused global constant.
75117 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
75119         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
75120         include of <not-cancel.h>.
75122 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75124         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
75126 2012-05-15  Jeff Law  <law@redhat.com>
75127             Andreas Jaeger  <aj@suse.de>
75129         [BZ #13594]
75130         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
75131         out from...
75132         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
75133         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
75134         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
75135         code changing __hst_map_handle.map.
75137 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75139         * configure.in (sysnames): Look for Implies-before and Implies-after
75140         files.
75141         * configure: Regenerated.
75143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75145         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
75146         8-byte data alignment with LP_SIZE alignment.
75148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75150         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
75151         into R10_LP.
75153 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75155         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
75157 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75159         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
75160         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
75161         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
75162         Likewise.
75163         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
75165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75167         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
75168         (stackinfo_sub_sp): Likewise.
75170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75172         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
75173         RAX_LP.
75175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75177         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
75178         into R*_LP.
75180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75182         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
75183         sizes into R*_LP.
75185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75187         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
75189 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75191         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
75192         into R11_LP and load __x86_64_shared_cache_size_half into
75193         R8_LP.
75195 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75197         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
75198         R8_LP.
75200 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75202         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
75203         logb for POWER7.
75204         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
75205         logbf for POWER7.
75206         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
75207         logbl for POWER7.
75208         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
75209         powerpc32/power7/fpu/s_logb.c via #include.
75210         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
75211         powerpc32/power7/fpu/s_logbf.c via #include.
75212         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
75213         powerpc32/power7/fpu/s_logbl.c via #include.
75215 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
75217         * README.libm: Remove file.
75219 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75221         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
75222         count for x32.  Use R*_LP and omit operand-size suffix.
75224 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75226         * shlib-versions: Move x86_64-.*-linux.* entries to ...
75227         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
75228         * sysdeps/x86_64/x32/shlib-versions: New file.
75230 2012-05-14  Roland McGrath  <roland@hack.frob.com>
75232         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
75233         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
75234         Use _dl_fatal_printf instead.
75236 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75238         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
75239         set if not set by the user.  Do not allow for being unset.
75240         * sysdeps/unix/sysv/linux/configure: Regenerated.
75242 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75244         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
75245         the `q' suffix from lea and replace .quad with ASM_ADDR.
75247 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75249         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
75250         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
75251         instead of $17.
75252         (PTR_DEMANGLE): Likewise.
75254 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75256         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
75257         (LP_OP): Likewise.
75258         (ASM_ADDR): Likewise.
75259         (RAX_LP): Likewise.
75260         (RBP_LP): Likewise.
75261         (RBX_LP): Likewise.
75262         (RCX_LP): Likewise.
75263         (RDI_LP): Likewise.
75264         (RSI_LP): Likewise.
75265         (RSP_LP): Likewise.
75266         (R8_LP): Likewise.
75267         (R9_LP): Likewise.
75268         (R10_LP): Likewise.
75269         (R10_LP): Likewise.
75270         (R11_LP): Likewise.
75271         (R12_LP): Likewise.
75272         (R13_LP): Likewise.
75273         (R14_LP): Likewise.
75274         (R15_LP): Likewise.
75276 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75278         * sysdeps/x86_64/x32/dl-machine.h: New file.
75280 2012-05-14  Andreas Jaeger  <aj@suse.de>
75282         * manual/Makefile (subdir): Remove export of subdir.
75283         (all): Remove target.
75284         (.PHONY): Remove all from list.
75285         (mkinstalldirs): Remove.
75286         (.PHONY): Remove installdirs from list.
75287         ($(inst_infodir)/libc.info): Use make-target-directory.
75288         (installdirs): Remove.
75289         (subdir_%): Remove.
75290         (glibc-targets): Remove.
75291         (lib): Remove.
75292         (stubs): Remove.
75293         ($(objpfx)stubs ../po/manual.pot): Remove.
75294         ($(objpfx)stamp%): Remove.
75295         (make-target-directory): Remove.
75296         (subdir_install): Remove.
75297         (routines): Remove.
75298         (aux): Remove.
75299         (sources): Remove.
75300         (objects): Remove.
75301         (headers): Remove.
75303         [BZ #13750]
75304         * manual/.gitignore: Remove, it's not needed anymore.
75305         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
75306         all files in it.
75307         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
75308         directory.
75309         (texis): Renamed to $(objpfx)texis.
75310         (texis-path): New, contains path to generated files.
75311         (chapters.%): Use texis-path for complete path, add extra argument
75312         libc-texinfo.sh.
75313         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
75314         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
75315         (summary,texi, stamp-summary): Use complete path of
75316         files. Generate files in build dir.
75317         (dir-add.texi): Build in build dir.
75318         (libm-err.texi,stamp-libm-err): Likewise.
75319         (version.texi, stamp-version): Likewise.
75320         (.%c.texi): Likewise.
75321         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
75322         (mostlyclean): Remove target.
75323         (realclean): Remove target.
75324         (generated): Add new variable with contents from mostlyclean and
75325         realclean, remove entries duplicated in common-mostlyclean, add
75326         stamp-libm-err and stamp-version.
75327         (generated-dirs): Add libc directory.
75328         ($(inst_infodir)/libc.info): Install files from build dir.
75330         * manual/install.texi (Configuring and compiling): Adjust since
75331         the info files are not part of the tar ball anymore.
75333 2012-05-14  Andreas Jaeger  <aj@suse.de>
75335         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
75336         variable.
75338 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75340         [BZ #13717]
75341         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75342         to 2.2.0 where earlier.
75343         * sysdeps/unix/sysv/linux/configure: Regenerated.
75344         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
75345         Remove conditional code.
75346         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
75347         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
75348         Remove conditional code.
75349         [!__NR_lchown]: Likewise.
75350         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75351         [__NR_lchown]: Likewise.
75352         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
75353         comment referencing __ASSUME_LCHOWN_SYSCALL.
75354         * sysdeps/unix/sysv/linux/i386/sigaction.c
75355         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75356         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75357         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
75358         Remove conditional code.
75359         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
75360         (__protocol_available): Remove #if 0 code.
75361         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
75362         conditional code.
75363         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
75364         * sysdeps/unix/sysv/linux/kernel-features.h
75365         (__ASSUME_GETCWD_SYSCALL): Don't define.
75366         (__ASSUME_REALTIME_SIGNALS): Likewise.
75367         (__ASSUME_PREAD_SYSCALL): Likewise.
75368         (__ASSUME_PWRITE_SYSCALL): Likewise.
75369         (__ASSUME_POLL_SYSCALL): Likewise.
75370         (__ASSUME_LCHOWN_SYSCALL): Likewise.
75371         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
75372         non-SPARC.
75373         (__ASSUME_SIOCGIFNAME): Don't define.
75374         (__ASSUME_MSG_NOSIGNAL): Likewise.
75375         (__ASSUME_SENDFILE): Define unconditionally.
75376         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
75377         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
75378         conditional code.
75379         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
75380         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
75381         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75382         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75383         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
75384         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75385         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
75387         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75388         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
75390         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75391         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
75393         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75394         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
75396         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75397         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
75399         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75400         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
75402         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75403         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
75405         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75406         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
75408         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75409         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75410         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
75411         Remove conditional code.
75412         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75413         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75414         Remove conditional code.
75415         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75416         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
75417         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
75418         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75419         Remove conditional code.
75420         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75421         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
75422         Remove conditional code.
75423         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75424         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
75425         Remove conditional code.
75426         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75427         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75428         Remove conditional code.
75429         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75430         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75431         Remove conditional code.
75432         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75433         * sysdeps/unix/sysv/linux/sh/pwrite64.c
75434         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75435         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75436         * sysdeps/unix/sysv/linux/sigaction.c
75437         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75438         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75439         * sysdeps/unix/sysv/linux/sigpending.c
75440         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75441         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75442         * sysdeps/unix/sysv/linux/sigprocmask.c
75443         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75444         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75445         * sysdeps/unix/sysv/linux/sigsuspend.c
75446         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75447         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75448         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75449         (__libc_missing_rt_sigs): Remove.
75450         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
75451         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
75452         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
75453         Remove conditional code.
75454         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
75455         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
75456         return 1.
75457         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
75458         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
75459         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
75460         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
75462 2012-05-14  Andreas Jaeger  <aj@suse.de>
75464         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
75465         it's not used in glibc.
75466         (__coshm1): Likewise.
75467         (__acosh1p): Likewise.
75468         (__sgn): Likewise.
75470         * manual/string.texi (Copying and Concatenation): Add missing
75471         variable in concat example.
75472         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
75474 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75476         [BZ #14103]
75477         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
75478         __builtin_clzl with __builtin_clzll.
75480 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75482         [BZ #14104]
75483         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
75484         libc_freeres_ptr.
75486 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75488         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
75489         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
75490         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
75491         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
75493 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
75495         * NEWS: Update ia64 info.
75497 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
75499         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
75500         used as bcopy.
75502 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
75504         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
75505         * sysdeps/unix/syscalls.list (dup3): Likewise.
75506         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
75507         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
75509 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75511         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
75512         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
75514 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75516         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
75517         thread pointer.
75518         (TLS_IE): Use mov/add instead of movq/addq to load thread
75519         pointer.
75520         (TLS_GD_PREFIX): New.
75521         (TLS_GD): Use it.
75523 2012-05-11  David S. Miller  <davem@davemloft.net>
75525         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
75526         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
75527         (_FPU_SETCW): Likewise.
75529 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75531         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
75532         is 32-byte aligned.
75534 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
75536         [BZ #11837]
75537         * iconvdata/gb18030.c: Update tables.
75538         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
75539         characters specially.
75540         (BODY for TO_LOOP): Add encoding of missing ranges.
75542 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
75544         [BZ #13673]
75545         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
75546         * sysdeps/mach/hurd/dup3.c: Likewise.
75547         * sysdeps/mach/hurd/readlinkat.c: Likewise.
75548         * sysdeps/powerpc/memmove.c:: Likewise.
75550 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75552         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
75553         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
75555 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75557         * elf/elf.h (R_X86_64_RELATIVE64): New.
75558         (R_X86_64_NUM): Updated.
75559         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
75560         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
75561         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
75562         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
75563         tst-quad1pie tst-quad2pie
75564         (modules-names): Add tst-quadmod1 tst-quadmod2.
75565         ($(objpfx)tst-quad1): New dependency.
75566         ($(objpfx)tst-quad2): Likewise.
75567         ($(objpfx)tst-quad1pie): Likewise.
75568         ($(objpfx)tst-quad2pie): Likewise.
75569         * sysdeps/x86_64/tst-quad1.c: New file.
75570         * sysdeps/x86_64/tst-quad1pie.c: New file.
75571         * sysdeps/x86_64/tst-quad2.c: Likewise.
75572         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
75573         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
75574         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
75575         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
75576         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
75578 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75580         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
75581         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
75582         * streams/stropts.h (t_scalar_t): Define type.
75584         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
75585         (_PATH_PRESERVE): Set to "/var/lib".
75586         (_PATH_RWHODIR): Set to "/var/spool/rwho".
75588         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
75589         instead of int.
75591         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
75592         if __dir_mkfile succeeded.
75594         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
75595         checking for _hurd_dtablesize.  Unlock it right after having
75596         finished _hurd_dtable allocation.
75598 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75600         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
75601         * sysdeps/mach/hurd/configure: Regenerated.
75602         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
75603         special-casing to...
75604         * sysdeps/gnu/configure.in: ... this new file.
75605         * sysdeps/unix/sysv/linux/configure: Regenerated.
75606         * sysdeps/gnu/configure: New generated file.
75608         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
75609         for Linux: use nsec instead of usec, as well as:
75610         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
75611         members of type struct timespec.
75612         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
75613         New macros.
75614         (struct stat64): Likewise.
75615         (_STATBUF_ST_NSEC): New macro.
75616         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
75618         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75619         __strtoul_internal rather than strtoul.
75621 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75623         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
75624         and reject them.
75626 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75628         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
75629         which preserves existing values.
75630         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
75632 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75634         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
75635         TIMEOUT values.  Return EINVAL for NFDS values either negative or
75636         greater than FD_SETSIZE.
75638 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75640         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
75641         allocated, call __vm_protect to finish enabling the existing space, and
75642         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
75643         allocate the remainder.
75645 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75647         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
75648         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
75650 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75652         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
75653         sysdeps/mach/hurd/readlink.c.
75655         * posix/tst-sysconf.c (posix_options): Only use
75656         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
75657         _POSIX_SYNCHRONIZED_IO when they are defined
75658         * sysdeps/mach/hurd/bits/posix_opt.h:
75659         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
75660         (_XOPEN_REALTIME): Undefine macro.
75661         (_XOPEN_REALTIME_THREADS): Undefine macro.
75662         (_XOPEN_SHM): Undefine macro.
75663         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
75664         macro to -1.
75665         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
75666         macro to -1.
75667         (_POSIX_ASYNC_IO): Undefine macro.
75668         (_POSIX_PRIORITIZED_IO): Undefine macro.
75669         (_POSIX_SPIN_LOCKS): Define macro to -1.
75671         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
75672         SA_NODEFER, SA_RESETHAND.
75673         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
75674         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
75675         F_DUPFD_CLOEXEC.
75677 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75679         * elf/Makefile (pldd-modules): Define unconditionally.
75681 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75683         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
75685 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75687         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
75688         Return ENOENT when name is empty.
75689         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
75691 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75693         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
75695         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
75697 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75699         Fix mlock in all cases except non-readable pages.
75700         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
75701         instead of VM_PROT_ALL as parameter to __vm_wire function.
75703         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
75704         (__mkdir): When path is `/', just fail with EEXIST.
75705         * sysdeps/mach/hurd/mkdirat.c: Likewise.
75707 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75709         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
75710         <sys/uio.h> (for writev).
75711         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
75712         and <sys/param.h> (for MIN).
75714 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75716         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
75717         REQUESTED_TIME.  Properly set the remaining time and return EINTR
75718         if interrupted.
75720 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75722         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
75723         Depend on against $(link-rpcuserlibs).
75725 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75727         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
75728         (__libc_stack_end): Do not use attribute_relro.
75729         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
75730         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
75731         to libthread-provided value.
75732         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
75733         attribute_relro.
75735 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75737         [BZ #3748]
75738         * bits/libc-lock.h (__libc_once_get): New macro.
75739         * sysdeps/mach/bits/libc-lock.h: Likewise.
75740         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
75741         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
75742         instead of using implementation details.
75744         * libio/fileops.c: Unconditionally include <kernel-features.h>.
75745         * libio/freopen.c: Likewise.
75746         * libio/freopen64.c: Likewise.
75747         * misc/syslog.c: Likewise.
75748         * nscd/connections.c: Likewise.
75749         * nscd/netgroupcache.c: Likewise.
75750         * sysdeps/posix/getcwd.c: Likewise.
75752 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75754         * math/w_ilogbf.c: Add #include <limits.h>.
75756 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75758         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
75759         path instead of returning without unlocking.
75761         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
75762         immediate-write ioctls.
75763         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
75765 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75767         * sysdeps/mach/hurd/i386/init-first.c (init): Use
75768         __builtin_frame_address instead of making assumptions about the
75769         location of the return address relative to DATA.  Force early load of
75770         the return address.
75771         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
75772         __builtin_frame_address.
75774         dup3 for GNU Hurd.
75775         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
75776         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
75777         implement dup3 and do some further code clean-ups.
75778         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
75779         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
75781 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75783         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
75785         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
75786         HURD_CRITICAL_END around holding _hurd_dtable_lock.
75787         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
75788         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
75789         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
75790         d->port.lock.
75792         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
75793         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
75794         when handler == SIG_ERR, not when handler != SIG_ERR.
75796 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75798         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
75799         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
75800         definitions.
75802         accept4 for GNU Hurd.
75803         * include/sys/socket.h (__libc_accept4): New prototype.
75804         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
75805         to implement __libc_accept4.
75806         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
75807         __libc_accept4.
75808         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
75810         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
75811         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
75812         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
75813         signal-defines.sym.
75815 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75817         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
75819 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75821         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
75822         assertion on O_CLOEXEC flag.
75823         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
75824         * hurd/intern-fd.c: Likewise.
75825         * hurd/port2fd.c: Likewise.
75827 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75829         [BZ #3906]
75830         * bits/in.h (IPV6_PKTINFO): Define new macro.
75831         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
75833 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75835         [BZ #13954]
75836         [BZ #13955]
75837         [BZ #13956]
75838         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
75839         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
75840         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
75841         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75842         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75843         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75844         * math/libm-test.inc (logb_test) : Additional logb tests.
75846 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
75847             Andreas Jaeger  <aj@suse.de>
75849         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
75850         * configure: Regenerated.
75851         * config.h.in (LINK_OBSOLETE_RPC): New macro.
75852         * config.make.in (link-obsolete-rpc): New substituted variable.
75853         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
75854         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
75855         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75856         (shared-only-routines): Don't set it under [link-obsolete-rpc],
75857         so that libc.a contains the symbols.
75858         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75859         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
75860         * sunrpc/auth_none.c: Likewise.
75861         * sunrpc/auth_unix.c: Likewise.
75862         * sunrpc/authdes_prot.c: Likewise.
75863         * sunrpc/authuxprot.c: Likewise.
75864         * sunrpc/clnt_gen.c: Likewise.
75865         * sunrpc/clnt_perr.c: Likewise.
75866         * sunrpc/clnt_raw.c: Likewise.
75867         * sunrpc/clnt_simp.c: Likewise.
75868         * sunrpc/clnt_tcp.c: Likewise.
75869         * sunrpc/clnt_udp.c: Likewise.
75870         * sunrpc/clnt_unix.c: Likewise.
75871         * sunrpc/des_crypt.c: Likewise.
75872         * sunrpc/des_soft.c: Likewise.
75873         * sunrpc/get_myaddr.c: Likewise.
75874         * sunrpc/key_call.c: Likewise.
75875         * sunrpc/key_prot.c: Likewise.
75876         * sunrpc/netname.c: Likewise.
75877         * sunrpc/pm_getmaps.c: Likewise.
75878         * sunrpc/pm_getport.c: Likewise.
75879         * sunrpc/pmap_clnt.c: Likewise.
75880         * sunrpc/pmap_prot.c: Likewise.
75881         * sunrpc/pmap_prot2.c: Likewise.
75882         * sunrpc/pmap_rmt.c: Likewise.
75883         * sunrpc/publickey.c: Likewise.
75884         * sunrpc/rpc_cmsg.c: Likewise.
75885         * sunrpc/rpc_common.c: Likewise.
75886         * sunrpc/rpc_dtable.c: Likewise.
75887         * sunrpc/rpc_prot.c: Likewise.
75888         * sunrpc/rpc_thread.c: Likewise.
75889         * sunrpc/rtime.c: Likewise.
75890         * sunrpc/svc.c: Likewise.
75891         * sunrpc/svc_auth.c: Likewise.
75892         * sunrpc/svc_raw.c: Likewise.
75893         * sunrpc/svc_run.c: Likewise.
75894         * sunrpc/svc_tcp.c: Likewise.
75895         * sunrpc/svc_udp.c: Likewise.
75896         * sunrpc/svc_unix.c: Likewise.
75897         * sunrpc/svcauth_des.c: Likewise.
75898         * sunrpc/xcrypt.c: Likewise.
75899         * sunrpc/xdr.c: Likewise.
75900         * sunrpc/xdr_array.c: Likewise.
75901         * sunrpc/xdr_float.c: Likewise.
75902         * sunrpc/xdr_intXX_t.c: Likewise.
75903         * sunrpc/xdr_mem.c: Likewise.
75904         * sunrpc/xdr_rec.c: Likewise.
75905         * sunrpc/xdr_ref.c: Likewise.
75906         * sunrpc/xdr_sizeof.c: Likewise.
75907         * sunrpc/xdr_stdio.c: Likewise.
75909 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75911         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
75912         change.  Update copyright years.
75914 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75916         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
75918 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
75919             Joseph Myers  <joseph@codesourcery.com>
75920             Paul Pluzhnikov  <ppluzhnikov@google.com>
75922         [BZ #14012]
75923         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
75924         requiring rpcgen.
75925         [cross-compiling] (extra-libs): Likewise.
75926         [cross-compiling] (extra-libs-others): Likewise.
75927         [cross-compiling] (librpcsvc-routines): Likewise.
75928         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
75929         [cross-compiling] (omit-deps): Likewise.
75930         (sunrpc-CPPFLAGS): New variable.
75931         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
75932         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
75933         (cross-rpcgen-objs): New variable.
75934         (extra-objs): Append $(cross-rpcgen-objs).
75935         ($(cross-rpcgen-objs)): New rule.
75936         ($(objpfx)cross-rpcgen): Likewise.
75937         (rpcgen-cmd): Define to use $(built-program-file).  Expand
75938         comment.
75939         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
75940         ($(objpfx)x%.stmp): Likewise.
75941         * sunrpc/proto.h [IS_IN_build] (_): Define.
75942         [IS_IN_build] (_libc_intl_domainname): Likewise.
75944 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75946         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
75947         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
75948         and R_X86_64_TPOFF64.
75950 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75952         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
75953         sysdeps/unix/sysv/syscalls.list.
75954         (stime): Likewise.
75955         (utime): Likewise.
75956         * sysdeps/unix/sysv/syscalls.list: Remove file.
75958 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
75960         [BZ #3440]
75961         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
75962         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
75963         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
75964         (__LC_IDENTIFICATION): Make these macros useful in #if
75965         expressions, as required by C99.
75967 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
75969         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
75970         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
75971         after this.
75973 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
75975         * stdlib/longlong.h: Updated from GCC.
75977 2012-05-09  Andreas Jaeger  <aj@suse.de>
75979         * nscd/nscd.c (run_modes): Make named enum, reorder so that
75980         default is first entry.
75981         (run_mode): Set type.
75982         (main): Remove informal message about syslog.
75983         (options): Fix typo.
75985         [BZ #14053]
75986         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
75987         to asm.
75988         (lrint): Likewise.
75989         (llrintf): Likewise.
75990         (llrint): Likewise.
75991         (rint): Likewise.
75992         (rintf): Likewise.
75993         (nearbyint): Likewise.
75994         (nearbyintf): Likewise.
75996 2012-05-09  Andreas Jaeger  <aj@suse.de>
75997             Pedro Alves  <palves@redhat.com>
75999         * nscd/nscd.c (run_mode): Use enum.
76000         (main): Cleanup coding style issue.
76002 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
76003             Andreas Jaeger  <aj@suse.de>
76005         * nscd/nscd.c (go_background): Replaced with...
76006         (run_mode): ... this.
76007         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
76008         (options): Add -F --foreground.
76009         (main): Implement it.
76010         (parse_opt): Parse it.
76012 2012-05-09  Andreas Jaeger  <aj@suse.de>
76014         [BZ #14083]
76015         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
76016         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
76017         -Wconversion warning.
76018         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
76019         Likewise.
76021 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
76023         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
76024         == 0.
76025         (LC_ALL): Use macro-int-constant.
76026         (LC_COLLATE): Likewise.
76027         (LC_CTYPE): Likewise.
76028         (LC_MESSAGES): Likewise.
76029         (LC_MONETARY): Likewise.
76030         (LC_NUMERIC): Likewise.
76031         (LC_TIME): Likewise.
76032         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
76033         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76034         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76035         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
76036         Specify type.
76037         [C99-based standards] (float_t): Expect type.
76038         [C99-based standards] (double_t): Expect type.
76039         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
76040         type.
76041         [C99-based standards] (HUGE_VALL): Likewise.
76042         [C99-based standards] (INFINITY): Likewise.
76043         [C99-based standards] (NAN): Likewise.
76044         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
76045         [C99-based standards] (FP_NAN): Likewise.
76046         [C99-based standards] (FP_NORMAL): Likewise.
76047         [C99-based standards] (FP_SUBNORMAL): Likewise.
76048         [C99-based standards] (FP_ZERO): Likewise.
76049         [C99-based standards] (FP_FAST_FMA): Use
76050         optional-macro-int-constant.  Specify type.  Require == 1.
76051         [C99-based standards] (FP_FAST_FMAF): Likewise.
76052         [C99-based standards] (FP_FAST_FMAL): Likewise.
76053         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
76054         [C99-based standards] (FP_ILOGBNAN): Likewise.
76055         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
76056         Specify type.
76057         [C99-based standards] (MATH_ERREXCEPT): Likewise.
76058         [C99-based standards] (math_errhandling): Specify type.
76059         [ISO99 || ISO11] (signgam): Do not allow.
76060         [non-C99-based standards] (copysignf): Do not allow.
76061         [non-C99-based standards] (exp2f): Likewise.
76062         [non-C99-based standards] (log2f): Likewise.
76063         [non-C99-based standards] (modff): Allow.
76064         [non-C99-based standards] (erff): Do not allow.
76065         [non-C99-based standards] (erfcf): Likewise.
76066         [non-C99-based standards] (gammaf): Likewise.
76067         [non-C99-based standards] (hypotf): Likewise.
76068         [non-C99-based standards] (j0f): Likewise.
76069         [non-C99-based standards] (j1f): Likewise.
76070         [non-C99-based standards] (jnf): Likewise.
76071         [non-C99-based standards] (lgammaf): Likewise.
76072         [non-C99-based standards] (tgammaf): Likewise.
76073         [non-C99-based standards] (y0f): Likewise.
76074         [non-C99-based standards] (y1f): Likewise.
76075         [non-C99-based standards] (ynf): Likewise.
76076         [non-C99-based standards] (isnanf): Likewise.
76077         [non-C99-based standards] (acoshf): Likewise.
76078         [non-C99-based standards] (asinhf): Likewise.
76079         [non-C99-based standards] (atanhf): Likewise.
76080         [non-C99-based standards] (cbrtf): Likewise.
76081         [non-C99-based standards] (expm1f): Likewise.
76082         [non-C99-based standards] (ilogbf): Likewise.
76083         [non-C99-based standards] (log1pf): Likewise.
76084         [non-C99-based standards] (logbf): Likewise.
76085         [non-C99-based standards] (nextafterf): Likewise.
76086         [non-C99-based standards] (remainderf): Likewise.
76087         [non-C99-based standards] (rintf): Likewise.
76088         [non-C99-based standards] (scalbf): Likewise.
76089         [non-C99-based standards] (copysignl): Likewise.
76090         [non-C99-based standards] (exp2l): Likewise.
76091         [non-C99-based standards] (log2l): Likewise.
76092         [non-C99-based standards] (modfl): Allow.
76093         [non-C99-based standards] (erfl): Do not allow.
76094         [non-C99-based standards] (erfcl): Likewise.
76095         [non-C99-based standards] (gammal): Likewise.
76096         [non-C99-based standards] (hypotl): Likewise.
76097         [non-C99-based standards] (j0l): Likewise.
76098         [non-C99-based standards] (j1l): Likewise.
76099         [non-C99-based standards] (jnl): Likewise.
76100         [non-C99-based standards] (lgammal): Likewise.
76101         [non-C99-based standards] (tgammal): Likewise.
76102         [non-C99-based standards] (y0l): Likewise.
76103         [non-C99-based standards] (y1l): Likewise.
76104         [non-C99-based standards] (ynl): Likewise.
76105         [non-C99-based standards] (isnanl): Likewise.
76106         [non-C99-based standards] (acoshl): Likewise.
76107         [non-C99-based standards] (asinhl): Likewise.
76108         [non-C99-based standards] (atanhl): Likewise.
76109         [non-C99-based standards] (cbrtl): Likewise.
76110         [non-C99-based standards] (expm1l): Likewise.
76111         [non-C99-based standards] (ilogbl): Likewise.
76112         [non-C99-based standards] (log1pl): Likewise.
76113         [non-C99-based standards] (logbl): Likewise.
76114         [non-C99-based standards] (nextafterl): Likewise.
76115         [non-C99-based standards] (remainderl): Likewise.
76116         [non-C99-based standards] (rintl): Likewise.
76117         [non-C99-based standards] (scalbl): Likewise.
76118         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76119         [non-C99-based standards] (FP_*): Do not allow.
76120         [C99-based standards] (FP_*): Change to
76121         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76122         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76123         allow.
76124         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
76125         (SIG_ERR): Likewise.
76126         [X/Open-based standards] (SIG_HOLD): Likewise.
76127         (SIG_IGN): Likewise.
76128         (SIGABRT): Use macro-int-constant.  Specify type.  Require
76129         positive value.
76130         (SIGFPE): Likewise.
76131         (SIGILL): Likewise.
76132         (SIGINT): Likewise.
76133         (SIGSEGV): Likewise.
76134         (SIGTER): Likewise.
76135         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
76136         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
76137         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
76138         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
76139         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
76140         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
76141         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
76142         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
76143         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
76144         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
76145         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
76146         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
76147         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
76148         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
76149         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
76150         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
76151         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
76152         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
76153         [X/Open-based standards] (SIGTRAP): Likewise.
76154         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
76155         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
76156         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
76157         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
76158         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76159         allow.
76161 2012-05-08  Ian Wienand  <ianw@vmware.com>
76163         [BZ #14080]
76164         * time/tzset.c (__tzset_parse_tz): Update default rules for
76165         daylight time changes in the Energy Policy Act of 2005.
76167 2012-05-09  Andreas Jaeger  <aj@suse.de>
76169         [BZ #13983]
76170         * elf/ldconfig.c (parse_conf): Change string to make clear that
76171         ldconfig only issued a warning if ld.so.conf does not exist.
76173 2012-05-08  David S. Miller  <davem@davemloft.net>
76175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
76176         movxtod instead of popping the value on the stack.
76178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76180 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
76182         * config.h.in: Add HAVE_ARM_PCS_VFP.
76184 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
76186         [BZ #13979]
76187         * include/features.h: Warn if user requests __FORTIFY_SOURCE
76188         checking but the checks are disabled for any reason.
76190 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
76192         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
76193         and ELF64_R_TYPE with ELFW(R_TYPE).
76195 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
76197         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
76198         (ulimit): Likewise.
76200         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
76201         (settimeofday): Likewise.
76203 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
76205         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
76206         a struct th_u2 inside the union, and move tu_block/tu_code into
76207         a new th_u3 union of tu_block/tu_code inside of that.  Move
76208         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
76209         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
76210         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
76211         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
76212         (th_stuff): Change to th_u1.tu_stuff.
76213         (th_data): Define.
76214         (th_msg): Change to th_u1.th_u2.tu_data.
76216 2012-05-07  David S. Miller  <davem@davemloft.net>
76218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76220         [BZ #14074]
76221         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
76222         (SETUP_PIC_REG): Use it.
76223         (SETUP_PIC_REG_LEAF): Use it.
76225 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
76227         [BZ #13885]
76228         [BZ #13923]
76229         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76230         USE_AS_EXPM1L.
76231         (EXPL_FINITE): Likewise.
76232         (FLDLOG): Likewise.
76233         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
76234         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
76235         e_expl.S.
76236         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76237         USE_AS_EXPM1L.
76238         (EXPL_FINITE): Likewise.
76239         (FLDLOG): Likewise.
76240         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
76241         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
76242         e_expl.S.
76243         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
76244         test of -max_value argument for long double.
76245         * sysdeps/i386/fpu/libm-test-ulps: Update.
76246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76248 2012-05-06  David S. Miller  <davem@davemloft.net>
76250         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
76251         quad soft-float symbols whose references which are compiler
76252         generated.
76253         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76255 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
76257         [BZ #13884]
76258         [BZ #13914]
76259         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76260         USE_AS_EXP10L.
76261         (EXPL_FINITE): Likewise.
76262         (FLDLOG): Likewise.
76263         (c0): Likewise.
76264         (c1): Likewise.
76265         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
76266         Adjust comments for base varying.
76267         (__expl_finite): Change alias to EXPL_FINITE.
76268         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
76269         e_expl.S.
76270         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
76271         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
76272         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
76273         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
76274         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76275         USE_AS_EXP10L.
76276         (EXPL_FINITE): Likewise.
76277         (FLDLOG): Likewise.
76278         (c0): Likewise.
76279         (c1): Likewise.
76280         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
76281         Adjust comments for base varying.
76282         (__expl_finite): Change alias to EXPL_FINITE.
76283         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
76284         tests for bugs.
76285         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76287         [BZ #14064]
76288         * math/libm-test.inc (check_float_internal): Correct ulp
76289         calculation for subnormal expected results.
76291 2012-05-06  Andreas Jaeger  <aj@suse.de>
76293         * Makeconfig (+math-flags): New, set to -frounding-math.
76294         (+cflags): Add +math-flags so that all of glibc gets compiled with
76295         it.
76297         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
76299 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
76301         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
76302         Disable one test.
76304         [BZ #13787]
76305         [BZ #13922]
76306         [BZ #14036]
76307         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
76308         (__ieee754_expl): Allow for and saturate large arguments.
76309         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
76310         (u_threshold): Likewise.
76311         (__exp): Call __ieee754_exp before checking for overflow and
76312         underflow.
76313         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
76314         (u_threshold): Likewise.
76315         (__expf): Call __ieee754_expf before checking for overflow and
76316         underflow.
76317         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
76318         (u_threshold): Likewise.
76319         (__expl): Call __ieee754_expl before checking for overflow and
76320         underflow.
76321         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
76322         (__ieee754_expl): Allow for and saturate large arguments.
76323         * math/libm-test.inc (exp_test): Add another test.  Do not allow
76324         missing overflow exception on overflow.
76325         (expm1_test): Do not allow missing overflow exception on overflow.
76327         * sysdeps/i386/fpu/e_expl.c: Move to ...
76328         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
76329         rather than using inline asm.
76330         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
76331         * sysdeps/x86_64/fpu/e_expl.S: Copy from
76332         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
76334         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
76335         (nice): Likewise.
76336         (poll): Likewise.
76337         (signal): Likewise.
76338         (time): Likewise.
76339         (times): Likewise.
76341 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76343         * sysdeps/unix/syscalls.list (adjtime): Add entry from
76344         sysdeps/unix/common/syscalls.list.
76345         (fchmod): Likewise.
76346         (fchown): Likewise.
76347         (ftruncate): Likewise.
76348         (getrusage): Likewise.
76349         (gettimeofday): Likewise.
76350         (setpgid): Likewise.
76351         (setregid): Likewise.
76352         (setreuid): Likewise.
76353         (sigaction): Likewise.
76354         (truncate): Likewise.
76355         (vhangup): Likewise.
76356         * sysdeps/unix/common/syscalls.list: Remove file.
76357         * sysdeps/unix/bsd/Implies: Don't include unix/common.
76358         * sysdeps/unix/sysv/linux/Implies: Likewise.
76360 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
76362         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
76363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
76364         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
76365         Moved to ...
76366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
76367         Here.
76368         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
76369         to ...
76370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
76371         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
76372         to ...
76373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
76374         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
76375         to ...
76376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
76377         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
76378         to ...
76379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
76380         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
76381         to ...
76382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
76383         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
76384         to ...
76385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
76386         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
76387         to ...
76388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
76389         Here.
76390         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
76391         to ...
76392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
76393         Here.
76394         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
76395         to ...
76396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
76397         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
76398         Moved to ...
76399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
76400         Here.
76401         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
76402         to ...
76403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
76405 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76407         * sysdeps/unix/common/bits/dirent.h: Remove file.
76408         * sysdeps/unix/common/bits/fcntl.h: Likewise.
76410         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
76411         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
76412         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
76413         * sysdeps/unix/bsd/isatty.c: Likewise.
76414         * sysdeps/unix/bsd/tcdrain.c: Likewise.
76415         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
76416         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
76418 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76420         [BZ #13563]
76421         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
76422         long double comparison inaccuracies.
76423         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
76424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76426 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
76428         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
76429         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
76431 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76433         [BZ #14049]
76434         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
76435         nonzero digits before rounding a hex value.
76436         * stdlib/tst-strtod.c (tests): Add another test.
76438 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76440         * sysdeps/s390/fpu/libm-test-ulps: Update.
76442 2012-05-03  Andreas Jaeger  <aj@suse.de>
76444         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
76445         does not get optimized out.
76446         (malloc_opt_barrier): New.
76448 2012-05-03  Andreas Jaeger  <aj@suse.de>
76449             Roland McGrath  <roland@hack.frob.com>
76451         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
76452         intermediate file deletion.
76453         (generated): Add .symlist files.
76455 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
76457         [BZ #13775]
76458         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
76459         Redirect under this condition.
76460         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76461         [__USE_GNU] (__dprintf_chk): Not under this condition.
76462         [__USE_GNU] (__vdprintf_chk): Likewise.
76463         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
76464         under this condition.
76465         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76466         [__USE_XOPEN2K8] (dprintf): Define under this condition.
76467         [__USE_XOPEN2K8] (vdprintf): Likewise.
76468         [__USE_GNU] (__dprintf_chk): Not under this condition.
76469         [__USE_GNU] (__vdprintf_chk): Likewise.
76470         [__USE_GNU] (dprintf): Likewise.
76471         [__USE_GNU] (vdprintf): Likewise.
76473 2012-05-03  Roland McGrath  <roland@hack.frob.com>
76475         * elf/Makefile (common-generated): Set this instead of generated for
76476         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
76477         $(all-built-dso)-derived lists.
76479 2012-05-03  Andreas Jaeger  <aj@suse.de>
76481         * sysdeps/i386/fpu/libm-test-ulps: Update.
76483         * FAQ: Removed.
76484         * FAQ.in: Likewise.
76485         * scripts/gen-FAQ.pl: Likewise.
76486         * manual/install.texi (Installation): Point to online location of
76487         FAQ.
76488         * Makefile (files-for-dist): Remove FAQ.
76489         (FAQ): Remove.
76491 2012-05-02  Allan McRae  <allan@archlinux.org>
76493         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
76494         (LDFLAGS-reldepmod5.so): Likewise.
76495         (LDFLAGS-reldep6mod1.so): Likewise.
76496         (LDFLAGS-reldep6mod4.so): Likewise.
76497         (LDFLAGS-reldep8mod3.so): Likewise.
76498         (LDFLAGS-unload4mod1.so): Likewise.
76499         (LDFLAGS-unload4mod2.so): Likewise.
76500         (LDFLAGS-tst-initorder): Likewise.
76501         (LDFLAGS-tst-initordera2.so): Likewise.
76502         (LDFLAGS-tst-initordera3.so): Likewise.
76503         (LDFLAGS-tst-initordera4.so): Likewise.
76504         (LDFLAGS-tst-initorderb2.so): Likewise.
76505         (LDFLAGS-noload): Likewise.
76506         (LDFLAGS-next): Likewise.
76507         (LDFLAGS-order2mod1.so): Likewise.
76508         (LDFLAGS-order2mod2.so): Likewise.
76509         (LDFLAGS-tst-initorder2): Likewise.
76510         (LDFLAGS-tst-initorder2a.so): Likewise.
76511         (LDFLAGS-tst-initorder2b.so): Likewise.
76512         (LDFLAGS-tst-initorder2c.so): Likewise.
76513         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
76515 2012-05-02  David S. Miller  <davem@davemloft.net>
76517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76519 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
76521         [BZ #14055]
76522         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
76524 2012-05-02  Andreas Jaeger  <aj@suse.de>
76526         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
76527         since we manipulate rounding mode.
76528         (CPPFLAGS-test-idouble.c): Likewise.
76529         (CPPFLAGS-test-ifloat.c): Likewise.
76530         (CFLAGS-test-ldouble.c): Likewise.
76531         (CFLAGS-test-double.c): Likewise.
76532         (CFLAGS-test-float.c): Likewise.
76533         (CFLAGS-test-misc.c): Likewise.
76534         (CFLAGS-test-test-fenv.c): Likewise.
76536 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76538         [BZ #2550]
76539         [BZ #2570]
76540         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
76541         comparisons to determine direction to adjust input.
76543 2012-05-01  Roland McGrath  <roland@hack.frob.com>
76545         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
76546         output to the target.
76548         * scripts/localplt.awk: New file.
76549         * elf/Makefile ($(objpfx)check-localplt): Target removed.
76550         (check-localplt-CFLAGS): Variable removed.
76551         ($(all-built-dso:=.jmprel)): New static pattern rule.
76552         (generated): Add those targets.
76553         (localplt-built-dso): New variable.
76554         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
76556         * elf/check-localplt.c: File removed.
76558         * scripts/check-execstack.awk: New file.
76559         * elf/Makefile ($(objpfx)check-execstack): Target removed.
76560         (check-execstack-CFLAGS): Variable removed.
76561         ($(objpfx)check-execstack.h): Target removed.
76562         ($(objpfx)execstack-default): New target.
76563         (generated): Add that instead of check-execstack.h.
76564         ($(all-built-dso:=.phdr)): New static pattern rule.
76565         (generated): Add those targets.
76566         * elf/check-execstack.c: File removed.
76568         * scripts/check-textrel.awk: New file.
76569         * elf/Makefile ($(objpfx)check-textrel): Target removed.
76570         (check-textrel-CFLAGS): Variable removed.
76571         (all-built-dso): Use := to define.o
76572         ($(all-built-dso:=.dyn)): New static pattern rule.
76573         (generated): Add those targets.
76574         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
76575         * config.make.in (READELF): New substituted variable.
76576         * elf/check-textrel.c: File removed.
76578 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76580         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76581         allow.
76582         * conform/data/ctype.h-data [C99-based standards] (isblank):
76583         Expect function.
76584         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
76585         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
76586         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76587         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
76588         Specify type.  Require positive value.
76589         (EILSEQ): Likewise.
76590         (ERANGE): Likewise.
76591         [ISO || POSIX] (EILSEQ): Do not expect.
76592         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
76593         Specify type.  Require positive value.
76594         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
76595         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
76596         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
76597         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
76598         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
76599         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
76600         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
76601         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
76602         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
76603         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
76604         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
76605         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
76606         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
76607         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
76608         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
76609         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
76610         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
76611         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
76612         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
76613         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
76614         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
76615         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
76616         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
76617         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
76618         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
76619         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
76620         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
76621         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
76622         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
76623         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
76624         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
76625         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
76626         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
76627         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
76628         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
76629         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
76630         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
76631         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
76632         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
76633         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
76634         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
76635         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
76636         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
76637         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
76638         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
76639         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
76640         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
76641         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
76642         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
76643         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
76644         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
76645         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
76646         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
76647         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
76648         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
76649         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
76650         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
76651         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
76652         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
76653         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
76654         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
76655         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
76656         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
76657         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
76658         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
76659         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
76660         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
76661         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
76662         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
76663         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
76664         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
76665         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
76666         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
76667         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
76668         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
76669         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
76670         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
76671         Require >= 2.
76672         (FLT_ROUNDS): Expect as macro, not constant.
76673         (FLT_MANT_DIG): Use macro-int-constant.
76674         (DBL_MANT_DIG): Likewise.
76675         (LDBL_MANT_DIG): Likewise.
76676         (FLT_DIG): Likewise.
76677         (DBL_DIG): Likewise.
76678         (LDBL_DIG): Likewise.
76679         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
76680         (DBL_MIN_EXP): Likewise.
76681         (LDBL_MIN_EXP): Likewise.
76682         (FLT_MAX_EXP): Use macro-int-constant.
76683         (DBL_MAX_EXP): Likewise.
76684         (LDBL_MAX_EXP): Likewise.
76685         (FLT_MAX_10_EXP): Likewise.
76686         (DBL_MAX_10_EXP): Likewise.
76687         (LDBL_MAX_10_EXP): Likewise.
76688         (FLT_MAX): Use macro-constant.
76689         (DBL_MAX): Likewise.
76690         (LDBL_MAX): Likewise.
76691         (FLT_EPSILON): Use macro-constant.  Give upper bound.
76692         (DBL_EPSILON): Likewise.
76693         (LDBL_EPSILON): Likewise.
76694         (FLT_MIN): Likewise.
76695         (DBL_MIN): Likewise.
76696         (LDBL_MIN): Likewise.
76697         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
76698         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
76699         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
76700         [ISO11] (FLT_HAS_SUBNORM): Likewise.
76701         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
76702         [ISO11] (DBL_DECIMAL_DIG): Likewise.
76703         [ISO11] (FLT_DECIMAL_DIG): Likewise.
76704         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
76705         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
76706         [ISO11] (FLT_TRUE_MIN): Likewise.
76707         [ISO11] (LDBL_TRUE_MIN): Likewise.
76708         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76709         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
76710         (SCHAR_MIN): Use macro-int-constant.  Specify type.
76711         (SCHAR_MAX): Likewise.
76712         (UCHAR_MAX): Likewise.
76713         (CHAR_MIN): Likewise.
76714         (CHAR_MAX): Likewise.
76715         (MB_LEN_MAX): Use macro-int-constant.
76716         (SHRT_MIN): Use macro-int-constant.  Specify type.
76717         (SHRT_MAX): Likewise.
76718         (USHRT_MAX): Likewise.
76719         (INT_MAX): Likewise.
76720         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
76721         bound negative.
76722         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76723         bound with "U".
76724         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76725         bound with "L".
76726         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
76727         bound negative.  Suffix upper bound with "L".
76728         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76729         bound with "UL".
76730         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
76731         Specify type.
76732         [C99-based standards] (LLONG_MAX): Likewise.
76733         [C99-based standards] (ULLONG_MAX): Likewise.
76734         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
76735         == 0.
76736         [ISO11] (max_align_t): Require type.
76737         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76739         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
76740         from $CFLAGS, without defining away __attribute__ calls.
76741         (checknamespace): Use $CFLAGS_namespace.
76743         * conform/conformtest.pl (@keywords): Only include C99 keywords
76744         for standards based on C99 or C11.
76746         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
76747         Disable tests.
76748         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
76749         UNIX98]: Likewise.
76751         * conform/conformtest.pl: Handle "macro-int-constant" and test for
76752         usability of symbols in #if.
76754         * conform/conformtest.pl: If macro or constant types start
76755         "promoted:", expect the symbol to be of the following type
76756         promoted by the integer promotions.
76758         * conform/conformtest.pl: Parse all "constant" and "macro" lines
76759         in one place.  Also handle "macro-constant".
76761         * conform/conformtest.pl: Only accept expected macro values with
76762         "==".  Parse all "macro" lines in one place.
76763         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
76765         * conform/conformtest.pl: Handle braced types on "constant" lines
76766         instead of handling "typed-constant".
76767         * conform/data/signal.h-data: Use "constant" instead of
76768         "typed-constant".
76770         * conform/conformtest.pl: Handle "optional-" at start of lines in
76771         one place rather than duplicating several cases.  Handle each
76772         format of "macro" line with initial "optional-".
76774         * conform/conformtest.pl: Only accept expected constant or
76775         optional-constant values with "==".  Parse all "constant" lines in
76776         one place.  Parse all "optional-constant" lines in one place.
76777         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
76778         * conform/data/fmtmsg.h-data: Likewise.
76779         * conform/data/netinet/in.h-data: Likewise.
76780         * conform/data/tar.h-data: Likewise.
76781         * conform/data/limits.h-data: Use "==" form on "constant" and
76782         "optional-constant" lines.
76784         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
76785         Use -std=c99 for XOPEN2K.
76786         (@knownproblems): Remove.
76787         (newtoken): Don't check %isknown.
76789         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
76790         Do not expect macro.
76791         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
76792         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
76793         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
76794         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
76795         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
76796         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
76797         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
76798         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
76799         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
76800         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
76801         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
76802         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
76803         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
76804         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
76805         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
76806         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
76807         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
76808         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
76809         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
76810         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
76811         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
76812         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
76813         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
76814         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
76815         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
76816         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
76817         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
76818         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
76819         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
76820         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
76821         [XPG3] (acosh): Likewise.
76822         [XPG3] (asinh): Likewise.
76823         [XPG3] (atanh): Likewise.
76824         [XPG3] (cbrt): Likewise.
76825         [XPG3] (expm1): Likewise.
76826         [XPG3] (ilogb): Likewise.
76827         [XPG3] (log1p): Likewise.
76828         [XPG3] (logb): Likewise.
76829         [XPG3] (nextafter): Likewise.
76830         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
76831         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
76832         [XPG3] (remainder): Likewise.
76833         [XPG3] (rint): Likewise.
76834         [XPG3 || XPG4 || UNIX98] (round): Likewise.
76835         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
76836         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
76837         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
76838         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
76839         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
76840         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
76841         [UNIX98 || XOPEN2K] (scalb): Expect.
76842         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
76843         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
76844         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
76845         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
76846         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
76847         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
76848         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
76849         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
76850         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
76851         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
76852         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
76853         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
76854         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
76855         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
76856         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
76857         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
76858         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
76859         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
76860         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
76861         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
76862         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
76863         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
76864         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
76865         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
76866         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
76867         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
76868         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
76869         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
76870         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
76871         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
76872         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
76873         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
76874         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
76875         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
76876         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
76877         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
76878         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
76879         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
76880         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
76881         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
76882         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
76883         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
76884         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
76885         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
76886         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
76887         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
76888         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
76889         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
76890         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
76891         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
76892         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
76893         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
76894         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
76895         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
76896         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
76897         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
76898         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
76899         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
76900         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
76901         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
76902         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
76903         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
76904         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
76905         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
76906         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
76907         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
76908         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
76909         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
76910         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
76911         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
76912         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
76913         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
76914         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
76915         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
76916         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
76917         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
76918         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
76919         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
76920         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
76921         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
76922         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
76923         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
76924         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
76925         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
76926         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
76927         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
76928         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
76929         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
76930         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
76931         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
76932         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
76933         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
76934         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
76935         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
76936         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
76937         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
76938         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
76939         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
76940         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
76941         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
76942         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
76943         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
76944         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
76945         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
76946         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
76947         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
76948         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
76949         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
76950         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
76951         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
76952         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
76953         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
76954         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
76955         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
76956         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
76957         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
76958         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
76959         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
76960         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
76961         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
76962         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
76963         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
76964         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
76965         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
76966         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
76967         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
76968         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
76969         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
76970         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
76971         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
76972         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
76973         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
76974         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
76975         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
76976         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
76977         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
76978         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
76980         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
76981         _XOPEN_SOURCE_EXTENDED for XPG4.
76983         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
76985         * Makeconfig (localtime): Remove variable.
76986         (inst_localtime-file): Likewise.
76988 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
76991         Update.
76992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76993         Update.
76994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
76995         Update.
76996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
76997         Update.
76998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
76999         Update.
77000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
77001         Update.
77002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77003         Update.
77004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
77005         Update.
77006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77007         Update.
77009 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77011         [BZ #2550]
77012         [BZ #2570]
77013         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
77014         comparisons to determine direction to adjust input.
77015         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
77016         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
77017         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
77018         Likewise.
77019         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
77020         Likewise.
77021         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
77022         Likewise.
77023         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
77024         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
77025         Likewise.
77026         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
77027         Likewise.
77028         * math/libm-test.inc (nexttoward_test): Add more tests.
77030 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77032         [BZ #14040]
77033         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
77034         in version GLIBC_2.1, not GLIBC_2.0.
77035         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
77036         Likewise.
77038 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
77040         [BZ #13942]
77041         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
77042         (1 - x) * (1 + x).
77043         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77044         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
77045         * math/libm-test.inc (acos_test): Add more tests.
77046         (asin_test): Likewise.
77047         * sysdeps/i386/fpu/libm-test-ulps: Update.
77048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77050         [BZ #14034]
77051         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
77052         of square root.
77053         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
77054         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77055         * math/libm-test.inc (acos_test_tonearest): New function.
77056         (acos_test_towardzero): Likewise.
77057         (acos_test_downward): Likewise.
77058         (acos_test_upward): Likewise.
77059         (asin_test_tonearest): Likewise.
77060         (asin_test_towardzero): Likewise.
77061         (asin_test_downward): Likewise.
77062         (asin_test_upward): Likewise.
77063         (main): Call the new functions.
77064         * sysdeps/i386/fpu/libm-test-ulps: Update.
77065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77067         [BZ #13884]
77068         [BZ #13924]
77069         * math/e_exp10.c: Include <float.h>.
77070         (__ieee754_exp10): Handle underflow here rather than multiplying
77071         large negative argument by M_LN10.
77072         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
77073         of __ieee754_expf.
77074         * math/e_exp10l.c: Include <float.h>.
77075         (__ieee754_exp10l): Handle underflow here rather than multiplying
77076         large negative argument by M_LN10l.
77077         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
77078         spurious overflow exception on underflow.
77080 2012-04-29  Marek Polacek  <polacek@redhat.com>
77082         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
77083         (__fortify_function): New macro.
77084         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
77085         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
77086         __extern_always_inline.
77087         * libio/bits/stdio2.h: Likewise.
77088         * libio/bits/stdio.h: Likewise.
77089         * string/string.h: Likewise.
77090         * string/bits/string3.h: Likewise.
77091         * include/stdio.h: Likewise.
77092         * stdlib/bits/stdlib.h: Likewise.
77093         * stdlib/stdlib.h: Likewise.
77094         * rt/bits/mqueue2.h: Likewise.
77095         * rt/mqueue.h: Likewise.
77096         * posix/bits/unistd.h: Likewise.
77097         * posix/unistd.h: Likewise.
77098         * io/bits/poll2.h: Likewise.
77099         * io/bits/fcntl2.h: Likewise.
77100         * io/fcntl.h: Likewise.
77101         * io/sys/poll.h: Likewise.
77102         * misc/bits/syslog.h: Likewise.
77103         * misc/bits/syslog-ldbl.h: Likewise.
77104         * misc/sys/syslog.h: Likewise.
77105         * socket/bits/socket2.h: Likewise.
77106         * socket/sys/socket.h: Likewise.
77107         * debug/tst-chk1.c: Likewise.
77108         * wcsmbs/bits/wchar2.h: Likewise.
77109         * wcsmbs/bits/wchar-ldbl.h: Likewise.
77110         * wcsmbs/wchar.h: Likewise.
77112 2012-04-29  Andreas Jaeger  <aj@suse.de>
77114         * Makerules (tests): Remove enable-check-abi protection.
77115         (check-abi-warn): Remove.
77116         (check-abi-%): Remove check-abi-warn usage.
77118         * configure.in: Remove check-abi configure option.
77119         * configure: Regenerated.
77120         * config.make.in (enable-check-abi): Remove.
77122 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
77124         [BZ #14033]
77125         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
77126         double functions to double *_finite functions.
77128         [BZ #13941]
77129         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
77130         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
77131         LDBL_MIN_EXP.
77132         * stdio-common/Makefile (tests): Add tst-sprintf3.
77133         * stdio-common/tst-sprintf3.c: New file.
77135         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
77136         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
77138 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77140         * conform/conformtest.pl: Remove duplicate typed-constant
77141         handling.
77143 2012-04-28  David S. Miller  <davem@davemloft.net>
77145         * Makerules (%.abilist): Add vpath on sysdep_dirs.
77146         (check-abi-%): Remove AWK script prerequisite and explicit
77147         abilist directory.
77148         (check-abi): Rewrite to just diff the symlist with the abilist.
77149         (config-tls, config-abi-config): Delete, no longer used.
77150         (update-abi-%): Remove AWK script and explicit abilist directory.
77151         (update-abi): Rewrite to simply compare and conditionally copy the
77152         symlist and the sysdep abilist file.  Remove update-abi-config
77153         checks.
77154         * abilist/ld.abilist: Remove.
77155         * abilist/libBrokenLocale.abilist: Remove.
77156         * abilist/libanl.abilist: Remove.
77157         * abilist/libcrypt.abilist: Remove.
77158         * abilist/libdl.abilist: Remove.
77159         * abilist/librt.abilist: Remove.
77160         * abilist/libthread_db.abilist: Remove.
77161         * abilist/libutil.abilist: Remove.
77162         * scripts/extract-abilist.awk: Remove.
77163         * scripts/merge-abilist.awk: Remove.
77164         * sysdeps/generic/libcidn.abilist: New file.
77165         * sysdeps/generic/libnss_compat.abilist: New file.
77166         * sysdeps/generic/libnss_db.abilist: New file.
77167         * sysdeps/generic/libnss_dns.abilist: New file.
77168         * sysdeps/generic/libnss_files.abilist: New file.
77169         * sysdeps/generic/libnss_hesiod.abilist: New file.
77170         * sysdeps/generic/libnss_nis.abilist: New file.
77171         * sysdeps/generic/libnss_nisplus.abilist: New file.
77172         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
77173         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
77174         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
77175         file.
77176         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
77177         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
77178         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
77179         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
77180         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
77181         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
77182         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
77183         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
77184         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
77185         file.
77186         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
77187         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
77188         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
77189         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
77190         file.
77191         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
77192         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
77193         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
77194         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
77195         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
77196         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
77197         file.
77198         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
77199         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
77200         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
77201         file.
77202         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
77203         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
77204         New file.
77205         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
77206         New file.
77207         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
77208         New file.
77209         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
77210         New file.
77211         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
77212         New file.
77213         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
77214         New file.
77215         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
77216         New file.
77217         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
77218         New file.
77219         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
77220         New file.
77221         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
77222         New file.
77223         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
77224         New file.
77225         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
77226         New file.
77227         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
77228         New file.
77229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
77230         file.
77231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
77232         New file.
77233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
77234         New file.
77235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
77236         file.
77237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
77238         New file.
77239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
77240         New file.
77241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
77242         file.
77243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
77244         New file.
77245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77246         New file.
77247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
77248         New file.
77249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
77250         New file.
77251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
77252         New file.
77253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
77254         New file.
77255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
77256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
77257         file.
77258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
77259         New file.
77260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
77261         file.
77262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
77263         file.
77264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
77265         file.
77266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
77267         file.
77268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
77269         file.
77270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77271         New file.
77272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
77273         file.
77274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
77275         file.
77276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
77277         New file.
77278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
77279         file.
77280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
77281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
77282         file.
77283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
77284         New file.
77285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
77286         file.
77287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
77288         file.
77289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
77290         file.
77291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
77292         file.
77293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
77294         file.
77295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
77296         New file.
77297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
77298         file.
77299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
77300         file.
77301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
77302         New file.
77303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
77304         file.
77305         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77306         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
77307         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
77308         file.
77309         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
77310         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
77311         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
77312         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
77313         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
77314         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
77315         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
77316         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
77317         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
77318         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
77319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
77320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
77321         file.
77322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
77323         New file.
77324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
77325         file.
77326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
77327         file.
77328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
77329         file.
77330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
77331         file.
77332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
77333         file.
77334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
77335         New file.
77336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
77337         New file.
77338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
77339         file.
77340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
77341         New file.
77342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
77343         file.
77344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
77345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
77346         file.
77347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
77348         New file.
77349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
77350         file.
77351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
77352         file.
77353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
77354         file.
77355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
77356         file.
77357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
77358         file.
77359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
77360         New file.
77361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
77362         New file.
77363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
77364         file.
77365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
77366         New file.
77367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
77368         file.
77370 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77372         * conform/conformtest.pl: Fix typo in handling typed-constant from
77373         allow-header.
77375 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77377         * README: Cut down references to pre-2.6 Linux kernels and
77378         Linuxthreads.  Update lists of configurations in libc and ports
77379         and sort alphabetically.  Say "or newer" with Linux kernel version
77380         requirements.
77382         * config.h.in [IS_IN_build]: Allow compiling without optimization.
77384 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
77386         [BZ #887]
77387         * math/libm-test.inc (logb_test_downward): New test to expose
77388         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
77389         rounding mode.
77391 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77393         [BZ #14027]
77394         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
77395         to be done.
77396         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
77397         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
77399 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
77401         * sysdeps/unix/i386/brk.S: Remove file.
77402         * sysdeps/unix/i386/dl-brk.S: Likewise.
77403         * sysdeps/unix/i386/pipe.S: Likewise.
77404         * sysdeps/unix/i386/sigreturn.S: Likewise.
77405         * sysdeps/unix/i386/syscall.S: Likewise.
77406         * sysdeps/unix/i386/vfork.S: Likewise.
77407         * sysdeps/unix/i386/wait.S: Likewise.
77409         * sysdeps/unix/common/tcsendbrk.c: Move to ...
77410         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
77412         * configure.in (arm*-none*): Do not allow without
77413         --enable-hacker-mode.
77414         (netbsd*): Remove case setting base_os.
77415         (386bsd*): Likewise.
77416         (freebsd*): Likewise.
77417         (bsdi*): Likewise.
77418         (osf*): Likewise.
77419         (sunos*): Likewise.
77420         (ultrix*): Likewise.
77421         (newsos*): Likewise.
77422         (dynix*): Likewise.
77423         (*bsd*): Likewise.
77424         (sysv*): Likewise.
77425         (isc*): Likewise.
77426         (esix*): Likewise.
77427         (sco*): Likewise.
77428         (minix*): Likewise.
77429         (irix4*): Likewise.
77430         (irix6*): Likewise.
77431         (solaris[2-9]*): Likewise.
77432         (none): Likewise.
77433         * configure: Regenerated.
77435 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77437         [BZ #11521]
77438         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
77439         overflow or cancellation in calculating denominator.
77440         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
77441         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
77442         down expression to avoid unexpected rounding in newer GCCs.
77443         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
77445 2012-04-26  David S. Miller  <davem@davemloft.net>
77447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
77448         long-double compat symbols.
77449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
77453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
77455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
77456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
77457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
77458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
77459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
77460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
77461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77463 2012-04-25  David S. Miller  <davem@davemloft.net>
77465         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
77466         HWCAP_* values only after the memory barriers have been defined.
77467         (atomic_full_barrier): Define.
77468         (atomic_read_barrier): Define.
77469         (atomic_write_barrier): Define.
77471 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77473         * shlib-versions: Add libgcc_s version information.
77474         * sysdeps/generic/libgcc_s.h: Remove.
77475         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
77476         libgcc_s.h.
77477         * sysdeps/gnu/unwind-resume.c: Likewise.
77478         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
77480 2012-04-25  David S. Miller  <davem@davemloft.net>
77482         * sysdeps/unix/sparc/brk.S: Delete.
77483         * sysdeps/unix/sparc/dl-brk.S: Delete.
77484         * sysdeps/unix/sparc/pipe.S: Delete.
77485         * sysdeps/unix/sparc/sysdep.S: Delete.
77486         * sysdeps/unix/sparc/sysdep.h: Delete.
77487         * sysdeps/unix/sparc/vfork.S: Delete.
77488         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
77489         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
77490         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
77491         (ret_ERRVAL, r0, r1, MOVE): Define.
77492         (JUMPTARGET): Remove.
77493         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
77494         sysdeps/unix/sparc/sysdep.h
77495         (ENTRY, END): Remove.
77496         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77498 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
77500         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
77501         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
77502         -DIS_IN_build.
77504         * timezone/README: Update upstream location and email address for
77505         tzcode and tzdata.
77506         * timezone/zdump.c: Update from tzcode 2012b.
77507         * timezone/zic.c: Likewise.
77509         * configure.in (libc_cv_as_needed): Remove test.
77510         * configure: Regenerated.
77511         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
77512         conditional definition.
77513         [$(have-as-needed) != yes] (no-as-needed): Likewise.
77514         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
77515         * config.make.in (have-as-needed): Remove variable.
77517 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77518             Paul Pluzhnikov  <ppluzhnikov@google.com>
77520         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
77521         strings correctly.
77523 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
77525         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
77526         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
77527         * sysdeps/sh/strlen.S: Likewise.
77529 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77531         * sysdeps/unix/fork.S: Remove file.
77532         * sysdeps/unix/i386/fork.S: Likewise.
77533         * sysdeps/unix/sparc/fork.S: Likewise.
77535         * sysdeps/unix/system.c: Remove file.
77536         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
77538         * sysdeps/unix/getegid.S: Remove file.
77539         * sysdeps/unix/geteuid.S: Likewise.
77541 2012-04-24  Roland McGrath  <roland@hack.frob.com>
77543         * scripts/check-localplt.awk: New file.
77544         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
77545         of diff.
77546         * scripts/data/localplt-generic.data: Add a comment.
77548         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
77549         NODE when __dir_mkfile failed.
77550         * sysdeps/mach/hurd/symlinkat.c: Likewise.
77551         Reported by Ludovic Courtès <ludo@gnu.org>.
77553 2012-04-24  Andreas Jaeger  <aj@suse.de>
77555         * Makerules (common-clean): Also remove gen-as-const-headers
77556         files.
77558 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77560         * Makerules (native-compile): Do not change working directory for
77561         build.  Use $(OUTPUT_OPTION) in command.
77562         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
77564 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77566         [BZ #13886]
77567         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
77568         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
77569         * math/libm-test.inc (floor_test): Add more tests.
77570         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
77572 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77574         * sysdeps/unix/getdents.c: Remove file.
77575         * sysdeps/unix/sysv/getdents.c: Likewise.
77576         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
77578         * sysdeps/unix/syscalls.list (madvise): Add syscall from
77579         sysdeps/unix/mman/syscalls.list.
77580         (mmap): Likewise.
77581         (mprotect): Likewise.
77582         (msync): Likewise.
77583         (munmap): Likewise.
77584         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
77585         * sysdeps/unix/mman/syscalls.list: Remove.
77586         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
77588         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
77589         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
77590         * configure: Regenerated.
77591         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
77592         $(libgcc_s_suffix).
77593         * config.make.in (libgcc_s_suffix): Remove variable.
77595 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
77597         * sysdeps/unix/sysv/gethostname.c: Move to ...
77598         * sysdeps/posix/gethostname.c: ... here.
77600         * sysdeps/unix/execve.S: Remove file.
77602         * sysdeps/unix/_exit.S: Remove file.
77604 2012-04-23  Andreas Jaeger  <aj@suse.de>
77606         [BZ #13739]
77607         * manual/Makefile: Remove make dist support, there's no
77608         need for a stand-alone documentation tar ball.
77609         (TEXI2DVI): Define always, it's not in Makeconfig.
77610         (dist): Removed.
77611         (tar-it): Removed.
77612         (edition): Removed.
77613         (glibc-doc-$(edition).tar): Removed
77614         (%.Z): Removed.
77615         (%.gz): Removed.
77616         (%.uu): Removed.
77617         (ETAGS): Remove, it's in Makeconfig.
77618         (move-if-change): Remove, it's in Makeconfig.
77620 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
77622         [BZ #13970]
77623         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
77624         (strtod, strtof, strtold, strtol, strtoul, strtoq)
77625         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
77626         (strtod_l, strtof_l, strtold_l): Remove __wur.
77627         It is not necessarily an error to ignore strtol's return value.
77628         One can reliably look at the stored endptr to decide whether
77629         the number had valid syntax.
77631 2012-04-21  Andreas Jaeger  <aj@suse.de>
77633         [BZ #13739]
77634         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
77636 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
77638         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
77639         * sysdeps/unix/sysv/Versions: Remove file.
77641 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
77643         [BZ #13927]
77644         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77646 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
77648         [BZ #7064]
77649         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
77650         version from __vm86.
77652 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
77654         * sysdeps/unix/common/lxstat.c: Remove file.
77655         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
77657         * sysdeps/unix/sysv/Makefile: Remove file.
77659         * sysdeps/unix/sysv/direct.h: Remove file.
77661         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
77662         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
77663         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
77664         * sysdeps/unix/sysv/bits/signum.h: Likewise.
77665         * sysdeps/unix/sysv/bits/stat.h: Likewise.
77666         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
77667         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
77669         * sysdeps/unix/sysv/setrlimit.c: Remove file.
77671         * sysdeps/unix/xmknod.c: Remove file.
77672         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
77674         * sysdeps/unix/sysv/settimeofday.c: Remove file.
77676         * sysdeps/unix/sysv/i386/time.S: Remove file.
77678         * sysdeps/unix/fxstat.c: Remove file.
77679         * sysdeps/unix/xstat.c: Likewise.
77680         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
77682         * sysdeps/unix/sysv/sigaction.c: Remove file.
77684         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
77685         (sysdep_headers): Remove variable.
77686         [termio.h not in sysdep_headers] (generated): Likewise.
77687         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
77688         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
77689         * sysdeps/unix/sysv/tcdrain.c: Likewise.
77690         * sysdeps/unix/sysv/tcflow.c: Likewise.
77691         * sysdeps/unix/sysv/tcflush.c: Likewise.
77692         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
77693         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
77694         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
77695         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
77696         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
77698         * sysdeps/unix/siglist.c: Remove file.
77700         * sysdeps/unix/getppid.S: Remove file.
77702         * sysdeps/unix/mkdir.c: Remove file.
77703         * sysdeps/unix/rmdir.c: Likewise.
77705 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
77707         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
77708         ERR_MAX value.
77709         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
77710         errlist-compat value.
77712 2012-04-18  David S. Miller  <davem@davemloft.net>
77714         * sysdeps/generic/memcopy.h (reg_char): Delete.
77715         * debug/strcat_chk.c: Use char, not reg_char.
77716         * debug/strcpy_chk.c: Likewise.
77717         * debug/strncat_chk.c: Likewise.
77718         * debug/strncpy_chk.c: Likewise.
77719         * string/memchr.c: Likewise.
77720         * string/memrchr.c: Likewise.
77721         * string/rawmemchr.c: Likewise.
77722         * string/strcat.c: Likewise.
77723         * string/strchr.c: Likewise.
77724         * string/strchrnul.c: Likewise.
77725         * string/strcmp.c: Likewise.
77726         * string/strcpy.c: Likewise.
77727         * string/strncat.c: Likewise.
77728         * string/strncmp.c: Likewise.
77729         * string/strncpy.c: Likewise.
77731 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77733         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
77734         __builtin_memcopy is called when src and dest ranges are known to not
77735         overlap.
77737 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77739         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
77740         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
77741         fwd_align_merge macro call.
77742         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
77743         bwd_align_merge macro call.
77744         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77746 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77748         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
77749         bwd_align_merge macros.
77750         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
77751         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
77752         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77754 2012-04-18  David S. Miller  <davem@davemloft.net>
77756         * sysdeps/sparc/sparc64/memcopy.h: Delete.
77758 2012-04-18  Andreas Jaeger  <aj@suse.de>
77760         [BZ# 6794]
77761         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
77762         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
77763         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77765         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
77766         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
77767         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77769         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
77770         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
77771         Adjust for changed ldbl-128 files.
77773         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
77774         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
77775         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77777 2012-04-17  David S. Miller  <davem@davemloft.net>
77779         * sysdeps/sparc/sparc32/memcopy.h: Delete.
77781 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
77783         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
77784         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
77785         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
77786         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
77787         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
77788         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
77790 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77792         [BZ #6794]
77793         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
77794         * math/libm-test.inc: Add ilogb errno and exception tests.
77795         * math/w_ilogb.c: New file: ilogb wrapper.
77796         * math/w_ilogbf.c: New file: ilogbf wrapper.
77797         * math/w_ilogbl.c: New file: ilogbl wrapper.
77798         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
77799         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
77800         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
77801         exception being thrown with 0.0 as argument.
77802         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
77803         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
77804         exception being thrown with 0.0 as argument.
77805         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
77806         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77807         exception being thrown with 0.0 as argument.
77808         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
77809         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77810         exception being thrown with 0.0 as argument.
77811         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
77812         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
77813         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
77814         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
77815         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
77816         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
77817         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
77818         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
77819         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
77821 2012-04-17  Petr Baudis  <pasky@ucw.cz>
77823         * include/sys/uio.h: Change __vector to __iovec to avoid clash
77824         with altivec.
77826 2012-04-16  Marek Polacek  <polacek@redhat.com>
77828         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
77830 2012-04-16  Marek Polacek  <polacek@redhat.com>
77832         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
77833         operands of fdivp instruction.
77835 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77837         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
77838         * elf/tst-auditmod3b.c: Likewise.
77839         * elf/tst-auditmod4b.c: Likewise.
77840         * elf/tst-auditmod5b.c: Likewise.
77841         * elf/tst-auditmod6b.c: Likewise.
77842         * elf/tst-auditmod6c.c: Likewise.
77843         * elf/tst-auditmod7b.c: Likewise.
77844         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
77845         * sysdeps/x86_64/preconfigure.in: Likewise.
77846         * sysdeps/x86_64/preconfigure: Regenerated.
77848 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77850         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
77851         __ILP32__.
77853 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
77855         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
77856         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
77858 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
77860         [BZ #13973]
77861         * locale/iso-639.def: Fix gl language name. Spotted by
77862         Yaron Shahrabani.
77864 2012-04-12  Roland McGrath  <roland@hack.frob.com>
77866         [BZ #2074]
77867         * libio/libio.h (__io_write_fn): Update comment.
77869 2012-04-12  Petr Baudis  <pasky@ucw.cz>
77871         [BZ #2074]
77872         * stdio.texi (Hook Functions): The user provided writer function
77873         is not allowed to return -1.
77875 2012-04-11  David S. Miller  <davem@davemloft.net>
77877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77879 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
77881         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
77882         Add a leading slash to rtkaio.
77884 2012-04-11  Jim Meyering  <meyering@redhat.com>
77886         [BZ #11959]
77887         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
77888         It is not necessarily an error to ignore fwrite's return
77889         value.  One can reliably use ferror to test for errors after
77890         the fact.
77892 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77894         * bits/types.h (__snseconds_t): New type.
77895         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
77897         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
77898         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77899         (__SNSECONDS_T_TYPE): Likewise.
77900         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77901         (__SNSECONDS_T_TYPE): Likewise.
77902         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77903         (__SNSECONDS_T_TYPE): Likewise.
77905 2012-04-10  Andreas Jaeger  <aj@suse.de>
77907         [BZ #2636]
77908         * manual/time.texi (Processor Time): Return type of times is
77909         elapsed real time since an arbitrary point in the past.
77910         (CPU Time): Move CLK_TCK from here...
77911         (Processor Time): ...to here.  Correct description.
77912         * manual/conf.texi (Constants for Sysconf): Correct description of
77913         _SC_CLK_TCK.
77915 2012-04-10  David S. Miller  <davem@davemloft.net>
77917         [BZ #13967]
77918         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
77919         where the is a gap between DT_REL(A) and DT_JMPREL.
77921 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77923         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
77924         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77925         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77927 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
77929         * elf/dl-support.c (_dl_inhibit_cache): New variable.
77930         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
77931         (dl_main): Handle --inhibit-cache.
77932         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
77933         _dl_inhibit_cache.
77934         * elf/dl-load.c (_dl_map_object): Use it.
77935         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
77937 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77939         [BZ #13872]
77940         * sysdeps/i386/fpu/e_powl.S (p78): New object.
77941         (__ieee754_powl): Saturate large exponents rather than testing for
77942         overflow of y*log2(x).
77943         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77944         * math/libm-test.inc (pow_test): Do not permit spurious overflow
77945         exceptions.
77947         [BZ #11521]
77948         * math/s_ctan.c: Include <float.h>.
77949         (__ctan): Avoid internal overflow or cancellation in calculating
77950         denominator.
77951         * math/s_ctanf.c: Likewise.
77952         * math/s_ctanl.c: Likewise.
77953         * math/s_ctanh.c: Likewise.
77954         * math/s_ctanhf.c: Likewise.
77955         * math/s_ctanhl.c: Likewise.
77956         * math/libm-test.inc (ctan_test): Add more tests.
77957         (ctanh_test): Likewise.
77958         * sysdeps/i386/fpu/libm-test-ulps: Update.
77959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77961 2012-04-09  Andreas Jaeger  <aj@suse.de>
77963         [BZ #6894]
77964         * manual/filesys.texi (Directory Entries): Mention that d_namlen
77965         is an optional BSD extension.
77967         [BZ #10254]
77968         * manual/stdio.texi (Opening Streams): Document additional fopen
77969         parameters.
77971 2012-04-09  Roland McGrath  <roland@hack.frob.com>
77973         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
77974         %eax without telling the compiler.
77976 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
77978         [BZ # 13963]
77979         * manual/install.texi: Use sourceware.org.
77981 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77983         [BZ #13873]
77984         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
77985         (__ieee754_pow): Generate overflow and underflow using huge*huge
77986         and tiny*tiny rather than just returning constant infinity or zero
77987         for large exponents.
77988         * math/libm-test.inc (pow_test): Require overflow exceptions for
77989         applicable cases of large exponents.
77991         [BZ #706]
77992         * sysdeps/i386/fpu/e_pow.S (p10): New object.
77993         (__ieee754_pow): Use iterative multiplication algorithm only for
77994         integer exponents with absolute value below 1024.  Check for odd
77995         integer exponents when using algorithm for real exponents.
77996         * math/libm-test.inc (pow_test): Add more tests.
77997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77999 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
78001         [BZ #13705]
78002         * math/libm-test.inc (exp_test): Do not allow overflow exception
78003         on underflow test.
78005 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
78007         [BZ #13705]
78008         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
78009         instead of __kernel_standard_f.
78011 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
78013         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
78014         * sysdeps/x86_64/memset_chk.S: Likewise.
78016 2012-04-08  Andreas Jaeger  <aj@suse.de>
78018         [BZ #10153]
78019         * manual/startup.texi (Environment Access): Describe return value
78020         for putenv and setenv.
78022         [BZ #6895]
78023         * manual/filesys.texi (Directory Entries): Add description for
78024         DT_LNK.
78026         [BZ #6890]
78027         * manual/filesys.texi (Directory Entries): Clarify that it's file
78028         system not operating system in the description of DT_UNKNOWN.
78030         [BZ #6578]
78031         * manual/syslog.texi (closelog): Fix reference, it's openlog.
78033 2012-04-08  Stephen Compall  <s11@member.fsf.org>
78035         [BZ #6649]
78036         * manual/llio.texi (Opening and Closing Files): Add cross
78037         reference to explain mode argument.
78039 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
78041         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
78042         * sysdeps/x86_64/memset_chk.S: Likewise.
78044 2012-04-07  David S. Miller  <davem@davemloft.net>
78046         * elf/elf.h (R_SPARC_WDISP10): Define.
78047         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
78048         R_SPARC_SIZE32.
78049         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
78050         R_SPARC_SIZE64 and R_SPARC_H34.
78052 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
78054         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
78055         conditions and remove no longer applicable assertion.
78057 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78059         * bits/byteswap.h: Include <features.h>.
78060         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78061         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78063 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78065         * bits/byteswap.h (__bswap_16): Removed.
78066         Include <bits/byteswap-16.h> to get __bswap_16.
78067         * sysdeps/i386/bits/byteswap.h: Likewise.
78068         * sysdeps/s390/bits/byteswap.h: Likewise.
78069         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78070         * bits/byteswap-16.h: New file.
78071         * sysdeps/i386/bits/byteswap-16.h: Likewise.
78072         * sysdeps/s390/bits/byteswap-16.h: Likewise.
78073         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
78074         * string/Makefile (headers): Add bits/byteswap-16.h.
78076 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78078         [BZ #13895]
78079         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
78080         extra indirection.
78081         * nss/Makefile (tests-static, tests): Add tst-nss-static.
78082         * nss/tst-nss-static.c: New.
78084 2012-04-06  Robert Millan  <rmh@gnu.org>
78086         [BZ #6486]
78087         * manual/llio.texi (File Position Primitive): lseek
78088         refers to WHENCE when it really means OFFSET.
78090 2012-04-06  Andreas Jaeger  <aj@suse.de>
78092         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
78093         strncmp declarations.
78095         * abilist/libc.abilist: Add __poll and __ppoll.
78097 2012-04-05  David S. Miller  <davem@davemloft.net>
78099         * scripts/check-local-headers.sh: Accept a host triplet in the
78100         path matched by the exclude regexp.
78102         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
78103         definition.
78104         * sysdeps/powerpc/powerpc32/dl-machine.h
78105         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
78106         * sysdeps/s390/s390-32/dl-machine.h
78107         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78108         * sysdeps/sparc/sparc32/dl-machine.h
78109         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78110         * sysdeps/sparc/sparc64/dl-machine.h
78111         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78113         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
78114         lazy binding.
78115         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
78116         undefined symbol errors.
78118         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
78119         DT_NEEDED entries.
78121 2012-04-05  Michael Matz  <matz@suse.de>
78123         [BZ #13592]
78124         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
78126 2012-04-05  Andreas Jaeger  <aj@suse.de>
78128         [BZ #13908]
78129         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
78130         comment.
78132 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78134         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
78135         which ROUND is no valid rounding mode.
78137 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78139         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
78140         read again.
78141         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
78143 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78145         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
78146         an exception using FPU order intentionally.
78148 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78150         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
78151         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
78152         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
78153         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
78155 2012-04-05  Simon Josefsson  <simon@josefsson.org>
78157         [BZ #12340]
78158         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
78159         EINVAL when BUFLEN is too smal.
78161 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
78163         [BZ #13553]
78164         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
78165         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
78167 2012-04-03  Andreas Jaeger  <aj@suse.de>
78169         [BZ #13938]
78170         * manual/setjmp.texi (System V contexts): Fix sentence.
78172         [BZ #13926]
78173         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
78174         New macro for this case.
78175         [!__GNUC__] (__bswap_64): New inline function for this case.
78176         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78177         * bits/byteswap.h: Likewise.
78178         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
78179         ull, guard with __GLIBC_HAVE_LONG_LONG.
78181         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
78182         __GLIBC_HAVE_LONG_LONG.
78184         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
78185         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
78187 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
78189         [BZ #13691]
78190         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
78191         inptr and inend, rather than using last_ch.
78193 2012-04-02  David S. Miller  <davem@davemloft.net>
78195         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
78196         * stdio-common/printf-parse.h (read_int): Change return type to
78197         'int', return -1 on INT_MAX overflow.
78198         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
78199         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
78200         overflows INT_MAX.  Check for overflow of in-format-string precision
78201         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
78202         SIZE_MAX not INT_MAX for integer overflow test.
78203         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
78204         skip the construct in the format string but do not record anything.
78205         * stdio-common/bug22.c: Adjust to test both width/prevision
78206         INT_MAX overflow as well as total length INT_MAX overflow.  Check
78207         explicitly for proper errno values.
78209 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
78211         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
78212         CHAR_MAX.
78213         * string/test-strcmp.c [! WIDE]: Likewise.
78214         * time/tst-mktime2.c: Likewise for INT_MAX.
78215         * string/test-string.h: #include <sys/param.h> for MIN.
78217         * csu/init-first.c (__libc_init_first): Call __ctype_init.
78218         * sysdeps/i386/init-first.c (init): Likewise.
78219         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
78220         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
78221         * sysdeps/sh/init-first.c (init): Likewise.
78223 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
78225         * po/ru.po: Update from translation team.
78226         * po/vi.po: Likewise.
78228 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
78230         * resolv/nss_dns/dns-host.c: Merge copyright years.
78232 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78234         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
78235         Optimize memcpy with prefetch if
78236         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
78237         src, dst pointers have unequal 16 byte alignments.
78239 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
78241         [BZ #13928]
78242         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
78243         from a CNAME entry and return the minimum ttl for the query.
78244         (gaih_getanswer_slice): Likewise.
78246 2012-03-30  Jeff Law  <law@redhat.com>
78248         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
78249         due to long keys.
78250         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
78251         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
78253         * resolv/nss_dns/dns-host.c: Update copyright year.
78255 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
78257         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
78258         requests to save a system call.  Fix check that all bytes are sent.
78260         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
78261         comments for sendmmsg.
78263 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78265         [BZ #13691]
78266         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
78267         with only 1 character between 0x0041 and 0x01b0.
78268         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
78269         * wcsmbs/tst-mbsnrtowcs.c: New file.
78271 2012-03-29  David S. Miller  <davem@davemloft.net>
78273         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
78274         small copies by hand.
78276 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
78278         [BZ #13761]
78279         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
78280         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
78281         group memberships.
78283 2012-03-28  David S. Miller  <davem@davemloft.net>
78285         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
78286         that branches into memcpy.
78287         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
78288         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
78289         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78290         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
78291         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
78292         bits.
78293         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
78294         implementation too.
78295         * sysdeps/sparc/mempcpy.S: New file.
78297         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
78298         the IFUNC routine in the libc case.
78299         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
78301         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
78302         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
78303         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
78304         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
78305         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
78306         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
78307         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
78308         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
78310         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
78311         loop to 256 bytes instead of 64 bytes and fix test signedness.
78313         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
78314         * sysdeps/sparc/sparc32/Makefile: rather than here...
78315         * sysdeps/sparc/sparc64/Makefile: and here.
78317 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
78319         * malloc/mallocbug.c: Avoid warnings about unused variables.
78321 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
78323         [BZ #13760]
78324         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
78325         in the right place. Discard and retry query if response is
78326         larger than input buffer size.
78328 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
78330         [BZ #369]
78331         [BZ #2678]
78332         [BZ #3866]
78333         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
78334         x for large integer exponent.
78335         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
78336         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
78337         sign of result as needed afterwards.
78338         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
78339         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
78340         result for underflowing pow the same as for overflow.
78341         (__kernel_standard_l): Handle powl overflow and underflow here
78342         rather than calling __kernel_standard.
78343         * math/libm-test.inc (pow_test): Add more tests.
78345         [BZ #3868]
78346         [BZ #13879]
78347         [BZ #13910]
78348         [BZ #13911]
78349         [BZ #13912]
78350         [BZ #13913]
78351         [BZ #13915]
78352         [BZ #13916]
78353         [BZ #13917]
78354         [BZ #13918]
78355         [BZ #13919]
78356         [BZ #13920]
78357         [BZ #13921]
78358         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
78359         * sysdeps/ieee754/k_standard.c: Include <float.h>.
78360         (__kernel_standard_l): New function.
78361         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
78362         __kernel_standard.
78363         * math/w_acosl.c (__acosl): Likewise.
78364         * math/w_asinl.c (__asinl): Likewise.
78365         * math/w_atan2l.c (__atan2l): Likewise.
78366         * math/w_atanhl.c (__atanhl): Likewise.
78367         * math/w_coshl.c (__coshl): Likewise.
78368         * math/w_exp10l.c (__exp10l): Likewise.
78369         * math/w_exp2l.c (__exp2l): Likewise.
78370         * math/w_fmodl.c (__fmodl): Likewise.
78371         * math/w_hypotl.c (__hypotl): Likewise.
78372         * math/w_j0l.c (__j0l, __y0l): Likewise.
78373         * math/w_j1l.c (__j1l, __y1l): Likewise.
78374         * math/w_jnl.c (__jnl, __ynl): Likewise.
78375         * math/w_lgammal.c (__lgammal): Likewise.
78376         * math/w_log10l.c (__log10l): Likewise.
78377         * math/w_log2l.c (__log2l): Likewise.
78378         * math/w_logl.c (__logl): Likewise.
78379         * math/w_powl.c (__powl): Likewise.
78380         * math/w_remainderl.c (__remainderl): Likewise.
78381         * math/w_scalbl.c (sysv_scalbl): Likewise.
78382         * math/w_sinhl.c (__sinhl): Likewise.
78383         * math/w_sqrtl.c (__sqrtl): Likewise.
78384         * math/w_tgammal.c (__tgammal): Likewise.
78385         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
78386         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
78387         * math/libm-test.inc (acos_test): Add more tests.
78388         (acosh_test): Likewise.
78389         (asin_test): Likewise.
78390         (atanh_test): Likewise.
78391         (exp_test): Likewise.
78392         (exp10_test): Likewise.
78393         (exp2_test): Likewise.
78394         (expm1_test): Likewise.
78395         (lgamma_test): Likewise.
78396         (log_test): Likewise.
78397         (log10_test): Likewise.
78398         (log1p_test): Likewise.
78399         (log2_test): Likewise.
78400         (pow_test): Do not allow some spurious overflow exceptions.
78401         (sqrt_test): Add more tests.
78402         (tgamma_test): Likewise.
78403         (y0_test): Likewise.
78404         (y1_test): Likewise.
78405         (yn_test): Likewise.
78407 2012-03-27  Anton Blanchard  <anton@samba.org>
78409         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
78410         MAP_HUGETLB.
78411         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78412         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78413         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78415 2012-03-27  David S. Miller  <davem@davemloft.net>
78417         * conform/Makefile: Run run-conformtest.sh using $(BASH).
78419         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
78420         have-as-vis3 check.
78422 2012-03-27  Andreas Jaeger  <aj@suse.de>
78424         * sysdeps/x86_64/elf/configure.in: Moved to ...
78425         * sysdeps/x86_64/configure.in: ... here.
78426         * sysdeps/x86_64/elf/start.S: Moved to ...
78427         * sysdeps/x86_64/start.S: ... here.
78428         * sysdeps/x86_64/elf/configure: Delete.
78430         * sysdeps/x86_64/configure.in: Merge contents from
78431         sysdeps/i386/configure.in (without i686 check).
78433         * sysdeps/i386/elf/Versions: Merge into ...
78434         * sysdeps/i386/Versions: ... this.
78435         * sysdeps/i386/elf/Versions: Delete file.
78436         * sysdeps/i386/elf/start.S: Moved to ...
78437         * sysdeps/i386/start.S: ...here.
78438         * sysdeps/i386/elf/configure.in: Merge into...
78439         * sysdeps/i386/configure.in: ...here.
78440         * sysdeps/i386/elf/configure.in: Delete file.
78441         * sysdeps/i386/elf/configure: Delete file.
78443         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
78444         * debug/backtracesyms.c: ... here.
78445         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
78446         * debug/backtracesymsfd.c: ... here.
78447         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
78448         * sysdeps/generic/ifunc-sel.h: ... here.
78450         * sysdeps/unix/i386/start.c: Delete file.
78451         * sysdeps/unix/sparc/start.c: Delete file.
78452         * sysdeps/unix/start.c: Delete file.
78454         * sysdeps/sh/elf/configure.in: Moved to ...
78455         * sysdeps/sh/configure.in: ... here.
78456         * sysdeps/sh/elf/start.S: Moved to ...
78457         * sysdeps/sh/start.S: ... here.
78458         * sysdeps/sh/elf/configure: Delete file.
78460         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
78461         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
78462         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
78463         * sysdeps/powerpc/powerpc64/entry.h: ... here.
78464         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
78465         * sysdeps/powerpc/powerpc64/start.S: here.
78466         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
78467         * sysdeps/powerpc/powerpc64/Makefile: ... this.
78468         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
78469         * sysdeps/powerpc/powerpc64/configure.in: ... this.
78470         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
78472         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
78473         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
78474         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
78475         * sysdeps/powerpc/powerpc32/start.S: ... here.
78476         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
78477         * sysdeps/powerpc/powerpc32/configure.in: ... this.
78478         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
78480         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
78481         * sysdeps/powerpc/ifunc-sel.h: ... here.
78482         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
78483         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
78485         * sysdeps/sparc/elf/configure.in: Moved to ...
78486         * sysdeps/sparc/configure.in: ... here.
78487         * sysdeps/sparc/elf/configure: Delete file.
78488         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
78489         * sysdeps/sparc/sparc32/start.S: ... here.
78490         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
78491         * sysdeps/sparc/sparc64/start.S: ... here.
78492         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
78493         * sysdeps/sparc/sparc32/Makefile: ... this.
78494         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
78495         * sysdeps/sparc/sparc64/Makefile: ... this.
78497         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
78498         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
78499         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
78500         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
78501         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
78502         * sysdeps/s390/s390-32/setjmp.S: ... here.
78503         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
78504         * sysdeps/s390/s390-32/configure.in: ... here.
78505         * sysdeps/s390/s390-32/elf/configure: Delete file.
78506         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
78507         * sysdeps/s390/s390-32/start.S: ... here.
78509         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
78510         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
78511         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
78512         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
78513         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
78514         * sysdeps/s390/s390-64/setjmp.S: ... here.
78515         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
78516         * sysdeps/s390/s390-64/configure.in: ... here
78517         * sysdeps/s390/s390-64/elf/configure: Delete file.
78518         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
78519         * sysdeps/s390/s390-64/start.S: ... here.
78520         * sysdeps/s390/s390-64/elf/configure: Delete.
78522         * configure.in: Remove support for elf directories in sysdeps.
78524         * configure: Regenerated.
78525         * sysdeps/i386/configure: Regenerated.
78526         * sysdeps/powerpc/powerpc32/configure: Regenerated.
78527         * sysdeps/powerpc/powerpc64/configure: Regenerated.
78528         * sysdeps/s390/s390-32/configure: Regenerated.
78529         * sysdeps/s390/s390-64/configure: Regenerated.
78530         * sysdeps/sh/configure: Regenerated.
78531         * sysdeps/sparc/configure: Regenerated.
78532         * sysdeps/x86_64/configure: Regenerated.
78534 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
78536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78538         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
78539         denormal result into account.
78541 2012-03-25  Roland McGrath  <roland@hack.frob.com>
78543         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
78544         Reported by Allan McRae <allan@archlinux.org>.
78546 2012-03-23  Jeff Law  <law@redhat.com>
78548         * nss/getnssent.c (__nss_getent): Fix typo.
78550 2012-03-23  David S. Miller  <davem@davemloft.net>
78552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78554 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
78556         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
78557         to pad to uint64_t for each field.
78558         (dl_tls_index): Replace unsigned long with uint64_t.
78560 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
78561         Paul Pluzhnikov  <ppluzhnikov@google.com>
78563         [BZ #6528]
78564         * grp/Makefile (otherlibs): Don't set it.
78565         * inet/Makefile (otherlibs): Likewise.
78566         * login/Makefile (otherlibs): Likewise.
78567         * nscd/Makefile (otherlibs): Likewise.
78568         * posix/Makefile (otherlibs): Likewise.
78569         * pwd/Makefile (otherlibs): Likewise.
78570         * rt/Makefile (otherlibs): Likewise.
78571         * sunrpc/Makefile (otherlibs): Likewise.
78572         * nss/Makefile (otherlibs): Likewise.
78573         Add libnss_files to routines and static-only-routines.
78574         ($(objpfx)getent): Remove rule.
78575         * resolv/Makefile: Add libnss_dns and libresolv to routines and
78576         static-only-routines.
78578 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78580         [BZ #13892]
78581         * math/s_cexp.c: Include <float.h>.
78582         (__cexp): Handle exp result overflowing not necessarily
78583         overflowing both real and imaginary parts of result.
78584         * math/s_cexpf.c: Likewise.
78585         * math/s_cexpl.c: Likewise.
78586         * math/libm-test.inc (cexp_test): Add more tests.
78587         * sysdeps/i386/fpu/libm-test-ulps: Update.
78588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78590 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78592         * include/link.h (ELFW): New macro.
78593         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
78594         Replace ELF64_R_TYPE with ELFW(R_TYPE).
78596 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78598         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
78599         with uint64_t.
78601 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78603         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
78604         declaration.
78605         (struct La_x32_retval): Likewise.
78607 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78609         * sysdeps/x86_64/preconfigure.in: New file.
78610         * sysdeps/x86_64/preconfigure: New generated file.
78612 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78614         [BZ #13824]
78615         * math/e_exp2l.c: Include <float.h>.
78616         (__ieee754_exp2l): Handle overflow and underflow cases
78617         separately.  Only pass fractional part of argument to
78618         __ieee754_expl.
78619         * math/libm-test.inc (exp2_test): Add more tests.
78621         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
78622         negating x to take absolute value.
78623         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
78624         Likewise.
78625         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
78626         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
78627         Likewise.
78628         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
78629         computing low part if x was negated.
78630         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
78632 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78634         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
78635         la_x32_gnu_pltexit.
78636         (pltexit): Cast int_retval to ptrdiff_t.
78637         * elf/tst-auditmod3b.c: Likewise.
78638         * elf/tst-auditmod4b.c: Likewise.
78639         * elf/tst-auditmod5b.c: Likewise.
78640         * elf/tst-auditmod6b.c: Likewise.
78641         * elf/tst-auditmod6c.c: Likewise.
78642         * elf/tst-auditmod7b.c: Likewise.
78644         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
78645         and x32_gnu_pltexit.
78647         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
78648         __ELF_NATIVE_CLASS.
78649         (La_x32_regs): New macro.
78650         (La_x32_retval): Likewise.
78651         (la_x32_gnu_pltenter): New function prototype.
78652         (la_x32_gnu_pltexit): Likewise.
78654 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
78656         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
78657         exponent.
78659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78661         * configure.in (libc_cv_cc_nofma): Check for option to disable
78662         generation of FMA instructions.
78663         * configure: Regenerate.
78664         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
78665         * sysdeps/ieee754/dbl-64/Makefile: New file.
78666         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
78667         Remove brandred-fma4.
78668         (CFLAGS-brandred-fma4.c): Remove.
78669         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
78670         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
78671         define.
78672         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
78673         define.
78675 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78677         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78678         LLONG_MAX != LONG_MAX.
78679         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78680         (_fitoa_word): Likewise.
78681         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
78682         LLONG_MAX != LONG_MAX.
78683         * stdio-common/_itowa.h: Include <_itoa.h>.
78684         (_itowa_word): Use _ITOA_WORD_TYPE on value.
78685         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
78686         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
78687         only if not defined.
78688         (_ITOA_WORD_TYPE): Likewise.
78689         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78690         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
78692 2012-03-21  David S. Miller  <davem@davemloft.net>
78694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78696 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78698         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
78699         of x86_64 when setting libc_cv_slibdir, libdir and
78700         libc_cv_localedir.
78701         * sysdeps/unix/sysv/linux/configure: Regenerated.
78703 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78705         * manual/lang.texi (Old Varargs): Remove section.
78706         (How Variadic): Update menu.
78707         (va_start): Do not mention varargs.h.
78709 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78710             Joseph Myers  <joseph@codesourcery.com>
78712         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
78713         link test.
78714         * configure: Regenerated.
78716 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78718         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
78719         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
78720         conformtest.pl
78722 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78724         * NOTES: Remove.
78725         * Makefile (files-for-dist): Remove NOTES.
78726         (NOTES): Remove rule.
78727         * README: Don't refer to NOTES.
78728         * manual/creature.texi: Don't include macros.texi.
78729         * manual/intro.texi (creature.texi): Remove comment referring to
78730         NOTES.
78732         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
78733         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
78734         * configure: Regenerated.
78735         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
78736         LIBC_TRY_CC_OPTION.
78737         (libc_cv_as_i686): Likewise.
78738         (libc_cv_cc_avx): Likewise.
78739         (libc_cv_cc_sse2avx): Likewise.
78740         (libc_cv_cc_fma4): Likewise.
78741         (libc_cv_cc_novzeroupper): Likewise.
78742         * sysdeps/i386/configure: Regenerated.
78744         [BZ #13883]
78745         * sysdeps/i386/fpu/s_cexp.S: Remove.
78746         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78747         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78748         * math/libm-test.inc (cexp_test): Add more tests.
78749         * sysdeps/i386/fpu/libm-test-ulps: Update.
78750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78752 2012-03-21  Allan McRae  <allan@archlinux.org>
78754         * timezone/Makefile: Do not install iso3166.tab and zone.tab
78756 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78758         [BZ #13871]
78759         * math/w_exp2.c: Do not include <float.h>.
78760         (o_threshold, u_threshold): Remove.
78761         (__exp2): Calculate result before checking finiteness and calling
78762         __kernel_standard.
78763         * math/w_exp2f.c: Likewise.
78764         * math/w_exp2l.c: Likewise.
78765         * math/libm-test.inc (exp2_test): Require overflow exception for
78766         1e6 input.
78768         [BZ #3866]
78769         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
78770         range of signed 64-bit integers before using fistpll.  Remove
78771         checks for whether integers fit in mantissa bits.
78772         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
78773         the range of signed 32-bit integers before using fistpl.  Remove
78774         checks for whether integers fit in mantissa bits.
78775         * sysdeps/i386/fpu/e_powl.S (p64): New object.
78776         (__ieee754_powl): Test for y outside the range of signed 64-bit
78777         integers before using fistpll.  Reduce 64-bit values to 63-bit
78778         ones as needed.
78779         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
78780         divide-by-zero is raised for zero to large negative powers.
78781         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
78782         (__ieee754_powl): Test for y outside the range of signed 64-bit
78783         integers before using fistpll.  Reduce 64-bit values to 63-bit
78784         ones as needed.
78785         * math/libm-test.inc (pow_test): Add more tests.
78787 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78789         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
78790         <stdio-common/_itoa.h>.
78791         * debug/segfault.c: Likewise.
78792         * elf/dl-cache.c: Likewise.
78793         * elf/dl-minimal.c: Likewise.
78794         * elf/dl-misc.c: Likewise.
78795         * elf/dl-sysdep.c: Likewise.
78796         * elf/dl-version.c: Likewise.
78797         * elf/rtld.c: Likewise.
78798         * hurd/hurdsock.c: Likewise.
78799         * hurd/lookup-retry.c: Likewise.
78800         * malloc/malloc.c: Likewise.
78801         * malloc/mtrace.c: Likewise.
78802         * nscd/nscd_getgr_r.c: Likewise.
78803         * nscd/nscd_getpw_r.c: Likewise.
78804         * nscd/nscd_getserv_r.c: Likewise.
78805         * posix/getopt_init.c: Likewise.
78806         * posix/wordexp.c: Likewise.
78807         * stdio-common/_itoa.c: Likewise.
78808         * stdio-common/printf_fphex.c: Likewise.
78809         * stdio-common/vfprintf.c: Likewise.
78810         * string/_strerror.c: Likewise.
78811         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
78812         * sysdeps/i386/i686/hp-timing.h: Likewise.
78813         * sysdeps/mach/_strerror.c: Likewise.
78814         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
78815         * sysdeps/mach/hurd/sethostid.c: Likewise.
78816         * sysdeps/mach/hurd/xmknodat.c: Likewise.
78817         * sysdeps/mach/xpg-strerror.c: Likewise.
78818         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
78819         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
78820         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
78821         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
78822         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
78823         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
78824         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
78825         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
78826         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
78827         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
78828         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
78829         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
78830         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
78831         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
78832         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
78833         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
78834         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
78835         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
78836         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
78837         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
78838         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
78840         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
78842         * stdio-common/_itoa.h: Moved to ...
78843         * sysdeps/generic/_itoa.h: Here.
78845         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
78847         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
78848         instead of "_itoa.h" and "_itowa.h".
78849         * stdio-common/vfprintf.: Likewise.
78851 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78853         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
78854         <bits/wordsize.h>.
78855         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
78856         (__signbit): Likewise.
78857         (llrintf): Likewise.
78858         (llrint): Likewise.
78860 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78862         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
78863         __WORDSIZE != 64.
78865 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
78867         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
78868         OVERFLOW_EXCEPTION_OK.
78869         * math/libm-test.inc ("Philosophy"): Update comment about
78870         exception testing.
78871         (OVERFLOW_EXCEPTION): Define.
78872         (OVERFLOW_EXCEPTION_OK): Likewise.
78873         (INVALID_EXCEPTION_OK): Renumber.
78874         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78875         (IGNORE_ZERO_INF_SIGN): Likewise.
78876         (test_exceptions): Handle FE_OVERFLOW.
78877         (exp10_test): Expect overflow exceptions.
78878         (exp2_test): Likewise.
78879         (expm1_test): Likewise.
78880         (nextafter_test): Likewise.
78881         (pow_test): Likewise.
78882         (scalbn_test): Likewise.
78883         (scalbln_test): Likewise.
78885 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78887         * sysdeps/x86_64/bits/atomic.h
78888         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
78889         64bit integer.
78890         (atomic_exchange_acq): Likewise.
78891         (__arch_exchange_and_add_body): Likewise.
78892         (__arch_add_body): Likewise.
78893         (atomic_add_negative): Likewise.
78894         (atomic_add_zero): Likewise.
78896 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78898         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
78899         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
78901 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78903         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
78904         Check __x86_64__ instead of __WORDSIZE.
78906 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78908         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
78910 2012-03-19  David S. Miller  <davem@davemloft.net>
78912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78914         * sysdeps/sparc/fpu/fenv_private.h: New file.
78915         * sysdeps/sparc/fpu/math_private.h: Use it.
78916         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
78917         Remove.
78918         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
78919         (libc_feholdexcept_setroundl): Remove.
78920         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
78921         Remove.
78922         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
78923         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
78925 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78927         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
78928         int64_t instead of long int.
78929         (INSERT_WORDS64): Likewise.
78931 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78933         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
78934         _Unwind_GetCFA return to _Unwind_Ptr first.
78936 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
78938         [BZ #13629]
78939         * math/s_clog.c: Include <float.h>.
78940         (__clog): Scale large or subnormal inputs.
78941         * math/s_clogf.c: Likewise.
78942         * math/s_clogl.c: Likewise.
78943         * math/s_clog10.c: Include <float.h>.
78944         (M_LOG10_2): Define.
78945         (__clog10): Scale large or subnormal inputs.
78946         * math/s_clog10f.c: Likewise.
78947         * math/s_clog10l.c: Likewise.
78948         * math/libm-test.inc (clog_test): Add more tests.
78949         (clog10_test): Likewise.
78950         * sysdeps/i386/fpu/libm-test-ulps: Update.
78951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78953         [BZ #11451]
78954         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
78955         x and y.
78956         * math/libm-test.inc (atan2_test): Add another test.
78958         * Makerules (common-objdir-compile): Remove.
78959         * sysdeps/unix/Makefile (config-generated): Do not add
78960         $(unix-generated) to variable.
78961         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
78962         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
78963         Remove rule.
78964         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
78965         Likewise.
78966         [generic bits/local_lim.h] (before-compile): Do not append to
78967         variable.
78968         [generic bits/local_lim.h] (common-generated): Likewise.
78969         [generic sys/param.h] (before-compile): Do not append to variable.
78970         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
78971         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
78972         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
78973         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
78974         include.
78975         [generic sys/param.h] (sys/param.h-includes): Remove variable.
78976         [generic sys/param.h] (sys/param.h-includes): Remove rule.
78977         [generic sys/param.h] ($(addprefix
78978         $(common-objpfx),$(sys/param.h-includes))): Likewise.
78979         [generic sys/param.h] (common-generated): Do not append to
78980         variable.
78981         [generic sys/param.h] (sysdep_headers): Likewise.
78982         [generic bits/errno.h] (before-compile): Do not append to
78983         variable.
78984         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
78985         rule.
78986         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
78987         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
78988         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
78989         [generic bits/errno.h] (common-generated): Do not append to
78990         variable.
78991         [generic bits/ioctls.h] (before-compile): Do not append to
78992         variable.
78993         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
78994         rule.
78995         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
78996         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
78997         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
78998         rule.
78999         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
79000         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
79001         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
79002         [generic bits/ioctls.h] (common-generated): Do not append to
79003         variable.
79004         [generic sys/syscall.h] (syscall.h): Remove variable.
79005         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
79006         rule.
79007         [generic sys/syscall.h] (before-compile): Do not append to
79008         variable.
79009         [generic sys/syscall.h] (common-generated): Likewise.
79010         * sysdeps/unix/errnos-tmpl.c: Remove file.
79011         * sysdeps/unix/errnos.awk: Likewise.
79012         * sysdeps/unix/ioctls-tmpl.c: Likewise.
79013         * sysdeps/unix/ioctls.awk: Likewise.
79014         * sysdeps/unix/mk-local_lim.c: Likewise.
79015         * sysdeps/unix/snarf-ioctls: Likewise.
79017 2012-03-19  Richard Henderson  <rth@twiddle.net>
79019         * sysdeps/i386/fpu/fenv_private.h: New file.
79020         * sysdeps/i386/fpu/math_private.h: Use it.
79021         (math_opt_barrier, math_force_eval): Remove.
79022         (libc_feholdexcept_setround_53bit): Remove.
79023         (libc_feupdateenv_53bit): Remove.
79024         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79025         (math_opt_barrier, math_force_eval): Remove.
79026         (libc_feholdexcept): Remove.
79027         (libc_feholdexcept_setround): Remove.
79028         (libc_fetestexcept, libc_fesetenv): Remove.
79029         (libc_feupdateenv_test): Remove.
79030         (libc_feupdateenv, libc_feholdsetround): Remove.
79031         (libc_feresetround): Remove.
79033         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
79034         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
79036         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
79037         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
79038         (libc_feupdateenv_testl): New.
79039         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
79040         (libc_feupdateenv_testf): New.
79041         (libc_feupdateenv): Use libc_feupdateenv_test.
79042         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
79043         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
79045         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
79046         (libc_feholdsetroundf, libc_feholdsetroundl): New.
79047         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
79048         (libc_feresetround_noex): New.
79049         (libc_feresetround_noexf): New.
79050         (libc_feresetround_noexl): New.
79051         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
79052         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
79053         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
79054         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
79055         SET_RESTORE_ROUND.
79056         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
79057         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
79058         (__cos): Likewise.
79059         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
79060         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
79061         SET_RESTORE_ROUND_NOEX.
79062         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
79063         SET_RESTORE_ROUND_NOEXF.
79064         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
79065         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
79066         (libc_feholdsetroundf): New.
79067         (libc_feresetround, libc_feresetroundf): New.
79069         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
79070         (libc_feholdexcept_setround_53bit): Convert from macro to function.
79071         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
79073         * sysdeps/generic/math_private.h: Include <fenv.h>.
79074         (default_libc_feholdexcept): New.
79075         (default_libc_feholdexcept_setround): New.
79076         (default_libc_fesetenv, default_libc_feupdateenv): New.
79077         (libc_feholdexcept): Only define if undefined.
79078         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
79079         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
79080         (libc_feholdexcept_setroundl): Likewise.
79081         (libc_feholdexcept_setround_53bit): Likewise.
79082         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
79083         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
79084         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
79085         (libc_feupdateenv_53bit): Likewise.
79086         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
79087         (libc_feholdexcept): Convert from macro to inline function.
79088         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
79089         (libc_fesetenv, libc_feupdateenv): Likewise.
79091         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
79092         not previously defined.
79093         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
79094         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
79095         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
79096         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
79097         * sysdeps/ieee754/flt-32/math_private.h: New file.
79098         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
79099         math_private.h below SET_FLOAT_WORD.
79100         (__isnan, __isinf_ns, __finite): Remove.
79101         (__isnanf, __isinf_nsf, __finitef): Remove.
79103 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
79105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79107 2012-03-17  David S. Miller  <davem@davemloft.net>
79109         [BZ #6471]
79110         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
79111         for 2.16.
79113 2012-03-16  David S. Miller  <davem@davemloft.net>
79115         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
79116         warnings.
79118         [BZ #6471]
79119         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
79120         properly.
79121         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
79122         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
79123         sysdep_routines when subdir is sysvipc.
79124         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
79125         __getshmlba helper.
79127         * sysdeps/sparc/fpu/libm-test/ulps: Update.
79129 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79131         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
79132         [__LP64__].
79134 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79136         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
79137         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
79138         (__lround): Renamed to ...
79139         (__llround): This.  Replace long int with long long int.
79140         Define lround functions as aliases of llround functions.
79141         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
79143 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79145         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
79146         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
79147         adresses to uintptr_t.  Replace "long int" and "unsigned long
79148         int" with "greg_t" on va_arg.
79150 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79152         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
79153         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
79155         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
79156         Move e_machine check before EI_CLASS check.  Handle x32
79157         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
79158         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
79159         SKIP_EM_IA_64 and include
79160         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
79162         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
79163         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
79164         (add_system_dir): New macro.
79166         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
79167         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
79169 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
79171         [BZ #2551]
79172         [BZ #2552]
79173         [BZ #2553]
79174         [BZ #2554]
79175         [BZ #2562]
79176         [BZ #2563]
79177         [BZ #2565]
79178         [BZ #2566]
79179         [BZ #2576]
79180         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
79181         (y0): Likewise.
79182         * math/w_j0f.c (j0f): Likewise.
79183         (y0f): Likewise.
79184         * math/w_j0l.c (__j0l): Likewise.
79185         (__y0l): Likewise.
79186         * math/w_j1.c (j1): Likewise.
79187         (y1): Likewise.
79188         * math/w_j1f.c (j1f): Likewise.
79189         (y1f): Likewise.
79190         * math/w_j1l.c (__j1l): Likewise.
79191         (__y1l): Likewise.
79192         * math/w_jn.c (jn): Likewise.
79193         (yn): Likewise.
79194         * math/w_jnf.c (jnf): Likewise.
79195         (ynf): Likewise.
79196         * math/w_jnl.c (__jnl): Likewise.
79197         (__ynl): Likewise.
79198         * math/libm-test.inc (j0_test): Add more tests.
79199         (j1_test): Likewise.
79200         (jn_test): Likewise.  Add trailing semicolon to existing test.
79201         (y0_test): Likewise.
79202         (y1_test): Likewise.
79203         * sysdeps/i386/fpu/libm-test-ulps: Update.
79204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79206         [BZ #13851]
79207         [BZ #13854]
79208         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
79209         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
79210         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
79211         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
79212         (__tanl): Set errno for infinite argument.
79213         * sysdeps/i386/fpu/mptan.c: Remove.
79214         * sysdeps/i386/fpu/s_tan.S: Likewise.
79215         * sysdeps/i386/fpu/s_tanl.S: Likewise.
79216         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
79217         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
79218         * math/libm-test.inc (tan_test): Add more tests and enable more
79219         tests for double and long double.
79220         * sysdeps/i386/fpu/libm-test-ulps: Update.
79221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79223 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
79225         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
79226         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
79228 2012-03-16  Roland McGrath  <roland@hack.frob.com>
79230         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
79231         * configure.in: Use it for both main tree and add-ons.
79232         * configure: Regenerated.
79234 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79236         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
79238 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
79240         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
79241         in comment.
79243         [BZ #13851]
79244         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
79245         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
79246         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
79247         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
79248         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
79249         infinite argument.
79250         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
79251         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
79252         != 0 for prec == 2.
79253         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
79254         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
79255         * sysdeps/i386/fpu/s_cosl.S: Likewise.
79256         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
79257         * sysdeps/i386/fpu/s_sinl.S: Likewise.
79258         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
79259         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
79260         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
79261         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
79262         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
79263         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
79264         * math/libm-test.inc (cos_test): Add more tests and enable more
79265         tests for long double.
79266         (sin_test): Likewise.
79267         (sincos_test): Likewise.
79268         * sysdeps/i386/fpu/libm-test-ulps: Update.
79269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79271 2012-03-16  David S. Miller  <davem@davemloft.net>
79273         * sysdeps/sparc/fpu/math_private.h: New file.
79275 2012-03-15  David S. Miller  <davem@davemloft.net>
79277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
79278         file.
79279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
79280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
79281         file.
79282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
79283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
79284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
79285         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
79286         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
79287         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
79288         sysdep routines.
79289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79291         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
79292         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
79294         * sysdeps/sparc/sparc-ifunc.h: New file.
79295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
79296         sparc-ifunc.h
79297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
79298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
79299         Likewise.
79300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
79301         Likewise.
79302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
79303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
79304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
79305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
79306         Likewise.
79307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
79308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
79309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
79310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
79311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
79312         Likewise.
79313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
79314         Likewise.
79315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
79316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
79317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
79318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
79319         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
79320         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
79321         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
79322         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
79323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
79324         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
79325         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
79326         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
79327         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
79328         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
79329         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
79330         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
79331         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
79332         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
79333         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
79334         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
79335         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
79336         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
79337         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
79338         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
79340 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79342         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
79343         scaling.
79344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79346 2012-03-15  Andreas Jaeger  <aj@suse.de>
79348         [BZ #13852]
79349         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
79350         ieee754/flt-32 implementation for sin, cos and sincos.
79351         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
79352         * sysdeps/i386/fpu/s_cosf.S: Likewise.
79353         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
79354         * sysdeps/i386/fpu/s_sinf.S: Likewise.
79355         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
79356         ieee754/flt-32 implementation for tan.
79358         * math/libm-test.inc (cos_test): Enable some large input tests for
79359         float as well
79360         (sin_test): Likewise.
79361         (sincos_test): Likewise.
79362         (tan_test): Add tests for large input.
79364         * sysdeps/i386/fpu/libm-test-ulps: Update.
79366 2012-03-15  Andreas Jaeger  <aj@suse.de>
79368         [BZ #13658]
79369         * math/libm-test.inc (cos_test): Add more test cases.
79370         (sin_test): Likewise.
79371         (sincos_test): Likewise.
79373 2012-03-15  Andreas Jaeger  <aj@suse.de>
79375         [BZ #13837]
79376         * math/libm-test.inc (cos_test): Add a test case for large input
79377         value.
79378         (sin_test): Likewise.
79379         (sincos_test): Likewise.
79381 2012-03-15  Andreas Jaeger  <aj@suse.de>
79382             Joseph Myers  <joseph@codesourcery.com>
79384         [BZ #13658]
79385         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
79386         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
79387         * sysdeps/i386/fpu/branred.c: Likewise.
79388         * sysdeps/i386/fpu/dosincos.c: Likewise.
79389         * sysdeps/i386/fpu/mpa.c: Likewise.
79390         * sysdeps/i386/fpu/s_cos.S: Likewise.
79391         * sysdeps/i386/fpu/s_sin.S: Likewise.
79392         * sysdeps/i386/fpu/s_sincos.S: Likewise.
79393         * sysdeps/i386/fpu/sincos32.c: Likewise.
79395         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
79396         Define.
79397         (libc_feupdateenv_53bit): Define.
79398         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
79399         Define.
79400         (libc_feupdateenv_53bit): Define.
79402         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
79403         53 bit (without extend i386 double precision).
79405         * math/libm-test.inc (sincos_test): Add tests for large input.
79406         (sin): Likewise.
79407         (cos): Likewise.
79409         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
79411 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79415 2012-03-15  David S. Miller  <davem@davemloft.net>
79417         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
79418         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
79419         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
79420         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
79421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
79422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
79423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
79424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
79425         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
79426         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
79427         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
79428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
79429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
79430         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
79431         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
79432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
79433         file.
79434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
79435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
79436         file.
79437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
79438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
79439         file.
79440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
79441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
79442         file.
79443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
79444         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
79445         fmin/fmax sysdep routines.
79446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79448 2012-03-14  David S. Miller  <davem@davemloft.net>
79450         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
79451         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
79452         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
79453         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
79454         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
79455         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
79456         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
79457         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
79458         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
79459         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
79460         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
79461         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
79462         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
79463         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
79464         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
79465         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
79466         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
79467         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
79468         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
79469         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
79470         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
79471         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
79472         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
79473         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
79474         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
79475         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
79476         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
79477         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
79478         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
79479         routines.
79480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
79481         file.
79482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
79483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
79484         file.
79485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
79486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
79487         file.
79488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
79489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
79490         file.
79491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
79492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
79493         file.
79494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
79495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
79496         file.
79497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
79498         file.
79499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
79500         file.
79501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
79502         file.
79503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
79504         New file.
79505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
79506         file.
79507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
79508         file.
79509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
79510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
79511         file.
79512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
79513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
79514         file.
79515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
79516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
79517         file.
79518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
79519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
79520         VIS3 routines.
79522         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
79523         New file.
79525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79527         * sysdeps/sparc/configure.in: New file.
79528         * sysdeps/sparc/configure: Generate.
79529         * configure.in (libc_cv_sparc_as_vis3): Substitute.
79530         * configure: Regenerate.
79531         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
79532         * config.make.in (have-as-vis3): New.
79533         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
79534         available use -Av9d instead of -Av9a.
79535         * sysdeps/sparc/sparc64/Makefile: Likewise.
79536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
79537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
79538         New file.
79539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
79540         file.
79541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
79542         New file.
79543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
79544         file.
79545         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
79546         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
79547         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
79548         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
79549         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
79551         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
79552         fzeros/fnegs to load 0x80000000 into a float register instead of
79553         using the stack.
79554         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
79556 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79558         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79559         bits/syscall.h.
79560         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
79561         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
79562         ($(inst_includedir)/bits/syscall.h): Remove rule.
79563         ($(objpfx)bits/syscall.d): Include instead of
79564         $(objpfx)syscall-list.d.
79565         (generated): Change syscall-list.h and syscall-list.d to
79566         bits/syscall.h and bits/syscall.d.
79568 2012-03-14  Roland McGrath  <roland@hack.frob.com>
79570         [BZ #13846]
79571         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
79573 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79575         [BZ #13841]
79576         * math/s_csqrt.c: Include <float.h>.
79577         (__csqrt): Scale large or subnormal inputs.
79578         * math/s_csqrtf.c: Likewise.
79579         * math/s_csqrtl.c: Likewise.
79580         * math/libm-test.inc (csqrt_test): Add more tests.
79581         * sysdeps/i386/fpu/libm-test-ulps: Update.
79582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79584         [BZ #13840]
79585         * math/libm-test.inc (hypot_test): Add more tests.
79587 2012-03-13  David S. Miller  <davem@davemloft.net>
79589         [BZ #13840]
79590         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
79591         double-precision for the calculation instead of scaling.
79593 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
79595         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
79596         manipulate bits before adding and subtracting TWO52[sx].
79597         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
79598         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
79599         Likewise.
79600         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
79602 2012-03-13  David S. Miller  <davem@davemloft.net>
79604         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
79605         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
79606         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
79607         rtld-global-offsets.h
79608         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79610         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
79611         large parameters.
79613         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
79615         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
79616         'err' in the ifdef scope in which it is actually used.
79618         * nss/nss_db/db-init.c: Include string.h
79620 2012-03-12  David S. Miller  <davem@davemloft.net>
79622         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79623         masking out of the most significant byte of random value used.
79624         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79625         Fix coding style in previous change.
79627         * sysdeps/unix/sysv/linux/kernel-features.h
79628         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
79629         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
79630         expression.
79631         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
79632         later.
79634 2012-03-11  David S. Miller  <davem@davemloft.net>
79636         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
79637         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
79638         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
79639         for 'resultvar' otherwise things get truncated on 64-bit.
79641         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79642         Fix masking out of the most significant byte of random value used.
79644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79646 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
79648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79650 2012-03-09  David S. Miller  <davem@davemloft.net>
79652         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
79653         variables with appropriate CPP guards.
79654         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
79655         from the frame pointer, not the stack pointer.  Correct layout
79656         comments.  Fix test on resulting framesize and the management of
79657         the outregs buffer for pltexit.  Preserve floating point return
79658         values across _dl_call_pltexit call.
79659         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
79660         framesize and the management of the outregs buffer for pltexit.
79661         Preserve floating point return values across _dl_call_pltexit
79662         call.
79663         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
79664         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
79665         (la_sparc64_gnu_pltexit): New functions.
79666         (print_exit): Fix format string for return register value.
79668 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
79670         * sunrpc/Makefile (others): Add rpcgen.
79671         ($(objpfx)rpcgen): Remove special build rule and dependency on
79672         libc.
79673         * sunrpc/rpcgen.c: New file.
79675 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
79677         [BZ #13673]
79678         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
79679         * stdio-common/bug-vfprintf-nargs.c: Likewise.
79680         * sysdeps/i386/crti.S: Likewise.
79681         * sysdeps/i386/crtn.S: Likewise.
79682         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
79683         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
79684         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
79685         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
79686         * sysdeps/sh/crti.S: Likewise.
79687         * sysdeps/sh/crtn.S: Likewise.
79688         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
79690         [BZ #13673]
79691         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
79692         with URL.
79693         * locale/programs/locfile-kw.gperf: Likewise.
79694         * locale/programs/charmap-kw.h: Regenerated.
79695         * locale/programs/locfile-kw.h: Likewise.
79697         [BZ #13673]
79698         * intl/plural.y: Replace FSF snail mail address with URL.
79699         * intl/plural.c: Regenerated.
79701 2012-03-09  Richard Henderson  <rth@twiddle.net>
79703         * include/math_private.h: Remove file.
79704         * math/math_private.h: Move file ...
79705         * sysdeps/generic/math_private.h: ... here.
79707         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
79708         * sysdeps/powerpc/fpu/math_private.h: Likewise.
79709         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79711         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
79712         and <math_private.h>.
79713         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
79714         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
79715         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
79716         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
79717         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
79718         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
79719         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79720         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79721         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
79722         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79723         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79724         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79725         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
79726         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79727         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
79728         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
79729         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79730         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
79731         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
79732         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
79733         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79734         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
79735         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
79736         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79737         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
79738         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
79739         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
79740         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79741         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79742         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
79743         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
79744         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79745         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
79746         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79747         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
79748         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
79749         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79750         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
79751         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
79752         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79753         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
79754         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
79755         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
79756         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
79757         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
79758         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
79759         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
79760         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
79761         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79762         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
79763         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
79764         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
79765         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
79766         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
79767         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
79768         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79769         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79770         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
79771         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
79772         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
79773         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79774         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
79775         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79776         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
79777         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
79778         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79779         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79780         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79781         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
79782         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
79783         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
79784         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79785         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
79786         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79787         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
79788         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
79789         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
79790         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
79791         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
79792         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
79793         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
79794         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
79795         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
79796         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79797         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79798         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
79799         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
79800         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
79801         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
79802         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
79803         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
79804         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
79805         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79806         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
79807         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
79808         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
79809         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79810         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
79811         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79812         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
79813         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
79814         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
79815         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
79816         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
79817         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
79818         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
79819         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
79820         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
79821         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
79822         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
79823         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
79824         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
79825         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
79826         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
79827         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
79828         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79829         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
79830         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
79831         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
79832         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79833         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
79834         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
79835         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79836         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
79837         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
79838         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
79839         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
79840         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
79841         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
79842         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
79843         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
79844         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79845         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
79846         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
79847         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
79848         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
79849         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79850         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
79851         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
79852         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79853         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79854         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79855         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79856         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
79857         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
79858         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
79859         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
79860         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
79861         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
79862         * sysdeps/ieee754/k_standard.c: Likewise.
79863         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
79864         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
79865         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79866         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
79867         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
79868         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
79869         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
79870         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
79871         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
79872         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
79873         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79874         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
79875         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
79876         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
79877         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
79878         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
79879         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
79880         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
79881         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
79882         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
79883         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
79884         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
79885         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
79886         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
79887         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
79888         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
79889         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
79890         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
79891         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
79892         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
79893         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
79894         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
79895         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
79896         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
79897         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
79898         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
79899         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
79900         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
79901         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
79902         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
79903         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
79904         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
79905         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
79906         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
79907         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
79908         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
79909         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
79910         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
79911         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
79912         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
79913         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
79914         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
79915         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
79916         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
79917         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
79918         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
79919         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
79920         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
79921         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
79922         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
79923         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
79924         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
79925         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
79926         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
79927         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79928         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79929         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
79930         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
79931         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
79932         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
79933         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
79934         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79935         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
79936         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
79937         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
79938         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
79939         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
79940         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
79941         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79942         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
79943         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
79944         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
79945         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
79946         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
79947         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
79948         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
79949         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
79950         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
79951         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79952         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
79953         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
79954         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
79955         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
79956         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
79957         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
79958         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
79959         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
79960         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
79961         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
79962         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
79963         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
79964         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
79965         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
79966         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
79967         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
79968         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
79969         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
79970         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
79971         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
79972         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
79973         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
79974         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
79975         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
79976         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79977         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
79978         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79979         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
79980         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79981         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79982         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
79983         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79984         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
79985         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
79986         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
79987         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
79988         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
79989         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
79990         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
79991         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
79992         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
79993         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
79994         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
79995         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
79996         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
79997         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
79998         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
79999         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
80000         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
80001         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80002         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
80003         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
80004         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80005         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
80006         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
80007         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80008         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80009         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80010         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80011         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80012         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
80013         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80014         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80015         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80016         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80017         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
80018         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
80019         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
80020         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
80021         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
80022         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
80023         * sysdeps/ieee754/s_lib_version.c: Likewise.
80024         * sysdeps/ieee754/s_matherr.c: Likewise.
80025         * sysdeps/ieee754/s_signgam.c: Likewise.
80026         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80027         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80028         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
80029         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
80030         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
80031         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80032         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
80033         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
80034         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
80035         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
80036         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
80037         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
80038         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
80039         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
80040         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
80041         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
80042         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
80043         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
80044         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
80045         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
80046         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
80048 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80050         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
80051         * sunrpc/rpc_main.c: Likewise.
80052         * sunrpc/rpc_svcout.c: Likewise.
80054 2012-03-09  David S. Miller  <davem@davemloft.net>
80056         * include/math_private.h: New file.
80058 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80060         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
80061         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
80062         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
80063         from <bits/socket_type.h>.
80064         (enum __socket_type): Don't define here.
80065         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
80066         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80067         bits/socket_type.h.
80069         [BZ #13566]
80070         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
80071         checking __USE_GNU.
80073         * Makerules ($(inst_includedir)/%.h): New rule.
80074         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
80075         (install-others): Remove variable setting.
80076         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
80078 2012-03-08  Richard Henderson  <rth@twiddle.net>
80080         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
80081         from macro to inline function; merge with the
80082         !__LIBC_INTERNAL_MATH_INLINES version.
80083         (__ieee754_sqrtf): Likewise.
80085         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
80086         to inline function.
80087         (__rintf, __floor, __floorf): Likewise.
80089         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
80090         macro to inline function.
80091         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
80093         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
80094         not <math/math_private.h>.
80096 2012-03-08  David S. Miller  <davem@davemloft.net>
80098         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
80099         copyright year.
80100         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
80102 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
80104         * resolv/gai_misc.c (handle_requests): Fix struct timespec
80105         normalization.
80106         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
80107         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
80109 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
80111         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
80112         be defined individually, they must be defined as a block.  Define
80113         S for printing a string instead of hidint the different by using a
80114         macro for adding the 'l'.
80115         * stdio-common/tst-fphex-wide.c: Adjust.
80117 2012-03-07  Marek Polacek  <polacek@redhat.com>
80119         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
80121 2012-03-08  Marek Polacek  <polacek@redhat.com>
80123         [BZ #13806]
80124         * stdio-common/Makefile (tests): Add tst-fphex-wide.
80125         * stdio-common/tst-fphex.c: Define a few macros to make the
80126         test reusable.  Use them.
80127         * stdio-common/tst-fphex-wide.c: New file.
80129 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
80131         [BZ #6911]
80132         * manual/macros.texi (gnusystems): New macro.
80133         (nongnusystems): Likewise.
80134         (gnulinuxhurdsystems): Likewise.
80135         (gnuhurdsystems): Likewise..
80136         (gnulinuxsystems): Likewise.
80137         * manual/charset.texi: Use new macros or @theglibc{} to refer to
80138         variants of the GNU system, not "GNU system".
80139         * manual/conf.texi: Likewise.
80140         * manual/errno.texi: Likewise.  Update example of errno macro
80141         expansion.
80142         * manual/filesys.texi: Likewise.
80143         (getumask): Document as specific to GNU/Hurd.
80144         * manual/install.texi: Likewise.  Reword some references to
80145         GNU/Linux.
80146         * manual/intro.texi: Likewise.
80147         * manual/io.texi: Likewise.
80148         (File Name Portability): Detail which constraints are inapplicable
80149         to all GNU systems and which are only inapplicable to GNU/Hurd.
80150         * manual/job.texi: Likewise.
80151         * manual/llio.texi: Likewise.
80152         (O_NOCTTY): Document as present on GNU/Linux.
80153         * manual/maint.texi: Likewise.
80154         * manual/memory.texi: Likewise.
80155         * manual/pattern.texi: Likewise.
80156         * manual/pipe.texi: Likewise.
80157         * manual/process.texi: Likewise.
80158         * manual/resource.texi: Likewise.
80159         (RUSAGE_CHILDREN): Remove statement about specifying a particular
80160         child on GNU/Hurd.
80161         * manual/setjmp.texi: Likewise.
80162         * manual/signal.texi: Likewise.
80163         * manual/startup.texi: Likewise.
80164         * manual/stdio.texi: Likewise.
80165         * manual/terminal.texi: Likewise.
80166         (ONLCR): Document as POSIX.
80167         (OXTABS): Document availability on GNU/Linux as XTABS.
80168         (ONOEOT): Document availability separately from other bits.
80169         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
80170         * manual/time.texi: Likewise.
80171         * manual/users.texi: Likewise.
80172         * INSTALL: Regenerated.
80173         * sysdeps/gnu/errlist.c: Regenerated.
80175         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
80176         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
80177         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
80178         puts.
80179         * configure: Regenerated.
80181 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
80183         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
80184         default includes instead of AC_HEADER_CHECK.
80185         * sysdeps/i386/configure: Regenerated.
80187         [BZ #10716]
80188         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
80189         * math/s_cacoshf.c (__cacoshf): Likewise.
80190         * math/s_cacoshl.c (__cacoshl): Likewise.
80191         * math/s_casinh.c (__casinh): Set signs of result from argument.
80192         * math/s_casinhf.c (__casinhf): Likewise.
80193         * math/s_casinhl.c (__casinhl): Likewise.
80194         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
80195         (casinh_test): Add more tests.
80196         * sysdeps/i386/fpu/libm-test-ulps: Update.
80197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80199 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
80201         * po/zh_TW.po: Update from translation team.
80203         * login/Makefile (distribute): Remove variable.
80204         * catgets/Makefile: Likewise.
80205         * mach/Makefile: Likewise.
80206         * malloc/Makefile: Likewise.
80207         * misc/Makefile: Likewise.
80208         * iconv/Makefile: Likewise.
80209         * nscd/Makefile: Likewise.
80210         * hurd/Makefile: Likewise.
80211         * manual/Makefile: Likewise.
80212         * locale/Makefile: Likewise.
80213         * intl/Makefile: Likewise.
80214         * conform/Makefile: Likewise.
80215         * nss/Makefile: Likewise.
80216         * time/Makefile: Likewise.
80217         * soft-fp/Makefile: Likewise.
80218         * dirent/Makefile: Likewise.
80219         * gmon/Makefile: Likewise.
80220         * po/Makefile: Likewise.
80221         * rt/Makefile: Likewise.
80222         * socket/Makefile: Likewise.
80223         * math/Makefile: Likewise.
80224         * signal/Makefile: Likewise.
80225         * debug/Makefile: Likewise.
80226         * elf/Makefile: Likewise.
80227         * timezone/Makefile: Likewise.
80228         * stdlib/Makefile: Likewise.
80229         * iconvdata/Makefile: Likewise.
80230         * sunrpc/Makefile: Likewise.
80231         * io/Makefile: Likewise.
80232         * argp/Makefile: Likewise.
80233         * inet/Makefile: Likewise.
80234         * hesiod/Makefile: Likewise.
80235         * grp/Makefile: Likewise.
80236         * csu/Makefile: Likewise.
80237         * wctype/Makefile: Likewise.
80238         * crypt/Makefile: Likewise.
80239         * libio/Makefile: Likewise.
80240         * string/Makefile: Likewise.
80241         * nis/Makefile: Likewise.
80242         * resolv/Makefile: Likewise.
80243         * stdio-common/Makefile: Likewise.
80244         * wcsmbs/Makefile: Likewise.
80245         * dlfcn/Makefile: Likewise.
80246         * posix/Makefile: Likewise.
80248         [BZ #6959]
80249         * timezone/Makefile: Don't install timezone files, just the programs
80250         and scripts.
80252 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
80254         * nss/databases.def: Add missing gshadow entry.
80256         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
80258 2012-03-06  Marek Polacek  <polacek@redhat.com>
80260         [BZ #13726]
80261         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
80262         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
80263         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
80264         * stdio-common/tst-long-dbl-fphex.c: New file.
80266 2012-03-06  David S. Miller  <davem@davemloft.net>
80268         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
80269         (set_obp_int): New function.
80270         (get_obp_int): New function.
80271         (__get_clockfreq_via_dev_openprom): Likewise.
80272         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
80273         Avoid unused variable warnings on 'val' and use builtin_expect.
80274         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
80275         __builtin_expect.
80276         (INLINE_CLONE_SYSCALL): Likewise.
80278 2012-03-05  David S. Miller  <davem@davemloft.net>
80280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80282 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
80284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80286         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
80287         only for |x| >= 40.
80288         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80290 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
80292         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
80293         Replace gettimeofday with __vdso_gettimeofday.
80295         * sysdeps/unix/sysv/linux/x86_64/init-first.c
80296         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
80297         __vdso_clock_gettime and __vdso_getcpu.
80299         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
80300         time with __vdso_time.
80302 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
80304         * manual/lang.texi (size_t): Note types to which size_t may be
80305         equivalent with the GNU C Library, but do not describe when
80306         differences between them are significant.
80308 2012-03-05  Andreas Jaeger  <aj@suse.de>
80310         * sysdeps/i386/fpu/libm-test-ulps: Update.
80312 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
80314         [BZ #3976]
80315         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
80316         (__ieee754_pow): Save and restore rounding mode and use
80317         round-to-nearest for main computations.
80318         * math/libm-test.inc (pow_test_tonearest): New function.
80319         (pow_test_towardzero): Likewise.
80320         (pow_test_downward): Likewise.
80321         (pow_test_upward): Likewise.
80322         (main): Call the new functions.
80323         * sysdeps/i386/fpu/libm-test-ulps: Update.
80324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80326         [BZ #3976]
80327         * math/libm-test.inc (cosh_test_tonearest): New function.
80328         (cosh_test_towardzero): Likewise.
80329         (cosh_test_downward): Likewise.
80330         (cosh_test_upward): Likewise.
80331         (sinh_test_tonearest): Likewise.
80332         (sinh_test_towardzero): Likewise.
80333         (sinh_test_downward): Likewise.
80334         (sinh_test_upward): Likewise.
80335         (main): Call the new functions.
80336         * sysdeps/i386/fpu/libm-test-ulps: Update.
80337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80339 2012-03-05  Tom de Vries  <tom@codesourcery.com>
80341         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
80342         default stack guard is set in last bytes.
80343         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
80345 2012-03-05  Kees Cook  <keescook@chromium.org>
80347         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
80349         [BZ #13656]
80350         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
80351         possibly allocate from heap instead of stack.
80352         * stdio-common/bug-vfprintf-nargs.c: New file.
80353         * stdio-common/Makefile (tests): Add nargs overflow test.
80355 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
80357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80359 2012-03-03  Marek Polacek  <polacek@redhat.com>
80361         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
80362         * math/math_private.h: Likewise.
80363         * stdlib/tst-strtod.c: Likewise.
80364         * sysdeps/i386/i486/bits/atomic.h: Likewise.
80365         * sysdeps/x86_64/bits/atomic.h: Likewise.
80367 2012-03-02  David S. Miller  <davem@davemloft.net>
80369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
80370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
80371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
80372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
80373         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
80374         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
80375         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
80376         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
80378 2012-03-02  Roland McGrath  <roland@hack.frob.com>
80380         [BZ #13792]
80381         * manual/examples/README: New file, says the example source files
80382         can be used under GPL>=2.
80383         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
80384         line containing just "*/".
80385         * manual/examples/add.c: Add copyright header (GPL>=2).
80386         * manual/examples/argp-ex1.c: Likewise.
80387         * manual/examples/argp-ex2.c: Likewise.
80388         * manual/examples/argp-ex3.c: Likewise.
80389         * manual/examples/argp-ex4.c: Likewise.
80390         * manual/examples/atexit.c: Likewise.
80391         * manual/examples/db.c: Likewise.
80392         * manual/examples/dir.c: Likewise.
80393         * manual/examples/dir2.c: Likewise.
80394         * manual/examples/execinfo.c: Likewise.
80395         * manual/examples/filecli.c: Likewise.
80396         * manual/examples/filesrv.c: Likewise.
80397         * manual/examples/fmtmsgexpl.c: Likewise.
80398         * manual/examples/genpass.c: Likewise.
80399         * manual/examples/inetcli.c: Likewise.
80400         * manual/examples/inetsrv.c: Likewise.
80401         * manual/examples/isockad.c: Likewise.
80402         * manual/examples/longopt.c: Likewise.
80403         * manual/examples/memopen.c: Likewise.
80404         * manual/examples/memstrm.c: Likewise.
80405         * manual/examples/mkfsock.c: Likewise.
80406         * manual/examples/mkisock.c: Likewise.
80407         * manual/examples/mygetpass.c: Likewise.
80408         * manual/examples/pipe.c: Likewise.
80409         * manual/examples/popen.c: Likewise.
80410         * manual/examples/rprintf.c: Likewise.
80411         * manual/examples/search.c: Likewise.
80412         * manual/examples/select.c: Likewise.
80413         * manual/examples/setjmp.c: Likewise.
80414         * manual/examples/sigh1.c: Likewise.
80415         * manual/examples/sigusr.c: Likewise.
80416         * manual/examples/stpcpy.c: Likewise.
80417         * manual/examples/strdupa.c: Likewise.
80418         * manual/examples/strftim.c: Likewise.
80419         * manual/examples/strncat.c: Likewise.
80420         * manual/examples/subopt.c: Likewise.
80421         * manual/examples/swapcontext.c: Likewise.
80422         * manual/examples/termios.c: Likewise.
80423         * manual/examples/testopt.c: Likewise.
80424         * manual/examples/testpass.c: Likewise.
80425         * manual/examples/timeval_subtract.c: Likewise.
80427         [BZ #13792]
80428         * manual/time.texi (Elapsed Time): Move timeval_subtract example
80429         function to ...
80430         * manual/timeval_subtract.c.texi: ... here, new file.
80432 2012-03-02  David S. Miller  <davem@davemloft.net>
80434         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
80436 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
80438         [BZ #3976]
80439         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
80440         (__sin): Save and restore rounding mode and use round-to-nearest
80441         for all computations.
80442         (__cos): Save and restore rounding mode and use round-to-nearest
80443         for all computations.
80444         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
80445         <fenv.h>.
80446         (tan): Save and restore rounding mode and use round-to-nearest for
80447         all computations.
80448         * math/libm-test.inc (cos_test_tonearest): New function.
80449         (cos_test_towardzero): Likewise.
80450         (cos_test_downward): Likewise.
80451         (cos_test_upward): Likewise.
80452         (sin_test_tonearest): Likewise.
80453         (sin_test_towardzero): Likewise.
80454         (sin_test_downward): Likewise.
80455         (sin_test_upward): Likewise.
80456         (tan_test_tonearest): Likewise.
80457         (tan_test_towardzero): Likewise.
80458         (tan_test_downward): Likewise.
80459         (tan_test_upward): Likewise.
80460         (main): Call the new functions.
80461         * sysdeps/i386/fpu/libm-test-ulps: Update.
80462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80464         [BZ #10135]
80465         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
80466         small n, then large n, before computing and testing k+n.
80467         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
80468         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
80469         Likewise.
80470         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
80471         Likewise.
80472         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
80473         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
80474         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
80475         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
80476         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
80477         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
80478         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
80479         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
80480         * math/libm-test.inc (scalbn_test): Add more tests.
80481         (scalbln_test): Likewise.
80483         * manual/filesys.texi (mode_t): Describe constraints on size and
80484         signedness, not exact equivalence to a particular type.
80485         (ino_t): Likewise.
80486         (ino64_t): Likewise.
80487         (dev_t): Likewise.
80488         (nlink_t): Likewise.
80489         (blkcnt_t): Likewise.
80490         (blkcnt64_t): Likewise.
80491         * manual/llio.texi (off_t): Likewise.
80493         [BZ #3976]
80494         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
80495         (__ieee754_exp): Save and restore rounding mode and use
80496         round-to-nearest for all computations.
80497         * math/libm-test.inc (exp_test_tonearest): New function.
80498         (exp_test_towardzero): Likewise.
80499         (exp_test_downward): Likewise.
80500         (exp_test_upward): Likewise.
80501         (main): Call the new functions.
80502         * sysdeps/i386/fpu/libm-test-ulps: Update.
80503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80505 2012-03-01  Chris Demetriou  <cgd@google.com>
80507         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
80508         have predictable order.
80510 2012-03-01  David S. Miller  <davem@davemloft.net>
80512         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
80514         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
80515         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
80516         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
80517         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
80519         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
80520         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
80521         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
80522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
80523         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
80524         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
80525         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
80526         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
80527         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
80529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80531         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
80532         * sysdeps/sparc/fpu/libm-test-ulps: to here.
80533         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
80535         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
80536         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80537         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80538         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
80539         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
80540         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
80541         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
80542         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80543         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80544         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
80545         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
80546         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80547         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80548         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80549         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80550         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80551         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
80552         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
80553         * sysdeps/sparc/elf/configure: Regenerated.
80555 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
80557         * configure.in (AS, LD): Require binutils 2.20 or later.
80558         * configure: Regenerated.
80559         * manual/install.texi (Tools for Compilation): Give binutils 2.20
80560         as required minimum version.
80561         * INSTALL: Regenerated.
80563         [BZ #2541]
80564         [BZ #4108]
80565         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
80566         before squaring exponent.
80567         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
80568         bottom long double and 27 bits of top long double before squaring
80569         exponent.
80570         * math/libm-test.inc (erfc_test): Add more tests.
80571         * sysdeps/i386/fpu/libm-test-ulps: Update.
80572         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80575 2012-03-01  Kai Tietz  <ktietz@redhat.com>
80577         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
80578         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
80579         containing bit-fields.
80580         * soft-fp/extended.h (_FP_UNION_E): Likewise.
80581         * soft-fp/single.h (_FP_UNION_S): Likewise.
80582         * soft-fp/double.h (_FP_UNION_D): Likewise.
80584 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80586         [BZ #13786]
80587         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
80588         not include ../strcmp.S.
80589         [USE_AS_STRNCASECMP_L]: Likewise.
80590         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
80591         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
80592         * sysdeps/i386/i686/multiarch/strncase_l-c.c
80593         (__strncasecmp_l_ia32): Define as alias to
80594         __strncasecmp_l_nonascii.
80596         [BZ #5794]
80597         * math/libm-test.inc (expm1_test): Add test for bug 5794.
80598         * sysdeps/i386/fpu/libm-test-ulps: Update.
80599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80601         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
80602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80604 2012-02-29  Jeff Law  <law@redhat.com>
80606         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
80607         out of bounds read.
80609 2012-02-29  Marek Polacek  <polacek@redhat.com>
80611         [BZ #13706]
80612         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
80613         * elf/Makefile: Add rules to run tst-unused-dep.out.
80615 2012-02-28  David S. Miller  <davem@davemloft.net>
80617         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
80618         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
80619         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
80620         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
80621         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
80622         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
80624 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80626         * math/libm-test.inc (llround_test): Move one test from
80627         lround_test.  Use TEST_f_L in moved test.
80628         (lround_test): Move misplaced test to llround_test.  Add testcase
80629         from bug 2561.
80631 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
80633         * sysdeps/x86_64/fpu/e_expf.S: New file.
80634         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
80636 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
80638         [BZ #13637]
80639         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
80640         of remain_len that may cause incomplete multi-byte character and
80641         false match.
80642         * posix/bug-regex33.c: New file.
80643         * posix/Makefile (tests): Add bug-regex33.
80645 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
80647         * manual/macros.texi: New file.
80648         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
80649         * manual/libc.texinfo: Include macros.texi.
80650         * manual/creatute.texi: Likewise.
80651         * manual/install.texi: Likewise.
80652         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
80653         @glibcadj{} in references to the GNU C Library.
80654         * manual/charset.texi: Likewise.
80655         * manual/conf.texi: Likewise.
80656         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
80657         when not using those macros.
80658         * manual/creature.texi: Likewise.
80659         * manual/crypt.texi: Likewise.
80660         * manual/errno.texi: Likewise.
80661         * manual/filesys.texi: Likewise.
80662         * manual/header.texi: Likewise.
80663         * manual/install.texi: Likewise.
80664         * manual/intro.texi: Likewise.
80665         * manual/io.texi: Likewise.
80666         * manual/job.texi: Likewise.
80667         * manual/lang.texi: Likewise.
80668         * manual/libc.texiinfo: Likewise.
80669         * manual/llio.texi: Likewise.
80670         * manual/locale.texi: Likewise.
80671         * manual/maint.texi: Likewise.
80672         * manual/math.texi: Likewise.
80673         * manual/memory.texi: Likewise.
80674         * manual/message.texi: Likewise.
80675         * manual/nss.texi: Likewise.
80676         * manual/pattern.texi: Likewise.
80677         * manual/process.texi: Likewise.
80678         * manual/resource.texi: Likewise.
80679         * manual/search.texi: Likewise.
80680         * manual/setjmp.texi: Likewise.
80681         * manual/signal.texi: Likewise.
80682         * manual/socket.texi: Likewise.
80683         * manual/startup.texi: Likewise.
80684         * manual/stdio.texi: Likewise.
80685         * manual/string.texi: Likewise.
80686         * manual/sysinfo.texi: Likewise.
80687         * manual/syslog.texi: Likewise.
80688         * manual/terminal.texi: Likewise.
80689         * manual/time.texi: Likewise.
80690         * manual/users.texi: Likewise.
80691         * INSTALL: Regenerated.
80692         * NOTES: Regenerated.
80693         * sysdeps/gnu/errlist.c: Regenerated.
80695 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
80697         * include/dirent.h: Include <dirstream.h> before
80698         <dirent/dirent.h>.
80700 2012-02-28  David S. Miller  <davem@davemloft.net>
80702         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
80703         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
80704         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
80705         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
80707 2012-02-27  David S. Miller  <davem@davemloft.net>
80709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
80710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
80711         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
80712         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
80714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
80715         frame pointer instead of stack pointer relative arg slot.
80716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80717         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80718         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80720 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
80722         [BZ #3992]
80723         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
80725 2012-02-27  David S. Miller  <davem@davemloft.net>
80727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
80728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
80731         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80732         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80733         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
80734         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
80736 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80738         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
80739         later.  Allow versions 5-9.
80740         * configure: Regenerated.
80741         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
80742         required minimum version and 4.6 as recommended version.  Do not
80743         mention bugs in GCC 2.7 and 2.8.
80744         * INSTALL: Regenerated.
80746 2012-02-27  David S. Miller  <davem@davemloft.net>
80748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
80749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
80750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
80751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
80752         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
80753         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
80754         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
80755         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
80757         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
80758         manipulate bits before adding and subtracting TWO112[sx].
80759         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
80761 2012-02-27  Roland McGrath  <roland@hack.frob.com>
80763         [BZ #13775]
80764         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
80765         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
80766         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
80767         being in POSIX, because they are in 1003.1-2008.
80769         * rt/tst-aio.c: Include <fcntl.h>.
80770         * rt/tst-aio7.c: Likewise.
80771         * rt/tst-aio64.c: Likewise.
80773         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
80775 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80777         * manual/install.texi (--with-headers): Describe headers as
80778         interface headers, not private headers.
80779         (Specific advice for GNU/Linux systems): Describe use of headers
80780         from "make headers_install", not private headers from older
80781         kernels.
80782         * INSTALL: Regenerated.
80783         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
80784         Change to 2.6.19.
80785         * sysdeps/unix/sysv/linux/configure: Regenerated.
80787         * manual/llio.texi (fclean): Remove documentation.
80789         * manual/Makefile (libc-texi-generated): New variable.  Include
80790         version.texi.
80791         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
80792         $(libc-texi-generated), not duplicated list of files.
80793         (version.texi, stamp-version): New rules.
80794         (realclean): Remove $(libc-texi-generated), not individual files
80795         from that list.  Do not remove dir-add.texinfo.
80796         * manual/libc.texinfo: Comment out uses of edition numbers and
80797         references to printed manual.  Remove last-updated dates.
80798         (EDITION): Comment out.
80799         (ISBN): Likewise.
80800         (VERSION, UPDATED): Remove.
80801         (version.texi): Include.
80803 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
80805         * sysdeps/posix/spawni.c: Include <signal.h>.
80806         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
80807         * sysdeps/pthread/aio_fsync.c: Likewise.
80809 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
80811         * conform/Makefile (tests): Run only when not cross-compiling and
80812         when fast-check is not defined.
80814         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
80815         * conform/data/limits.h-data: Fixes for POSIX2008.
80816         * conform/run-conformtest.sh: Run all tests.
80817         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
80818         headers.
80819         * include/bits/dlfcn.h: Likewise.
80820         * include/langinfo.h: Likewise.
80821         * include/monetary.h: Likewise.
80822         * include/sys/poll.h: Likewise.
80824         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
80825         for __USE_GNU.
80826         * posix/spawn.h: Define __need_sigset_t.
80827         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
80828         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
80829         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
80830         to get sigevent_t only.
80831         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
80832         only for __USE_GNU.
80833         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80834         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
80835         process_vm_writev only for __USE_GNU.
80836         * termios/termios.h: Declare tcgetsid also for POSIX2008.
80838         * conform/Makefile: For now ignore errors from run-conformtest.
80839         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
80840         POSIX to avoid namespace pollution.  Don't prepend headers.
80841         * conform/data/aio.h-data: Fixes for POSIX testing.
80842         * conform/data/fcntl.h-data: Likewise.
80843         * conform/data/glob.h-data: Likewise.
80844         * conform/data/grp.h-data: Likewise.
80845         * conform/data/pthread.h-data: Likewise.
80846         * conform/data/pwd.h-data: Likewise.
80847         * conform/data/signal.h-data: Likewise.
80848         * conform/data/spawn.h-data: Likewise.
80849         * conform/data/stdio.h-data: Likewise.
80850         * conform/data/stdlib.h-data: Likewise.
80851         * conform/data/stropts.h-data: Likewise.
80852         * conform/data/sys/mman.h-data: Likewise.
80853         * conform/data/sys/stat.h-data: Likewise.
80854         * conform/data/sys/types.h-data: Likewise.
80855         * conform/data/sys/wait.h-data: Likewise.
80856         * conform/data/time.h-data: Likewise.
80857         * conform/data/unistd.h-data: Likewise.
80858         * conform/data/utime.h-data: Likewise.
80860         * io/sys/stat.h: fchmod was always in POSIX.
80861         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
80862         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
80863         * rt/aio.h: Define __need_timespec before including <time.h>.
80864         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
80865         struct.  Add forward declaration of pthread_attr_t and use it in
80866         sigevent.
80867         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80868         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80869         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
80870         always remove CLK_TCK definition.
80872 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
80874         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
80876 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
80878         * conform/run-conformtest.sh: New file.
80879         * conform/Makefile: Run run-conformtest for tests.
80880         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
80881         support.
80883         * conform/data/uchar.h-data: New file.
80884         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
80885         * conform/data/arpa/inet.h-data: Likewise.
80886         * conform/data/assert.h-data: Likewise.
80887         * conform/data/complex.h-data: Likewise.
80888         * conform/data/cpio.h-data: Likewise.
80889         * conform/data/ctype.h-data: Likewise.
80890         * conform/data/dirent.h-data: Likewise.
80891         * conform/data/dlfcn.h-data: Likewise.
80892         * conform/data/errno.h-data: Likewise.
80893         * conform/data/fcntl.h-data: Likewise.
80894         * conform/data/float.h-data: Likewise.
80895         * conform/data/fmtmsg.h-data: Likewise.
80896         * conform/data/fnmatch.h-data: Likewise.
80897         * conform/data/ftw.h-data: Likewise.
80898         * conform/data/glob.h-data: Likewise.
80899         * conform/data/grp.h-data: Likewise.
80900         * conform/data/iconv.h-data: Likewise.
80901         * conform/data/inttypes.h-data: Likewise.
80902         * conform/data/langinfo.h-data: Likewise.
80903         * conform/data/libgen.h-data: Likewise.
80904         * conform/data/limits.h-data: Likewise.
80905         * conform/data/locale.h-data: Likewise.
80906         * conform/data/math.h-data: Likewise.
80907         * conform/data/monetary.h-data: Likewise.
80908         * conform/data/mqueue.h-data: Likewise.
80909         * conform/data/ndbm.h-data: Likewise.
80910         * conform/data/net/if.h-data: Likewise.
80911         * conform/data/netdb.h-data: Likewise.
80912         * conform/data/netinet/in.h-data: Likewise.
80913         * conform/data/nl_types.h-data: Likewise.
80914         * conform/data/poll.h-data: Likewise.
80915         * conform/data/pthread.h-data: Likewise.
80916         * conform/data/pwd.h-data: Likewise.
80917         * conform/data/regex.h-data: Likewise.
80918         * conform/data/sched.h-data: Likewise.
80919         * conform/data/search.h-data: Likewise.
80920         * conform/data/semaphore.h-data: Likewise.
80921         * conform/data/setjmp.h-data: Likewise.
80922         * conform/data/signal.h-data: Likewise.
80923         * conform/data/spawn.h-data: Likewise.
80924         * conform/data/stdarg.h-data: Likewise.
80925         * conform/data/stdio.h-data: Likewise.
80926         * conform/data/stdlib.h-data: Likewise.
80927         * conform/data/string.h-data: Likewise.
80928         * conform/data/strings.h-data: Likewise.
80929         * conform/data/stropts.h-data: Likewise.
80930         * conform/data/sys/ipc.h-data: Likewise.
80931         * conform/data/sys/mman.h-data: Likewise.
80932         * conform/data/sys/msg.h-data: Likewise.
80933         * conform/data/sys/resource.h-data: Likewise.
80934         * conform/data/sys/select.h-data: Likewise.
80935         * conform/data/sys/sem.h-data: Likewise.
80936         * conform/data/sys/shm.h-data: Likewise.
80937         * conform/data/sys/socket.h-data: Likewise.
80938         * conform/data/sys/stat.h-data: Likewise.
80939         * conform/data/sys/statvfs.h-data: Likewise.
80940         * conform/data/sys/time.h-data: Likewise.
80941         * conform/data/sys/timeb.h-data: Likewise.
80942         * conform/data/sys/times.h-data: Likewise.
80943         * conform/data/sys/types.h-data: Likewise.
80944         * conform/data/sys/uio.h-data: Likewise.
80945         * conform/data/sys/un.h-data: Likewise.
80946         * conform/data/sys/utsname.h-data: Likewise.
80947         * conform/data/sys/wait.h-data: Likewise.
80948         * conform/data/syslog.h-data: Likewise.
80949         * conform/data/tar.h-data: Likewise.
80950         * conform/data/termios.h-data: Likewise.
80951         * conform/data/utime.h-data: Likewise.
80952         * conform/data/utmpx.h-data: Likewise.
80953         * conform/data/varargs.h-data: Likewise.
80954         * conform/data/wchar.h-data: Likewise.
80955         * conform/data/wctype.h-data: Likewise.
80956         * conform/data/wordexp.h-data: Likewise.
80958         * include/stropts.h: New file.
80959         * include/uchar.h: New file.
80960         * include/aio.h: Changes to allow conformtest.pl to use the headers.
80961         * include/assert.h: Likewise.
80962         * include/ctype.h: Likewise.
80963         * include/dirent.h: Likewise.
80964         * include/dlfcn.h: Likewise.
80965         * include/fcntl.h: Likewise.
80966         * include/fnmatch.h: Likewise.
80967         * include/glob.h: Likewise.
80968         * include/grp.h: Likewise.
80969         * include/libio.h: Likewise.
80970         * include/locale.h: Likewise.
80971         * include/math.h: Likewise.
80972         * include/net/if.h: Likewise.
80973         * include/netdb.h: Likewise.
80974         * include/netinet/in.h: Likewise.
80975         * include/pthread.h: Likewise.
80976         * include/pwd.h: Likewise.
80977         * include/regex.h: Likewise.
80978         * include/sched.h: Likewise.
80979         * include/search.h: Likewise.
80980         * include/setjmp.h: Likewise.
80981         * include/signal.h: Likewise.
80982         * include/stdio.h: Likewise.
80983         * include/stdlib.h: Likewise.
80984         * include/string.h: Likewise.
80985         * include/sys/cdefs.h: Likewise.
80986         * include/sys/mman.h: Likewise.
80987         * include/sys/msg.h: Likewise.
80988         * include/sys/resource.h: Likewise.
80989         * include/sys/select.h: Likewise.
80990         * include/sys/socket.h: Likewise.
80991         * include/sys/stat.h: Likewise.
80992         * include/sys/statvfs.h: Likewise.
80993         * include/sys/time.h: Likewise.
80994         * include/sys/times.h: Likewise.
80995         * include/sys/uio.h: Likewise.
80996         * include/sys/utsname.h: Likewise.
80997         * include/sys/wait.h: Likewise.
80998         * include/termios.h: Likewise.
80999         * include/time.h: Likewise.
81000         * include/ulimit.h: Likewise.
81001         * include/unistd.h: Likewise.
81002         * include/utime.h: Likewise.
81003         * include/wchar.h: Likewise.
81004         * include/wctype.h: Likewise.
81005         * include/wordexp.h: Likewise.
81007         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
81009         * time/time.h: TIME_UTC must be a macro.
81010         Make timespec_get available for ISO C11 only as well.
81012 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
81014         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
81015         Reported by Peng Haitao <penght@cn.fujitsu.com>.
81017 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81019         * configure.in: Use -o not -a in test for unsupported multi-arch.
81021 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81023         * manual/texinfo.tex: Update to version 2012-01-19.16.
81025 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81027         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
81029 2012-02-24  Roland McGrath  <roland@hack.frob.com>
81031         [BZ #13738]
81032         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
81033         * manual/fdl-1.3.texi: New file.
81034         * manual/fdl-1.1.texi: File removed.
81036         [BZ #13738]
81037         * manual/libc.texinfo (FDL_VERSION): New @set.
81038         Use it for mention of FDL in cover text.
81039         (Documentation License): Use it in @include file name.
81041 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81042             Roland McGrath  <roland@hack.frob.com>
81044         [BZ #5461]
81045         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
81046         (not LONG_LONG_MAX and LONG_LONG_MIN.
81047         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
81048         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
81049         name.
81050         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
81052 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81054         [BZ #2547]
81055         [BZ #11365]
81056         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
81057         manipulate bits before adding and subtracting TWO23[sx].
81058         * math/libm-test.inc (nearbyint_test): Add more tests.
81060 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81062         [BZ #2548]
81063         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
81064         bits before adding and subtracting TWO23[sx].
81065         * math/libm-test.inc (rint_test): Add more tests.
81066         (rint_test_tonearest): Likewise.
81067         (rint_test_towardzero): Likewise.
81068         (rint_test_downward): Likewise.
81069         (rint_test_upward: Likewise.
81071 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81073         [BZ #10110]
81074         * include/stdc-predef.h: New file.  Extracted from features.h.
81075         * include/features.h: Include stdc-predef.h.
81076         * Makefile (headers): Add stdc-predef.h.
81077         * CONFORMANCE (Compiler limitations): Update.
81079 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81081         * manual/libc.texinfo (VERSION, UPDATED): Revert.
81083 2012-02-21  David S. Miller  <davem@davemloft.net>
81085         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
81086         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
81088 2012-02-20  David S. Miller  <davem@davemloft.net>
81090         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
81091         using a normal save/restore sequence, rather than allocating a
81092         dummy stack frame just to store a frame pointer and restore.
81093         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81095 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81097         * manual/install.texi: Fix stray word in line-wrapped comment.
81099 2012-02-20  David S. Miller  <davem@davemloft.net>
81101         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
81102         both binutils and gcc support GOTDATA.
81104         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
81105         "rd %pc" in the PIC register setup sequences.
81107         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
81108         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
81109         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81110         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
81111         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81112         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81113         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81114         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81115         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
81116         (SYSCALL_ERROR_HANDLER): Likewise.
81117         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81118         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81119         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
81120         (SYSCALL_ERROR_HANDLER): Likewise.
81122         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
81123         (HAVE_GCC_GOTDATA): New.
81124         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
81125         relocation support in both binutils and gcc.
81126         * sysdeps/sparc/elf/configure: Regenerate.
81128         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
81129         * sysdeps/sparc/sparc32/elf/configure: Delete.
81130         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
81131         * sysdeps/sparc/sparc64/elf/configure: Delete.
81132         * sysdeps/sparc/elf/configure.in: New file.
81133         * sysdeps/sparc/elf/configure: Generate.
81135         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
81136         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
81137         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81138         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
81139         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
81141 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81143         * manual/install.texi: Do not mention specific glibc version
81144         numbers.
81145         * manual/libc.texinfo (VERSION, UPDATED): Update.
81146         (@copying): Use @copyright{} and range of years.
81148 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81150         [BZ #13695]
81151         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
81152         [crti.S not in sysdirs] (generated): Do not append.
81153         [crti.S not in sysdirs] (omit-deps): Likewise.
81154         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
81155         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
81156         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
81157         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
81158         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
81159         Likewise.
81160         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
81161         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
81162         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
81163         * csu/defs.awk: Remove file.
81164         * sysdeps/generic/initfini.c: Likewise.
81165         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
81166         variable.
81167         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
81168         Likewise.
81170 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81172         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
81173         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
81174         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
81175         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
81176         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81177         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
81178         <bits/epoll.h>.
81179         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
81180         (__EPOLL_PACKED): Define to empty if not defined by
81181         <bits/epoll.h>.
81182         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
81183         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81184         bits/epoll.h.
81186 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81188         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
81189         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
81190         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
81191         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
81192         <bits/timerfd.h>.
81193         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
81194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81195         bits/timerfd.h.
81197 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81199         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
81200         in C locale.
81201         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81202         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
81203         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
81204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81206 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
81208         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81209         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
81211 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
81213         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
81214         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
81215         defined.
81216         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
81217         Likewise.
81218         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
81219         entry for 2.16.
81221 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
81223         * math/w_acos.c: Use non-signaling floating-point comparisons.
81224         * math/w_acosf.c: Likewise.
81225         * math/w_acosh.c: Likewise.
81226         * math/w_acoshf.c: Likewise.
81227         * math/w_acoshl.c: Likewise.
81228         * math/w_acosl.c: Likewise.
81229         * math/w_asin.c: Likewise.
81230         * math/w_asinf.c: Likewise.
81231         * math/w_asinl.c: Likewise.
81232         * math/w_atanh.c: Likewise.
81233         * math/w_atanhf.c: Likewise.
81234         * math/w_atanhl.c: Likewise.
81235         * math/w_exp2.c: Likewise.
81236         * math/w_exp2f.c: Likewise.
81237         * math/w_exp2l.c: Likewise.
81238         * math/w_j0.c: Likewise.
81239         * math/w_j0f.c: Likewise.
81240         * math/w_j0l.c: Likewise.
81241         * math/w_j1.c: Likewise.
81242         * math/w_j1f.c: Likewise.
81243         * math/w_j1l.c: Likewise.
81244         * math/w_jn.c: Likewise.
81245         * math/w_jnf.c: Likewise.
81246         * math/w_log.c: Likewise.
81247         * math/w_log10.c: Likewise.
81248         * math/w_log10f.c: Likewise.
81249         * math/w_log10l.c: Likewise.
81250         * math/w_log2.c: Likewise.
81251         * math/w_log2f.c: Likewise.
81252         * math/w_log2l.c: Likewise.
81253         * math/w_logf.c: Likewise.
81254         * math/w_logl.c: Likewise.
81255         * math/w_sqrt.c: Likewise.
81256         * math/w_sqrtf.c: Likewise.
81257         * math/w_sqrtl.c: Likewise.
81258         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81259         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
81260         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81261         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
81262         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
81264 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81266         [BZ #9739]
81267         * manual/string.texi (strnlen): Use correct parameter name in
81268         equivalent expression.
81270 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81272         [BZ #11174]
81273         * manual/users.texi (seteuid): Consistently use neweuid for
81274         argument name.
81276 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81278         [BZ #13704]
81279         * manual/nss.texi (Services in the NSS configuration): Correct
81280         list of services in example configuration file.
81282 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
81284         [BZ #11322]
81285         * manual/arith.texi: Remove statements about negative zero
81286         behaving identically to zero.
81288 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
81290         [BZ #5993]
81291         * manual/install.texi: Do not document upgrading from libc5.
81293 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
81295         [BZ #4596]
81296         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
81298 2012-02-18  David S. Miller  <davem@davemloft.net>
81300         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
81301         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
81302         %o7 across the call.
81303         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
81304         instead.
81305         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
81306         SETUP_PIC_REG_LEAF.
81307         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81308         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
81309         * sysdeps/sparc/crtn.S: Likewise.
81311 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
81313         * aout/Makefile: Remove.
81315 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
81317         [BZ #13058]
81318         * manual/examples/argp-ex1.c (main): Format definition in GNU
81319         style.
81320         * manual/examples/argp-ex2.c (main): Likewise.
81321         * manual/examples/argp-ex3.c (main): Likewise.
81322         * manual/examples/argp-ex4.c (main): Likewise.
81323         * manual/examples/longopt.c (main): Use new-style prototype
81324         definition.
81325         * manual/examples/strncat.c (main): Specify return type and use
81326         (void) for arguments.
81327         * manual/examples/subopt.c (main): Use char **argv argument.
81329 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81331         [BZ #5077]
81332         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
81333         rounding modes.
81335 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
81337         [BZ #6907]
81338         * manual/string.texi (strchr): Change when strchrnul is
81339         recommended.
81341 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
81343         [BZ #174]
81344         * manual/locale.texi (setlocale): Document LOCPATH.
81346 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81348         [BZ #10210]
81349         * manual/process.texi (execle): Move @dots{} before last argument.
81351 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
81353         [BZ #12047]
81354         * manual/charset.texi (Generic Charset Conversion): Fix typo
81355         (LC_TYPE -> LC_CTYPE).
81357 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
81359         [BZ #5805]
81360         * manual/arith.texi (scalbn): Use @var{} on parameter names.
81361         (scalbnf): Likewise.
81362         (scalbnl): Likewise.
81363         (scalbln): Likewise.
81364         (scalblnf): Likewise.
81365         (scalblnl): Likewise.
81366         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
81367         (vwarnx): Likewise.
81368         (verr): Likewise.
81369         (verrx): Likewise.
81370         * manual/filesys.texi (telldir): Use braces around return type.
81371         * manual/llio.texi (mmap): Add space after comma.
81372         (mmap64): Likewise.
81373         * manual/math.texi (jn): Use @var{} on parameter names.
81374         (jnf): Likewise.
81375         (jnl): Likewise.
81376         (yn): Likewise.
81377         (ynf): Likewise.
81378         (ynl): Likewise.
81379         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
81380         line.
81381         * manual/resource.texi (ulimit): Use @dots{} instead of literal
81382         "...".
81383         (sched_get_priority_min): Remove semicolon on @deftypefun line.
81384         (sched_get_priority_max): Likewise.
81385         * manual/signal.texi (sigvec): Add space after comma.
81386         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
81387         names.
81388         (if_indextoname): Likewise.
81389         (if_freenameindex): Likewise.
81390         (sendto): Use ',' instead of '.' in prototype.
81391         * manual/startup.texi (syscall): Use @dots{} instead of literal
81392         "...".
81393         * manual/stdio.texi (__fpending): Separate initial words of
81394         paragraph from @deftypefun line.
81395         * manual/syslog.texi (syslog): Use @dots{} instead of literal
81396         "...".
81397         (vsyslog): Use @var{} on parameter names.
81398         * manual/terminal.texi (stty): Use @var{} on parameter names.
81399         * manual/users.texi (getutmp): Use @var{} on parameter names.
81400         (getutmpx): Likewise.
81402 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81404         [BZ #6884]
81405         * manual/stdio.texi (fopen): Fix typos in description of
81406         ",ccs=STRING".
81408 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
81410         [BZ #4026]
81411         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
81412         get clock_id definition.
81414 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
81416         [BZ #4822]
81417         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
81418         (madvise): Cast every argument to void on its own.
81420 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81422         [BZ #9902]
81423         * manual/startup.texi (Exit Status): Fix typo.
81425 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81427         [BZ #10140]
81428         * manual/examples/argp-ex1.c: Include <stdlib.h>.
81429         * manual/examples/argp-ex2.c: Likewise.
81430         * manual/examples/argp-ex3.c: Likewise.
81432 2012-02-16  Richard Henderson  <rth@redhat.com>
81434         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
81435         * sysdeps/s390/s390-32/initfini.c: Remove.
81436         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
81437         * sysdeps/s390/s390-64/initfini.c: Remove.
81439 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
81441         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
81442         compiler output for sysdeps/generic/initfini.c.
81443         * sysdeps/sh/elf/initfini.c: Remove file.
81445 2012-02-16  David S. Miller  <davem@davemloft.net>
81447         [BZ #11494]
81448         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
81450         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
81451         * sysdeps/sparc/crti.S: New file.
81452         * sysdeps/sparc/crtn.S: New file.
81453         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
81454         * sysdeps/sparc/sparc64/Makefile: Likewise.
81456 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
81458         [BZ #3335]
81459         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
81461 2012-02-15  Roland McGrath  <roland@hack.frob.com>
81463         [BZ #4822]
81464         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
81466         * mach/devstream.c (cookie_io_functions_t): Macro removed.
81467         (write, read, close): Likewise.
81468         Patch by Aurelien Jarno <aurelien@aurel32.net>.
81470 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
81472         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
81473         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
81474         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
81475         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
81476         <bits/signalfd.h>.
81477         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
81478         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81479         bits/signalfd.h.
81481 2012-02-14  Marek Polacek  <polacek@redhat.com>
81483         * sysdeps/x86_64/crti.S: New file.
81484         * sysdeps/x86_64/crtn.S: New file.
81485         * sysdeps/x86_64/elf/initfini.c: Remove file.
81487 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81489         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
81490         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
81491         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
81492         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
81493         <bits/inotify.h>.
81494         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
81495         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81496         bits/inotify.h.
81498 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81500         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
81501         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
81502         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
81503         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
81504         <bits/eventfd.h>.
81505         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
81506         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81507         bits/eventfd.h.
81509 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
81511         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
81512         __feraiseexcept instead of feraiseexcept.
81514         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
81515         nanosleep invocations.
81516         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
81517         strings, and add error checking for a nanosleep invocations.
81519 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
81521         Replace FSF snail mail address with URLs, as per GNU coding standards.
81522         Most of the snail mail addresses were wrong anyway, and omitting
81523         them makes the source code easier to maintain.  Almost all of the
81524         changes are to license notices and to locale LC_IDENTIFICATION
81525         addresses, except for this one:
81526         * manual/libc.texinfo: In "Published by", give the FSF's URL,
81527         not its snail mail address.
81529 2012-02-09  Richard Henderson  <rth@twiddle.net>
81531         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
81532         of kernel-features.h.
81534         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
81536 2012-02-08  Marek Polacek  <polacek@redhat.com>
81538         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
81539         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
81540         * sysdeps/gnu/_G_config.h: Likewise.
81541         * sysdeps/generic/_G_config.h: Likewise.
81543 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
81545         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
81546         tests.
81547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81549         * sysdeps/powerpc/powerpc32/crti.S: New file.
81550         * sysdeps/powerpc/powerpc32/crtn.S: New file.
81551         * sysdeps/powerpc/powerpc64/crti.S: New file.
81552         * sysdeps/powerpc/powerpc64/crtn.S: New file.
81554         * Makeconfig (have-initfini): Don't set.
81555         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
81556         * configure.in (nopic_initfini): Don't substitute.
81557         * config.h.in (HAVE_INITFINI): Don't #undef.
81558         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
81559         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
81561 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
81563         Support crti.S and crtn.S provided directly by architectures.
81564         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
81565         [crti.S in sysdirs] (omit-deps): Likewise.
81566         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
81567         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
81568         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
81569         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
81570         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
81571         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
81572         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
81573         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
81574         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
81575         compiler output for sysdeps/generic/initfini.c.
81576         * sysdeps/i386/elf/Makefile: Remove file.
81577         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
81579 2012-02-07  Marek Polacek  <polacek@redhat.com>
81581         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
81582         * sysdeps/gnu/_G_config.h: Likewise.
81583         * sysdeps/mach/hurd/_G_config.h: Likewise.
81585 2012-02-07  Marek Polacek  <polacek@redhat.com>
81587         * math/Makefile (tests): Add tst-CMPLX2.
81588         * math/tst-CMPLX2.c: New file.
81590 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
81592         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81594         * math/libm-test.inc (jn_test): Add missing L suffix.
81596 2012-02-06  Marek Polacek  <polacek@redhat.com>
81598         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
81599         * sysdeps/i386/fpu/e_powf.S: Likewise.
81600         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
81601         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
81602         * sysdeps/i386/fpu/e_acosh.S: Likewise.
81603         * sysdeps/i386/fpu/e_pow.S: Likewise.
81604         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
81605         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
81606         * sysdeps/i386/fpu/s_expm1.S: Likewise.
81607         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
81608         * sysdeps/i386/fpu/e_log2.S: Likewise.
81609         * sysdeps/i386/fpu/e_log2l.S: Likewise.
81610         * sysdeps/i386/fpu/e_scalb.S: Likewise.
81611         * sysdeps/i386/fpu/e_powl.S: Likewise.
81612         * sysdeps/i386/fpu/s_log1p.S: Likewise.
81613         * sysdeps/i386/fpu/e_log10f.S: Likewise.
81614         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
81615         * sysdeps/i386/fpu/e_logl.S: Likewise.
81616         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
81617         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
81618         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
81619         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
81620         * sysdeps/i386/fpu/e_log2f.S: Likewise.
81621         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
81622         * sysdeps/i386/fpu/e_log.S: Likewise.
81623         * sysdeps/i386/fpu/s_cexp.S: Likewise.
81624         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
81625         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
81626         * sysdeps/i386/fpu/e_logf.S: Likewise.
81627         * sysdeps/i386/fpu/e_log10l.S: Likewise.
81628         * sysdeps/i386/fpu/e_atanh.S: Likewise.
81629         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
81630         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
81631         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
81632         * sysdeps/i386/fpu/e_log10.S: Likewise.
81633         * sysdeps/i386/fpu/s_frexp.S: Likewise.
81634         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
81635         * sysdeps/i386/fpu/s_asinh.S: Likewise.
81636         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
81637         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
81638         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
81639         * sysdeps/i386/asm-syntax.h: Likewise.
81640         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81641         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81642         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81643         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
81644         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
81645         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81646         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
81647         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
81648         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81649         * sysdeps/powerpc/sysdep.h: Likewise.
81650         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
81651         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
81653 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81655         [BZ #411]
81656         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
81658 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81660         * sysdeps/i386/sysdep.h: Include <features.h>.
81661         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
81662         version.
81664 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
81666         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
81667         Define.
81668         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
81669         LOAD_PIC_REG_STR.
81671 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81673         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
81674         (SETUP_PIC_REG): Use GET_PC_THUNK.
81675         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
81676         macro.
81678 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81680         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
81681         for non-PIC compilation.
81682         (SETUP_PIC_REG): Add .p2align directive.
81683         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
81684         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
81685         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
81686         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
81687         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
81688         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
81689         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
81690         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81691         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
81692         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
81693         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
81694         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
81695         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
81696         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
81697         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
81698         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
81699         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
81700         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
81701         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
81702         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
81703         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
81704         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
81705         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
81706         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
81707         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
81708         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
81709         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81710         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
81711         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
81712         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
81713         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
81714         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81715         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
81716         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
81717         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
81718         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
81719         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
81720         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
81721         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
81722         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
81723         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
81725 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81727         * math/tst-CMPLX.c: Include <stdio.h>.
81729 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
81731         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
81732         float.
81733         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81734         * sysdeps/sparc/bits/mathdef.h: Likewise.
81736 2012-01-31  Marek Polacek  <polacek@redhat.com>
81738         * libio/libio.h: Don't define _PARAMS.
81739         * locale/programs/config.h: Don't define PARAMS.
81740         * stdlib/strtol_l.c: Likewise.
81741         (__strtol_l): Remove PARAMS from the prototype.
81743 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
81745         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
81746         names.  Just use the correct names.  Remove unnecessary wrapper
81747         functions.
81748         * malloc/arena.c: Likewise.
81749         * malloc/hooks.c: Likewise.
81751         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
81752         ARENA_TEST says not to.  Simplify test for creation of a new arena.
81753         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
81755 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
81757         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
81758         into tail calls.
81759         (update_get_addr): New function.
81760         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
81761         GET_ADDR_MODULE parameter.
81763 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81765         * crypt/cert.c: Remove __STDC__ conditionals.
81766         * crypt/crypt-entry.c: Likewise.
81767         * crypt/crypt_util.c: Likewise.
81768         * libio/filedoalloc.c: Likewise.
81769         * libio/fileops.c: Likewise.
81770         * libio/genops.c: Likewise.
81771         * libio/iofclose.c: Likewise.
81772         * libio/iofdopen.c: Likewise.
81773         * libio/iofopen.c: Likewise.
81774         * libio/iofopen64.c: Likewise.
81775         * libio/iogetdelim.c: Likewise.
81776         * libio/iopopen.c: Likewise.
81777         * libio/obprintf.c: Likewise.
81778         * libio/oldfileops.c: Likewise.
81779         * libio/oldiofclose.c: Likewise.
81780         * libio/oldiofdopen.c: Likewise.
81781         * libio/oldiofopen.c: Likewise.
81782         * libio/oldiopopen.c: Likewise.
81783         * libio/wfiledoalloc.c: Likewise.
81784         * libio/wgenops.c: Likewise.
81785         * locale/programs/xmalloc.c: Likewise.
81786         * misc/syslog.c: Likewise.
81787         * stdio-common/xbug.c: Likewise.
81788         * string/memchr.c: Likewise.
81789         * string/memcmp.c: Likewise.
81790         * string/memrchr.c: Likewise.
81791         * string/rawmemchr.c: Likewise.
81792         * sysdeps/posix/getcwd.c: Likewise.
81793         * time/strftime_l.c: Likewise.
81795 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81797         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
81798         * config.make.in (config-cflags-sse2avx): Define.
81799         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
81800         Fix typo.
81802 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
81804         * scripts/config.guess: Update from upstream config git repository.
81805         * scripts/config.sub: Likewise.
81807 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
81809         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
81810         (EM_NUM): Update.
81811         (R_TILEPRO_*, R_TILEGX_*): New macros.
81813         * scripts/firstversions.awk: Fix bug in version range handling.
81815         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
81817         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
81819         * include/sys/epoll.h: New file.
81820         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
81821         libc_hidden_def.
81823 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
81825         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
81826         Avoid unnecessary __WORDSIZE == 64 test.
81827         (fmaxf): Use VEX format if possible.
81828         (fmax): Likewise.
81829         (fminf): Likewise.
81830         (fmin): Likewise.
81832         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
81833         * math/math_private.h: Remove libc_fegetround* and
81834         libc_fesetround*.
81835         * sysdeps/i386/configure.in: Check for -msse2avx.
81836         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
81837         also if SSE2AVX is defined.
81838         Remove libc_fegetround* and libc_fesetround*.
81839         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
81840         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
81841         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
81842         of HAS_YMM_USABLE.
81843         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81844         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81845         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81846         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81847         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81849         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
81851 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81853         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
81854         size is not set.
81855         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81857 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
81859         [BZ #13618]
81860         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
81861         relocation.
81862         * Makeconfig (libm): Define.
81863         * elf/Makefile: Add rules to build and run tst-relsort1.
81864         * elf/tst-relsort1.c: New file.
81865         * elf/tst-relsort1mod1.c: New file.
81866         * elf/tst-relsort1mod2.c: New file.
81868 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
81870         * math/s_ldexp.c: Remove __STDC__ conditionals.
81871         * math/s_ldexpf.c: Likewise.
81872         * math/s_ldexpl.c: Likewise.
81873         * math/s_nextafter.c: Likewise.
81874         * math/s_nexttowardf.c: Likewise.
81875         * math/s_significand.c: Likewise.
81876         * math/s_significandf.c: Likewise.
81877         * math/s_significandl.c: Likewise.
81878         * math/w_jnl.c: Likewise.
81879         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81880         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81881         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81882         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81883         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81884         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81885         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
81886         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81887         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81888         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81889         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81890         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81891         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81892         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81893         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81894         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81895         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81896         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81897         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81898         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81899         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81900         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81901         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81902         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81903         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81904         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81905         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81906         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81907         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81908         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81909         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81910         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81911         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81912         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81913         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81914         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81915         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81916         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81917         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81918         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81919         * sysdeps/ieee754/k_standard.c: Likewise.
81920         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81921         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81922         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81923         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81924         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81925         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81926         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81927         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81928         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81929         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81930         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81931         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81932         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81933         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81934         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81935         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81936         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81937         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81938         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81939         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81940         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81941         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81942         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81943         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81944         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81945         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81946         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81947         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81948         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81949         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81950         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81951         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
81952         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81953         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81954         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81955         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81956         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
81957         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81958         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81959         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
81960         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
81961         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81962         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
81963         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
81964         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81965         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
81966         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
81967         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81968         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81969         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
81970         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
81971         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81972         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81973         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81974         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81975         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81976         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
81977         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81978         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81979         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81980         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81981         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81982         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81983         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81984         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81985         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81986         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81987         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81988         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81989         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81990         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81991         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81992         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81993         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81994         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81995         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81996         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81997         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81998         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81999         * sysdeps/ieee754/s_matherr.c: Likewise.
82000         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82001         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82002         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82003         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82005 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82007         * crypt/md5.h: Remove __STDC__ conditionals.
82008         * libio/libioP.h: Likewise.
82009         * locale/programs/config.h: Likewise.
82010         * sysdeps/generic/sysdep.h: Likewise.
82011         * sysdeps/i386/asm-syntax.h: Likewise.
82012         * sysdeps/s390/asm-syntax.h: Likewise.
82013         * sysdeps/unix/sysdep.h: Likewise.
82014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
82015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
82017 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82019         * libio/libio.h: Remove __STDC__ conditionals.
82020         * malloc/obstack.h: Likewise.
82021         * math/complex.h: Likewise.
82022         * math/math.h: Likewise.
82023         * sysdeps/generic/_G_config.h: Likewise.
82024         * sysdeps/gnu/_G_config.h: Likewise.
82025         * sysdeps/mach/hurd/_G_config.h: Likewise.
82026         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82027         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82028         * sysdeps/sparc/bits/mathdef.h: Likewise.
82030 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
82032         [BZ #13583]
82033         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
82034         Clean up HAS_* macros.
82035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
82036         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
82037         possible.
82038         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
82039         HAS_AVX.
82040         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82041         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82042         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82043         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82044         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82046 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
82048         * elf/tst-unique3.cc (gets): Remove declaration.
82049         * elf/tst-unique3lib.cc (gets): Likewise.
82050         * elf/tst-unique3lib2.cc (gets): Likewise.
82051         * elf/tst-unique4.cc (gets): Likewise.
82053 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
82055         * include/stdio.h: Add C++ protection.  Add gets declarations and
82056         definitions.
82057         * debug/tst-chk1.c: Don't declare gets here.
82058         * stdio-common/tst-gets.c: Likewise.
82060 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82062         * posix/glob: Remove directory.
82064 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82066         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
82068 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
82070         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
82071         of the non-standard EPFNOSUPPORT.
82073 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82075         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
82076         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
82077         ANYWHERE set to 1 only on KERN_NO_SPACE error.
82079 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
82081         * wcsmbs/uchar.h: Test __STDC_VERSION__.
82083 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
82085         * nscd/aicache.c (addhstaiX): Do not cache negative results of
82086         transient errors.
82087         * nscd/grpcache.c (cache_addgr): Likewise.
82088         * nscd/hstcache.c (cache_addhst): Likewise.
82089         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82090         * nscd/pwdcache.c (cache_addpw): Likewise.
82091         * nscd/servicescache.c (cache_addserv): Likewise.
82093 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
82095         * malloc/malloc.c: Various cleanups.
82096         * malloc/hooks.c: Likewise.
82098         * stdlib/Makefile (tests): Add bug-fmtmsg1.
82099         * stdlib/bug-fmtmsg1.c: New file.
82101         * stdlib/fmtmsg.c (init): Add missing unlock.
82102         Patch by Peng Haitao <penght@cn.fujitsu.com>.
82104 2012-01-12  Marek Polacek  <polacek@redhat.com>
82106         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
82107         and _GNU_SOURCE.
82109 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
82111         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
82112         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
82113         macro to ensure uniqueness of label name.
82114         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82115         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82117 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
82119         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
82121         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
82122         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
82123         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
82124         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
82126 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
82128         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
82130         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
82131         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
82132         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
82134         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
82136         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
82137         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
82138         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
82139         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
82141         * math/bits/math-finite.h: Add ldexp support.
82143 2012-01-10  Marek Polacek  <polacek@redhat.com>
82145         * locale/programs/localedef.h (show_archive_content): Add noreturn
82146         attribute.
82148 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
82150         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
82152 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82154         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
82156         * io/Makefile (headers): Add bits/poll2.h.
82158 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
82160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
82161         typo #include statement.
82163 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82165         * include/sys/cdefs.h: Define __attribute_alloc_size.
82166         * catgets/gencat.c: Add alloc_size attribute and apply consistently
82167         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
82168         * elf/pldd.c: Likewise.
82169         * iconv/iconv_charmap.c: Likewise.
82170         * iconv/iconvconfig.c: Likewise.
82171         * iconv/strtab.c: Likewise.
82172         * locale/programs/locale.c: Likewise.
82173         * locale/programs/localedef.h: Likewise.
82174         * locale/programs/simple-hash.c: Likewise.
82175         * nscd/nscd.h: Likewise.
82176         * nss/makedb.c: Likewise.
82177         * sysdeps/generic/ldconfig.h: Likewise.
82178         * locale/programs/localedef.c: Remove xmalloc prototype.
82179         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
82181 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
82183         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
82184         appropriate.
82186 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82188         * math/Makefile (tests): Add tst-CMPLX.
82189         * math/tst-CMPLX.c: New file.
82191         * math/complex.h (CMPLXL): Fix typo.
82193         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
82194         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
82195         GLIBC_2.16.
82196         * debug/tst-chk1.c: Add poll and ppoll tests.
82197         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
82198         * include/sys/poll.h: Add hidden proto for ppoll.
82199         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
82200         * sysdeps/mach/hurd/ppoll.c: Likewise.
82201         * io/ppoll.c: Likewise.
82202         * debug/poll_chk.c: New file.
82203         * debug/ppoll_chk.c: New file.
82204         * include/bits/poll2.h: New file.
82205         * io/bits/poll2.h: New file.
82207         [BZ #1350]
82208         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
82210         * configure.in: static is always set to yes.  Remove.
82211         * config.make.in: Don't set build-static.
82212         * Makeconfig: Remove use of build-static.
82213         * dlfcn/Makefile: Likewise.
82214         * elf/Makefile: Likewise.
82215         * math/Makefile: Likewise.
82216         * misc/Makefile: Likewise.
82217         * nptl/Makefile: Likewise.
82218         * sysdeps/mach/hurd/Makefile: Likewise.
82220         * configure.in: PWD_P is not used anymore.
82221         * config.make.in: Remove PWD_P entry.
82223         * configure.in: Remove last remnants of RANLIB.
82224         No need to check for signed size_t anymore.
82225         Don't set libc_commonpagesize and libc_relro_required here for Alpha
82226         and IA-64.
82227         Remove __builtin_expect test because we require at least gcc 3.4.
82228         * aclocal.m4: Likewise.
82230         * wcsmbs/mbrtoc16.c: Implement using towc function.
82231         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
82232         * wcsmbs/wcsmbsload.c: Likewise.
82233         * iconv/gconv_simple.c: Likewise.
82234         * iconv/gconv_int.h: Likewise.
82235         * iconv/gconv_builtin.h: Likewise.
82236         * iconv/iconv_prog.c: Remove CHAR16 handling.
82238         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
82240         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
82242         * configure.in: Remove --with-elf and --enable-bounded options.
82243         Dont set base_machine for ia64.  More non-ELF conditions removed.
82244         Remove testing and setting of leading underscore information.
82245         * config.make.in (build-bounded): Set to no.
82246         * config.h.in: Remove NO_UNDERSCORES entry.
82247         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
82248         them.
82249         * csu/start.c: Remove !NO_UNDERSCORE code.
82250         * locale/localeinfo.h: Likewise.
82251         * sysdeps/generic/machine-gmon.h: Likewise.
82252         * sysdeps/generic/sysdep.h: Likewise.
82253         * sysdeps/i386/sysdep.h: Likewise.
82254         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82255         * sysdeps/mach/sysdep.h: Likewise.
82256         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82257         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82258         * sysdeps/sh/sysdep.h: Likewise.
82259         * sysdeps/sparc/sparc32/alloca.S: Likewise.
82260         * sysdeps/unix/i386/sysdep.S: Likewise.
82261         * sysdeps/unix/sparc/start.c: Likewise.
82262         * sysdeps/unix/sparc/sysdep.S: Likewise.
82263         * sysdeps/unix/sparc/sysdep.h: Likewise.
82264         * sysdeps/unix/start.c: Likewise.
82265         * sysdeps/unix/x86_64/sysdep.S: Likewise.
82266         * sysdeps/x86_64/sysdep.h: Likewise.
82268 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
82270         [BZ #13553]
82271         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
82272         for non-gcc.
82273         * argp/argp-fmtstream.h: Use const instead __const.
82274         * argp/argp.h: Likewise.
82275         * assert/assert.h: Likewise.
82276         * bits/fenv.h: Likewise.
82277         * bits/sched.h: Likewise.
82278         * bits/sigset.h: Likewise.
82279         * bits/sigthread.h: Likewise.
82280         * catgets/nl_types.h: Likewise.
82281         * conform/data/pthread.h-data: Likewise.
82282         * crypt/crypt-private.h: Likewise.
82283         * crypt/crypt.h: Likewise.
82284         * crypt/crypt_util.c: Likewise.
82285         * ctype/ctype.h: Likewise.
82286         * debug/execinfo.h: Likewise.
82287         * debug/mbsnrtowcs_chk.c: Likewise.
82288         * debug/mbsrtowcs_chk.c: Likewise.
82289         * debug/wcsnrtombs_chk.c: Likewise.
82290         * debug/wcsrtombs_chk.c: Likewise.
82291         * debug/wcstombs_chk.c: Likewise.
82292         * dirent/dirent.h: Likewise.
82293         * dlfcn/dlfcn.h: Likewise.
82294         * elf/neededtest4.c: Likewise.
82295         * grp/grp.h: Likewise.
82296         * gshadow/gshadow.h: Likewise.
82297         * iconv/gconv.h: Likewise.
82298         * iconv/gconv_int.h: Likewise.
82299         * iconv/gconv_simple.c: Likewise.
82300         * iconv/iconv.h: Likewise.
82301         * iconv/loop.c: Likewise.
82302         * iconv/skeleton.c: Likewise.
82303         * include/aio.h: Likewise.
82304         * include/aliases.h: Likewise.
82305         * include/argz.h: Likewise.
82306         * include/arpa/inet.h: Likewise.
82307         * include/assert.h: Likewise.
82308         * include/dirent.h: Likewise.
82309         * include/dlfcn.h: Likewise.
82310         * include/execinfo.h: Likewise.
82311         * include/fcntl.h: Likewise.
82312         * include/fenv.h: Likewise.
82313         * include/glob.h: Likewise.
82314         * include/grp.h: Likewise.
82315         * include/libintl.h: Likewise.
82316         * include/mntent.h: Likewise.
82317         * include/netdb.h: Likewise.
82318         * include/pwd.h: Likewise.
82319         * include/rpc/netdb.h: Likewise.
82320         * include/sched.h: Likewise.
82321         * include/search.h: Likewise.
82322         * include/shadow.h: Likewise.
82323         * include/signal.h: Likewise.
82324         * include/stdio.h: Likewise.
82325         * include/stdlib.h: Likewise.
82326         * include/string.h: Likewise.
82327         * include/sys/socket.h: Likewise.
82328         * include/sys/stat.h: Likewise.
82329         * include/sys/statfs.h: Likewise.
82330         * include/sys/statvfs.h: Likewise.
82331         * include/sys/syslog.h: Likewise.
82332         * include/sys/time.h: Likewise.
82333         * include/sys/uio.h: Likewise.
82334         * include/time.h: Likewise.
82335         * include/unistd.h: Likewise.
82336         * include/utmp.h: Likewise.
82337         * include/wchar.h: Likewise.
82338         * include/wctype.h: Likewise.
82339         * inet/aliases.h: Likewise.
82340         * inet/arpa/inet.h: Likewise.
82341         * inet/netinet/ether.h: Likewise.
82342         * inet/netinet/in.h: Likewise.
82343         * intl/libintl.h: Likewise.
82344         * io/bits/fcntl2.h: Likewise.
82345         * io/fcntl.h: Likewise.
82346         * io/ftw.h: Likewise.
82347         * io/sys/poll.h: Likewise.
82348         * io/sys/stat.h: Likewise.
82349         * io/sys/statfs.h: Likewise.
82350         * io/sys/statvfs.h: Likewise.
82351         * io/utime.h: Likewise.
82352         * libio/bits/stdio.h: Likewise.
82353         * libio/bits/stdio2.h: Likewise.
82354         * libio/libio.h: Likewise.
82355         * libio/libioP.h: Likewise.
82356         * libio/stdio.h: Likewise.
82357         * locale/lc-ctype.c: Likewise.
82358         * locale/locale.h: Likewise.
82359         * login/utmp.h: Likewise.
82360         * malloc/arena.c: Likewise.
82361         * malloc/malloc.c: Likewise.
82362         * malloc/malloc.h: Likewise.
82363         * malloc/mcheck.c: Likewise.
82364         * malloc/mtrace.c: Likewise.
82365         * math/bits/mathcalls.h: Likewise.
82366         * math/fenv.h: Likewise.
82367         * math/math_private.h: Likewise.
82368         * misc/bits/error.h: Likewise.
82369         * misc/bits/syslog.h: Likewise.
82370         * misc/err.h: Likewise.
82371         * misc/error.h: Likewise.
82372         * misc/fstab.h: Likewise.
82373         * misc/mntent.h: Likewise.
82374         * misc/regexp.h: Likewise.
82375         * misc/search.h: Likewise.
82376         * misc/sgtty.h: Likewise.
82377         * misc/sys/mman.h: Likewise.
82378         * misc/sys/syslog.h: Likewise.
82379         * misc/sys/uio.h: Likewise.
82380         * misc/sys/xattr.h: Likewise.
82381         * misc/ttyent.h: Likewise.
82382         * nis/rpcsvc/ypclnt.h: Likewise.
82383         * nss/nss.h: Likewise.
82384         * posix/bits/unistd.h: Likewise.
82385         * posix/fnmatch.h: Likewise.
82386         * posix/glob.h: Likewise.
82387         * posix/sched.h: Likewise.
82388         * posix/spawn.h: Likewise.
82389         * posix/sys/wait.h: Likewise.
82390         * posix/unistd.h: Likewise.
82391         * posix/wordexp.h: Likewise.
82392         * pwd/pwd.h: Likewise.
82393         * resolv/netdb.h: Likewise.
82394         * resource/sys/resource.h: Likewise.
82395         * rt/aio.h: Likewise.
82396         * rt/bits/mqueue2.h: Likewise.
82397         * rt/mqueue.h: Likewise.
82398         * shadow/shadow.h: Likewise.
82399         * signal/signal.h: Likewise.
82400         * socket/send.c: Likewise.
82401         * socket/sendto.c: Likewise.
82402         * socket/sys/socket.h: Likewise.
82403         * stdio-common/printf.h: Likewise.
82404         * stdlib/bits/stdlib.h: Likewise.
82405         * stdlib/fmtmsg.h: Likewise.
82406         * stdlib/monetary.h: Likewise.
82407         * stdlib/stdlib.h: Likewise.
82408         * stdlib/ucontext.h: Likewise.
82409         * streams/stropts.h: Likewise.
82410         * string/argz.h: Likewise.
82411         * string/bits/string2.h: Likewise.
82412         * string/string.h: Likewise.
82413         * string/strings.h: Likewise.
82414         * sunrpc/rpc/auth.h: Likewise.
82415         * sunrpc/rpc/auth_des.h: Likewise.
82416         * sunrpc/rpc/clnt.h: Likewise.
82417         * sunrpc/rpc/netdb.h: Likewise.
82418         * sunrpc/rpc/pmap_clnt.h: Likewise.
82419         * sunrpc/rpc/xdr.h: Likewise.
82420         * sysdeps/generic/inttypes.h: Likewise.
82421         * sysdeps/generic/net/if.h: Likewise.
82422         * sysdeps/generic/sys/swap.h: Likewise.
82423         * sysdeps/gnu/net/if.h: Likewise.
82424         * sysdeps/gnu/utmpx.h: Likewise.
82425         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
82426         * sysdeps/i386/i486/bits/string.h: Likewise.
82427         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
82428         * sysdeps/s390/bits/string.h: Likewise.
82429         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
82430         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
82431         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
82432         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
82433         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
82434         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
82435         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
82436         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
82437         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
82438         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
82439         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
82440         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
82441         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
82442         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
82443         * sysdeps/unix/sysv/linux/readv.c: Likewise.
82444         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
82445         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
82446         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82447         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
82448         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
82449         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82450         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
82451         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
82452         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
82453         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
82454         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
82455         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
82456         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82457         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
82458         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
82459         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
82460         * sysvipc/sys/ipc.h: Likewise.
82461         * sysvipc/sys/msg.h: Likewise.
82462         * sysvipc/sys/sem.h: Likewise.
82463         * sysvipc/sys/shm.h: Likewise.
82464         * termios/termios.h: Likewise.
82465         * time/sys/time.h: Likewise.
82466         * time/time.h: Likewise.
82467         * wcsmbs/bits/wchar2.h: Likewise.
82468         * wcsmbs/uchar.h: Likewise.
82469         * wcsmbs/wchar.h: Likewise.
82470         * wctype/wctype.h: Likewise.
82472         [BZ #13551]
82473         * Makeconfig: Remove all but ELF support including AIX support.
82474         * Makerules: Likewise.
82475         * config.h.in: Likewise.
82476         * config.make.in: Likewise.
82477         * configure: Likewise.
82478         * configure.in: Likewise.
82479         * csu/Makefile: Likewise.
82480         * csu/version.c: Likewise.
82481         * debug/Makefile: Likewise.
82482         * dlfcn/Makefile: Likewise.
82483         * elf/Makefile: Likewise.
82484         * extra-lib.mk: Likewise.
82485         * iconv/Makefile: Likewise.
82486         * include/libc-symbols.h: Likewise.
82487         * include/shlib-compat.h: Likewise.
82488         * resolv/Makefile: Likewise.
82489         * resolv/res_libc.c: Likewise.
82490         * rt/Makefile: Likewise.
82491         * sysdeps/i386/asm-syntax.h: Likewise.
82492         * sysdeps/i386/sysdep.h: Likewise.
82493         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82494         * sysdeps/mach/sysdep.h: Likewise.
82495         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
82496         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
82497         * sysdeps/s390/asm-syntax.h: Likewise.
82498         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82499         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82500         * sysdeps/sh/sysdep.h: Likewise.
82501         * sysdeps/unix/sparc/sysdep.h: Likewise.
82502         * sysdeps/wordsize-32/divdi3.c: Likewise.
82503         * sysdeps/x86_64/sysdep.h: Likewise.
82505         * argp/Versions: Remove _argp_unlock_xxx.
82507         [BZ #13559]
82508         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
82509         * abilist/libBrokenLocale.abilist: Likewise.
82510         * abilist/libanl.abilist: Likewise.
82511         * abilist/libc.abilist: Likewise.
82512         * abilist/libcrypt.abilist: Likewise.
82513         * abilist/libdl.abilist: Likewise.
82514         * abilist/libm.abilist: Likewise.
82515         * abilist/libnsl.abilist: Likewise.
82516         * abilist/libpthread.abilist: Likewise.
82517         * abilist/libresolv.abilist: Likewise.
82518         * abilist/librt.abilist: Likewise.
82519         * abilist/libthread_db.abilist: Likewise.
82520         * abilist/libutil.abilist: Likewise.
82521         * abilist/libnss_db.abilist: New file.
82523         * scripts/abilist.awk: Add support for indirect functions.
82525         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
82527         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
82529         * shlib-versions: Remove entries for ports architectures.
82531         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
82532         files in ports.
82533         * elf/stackguard-macros.h: Remove support for IA-64.
82534         * elf/tst-auditmod1.c: Likewise.
82535         * sysdeps/generic/ldsodefs.h: Likewise.
82537         * sysdeps/unix/sysv/linux/configure.in: Ports should define
82538         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
82539         configure files.
82541         [BZ #13552]
82542         * configure.in: Remove --enable-omitfp support.
82543         * FAQ.in: Adjust.
82544         * config.make.in: Likewise.
82545         * Makeconfig: Likewise.
82546         * manual/install.texi: Likewise.
82548         In case anyone cares, the IA-64 architecture could move to ports.
82549         * sysdeps/ia64/*: Removed.
82550         * sysdeps/unix/sysv/linux/ia64/*: Removed.
82551         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
82553         [BZ #13555]
82554         * configure.in: Remove entries for unsupported architectures.
82556         [BZ #13533]
82557         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
82558         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
82559         routines.
82560         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
82561         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
82562         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
82563         fall back to using wcrtomb.
82564         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
82565         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
82566         renaming.
82567         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
82568         * wcsmbs/tst-c16c32-1.c: New file.
82570         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
82571         local variable.
82573         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
82575         * elf/tst-unique3.cc: Add explicit declaration of gets.
82576         * elf/tst-unique3lib.cc: Likewise.
82577         * elf/tst-unique3lib2.cc: Likewise.
82578         * elf/tst-unique4.cc: Likewise.
82580         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
82582 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
82584         [BZ #13566]
82585         * assert/assert.h (static_assert): Don't define for C++.
82586         * libio/stdio.h (gets): Do declare for C++ <= C++11.
82587         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
82589 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
82591         * iconv/loop.c (single loop): Fix assertion in storing of
82592         remaining bytes.
82594         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
82596 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
82598         * posix/getconf.c: Update copyright year.
82599         * nss/getent.c: Likewise.
82600         * nss/makedb.c: Likewise.
82601         * iconv/iconvconfig.c: Likewise.
82602         * iconv/iconv_prog.c: Likewise.
82603         * elf/ldconfig.c: Likewise.
82604         * elf/pldd.c: Likewise.
82605         * elf/sotruss.ksh: Likewise.
82606         * catgets/gencat.c: Likewise.
82607         * csu/version.c: Likewise.
82608         * elf/ldd.bash.in: Likewise.
82609         * elf/sprof.c (print_version): Likewise.
82610         * locale/programs/locale.c: Likewise.
82611         * locale/programs/localedef.c: Likewise.
82612         * login/programs/pt_chown.c: Likewise.
82613         * nscd/nscd.c (print_version): Likewise.
82614         * debug/xtrace.sh: Likewise.
82615         * malloc/memusage.sh: Likewise.
82616         * malloc/mtrace.pl: Likewise.
82617         * debug/catchsegv.sh: Likewise.
82619 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
82621         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
82622         pure attribute.
82624 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
82626         [BZ #13533]
82627         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
82628         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
82629         transformations.
82630         * iconv/gconv_int.h: Likewise.
82631         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
82632         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
82633         from libc for GLIBC_2.16.
82634         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
82635         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
82636         * wcsmbs/uchar.h: Really define mbstate_t.
82637         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
82638         * wcsmbs/c16rtomb.c: New file.
82639         * wcsmbs/mbrtoc16.c: New file.
82640         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
82641         for C/POSIX locale.
82642         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
82643         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
82645         * wcsmbs/wchar.h: Add missing __restrict.
82647 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82649         [BZ #13532]
82650         * time/Makefile (routines): Add timespec_get.
82651         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
82652         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
82653         timespec for ISO C11.
82654         * time/timespec_get.c: New file.
82655         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
82656         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
82658         [BZ #13531]
82659         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
82660         * stdlib/stdlib.h: Declare aligned_alloc.
82661         * Versions.def: Add GLIBC_2.16 for libc.
82662         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
82664         [BZ 13527]
82665         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
82666         ISO C11.
82668         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
82669         code.
82671         [BZ #13528]
82672         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
82674         [BZ #13529]
82675         * assert/assert.h (static_assert): Define.
82677         * version.h: Update for 2.16 development version.
82679         [BZ #13526]
82680         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
82681         _ISOC11_SOURCE.
82683         * version.h (RELEASE): Bump for 2.15 release.
82684         * include/features.h (__GLIBC_MINOR__): Bump to 15.
82686         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
82687         Patch by Marek Polacek <mpolacek@redhat.com>.
82689         * bits/byteswap.h: Protect long long constants with __extension__.
82690         * sysdeps/i386/bits/byteswap.h: Likewise.
82691         * sysdeps/ia64/bits/byteswap.h: Likewise.
82692         * sysdeps/s390/bits/byteswap.h: Likewise.
82693         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82695 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82697         [BZ #13540]
82698         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
82699         destination buffer.
82700         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
82702 2011-12-23  Marek Polacek  <polacek@redhat.com>
82704         * elf/dl-addr.c (determine_info): Add inline keyword.
82705         * elf/tst-auditmod4b.c (check_avx): Likewise.
82706         * elf/tst-auditmod6b.c (check_avx): Likewise.
82707         * elf/tst-auditmod6c.c (check_avx): Likewise.
82708         * elf/tst-auditmod7b.c (check_avx): Likewise.
82710 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82712         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
82713         !__SSE_MATH__.
82715 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82717         [BZ #13540]
82718         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
82719         processing for last bytes.
82721 2011-08-06  Bruno Haible  <bruno@clisp.org>
82723         [BZ #13061]
82724         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
82725         U+0385, not to U+1FEE.
82727         [BZ #13062]
82728         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
82729         entry for U+00A5 U+0301.
82731 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82733         [BZ #13166]
82734         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
82735         buffer for the output is too small.
82737         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
82738         optimization.
82740         [BZ #13185]
82741         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
82742         SSE flags if possible.
82744 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82746         [BZ #13540]
82747         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
82748         processing for last bytes.
82750 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
82752         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
82753         (syscall-list-default-options, syscall-list-default-condition)
82754         (syscall-list-includes): Define.
82755         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
82756         list of ABIs and options and #if conditions for each ABI.  Do not
82757         handle common syscalls between ABIs specially.
82758         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
82759         Remove.
82760         (syscall-list-variants, syscall-list-32bit-options)
82761         (syscall-list-32bit-condition, syscall-list-64bit-options)
82762         (syscall-list-64bit-condition): Define.
82763         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
82764         (syscall-list-variants, syscall-list-32bit-options)
82765         (syscall-list-32bit-condition, syscall-list-64bit-options)
82766         (syscall-list-64bit-condition): Define.
82767         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
82768         Remove.
82769         (syscall-list-variants, syscall-list-32bit-options)
82770         (syscall-list-32bit-condition, syscall-list-64bit-options)
82771         (syscall-list-64bit-condition): Define.
82772         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
82773         Remove.
82774         (syscall-list-variants, syscall-list-32bit-options)
82775         (syscall-list-32bit-condition, syscall-list-64bit-options)
82776         (syscall-list-64bit-condition): Define.
82778 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82780         * locale/iso-639.def: Add brx entry.
82782         [BZ #13328]
82783         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
82784         Proposed by Mariusz_Cukr <marcukr@op.pl>.
82786         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
82787         __feraiseexcept_renamed.
82789 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82791         [BZ #13538]
82792         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
82793         EPOLLET with unsigned values.
82794         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82795         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82797         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
82798         to large cancellation.
82799         * math/s_cacoshf.c: Likewise.
82800         * math/s_cacoshl.c: Likewise.
82802 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
82804         [BZ #13305]
82805         [BZ #12786]
82806         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
82807         * math/s_cacoshf.c: Likewise.
82808         * math/s_cacoshl.c: Likewise.
82810 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82812         [BZ #13439]
82813         * iconv/gconv.h: Define __GCONV_SWAP.
82814         * iconvdata/unicode.c: The swap bit must be stored in __flags.
82815         * iconvdata/utf-16.c: Likewise.
82816         * iconvdata/utf-32.c: Likewise.
82818 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
82820         [BZ #13524]
82821         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
82822         numerator after shifting it by one limb.
82824 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
82826         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
82827         under [__USE_EXTERN_INLINES].
82829 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82831         [BZ #13446]
82832         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
82834 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82836         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
82837         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
82838         optimized code.
82839         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
82840         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
82841         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
82842         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
82843         for strncasecmp/strncasecmp_l compilation.
82844         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
82845         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
82847 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
82849         [BZ #13484]
82850         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
82851         of __asm__.
82853 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82855         [BZ #13506]
82856         * time/tzfile.c (__tzfile_read): Check values from file header.
82858 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
82860         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
82861         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
82862         * powerpc/powerpc32/dl-start.S: Likewise.
82863         * powerpc/powerpc32/elf/start.S: Likewise.
82864         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
82865         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
82866         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
82867         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
82868         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
82869         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
82870         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
82871         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
82872         * powerpc/powerpc32/fpu/s_round.S: Likewise.
82873         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
82874         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
82875         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
82876         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
82877         * powerpc/powerpc32/memset.S: Likewise.
82878         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
82879         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
82880         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
82881         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
82882         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
82883         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
82884         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
82885         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
82886         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
82887         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
82888         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
82889         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82890         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82892 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82894         * math/libm-test.inc: Added more nearbyint tests.
82895         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
82896         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
82897         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
82898         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
82900 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
82902         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
82903         FD_CLOEXEC.
82905 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82907         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
82908         Add wcscpy-ssse3 wcscpy-c.
82909         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
82910         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
82911         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
82912         * sysdeps/x86_64/wcschr.S: New file.
82913         * sysdeps/x86_64/wcsrchr.S: New file.
82914         * string/test-strcmp.c: Remove checking of wcscmp function for
82915         wrong alignments.
82916         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
82917         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
82918         wcsrchr-sse2 wcsrchr-c.
82919         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
82920         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
82921         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
82922         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
82923         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
82924         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
82925         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
82926         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
82927         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
82928         * wcsmbc/wcschr.c (WCSCHR): New macro.
82930 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82932         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
82933         * wcsmbs/test-wcsrchr.c: New file.
82934         * string/test-strrchr.c: Add wcsrchr support.
82935         (WIDE): New macro.
82936         * wcsmbs/test-wcscpy.c: New file.
82937         * string/test-strcpy.c: Add wcscpy support.
82938         (WIDE): New macro.
82940 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
82942         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
82943         the inner loop.
82945 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
82947         [BZ #13472]
82948         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
82950 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
82952         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
82953         Minor optimizations.
82955         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
82956         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
82957         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
82959 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
82961         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
82962         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
82963         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
82964         for gcc to avoid warnings.
82965         * inet/Makefile (tests): Add tst-checks.
82966         * inet/tst-checks.c: New file.
82968         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
82969         warning.
82971         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
82972         __wmemcmp_sse2.
82974         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
82975         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
82977         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
82979 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
82981         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
82982         problem.
82984         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
82986 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
82988         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
82989         conditional on GCC version.
82990         (__arch_compare_and_exchange_val_8_acq)
82991         (__arch_compare_and_exchange_val_16_acq)
82992         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
82993         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
82994         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
82996 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
82998         * sysdeps/sh/backtrace.c: New file.
83000 2011-12-02  Andreas Schwab  <schwab@redhat.com>
83002         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
83003         parenthesis.
83005 2011-12-01  Andreas Schwab  <schwab@redhat.com>
83007         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
83008         falling back to utime.
83010 2011-11-30  Andreas Schwab  <schwab@redhat.com>
83012         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
83013         expectations for float.
83015 2011-11-29  Andreas Schwab  <schwab@redhat.com>
83017         * locale/weight.h (findidx): Add parameter len.
83018         * locale/weightwc.h (findidx): Likewise.
83019         * posix/fnmatch_loop.c (FCT): Adjust caller.
83020         * posix/regcomp.c (build_equiv_class): Likewise.
83021         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
83022         * posix/regexec.c (check_node_accept_bytes): Likewise.
83023         * string/strcoll_l.c (STRCOLL): Likewise.
83024         * string/strxfrm_l.c (STRXFRM): Likewise.
83026 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
83028         * Makefile.in: Remove CVSOPT handling.
83029         * configure.in: Remove use of AC_REVISION.
83030         * iconvdata/Makefile (distribute): No need to filter out CVS.
83031         * scripts/list-sources.sh: Remove CVS, subversion and monotone
83032         handling.
83034 2011-11-16  Andreas Schwab  <schwab@redhat.com>
83036         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
83037         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
83038         [USE_AS_STRNCASECMP_L]: Likewise.
83039         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
83040         NO_TLS_DIRECT_SEG_REFS.
83041         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
83042         Fix argument offsets for non-PIC.
83043         [USE_AS_STRNCASECMP_L]: Likewise.
83044         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
83045         NO_TLS_DIRECT_SEG_REFS.
83047 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83049         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
83050         O_CLOEXEC.
83051         * locale/loadlocale.c (_nl_load_locale): Likewise.
83053 2011-11-15  Andreas Schwab  <schwab@redhat.com>
83055         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
83056         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
83057         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
83058         (SYSCALL_GETTIME): Set errno on error.
83060         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
83061         count references to noai6ai_cached.
83063 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83065         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
83067         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
83068         FD_CLOEXEC for /proc/self/maps.
83070         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
83071         FD_CLOEXEC for /proc/meminfo.
83073         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
83074         gai.conf.
83076         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
83077         FD_CLOEXEC for given file.
83079         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
83081         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
83082         FD_CLOEXEC for /etc/hosts.
83083         (_gethtent): Likewise.
83085         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
83087         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
83088         cancellation and set FD_CLOEXEC for /etc/netgroup.
83090         * nss/nss_files/files-key.c (search): Don't allow cancellation when
83091         reading /etc/publickey.
83093         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
83094         allow cancellation when reading /etc/group.
83096         * nss/nss_files/files-alias.c (internal_setent): Don't allow
83097         cancellation.
83098         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
83100         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
83101         when using data file.
83103         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
83105         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
83106         (write_nis_obj): Use "c" and "e" in fopen.
83108         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
83110         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
83112         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
83114         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
83116         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
83117         locale.alias.
83119         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
83121         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
83123         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
83125         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
83126         file parsing and set FD_CLOEXEC.
83128 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83130         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
83132 2011-11-14  Andreas Schwab  <schwab@redhat.com>
83134         * malloc/arena.c (arena_get2): Don't call reused_arena when
83135         _int_new_arena failed.
83137 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83139         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
83140         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
83141         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
83142         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
83143         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
83144         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
83145         to compile strcasecmp and strncasecmp.
83146         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
83147         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
83149         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
83151 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
83153         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
83154         locale-defines.sym to gen-as-const-headers.
83155         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
83156         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
83157         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
83158         to compile strcasecmp and strncasecmp.
83159         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
83160         strcasecmp_l and strncasecmp_l.
83161         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
83162         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
83163         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
83164         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
83165         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
83166         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
83167         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
83168         * sysdeps/i386/i686/multiarch/strncase.S: New file.
83169         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
83170         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
83171         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
83173 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
83175         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
83176         result of SYSDEP_GETTIME_CPU to retval.
83177         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
83178         parameter list to macro.  Remove trailing semicolon.  Adjust users.
83180         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
83181         variable.
83183         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
83184         mantissa words.
83185         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
83187         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
83188         from unused variable.
83190         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
83191         DWARF definitions.
83192         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
83193         for assembling.
83195         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
83196         over namespaces.
83198         * sunrpc/rpc_prot.c (rejected): Fix case value.
83200         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
83201         unsigned long long int to avoid warnings in shift.
83203         * posix/regex_internal.c (re_string_reconstruct): Actually use result
83204         of use of trans.
83205         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
83206         variable tmp.
83208         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
83209         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
83210         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
83212         * nis/nis_table.c (nis_list): Use variable of correct type for
83213         result of __follow_path call.
83215 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83217         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
83218         of math functions ceil, trunc, floor, round, and sqrt, when
83219         avaliable on the platform.
83220         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
83221         name clash.
83222         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
83223         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
83224         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
83226 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
83228         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
83229         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
83231 2011-11-11  Roland McGrath  <roland@hack.frob.com>
83233         * include/unistd.h: Fix __readlink return type.
83234         Reported by Chris Metcalf <cmetcalf@tilera.com>.
83236 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
83238         * stdlib/ucontext.h: Undo last change for makecontext.
83240 2011-11-11  Andreas Schwab  <schwab@redhat.com>
83242         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
83244         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
83245         * setjmp/setjmp.h: Mark functions as non-leaf.
83246         * setjmp/bits/setjmp2.h: Likewise.
83247         * stdlib/ucontext.h: Likewise.
83249 2011-11-10  Andreas Schwab  <schwab@redhat.com>
83251         * malloc/arena.c (_int_new_arena): Don't increment narenas.
83252         (reused_arena): Don't check arena limit.
83253         (arena_get2): Atomically check arena limit.
83255 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
83257         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
83258         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
83260         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
83261         instructions.
83263 2011-11-07  Andreas Schwab  <schwab@redhat.com>
83265         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
83266         handler when locking.
83268         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83269         Fix size of allocated buffer.
83271 2011-11-04  Andreas Schwab  <schwab@redhat.com>
83273         [BZ #10103]
83274         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
83275         declarations for long double functions.
83276         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
83278         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
83280 2011-11-03  Andreas Schwab  <schwab@redhat.com>
83282         * nscd/nscd.c (main): Don't start AVC thread until credentials are
83283         installed.
83285         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
83286         is disabled.
83288 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83290         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
83292 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
83294         * include/alloca.h (stackinfo_alloca_round): Define.
83295         (extend_alloca): Use it.
83296         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
83297         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
83298         here.
83300         * scripts/check-local-headers.sh: Ignore libaudit.h.
83302         * nscd/Makefile (extra-objs): Make recursively expanded.
83304 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
83306         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
83307         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
83309         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
83310         * posix/tst-rfc3484-2.c: Likewise.
83311         * posix/tst-rfc3484-3.c: Likewise.
83313         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
83314         process_vm_writev.
83315         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
83316         process_vm_writev.
83317         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
83318         process_vm_writev from libc using GLIBC_2.15 version.
83320         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
83322 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
83324         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
83325         stack usage.
83327 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
83329         [BZ #13367]
83330         * nss/getent.c (initgroups_keys): Show error message in case no group
83331         names are given.
83333         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
83334         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
83335         __bump_nl_timestamp.
83336         * nscd/connections (nscd_init): When host database is served open
83337         netlink socket and request notification about configuration changes.
83338         (main_loop_poll): Track netlink file descriptor and bump timestamp
83339         in case data becomes available.
83340         (main_loop_epoll): Likewise.
83341         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
83342         (database_pers_head): Add extra_data fileds.
83343         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
83344         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
83345         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
83346         Adjust caller.
83347         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
83348         in6ai data, call __free_in6ai.
83349         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
83350         Add -DHAVE_NETLINK.
83351         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
83352         interface information.  Reuse previous data if netlink timestamp
83353         is not changed.
83354         (__bump_nl_timestamp): New function.
83355         (__free_in6ai): New function.
83357 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
83359         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
83360         close_not_cancel_no_status here.
83361         (__check_pf): Reorganize code a bit to not call close twice if OOM.
83363 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83365         [BZ #13276]
83366         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
83367         return value.
83369         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
83370         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
83371         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
83373 2011-07-03  Andreas Jaeger  <aj@suse.de>
83375         [BZ #10709]
83376         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
83377         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
83378         * math/libm-test.inc (sin_test): Add test case.
83380 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83382         [BZ #13337]
83383         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
83384         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83386         * elf/chroot_canon.c (chroot_canon): Cleanups.
83388         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
83390         [BZ #13335]
83391         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
83392         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83394         * string/test-strchr.c: Make usable for strchrnul testing.
83395         * string/test-strchrnul.c: New file.
83396         * string/Makefile (strop-tests): Add strchrnul.
83398         * po/it.po: Update from translation team.
83399         * po/es.po: Likewise.
83401 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
83403         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
83404         the three constants needed as parameters.  Drop the others.
83405         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
83406         __m128i_strloadu_tolower.
83407         Create and initialize variable zero and use it in all the places
83408         where _mm_setzero_si128 was used.
83410         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
83411         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
83412         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
83413         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
83414         anymore.
83415         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
83416         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
83417         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
83418         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
83419         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
83420         __mpranred, __mptan.
83421         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
83422         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
83423         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
83424         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
83425         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
83426         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
83427         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
83428         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
83429         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
83431 2011-10-28  Andreas Schwab  <schwab@redhat.com>
83433         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
83434         redefine if SHARED.
83435         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
83437         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
83438         wide char related routines to wcsmbs subdir.
83440 2011-10-27  Andreas Schwab  <schwab@redhat.com>
83442         [BZ #13344]
83443         * misc/sys/cdefs.h (__THROWNL): Define.
83444         * posix/unistd.h: Use __THREADNL instead of __THREAD
83445         for memory synchronization functions.
83447 2011-10-26  Roland McGrath  <roland@hack.frob.com>
83449         [BZ #13349]
83450         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
83451         doesn't exist.
83452         * manual/stdio.texi (Obstack Streams): Node removed.
83454 2011-10-26  Andreas Schwab  <schwab@redhat.com>
83456         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
83457         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83458         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83460         * math/math_private.h (math_force_eval): Allow non-addressable
83461         arguments.
83462         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
83464 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83466         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
83467         file is not needed.
83469         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
83470         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
83471         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83472         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83473         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83474         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83475         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83476         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
83477         Add AVX variants.
83478         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
83479         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
83480         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
83481         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
83482         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
83483         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
83484         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
83485         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
83486         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
83487         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
83488         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
83489         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
83490         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
83491         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
83492         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
83493         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
83494         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
83495         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
83496         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
83498         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
83499         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
83501         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
83502         place.  Use VEX encoding when compiling for AVX.
83504 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83506         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
83507         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
83509         * string/test-strchr.c (do_test): Don't generate NUL bytes.
83511 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83513         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
83514         useless if() expression.
83515         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83516         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83517         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83518         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83519         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83520         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83521         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83522         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83523         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83524         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83525         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83526         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83527         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83528         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83529         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83530         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83531         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83532         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83533         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83535         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
83537 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83539         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
83540         condition.
83541         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83543 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83545         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
83546         .text section.  Avoid duplicate constants.
83547         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83548         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83549         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83550         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83551         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83552         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83553         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83554         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83555         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
83556         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
83557         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
83558         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
83559         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
83560         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
83561         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
83562         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
83563         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
83564         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
83565         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83566         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83567         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83568         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83569         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83570         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
83571         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
83572         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
83573         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
83574         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
83575         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
83576         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
83577         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
83578         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
83579         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
83580         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
83581         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
83582         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
83583         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
83584         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
83585         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
83586         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
83587         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
83588         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
83589         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
83590         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
83591         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
83593 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
83595         * sysdeps/x86_64/dla.h: Move to ...
83596         * sysdeps/x86_64/fpu/dla.h: ...here.
83597         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
83598         situations.  Use __builtin_fma only for gcc 4.6 and up.
83600         * config.make.in: Add have-mfma4 entry.
83601         * configure.in: Substitute libc_cv_cc_fma4.
83602         * math/Makefile (dbl-only-routines): Add sincostab.
83603         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
83604         Use __sincostab not sincos.
83605         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
83606         name is a macro.
83607         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83608         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83609         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83610         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
83611         using __copysign.
83612         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
83613         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
83614         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
83615         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
83616         and __inv.
83617         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
83618         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
83619         __copysign.
83620         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
83621         define aliases when function name is a macro.
83622         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
83623         sysdeps/ieee754/dbl-64/sincos.tbl.
83624         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
83625         fma4-enabled routines.
83626         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
83627         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
83628         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
83629         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
83630         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
83631         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
83632         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
83633         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
83634         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
83635         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
83636         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
83637         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
83638         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
83639         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
83640         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
83641         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
83642         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
83643         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
83644         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
83645         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
83646         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
83647         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
83648         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
83649         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
83650         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
83651         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
83652         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
83653         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
83654         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
83655         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
83657         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
83658         rename.
83659         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83660         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83661         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83662         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83663         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83664         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83665         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83666         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83668 2011-10-24  Andreas Schwab  <schwab@redhat.com>
83670         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
83672 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83674         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
83676         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
83677         prediction.
83678         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
83680         * string/strnlen.c: Don't define STRNLEN, reverse logic.
83681         Remove unused variable magic_bits.
83682         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
83684         * string/strnlen.c: Define and use STRNLEN macro.
83685         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
83686         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
83687         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
83688         * wcsmbs/wcslen.c: Define and use WCSLEN.
83689         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
83690         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
83691         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
83692         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
83693         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
83694         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
83695         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83697 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83700         strnlen-sse2-no-bsf.
83701         Rename strlen-no-bsf to strlen-sse2-no-bsf.
83702         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
83703         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
83704         Add strnlen support.
83705         (USE_AS_STRNLEN): New macro.
83706         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
83707         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
83708         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
83709         * sysdeps/x86_64/wcslen.S: New file.
83711 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
83713         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83714         XMM-moves are used for copying on small sizes.
83716 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83718         * wcsmbs/Makefile (strop-tests): Add wcschr.
83719         * wcsmbs/test-wcschr.c: New file.
83720         * string/test-strchr.c: Update.
83721         Add wcschr support.
83722         (WIDE): New macro.
83724 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83726         * wcsmbs/Makefile (strop-tests): Add wcslen.
83727         * wcsmbs/test-wcslen.c: New file.
83728         * string/test-strlen.c: Update.
83729         Add wcslen support.
83730         (WIDE): New macro.
83732 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83734         * po/it.po: Update from translation team.
83736 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83738         * sysdeps/x86_64/wcscmp.S: Update.
83739         Fix wrong comparison semantics.
83740         wcscmp shall use signed comparison not unsigned.
83741         Don't use substraction to avoid overflow bug.
83742         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
83743         * wcsmbc/wcscmp.c: Likewise.
83744         * string/test-strcmp.c: Likewise.
83745         Add new tests to check cases with negative values.
83747 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83749         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
83750         * sysdeps/x86_64/dla.h: ...here.  New file.
83751         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
83752         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83753         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83754         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83755         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83756         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83757         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83758         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83759         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83761 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
83763         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
83764         __ynl_finite aliases.
83766 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83768         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83770         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
83771         define DLA_FMA.
83772         [DLA_FMA] (EMULV): Use DLA_FMA.
83773         [DLA_FMA] (MUL12): Use EMULV.
83774         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
83775         that are not needed.
83776         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83777         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83778         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83779         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83780         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83781         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83782         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83784 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
83786         * math/s_nan.c: Undef __nan.
83787         * math/s_nanf.c: Undef __nanf.
83788         * math/s_nanl.c: Undef __nanl.
83789         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
83790         "math_private.h".
83792 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83794         * math/s_catan.c: Add branch predictions.
83795         * math/s_catanf.c: Likewise.
83796         * math/s_catanh.c: Likewise.
83797         * math/s_catanhf.c: Likewise.
83798         * math/s_catanhl.c: Likewise.
83799         * math/s_catanl.c: Likewise.
83800         * math/s_cexp.c: Likewise.
83801         * math/s_cexpf.c: Likewise.
83802         * math/s_cexpl.c: Likewise.
83803         * math/s_clog.c: Likewise.
83804         * math/s_clog10.c: Likewise.
83805         * math/s_clog10f.c: Likewise.
83806         * math/s_clog10l.c: Likewise.
83807         * math/s_clogf.c: Likewise.
83808         * math/s_clogl.c: Likewise.
83809         * math/s_csqrt.c: Likewise.
83810         * math/s_csqrtf.c: Likewise.
83811         * math/s_csqrtl.c: Likewise.
83812         * math/s_ctanf.c: Likewise.
83813         * math/s_ctanh.c: Likewise.
83814         * math/s_ctanhf.c: Likewise.
83815         * math/s_ctanhl.c: Likewise.
83816         * math/s_ctanl.c: Likewise.
83818         * math/math_private.h: Define __nan, __nanf, __nanl.
83819         * math/s_cacosh.c: Include <math_private.h>.
83820         * math/s_cacoshl.c: Likewise.
83821         * math/s_casinh.c: Likewise.
83822         * math/s_casinhf.c: Likewise.
83823         * math/s_casinhl.c: Likewise.
83824         * math/s_ccos.c: Rely entire on ccosh.
83825         * math/s_ccosf.c: Rely entire on ccoshf.
83826         * math/s_ccosl.c: Rely entirely on ccoshl.
83827         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
83828         Remove tests for FE_INVALID.
83829         * math/s_ccoshf.c: Likewise.
83830         * math/s_ccoshl.c: Likewise.
83831         * math/s_csin.c: Likewise.
83832         * math/s_csinf.c: Likewise.
83833         * math/s_csinh.c Likewise.
83834         * math/s_csinhf.c: Likewise.
83835         * math/s_csinhl.c: Likewise.
83836         * math/s_csinl.c: Likewise.
83837         * math/s_ctan.c: Likewise.
83838         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
83839         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
83840         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
83842 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
83844         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
83845         compilation problems.
83847         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
83848         __builtin_expect.
83850 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
83852         * sysdeps/i386/configure.in: Test for -mfma4 option.
83853         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
83854         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
83855         COMMON_CPUID_INDEX_80000001.
83856         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
83857         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
83858         use it if FMA3 is not supported.
83859         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
83861         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
83862         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
83864 2011-10-20  Andreas Schwab  <schwab@redhat.com>
83866         [BZ #12892]
83867         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
83868         it would create a cycle with a link time dependency.
83870 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
83872         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
83873         instruction.
83874         * string/Makefile (strop-tests): Add rawmemchr.
83875         * string/test-rawmemchr.c: New file.
83877         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
83878         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
83879         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
83880         when compiling str{,n}casecmp and when AVX is available.  Hook up
83881         new optimized code in initializers.
83883 2011-10-19  Andreas Schwab  <schwab@redhat.com>
83885         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
83886         __feraiseexcept instead of feraiseexcept.
83888 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
83890         * math/math_private.h: Define defaults for libc_fetestexcept and
83891         libc_feupdateenv.
83892         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
83893         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
83894         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83895         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83896         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83897         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83898         libc_fetestexcept and libc_feupdateenv.
83900         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
83901         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
83902         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
83903         * sysdeps/x86_64/fpu/math_private.h: Define special version of
83904         libc_feholdexcept_setround.
83906         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
83907         Add s_nearbyint-c and s_nearbyintf-c.
83908         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
83909         nearbyintf inlines.
83910         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
83911         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
83912         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
83913         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
83915         * math/math_private.h: Define defaults for libc_fegetround,
83916         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
83917         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
83918         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
83919         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
83920         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
83921         standard functions.
83922         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83923         Remove comments and hacks for old compiler versions.
83924         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83925         libc_fegetround, libc_fesetround, libc_feholdexcept, and
83926         libc_feholdexceptl.
83928 2011-10-18  Andreas Schwab  <schwab@redhat.com>
83930         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83931         (__feraiseexcept_renamed): Add __NTH.
83932         (feraiseexcept): Add __NTH.  Rename local variables to fix
83933         namespace violations.
83935 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
83937         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
83939         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
83941         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
83942         recently added interfaces.
83943         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
83945         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
83946         about macro parameter expansion.
83948         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
83949         __NO_MATH_INLINES is defined.  Cleanups.
83951         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
83952         and __floorf is target has SSE4.1.
83953         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
83954         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
83955         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
83956         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
83958         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
83959         name.
83960         (floorf): Likewise.
83962         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
83964 2011-10-17  Andreas Schwab  <schwab@redhat.com>
83966         * misc/sys/cdefs.h: Fix last change.
83968         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
83969         database lookup.
83971 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
83973         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
83975         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
83976         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83977         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83978         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83979         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83980         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83981         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83982         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83983         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83984         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
83985         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
83986         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
83987         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
83988         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
83989         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
83990         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
83991         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
83992         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
83993         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
83994         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
83995         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
83996         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
83998         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
83999         ceil, ceilf, floor, floorf.
84001         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
84002         Perform IRELATIVE relocations last.
84004         * elf/do-rel.h: Add another parameter nrelative, replacing the
84005         local variable with the same name.  Change name of the function
84006         to end in Rel or Rela (uppercase).
84007         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
84008         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
84009         elf_dynamic_do_##reloc function.
84011 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84013         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
84014         is sufficient, at least on modern CPUs.
84016         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
84018         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
84019         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
84021         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
84022         __expl_finite.
84023         * math/bits/math-finite.h: Add entries for exp.
84024         * math/e_expl.c: Add __*_finite alias.
84025         * sysdeps/i386/fpu/e_exp.S: Likewise.
84026         * sysdeps/i386/fpu/e_expf.S: Likewise.
84027         * sysdeps/i386/fpu/e_expl.c: Likewise.
84028         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84029         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84030         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
84031         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
84032         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
84033         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84034         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84036         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
84037         is sufficient, at least on modern CPUs.
84039         * ctype/ctype-info.c (__ctype_init): Define.
84040         * include/ctype.h (__ctype_init): Declare.
84041         (__ctype_b_loc): The variable is always initialized.
84042         (__ctype_toupper_loc): Likewise.
84043         (__ctype_tolower_loc): Likewise.
84044         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
84045         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
84047 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
84049         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
84051         * configure.in: Also look in $cxxmachine/include for C++ system
84052         headers.
84054 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84056         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
84057         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
84058         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
84059         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
84060         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
84061         (USE_AS_WMEMCMP): New macro.
84062         Fixing indents.
84063         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
84064         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
84065         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
84066         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
84067         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84068         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
84069         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
84070         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
84071         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
84072         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
84073         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
84074         (USE_AS_WMEMCMP): New macro.
84075         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
84076         * sysdeps/string/test-memcmp.c: Update.
84077         Fix simple_wmemcmp.
84078         Add new tests.
84079         * wcsmbs/wmemcmp.c: Update.
84080         (WMEMCMP): New macro.
84081         Fix overflow bug.
84083 2011-10-12  Andreas Jaeger  <aj@suse.de>
84085         [BZ #13268]
84086         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
84088 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84090         * libio/iofwide.c (do_length): Avoid warning.
84092         * ctype/ctype.h (__isctype_f): Add missing __THROW.
84094 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
84096         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
84098         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
84099         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
84100         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
84101         * sysdeps/i386/i686/fpu/e_log.S: New file.
84102         * sysdeps/i386/i686/fpu/e_logf.S: New file.
84103         * sysdeps/i386/i686/fpu/e_logl.S: New file.
84105         * ctype/ctype.h: Add support for inlined isXXX functions when
84106         compiling C++ code.
84108 2011-10-14  Andreas Schwab  <schwab@redhat.com>
84110         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84112         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
84114 2011-10-13  Roland McGrath  <roland@hack.frob.com>
84116         [BZ #13291]
84117         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
84119 2011-10-13  Andreas Schwab  <schwab@redhat.com>
84121         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
84122         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
84123         feraiseexcept.
84125         * sysdeps/x86_64/memrchr.S: Check for zero size.
84127         * string/stratcliff.c: Add memrchr tests.
84129 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84131         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84132         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
84133         rawmemchr-sse2 rawmemchr-sse2-bsf.
84134         * sysdeps/i386/i686/multiarch/memchr.S: New file.
84135         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
84136         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
84137         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
84138         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
84139         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
84140         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
84141         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
84142         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
84143         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
84144         * string/memrchr.c (MEMRCHR): New macro.
84146 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
84148         Add integration with gcc's -ffinite-math-only and optimize wrapper
84149         functions in libm.
84150         * Versions.def: Define GLIBC_2.15 version for libm.
84151         * math/Makefile (headers): Add bits/math-finite.h.
84152         * math/bits/math-finite.h: New file.
84153         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
84154         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
84155         * math/e_acoshl.c: Add __*_finite alias.
84156         * math/e_acosl.c: Likewise.
84157         * math/e_asinl.c: Likewise.
84158         * math/e_atan2l.c: Likewise.
84159         * math/e_atanhl.c: Likewise.
84160         * math/e_coshl.c: Likewise.
84161         * math/e_exp10.c: Likewise.
84162         * math/e_exp10f.c: Likewise.
84163         * math/e_exp10l.c: Likewise.
84164         * math/e_exp2l.c: Likewise.
84165         * math/e_fmodl.c: Likewise.
84166         * math/e_gammal_r.c: Likewise.
84167         * math/e_hypotl.c: Likewise.
84168         * math/e_j0l.c: Likewise.
84169         * math/e_j1l.c: Likewise.
84170         * math/e_jnl.c: Likewise.
84171         * math/e_lgammal_r.c: Likewise.
84172         * math/e_log10l.c: Likewise.
84173         * math/e_log2l.c: Likewise.
84174         * math/e_logl.c: Likewise.
84175         * math/e_powl.c: Likewise.
84176         * math/e_sinhl.c: Likewise.
84177         * math/e_sqrtl.c: Likewise.
84178         * math/e_scalb.c: Completely rewritten and optimized.
84179         * math/e_scalbf.c: Likewise.
84180         * math/e_scalbl.c: Likewise.
84181         * math/w_acos.c: Likewise.
84182         * math/w_acosf.c: Likewise.
84183         * math/w_acosl.c: Likewise.
84184         * math/w_acosh.c: Likewise.
84185         * math/w_acoshf.c: Likewise.
84186         * math/w_acoshl.c: Likewise.
84187         * math/w_asin.c: Likewise.
84188         * math/w_asinf.c: Likewise.
84189         * math/w_asinl.c: Likewise.
84190         * math/w_atan2.c: Likewise.
84191         * math/w_atan2f.c: Likewise.
84192         * math/w_atan2l.c: Likewise.
84193         * math/w_atanh.c: Likewise.
84194         * math/w_atanhf.c: Likewise.
84195         * math/w_atanhl.c: Likewise.
84196         * math/w_exp10.c: Likewise.
84197         * math/w_exp10f.c: Likewise.
84198         * math/w_exp10l.c: Likewise.
84199         * math/w_fmod.c: Likewise.
84200         * math/w_fmodf.c: Likewise.
84201         * math/w_fmodl.c: Likewise.
84202         * math/w_j0.c: Likewise.
84203         * math/w_j0f.c: Likewise.
84204         * math/w_j0l.c: Likewise.
84205         * math/w_j1.c: Likewise.
84206         * math/w_j1f.c: Likewise.
84207         * math/w_j1l.c: Likewise.
84208         * math/w_jn.c: Likewise.
84209         * math/w_jnf.c: Likewise.
84210         * math/w_log.c: Likewise.
84211         * math/w_logf.c: Likewise.
84212         * math/w_logl.c: Likewise.
84213         * math/w_log10.c: Likewise.
84214         * math/w_log10f.c: Likewise.
84215         * math/w_log10l.c: Likewise.
84216         * math/w_log2.c: Likewise.
84217         * math/w_log2f.c: Likewise.
84218         * math/w_log2l.c: Likewise.
84219         * math/w_pow.c: Likewise.
84220         * math/w_powf.c: Likewise.
84221         * math/w_powl.c: Likewise.
84222         * math/w_remainder.c: Likewise.
84223         * math/w_remainderf.c: Likewise.
84224         * math/w_remainderl.c: Likewise.
84225         * math/w_scalb.c: Likewise.
84226         * math/w_scalbf.c: Likewise.
84227         * math/w_scalbl.c: Likewise.
84228         * math/w_sqrt.c: Likewise.
84229         * math/w_sqrtf.c: Likewise.
84230         * math/w_sqrtl.c: Likewise.
84231         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
84232         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
84233         used.
84234         * math/math_private.h: Declare __kernel_standard_f.
84235         * math/w_cosh.c: Remove cruft and optimize a bit.
84236         * math/w_coshf.c: Likewise.
84237         * math/w_coshl.c: Likewise.
84238         * math/w_exp2.c: Likewise.
84239         * math/w_exp2f.c: Likewise.
84240         * math/w_exp2l.c: Likewise.
84241         * math/w_hypot.c: Likewise.
84242         * math/w_hypotf.c: Likewise.
84243         * math/w_hypotl.c: Likewise.
84244         * math/w_lgamma.c: Likewise.
84245         * math/w_lgamma_r.c: Likewise.
84246         * math/w_lgammaf.c: Likewise.
84247         * math/w_lgammaf_r.c: Likewise.
84248         * math/w_lgammal.c: Likewise.
84249         * math/w_lgammal_r.c: Likewise.
84250         * math/w_sinh.c: Likewise.
84251         * math/w_sinhf.c: Likewise.
84252         * math/w_sinhl.c: Likewise.
84253         * math/w_tgamma.c: Likewise.
84254         * math/w_tgammaf.c: Likewise.
84255         * math/w_tgammal.c: Likewise.
84256         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84257         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84258         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
84259         Minor optimizations.  Pretty printing.  Remove cruft.
84260         * sysdeps/i386/fpu/e_acosf.S: Likewise.
84261         * sysdeps/i386/fpu/e_acosh.S: Likewise.
84262         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
84263         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
84264         * sysdeps/i386/fpu/e_acosl.c: Likewise.
84265         * sysdeps/i386/fpu/e_asin.S: Likewise.
84266         * sysdeps/i386/fpu/e_asinf.S: Likewise.
84267         * sysdeps/i386/fpu/e_atan2.S: Likewise.
84268         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
84269         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
84270         * sysdeps/i386/fpu/e_atanh.S: Likewise.
84271         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
84272         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
84273         * sysdeps/i386/fpu/e_exp10.S: Likewise.
84274         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
84275         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
84276         * sysdeps/i386/fpu/e_exp2.S: Likewise.
84277         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
84278         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
84279         * sysdeps/i386/fpu/e_fmod.S: Likewise.
84280         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
84281         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
84282         * sysdeps/i386/fpu/e_hypot.S: Likewise.
84283         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
84284         * sysdeps/i386/fpu/e_log.S: Likewise.
84285         * sysdeps/i386/fpu/e_log10.S: Likewise.
84286         * sysdeps/i386/fpu/e_log10f.S: Likewise.
84287         * sysdeps/i386/fpu/e_log10l.S: Likewise.
84288         * sysdeps/i386/fpu/e_log2.S: Likewise.
84289         * sysdeps/i386/fpu/e_log2f.S: Likewise.
84290         * sysdeps/i386/fpu/e_log2l.S: Likewise.
84291         * sysdeps/i386/fpu/e_logf.S: Likewise.
84292         * sysdeps/i386/fpu/e_logl.S: Likewise.
84293         * sysdeps/i386/fpu/e_pow.S: Likewise.
84294         * sysdeps/i386/fpu/e_powf.S: Likewise.
84295         * sysdeps/i386/fpu/e_powl.S: Likewise.
84296         * sysdeps/i386/fpu/e_remainder.S: Likewise.
84297         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
84298         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
84299         * sysdeps/i386/fpu/e_scalb.S: Likewise.
84300         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
84301         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
84302         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
84303         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
84304         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
84305         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
84306         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84307         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84308         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
84309         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84310         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
84311         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
84312         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
84313         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84314         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
84315         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
84316         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
84317         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84318         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
84319         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
84320         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84321         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
84322         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
84323         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84324         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84325         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
84326         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
84327         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84328         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84329         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
84330         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
84331         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84332         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
84333         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
84334         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
84335         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84336         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
84337         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84338         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
84339         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
84340         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
84341         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
84342         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
84343         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
84344         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
84345         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
84346         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
84347         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
84348         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
84349         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84350         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
84351         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84352         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84353         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84354         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
84355         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84356         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84357         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84358         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84359         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84360         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84361         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84362         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84363         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84364         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84365         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84366         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84367         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84368         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84369         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84370         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84371         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84372         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84373         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
84374         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84375         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84376         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84377         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84378         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84379         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84380         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84381         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
84382         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84383         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84384         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84385         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84386         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84387         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
84388         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84389         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84390         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84391         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84392         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84393         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84394         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84395         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84396         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84397         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84398         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
84399         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84400         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84401         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84402         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
84403         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
84404         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
84405         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
84406         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
84407         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
84408         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
84409         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84410         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84411         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84412         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84413         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
84414         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84415         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
84416         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
84417         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
84418         (__isnanf): Likewise.
84419         (__isinf_ns): Likewise.
84420         (__isinf_nsf): Likewise.
84421         (__finite): Likewise.
84422         (__finitef): Likewise.
84423         (__ieee754_sqrt): Define as macro.
84424         (__ieee754_sqrtf): Define as macro.
84425         (__ieee754_sqrtl): Define as macro.
84426         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
84427         inlined copy.
84428         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
84429         __FINITE_MATH_ONLY__ consistent.
84430         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
84432 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
84434         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
84435         of rawmemchr.
84437         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
84439 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
84441         * po/ja.po: Update from translation team.
84443 2011-10-08  Roland McGrath  <roland@hack.frob.com>
84445         * locale/programs/locarchive.c (prepare_address_space): New function.
84446         (create_archive, enlarge_archive, open_archive): Use it.
84448         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
84449         inside [SHARED], where it is used.
84451         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
84453         * nss/getent.c (netgroup_keys): Remove unused variable.
84454         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84456 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
84458         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
84459         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
84460         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
84461         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
84462         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
84463         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
84464         * math/Makefile (libm-calls): Add s_isinf_ns.
84465         * math/divtc3.c: Use __isinf_nsl instead of isinf.
84466         * math/multc3.c: Likewise.
84467         * math/s_casin.c: Likewise.
84468         * math/s_casinf.c: Likewise.
84469         * math/s_casinl.c: Likewise.
84470         * math/s_ccos.c: Likewise.
84471         * math/s_ccosf.c: Likewise.
84472         * math/s_ccosl.c: Likewise.
84473         * math/s_ctan.c: Likewise.
84474         * math/s_ctanf.c: Likewise.
84475         * math/s_ctanh.c: Likewise.
84476         * math/s_ctanhf.c: Likewise.
84477         * math/s_ctanhl.c: Likewise.
84478         * math/s_ctanl.c: Likewise.
84479         * math/w_fmod.c: Likewise.
84480         * math/w_fmodf.c: Likewise.
84481         * math/w_fmodl.c: Likewise.
84482         * math/w_remainder.c: Likewise.
84483         * math/w_remainderf.c: Likewise.
84484         * math/w_remainderl.c: Likewise.
84485         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
84486         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
84487         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
84488         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
84489         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
84490         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
84491         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
84492         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
84494         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
84495         of the number.
84496         * stdio-common/printf_fphex.c: Likewise.
84497         * stdio-common/printf_size.c: Likewise.
84499         * math/e_exp10.c: Include math_private.h using <...> not "...".
84500         * math/e_exp10f.c: Likewise.
84501         * math/e_exp10l.c: Likewise.
84502         * math/e_exp2l.c: Likewise.
84503         * math/e_j0l.c: Likewise.
84504         * math/e_j1l.c: Likewise.
84505         * math/e_jnl.c: Likewise.
84506         * math/e_lgammal_r.c: Likewise.
84507         * math/e_rem_pio2l.c: Likewise.
84508         * math/e_scalb.c: Likewise.
84509         * math/e_scalbf.c: Likewise.
84510         * math/e_scalbl.c: Likewise.
84511         * math/k_cosl.c: Likewise.
84512         * math/k_sinl.c: Likewise.
84513         * math/k_tanl.c: Likewise.
84514         * math/s_cacoshf.c: Likewise.
84515         * math/s_catan.c: Likewise.
84516         * math/s_catanf.c: Likewise.
84517         * math/s_catanh.c: Likewise.
84518         * math/s_catanhf.c: Likewise.
84519         * math/s_catanhl.c: Likewise.
84520         * math/s_catanl.c: Likewise.
84521         * math/s_ccosh.c: Likewise.
84522         * math/s_ccoshf.c: Likewise.
84523         * math/s_ccoshl.c: Likewise.
84524         * math/s_cexp.c: Likewise.
84525         * math/s_cexpf.c: Likewise.
84526         * math/s_cexpl.c: Likewise.
84527         * math/s_clog.c: Likewise.
84528         * math/s_clog10.c: Likewise.
84529         * math/s_clog10f.c: Likewise.
84530         * math/s_clog10l.c: Likewise.
84531         * math/s_clogf.c: Likewise.
84532         * math/s_clogl.c: Likewise.
84533         * math/s_csin.c: Likewise.
84534         * math/s_csinf.c: Likewise.
84535         * math/s_csinh.c: Likewise.
84536         * math/s_csinhf.c: Likewise.
84537         * math/s_csinhl.c: Likewise.
84538         * math/s_csinl.c: Likewise.
84539         * math/s_csqrt.c: Likewise.
84540         * math/s_csqrtf.c: Likewise.
84541         * math/s_csqrtl.c: Likewise.
84542         * math/s_ctan.c: Likewise.
84543         * math/s_ctanf.c: Likewise.
84544         * math/s_ctanh.c: Likewise.
84545         * math/s_ctanhf.c: Likewise.
84546         * math/s_ctanhl.c: Likewise.
84547         * math/s_ctanl.c: Likewise.
84548         * math/s_ldexp.c: Likewise.
84549         * math/s_ldexpf.c: Likewise.
84550         * math/s_ldexpl.c: Likewise.
84551         * math/s_significand.c: Likewise.
84552         * math/s_significandf.c: Likewise.
84553         * math/s_significandl.c: Likewise.
84554         * math/w_acos.c: Likewise.
84555         * math/w_acosf.c: Likewise.
84556         * math/w_acosh.c: Likewise.
84557         * math/w_acoshf.c: Likewise.
84558         * math/w_acoshl.c: Likewise.
84559         * math/w_acosl.c: Likewise.
84560         * math/w_asin.c: Likewise.
84561         * math/w_asinf.c: Likewise.
84562         * math/w_asinl.c: Likewise.
84563         * math/w_atan2.c: Likewise.
84564         * math/w_atan2f.c: Likewise.
84565         * math/w_atan2l.c: Likewise.
84566         * math/w_atanh.c: Likewise.
84567         * math/w_atanhf.c: Likewise.
84568         * math/w_atanhl.c: Likewise.
84569         * math/w_cosh.c: Likewise.
84570         * math/w_coshf.c: Likewise.
84571         * math/w_coshl.c: Likewise.
84572         * math/w_dremf.c: Likewise.
84573         * math/w_exp10.c: Likewise.
84574         * math/w_exp10f.c: Likewise.
84575         * math/w_exp10l.c: Likewise.
84576         * math/w_exp2.c: Likewise.
84577         * math/w_exp2f.c: Likewise.
84578         * math/w_fmod.c: Likewise.
84579         * math/w_fmodf.c: Likewise.
84580         * math/w_fmodl.c: Likewise.
84581         * math/w_hypot.c: Likewise.
84582         * math/w_hypotf.c: Likewise.
84583         * math/w_hypotl.c: Likewise.
84584         * math/w_j0.c: Likewise.
84585         * math/w_j0f.c: Likewise.
84586         * math/w_j0l.c: Likewise.
84587         * math/w_j1.c: Likewise.
84588         * math/w_j1f.c: Likewise.
84589         * math/w_j1l.c: Likewise.
84590         * math/w_jn.c: Likewise.
84591         * math/w_jnf.c: Likewise.
84592         * math/w_jnl.c: Likewise.
84593         * math/w_lgamma.c: Likewise.
84594         * math/w_lgamma_r.c: Likewise.
84595         * math/w_lgammaf.c: Likewise.
84596         * math/w_lgammaf_r.c: Likewise.
84597         * math/w_lgammal.c: Likewise.
84598         * math/w_lgammal_r.c: Likewise.
84599         * math/w_log.c: Likewise.
84600         * math/w_log10.c: Likewise.
84601         * math/w_log10f.c: Likewise.
84602         * math/w_log10l.c: Likewise.
84603         * math/w_log2.c: Likewise.
84604         * math/w_log2f.c: Likewise.
84605         * math/w_log2l.c: Likewise.
84606         * math/w_logf.c: Likewise.
84607         * math/w_logl.c: Likewise.
84608         * math/w_pow.c: Likewise.
84609         * math/w_powf.c: Likewise.
84610         * math/w_powl.c: Likewise.
84611         * math/w_remainder.c: Likewise.
84612         * math/w_remainderf.c: Likewise.
84613         * math/w_remainderl.c: Likewise.
84614         * math/w_scalb.c: Likewise.
84615         * math/w_scalbf.c: Likewise.
84616         * math/w_scalbl.c: Likewise.
84617         * math/w_sinh.c: Likewise.
84618         * math/w_sinhf.c: Likewise.
84619         * math/w_sinhl.c: Likewise.
84620         * math/w_sqrt.c: Likewise.
84621         * math/w_sqrtf.c: Likewise.
84622         * math/w_sqrtl.c: Likewise.
84623         * math/w_tgamma.c: Likewise.
84624         * math/w_tgammaf.c: Likewise.
84625         * math/w_tgammal.c: Likewise.
84627         * po/ja.po: Update from translation team.
84629 2011-09-29  Andreas Jaeger  <aj@suse.de>
84631         [BZ #13179]
84632         * sunrpc/netname.c (netname2host): Fix logic.
84634         [BZ #6779]
84635         [BZ #6783]
84636         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
84637         correctly.
84638         * math/w_remainder.c (__remainder): Likewise.
84639         * math/w_remainderf.c (__remainderf): Likewise.
84640         * math/libm-test.inc (remainder_test): Add test cases.
84642 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84644         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
84645         sdiv_qrnnd.
84647 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84649         * string/test-memcmp.c: Avoid unncessary #defines.
84650         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84652 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84654         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
84655         Use new sse2 version for core i3 - i7 as it's faster
84656         than sse42 version.
84657         (bit_Prefer_PMINUB_for_stringop): New.
84658         * sysdeps/x86_64/rawmemchr.S: Update.
84659         Replace with faster SSE2 version.
84660         * sysdeps/x86_64/memrchr.S: New file.
84661         * sysdeps/x86_64/memchr.S: Update.
84662         Replace with faster SSE2 version.
84664 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
84666         * elf/dl-load.c (lose): Add cast to avoid warning.
84668 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84670         * po/ca.po: Update from translation team.
84672         * inet/getnetgrent_r.c: Hook up nscd.
84673         * nscd/Makefile (routines): Add nscd_netgroup.
84674         (nscd-modules): Add netgroupcache.
84675         (CFLAGS-netgroupcache.c): Define.
84676         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
84677         (cache_search): Add const to second parameter.
84678         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
84679         INNETGR.
84680         (dbs): Add netgrdb entry.
84681         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
84682         (verify_persistent_db): Handle netgrdb.
84683         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
84684         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
84685         GETFDNETGR.
84686         (netgroup_response_header): Define.
84687         (innetgroup_response_header): Define.
84688         (datahead): Add netgroup_response_header and innetgroup_response_header
84689         elements.
84690         * nscd/nscd.conf: Add entries for netgroup cache.
84691         * nscd/nscd.h (dbtype): Add netgrdb.
84692         (_PATH_NSCD_NETGROUP_DB): Define.
84693         (netgroup_iov_disabled): Declare.
84694         (xmalloc, xcalloc, xrealloc): Move declarations here.
84695         (cache_search): Adjust prototype.
84696         Add netgroup-related prototypes.
84697         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
84698         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
84699         (__nscd_innetgr): Declare.
84700         * nscd/selinux.c (perms): Use access_vector_t as element type and
84701         add netgroup-related initializers.
84702         * nscd/netgroupcache.c: New file.
84703         * nscd/nscd_netgroup.c: New file.
84704         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
84705         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
84706         For four parameters use innetgr.
84707         * nss/nss_files/files-init.c: Add definition and callback for netgr.
84708         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
84709         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
84710         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
84712         * nscd/connections.c (register_traced_file): Don't register file
84713         for disabled databases.
84715 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
84717         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
84719         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
84720         from tree and freeing node.
84722 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
84724         * nss/nsswitch.c (__nss_database_lookup): Handle
84725         nss_parse_service_list out of memory case.
84727 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
84729         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
84730         out of memory case.
84732 2011-10-04  Andreas Schwab  <schwab@redhat.com>
84734         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
84735         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
84736         pass it down.
84737         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
84738         elf_machine_rela, elf_machine_lazy_rel.
84739         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
84740         (ELF_DYNAMIC_DO_REL): Likewise.
84741         (ELF_DYNAMIC_DO_RELA): Likewise.
84742         (ELF_DYNAMIC_RELOCATE): Likewise.
84743         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
84744         to ELF_DYNAMIC_DO_REL.
84745         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
84746         (dl_main): In trace mode always set __RTLD_NOIFUNC.
84747         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
84748         elf_machine_rela.
84749         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
84750         skip_ifunc, don't call ifunc function if non-zero.
84751         (elf_machine_rela): Likewise.
84752         (elf_machine_lazy_rel): Likewise.
84753         (elf_machine_lazy_rela): Likewise.
84754         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
84755         (elf_machine_lazy_rel): Likewise.
84756         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
84757         Likewise.
84758         (elf_machine_lazy_rel): Likewise.
84759         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84760         Likewise.
84761         (elf_machine_lazy_rel): Likewise.
84762         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
84763         (elf_machine_lazy_rel): Likewise.
84764         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
84765         (elf_machine_lazy_rel): Likewise.
84766         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
84767         (elf_machine_lazy_rel): Likewise.
84768         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
84769         (elf_machine_lazy_rel): Likewise.
84770         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
84771         (elf_machine_lazy_rel): Likewise.
84772         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
84773         (elf_machine_lazy_rel): Likewise.
84775 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
84777         * nss/nss_files/files-init.c (_nss_files_init): Use static
84778         initialization for all the *_traced_file variables.
84780 2011-09-28  Andreas Schwab  <schwab@redhat.com>
84782         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84784 2011-09-27  Roland McGrath  <roland@hack.frob.com>
84786         [BZ #13226]
84787         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
84789 2011-09-27  Andreas Schwab  <schwab@redhat.com>
84791         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84792         Reread the line before reparsing it.
84794 2011-09-26  Andreas Schwab  <schwab@redhat.com>
84796         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
84798 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
84799             Maxim Kuvyrkov  <maxim@codesourcery.com>
84800             Joseph Myers  <joseph@codesourcery.com>
84802         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
84803         if needed for __stack_chk_guard.
84805 2011-09-19  Roland McGrath  <roland@hack.frob.com>
84807         * sysdeps/posix/spawni.c (script_execute): Always define it.
84808         It will be optimized away if unused.
84809         (maybe_script_execute): New function.
84810         (__spawni): Call it.
84812         * Makerules: Don't include tls.make.
84813         (config-tls): Always set to thread.
84814         * tls.make.c: File removed.
84816 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
84818         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
84819         * config.make.in (CPPFLAGS-config): New substituted variable.
84821 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84823         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
84825         [BZ #13192]
84826         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
84827         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
84829 2011-09-15  Roland McGrath  <roland@hack.frob.com>
84831         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
84832         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
84833         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84834         (CALL_FAIL): Likewise.
84835         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
84836         (CALL_FAIL): Macro removed.
84837         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
84839 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84841         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
84842         for __FINITE_MATH_ONLY__ == 1.
84844 2011-09-15  Andreas Schwab  <schwab@redhat.com>
84846         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
84847         __ieee754_sqrt instead of sqrt.
84848         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
84849         __ieee754_sqrtf instead of sqrtf.
84850         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
84851         __floorf instead of floorf.
84852         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
84853         __floorf, __truncf instead of floorf, truncf.
84855 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
84857         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
84859         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
84860         __extern_always_inline.
84861         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
84862         32-bit.
84864 2011-09-14  Andreas Schwab  <schwab@redhat.com>
84866         * elf/rtld.c (dl_main): Also relocate in dependency order when
84867         doing symbol dependency testing.
84869 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
84871         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84872         Always define `refsym'.
84874 2011-09-13  Andreas Schwab  <schwab@redhat.com>
84876         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
84877         (__FD_ELT): Renamed from __FDELT.
84878         * misc/bits/select2.h (__FD_ELT): Likewise.
84879         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
84880         __FD_MASK instead of __FDELT, __FDMASK.
84881         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84882         Likewise.
84883         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84884         Likewise.
84886         * elf/Makefile (gen-ldd): Fix pattern.
84888         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
84889         (init_tls): Likewise.
84891 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
84893         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
84895 2011-09-12  Andreas Schwab  <schwab@redhat.com>
84897         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
84898         `struct cmsghdr *' instead of `void *'.
84899         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
84900         Likewise.
84902 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
84904         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
84905         if non-absolute.
84906         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
84907         ldd_rewrite_script.
84909 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
84911         * configure.in: Remove --with-tls option.
84912         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
84913         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
84914         out in case it is missing.
84915         * sysdeps/ia64/elf/configure.in: Likewise.
84916         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
84917         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
84918         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
84919         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
84920         * sysdeps/sh/elf/configure.in: Likewise.
84921         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
84922         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84923         * sysdeps/x86_64/elf/configure.in: Likewise.
84924         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
84925         * sysdeps/mach/hurd/tls.h: Likewise.
84927         [BZ #13067]
84928         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
84930         [BZ #13090]
84931         * configure.in: Fix use of AC_INIT.
84933         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
84935 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
84937         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
84938         __set_errno.
84939         * malloc/hooks.c: Likewise.
84941         [BZ #11929]
84942         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
84943         variables statically.
84944         (narenas): Initialize.
84945         (list_lock): Initialize.
84946         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
84947         initializtion of main_arena and list_lock.  Small cleanups.
84948         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
84949         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
84950         Add initializers to main_arena and mp_.
84951         (malloc_state): Remove pagesize member.  Change all users to use
84952         GLRO(dl_pagesize).
84954         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
84955         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
84956         is always initialized.
84958         * malloc/malloc.c: Removed unused configurations and dead code.
84959         * malloc/arena.c: Likewise.
84960         * malloc/hooks.c: Likewise.
84961         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
84963         * include/tls.h: Removed.  USE___THREAD must always be defined.
84964         * bits/libc-tsd.h: Don't handle !USE___THREAD.
84965         * elf/dl-libc.c: Likewise.
84966         * elf/dl-tsd.c: Likewise.
84967         * include/errno.h: Likewise.
84968         * include/netdb.h: Likewise.
84969         * include/resolv.h: Likewise.
84970         * inet/herrno-loc.c: Likewise.
84971         * inet/herrno.c: Likewise.
84972         * malloc/arena.c: Likewise.
84973         * malloc/hooks.c: Likewise.
84974         * malloc/malloc.c: Likewise.
84975         * resolv/res-state.c: Likewise.
84976         * resolv/res_libc.c: Likewise.
84977         * sysdeps/i386/dl-machine.h: Likewise.
84978         * sysdeps/ia64/dl-machine.h: Likewise.
84979         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
84980         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
84981         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
84982         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
84983         * sysdeps/sh/dl-machine.h: Likewise.
84984         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84985         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84986         * sysdeps/unix/i386/sysdep.S: Likewise.
84987         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
84988         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
84989         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
84990         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
84991         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
84992         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
84993         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
84994         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84995         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
84997         * sysdeps/unix/x86_64/sysdep.S: Likewise.
84998         * sysdeps/x86_64/dl-machine.h: Likewise.
84999         * tls.make.c: Likewise.
85001         * configure.in: Remove --with-__thread option.  Make tests for
85002         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
85003         tls_model attribute fail if no support is available.  Remove
85004         USE_IN_LIBIO.
85005         * Makeconfig: Adjust for dropped configure option.  All features are
85006         now mandatory.
85007         * Makerules: Likewise.
85008         * Versions.def: Likewise.
85009         * argp/argp-fmtstream.c: Likewise.
85010         * argp/argp-fmtstream.h: Likewise.
85011         * argp/argp-help.c: Likewise.
85012         * assert/assert.c: Likewise.
85013         * config.h.in: Likewise.
85014         * config.make.in: Likewise.
85015         * configure: Likewise.
85016         * configure.in: Likewise.
85017         * csu/Versions: Likewise.
85018         * csu/init.c: Likewise.
85019         * elf/tst-audit2.c: Likewise.
85020         * elf/tst-tls10.c: Likewise.
85021         * elf/tst-tls10.h: Likewise.
85022         * elf/tst-tls11.c: Likewise.
85023         * elf/tst-tls12.c: Likewise.
85024         * elf/tst-tls14.c: Likewise.
85025         * elf/tst-tlsmod11.c: Likewise.
85026         * elf/tst-tlsmod12.c: Likewise.
85027         * elf/tst-tlsmod13.c: Likewise.
85028         * elf/tst-tlsmod13a.c: Likewise.
85029         * elf/tst-tlsmod14a.c: Likewise.
85030         * elf/tst-tlsmod15b.c: Likewise.
85031         * elf/tst-tlsmod16a.c: Likewise.
85032         * elf/tst-tlsmod16b.c: Likewise.
85033         * elf/tst-tlsmod7.c: Likewise.
85034         * elf/tst-tlsmod8.c: Likewise.
85035         * elf/tst-tlsmod9.c: Likewise.
85036         * gmon/gmon.c: Likewise.
85037         * grp/fgetgrent_r.c: Likewise.
85038         * grp/putgrent.c: Likewise.
85039         * hurd/fopenport.c: Likewise.
85040         * include/libc-symbols.h: Likewise.
85041         * include/tls.h: Likewise.
85042         * intl/gettextP.h: Likewise.
85043         * intl/loadinfo.h: Likewise.
85044         * locale/global-locale.c: Likewise.
85045         * locale/localeinfo.h: Likewise.
85046         * mach/devstream.c: Likewise.
85047         * malloc/arena.c: Likewise.
85048         * malloc/set-freeres.c: Likewise.
85049         * misc/err.c: Likewise.
85050         * misc/getttyent.c: Likewise.
85051         * misc/mntent_r.c: Likewise.
85052         * posix/getopt.c: Likewise.
85053         * posix/wordexp.c: Likewise.
85054         * pwd/fgetpwent_r.c: Likewise.
85055         * resolv/Versions: Likewise.
85056         * resolv/res_hconf.c: Likewise.
85057         * shadow/fgetspent_r.c: Likewise.
85058         * shadow/putspent.c: Likewise.
85059         * stdio-common/printf_fphex.c: Likewise.
85060         * stdio-common/tmpfile.c: Likewise.
85061         * stdlib/abort.c: Likewise.
85062         * stdlib/fmtmsg.c: Likewise.
85063         * sunrpc/auth_unix.c: Likewise.
85064         * sunrpc/clnt_perr.c: Likewise.
85065         * sunrpc/clnt_tcp.c: Likewise.
85066         * sunrpc/clnt_udp.c: Likewise.
85067         * sunrpc/clnt_unix.c: Likewise.
85068         * sunrpc/openchild.c: Likewise.
85069         * sunrpc/svc_simple.c: Likewise.
85070         * sunrpc/svc_tcp.c: Likewise.
85071         * sunrpc/svc_udp.c: Likewise.
85072         * sunrpc/svc_unix.c: Likewise.
85073         * sunrpc/xdr.c: Likewise.
85074         * sunrpc/xdr_array.c: Likewise.
85075         * sunrpc/xdr_rec.c: Likewise.
85076         * sunrpc/xdr_ref.c: Likewise.
85077         * sunrpc/xdr_stdio.c: Likewise.
85079 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85081         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85083 2011-07-03  Andreas Jaeger  <aj@suse.de>
85085         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
85086         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
85087         regenerate with gen-libm-tests.pl.
85089 2010-05-12  Petr Baudis  <pasky@suse.cz>
85091         [BZ #11589]
85092         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
85093         around j0() zero points by switching to j1().
85094         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85095         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85096         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85097         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85099 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85101         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
85102         instead of 0.
85103         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
85104         instead of 0.
85105         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85106         Patch in part by Pavel Roskin <proski@gnu.org>.
85108         [BZ #13138]
85109         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
85110         realloc.
85111         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
85112         Free memory block if necessary.
85114         [BZ #12847]
85115         * libio/genops.c (INTDEF): For string streams the _lock pointer can
85116         be NULL.  Don't lock in this case.
85118 2011-09-09  Roland McGrath  <roland@hack.frob.com>
85120         * elf/elf.h (ELFOSABI_GNU): New macro.
85121         (ELFOSABI_LINUX): Define to that.
85123 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
85125         * string/strncat.c (strncat): Undef the symbol in case it has been
85126         defined in bits/string.h.
85128 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85130         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
85132         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
85133         link map.
85135 2011-08-17  Andreas Jaeger  <aj@suse.de>
85137         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
85139 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
85140             Ian Lance Taylor  <iant@google.com>
85142         * math/libm-test.inc (lround_test): New testcase.
85143         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
85145 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
85147         * Makefile: Remove support for automatic cvs check-ins.
85148         * Makerules: Likewise.
85149         * config.make.in: Likewise.
85150         * configure.in: Likewise.
85151         * intl/Makefile: Likewise.
85152         * locale/Makefile: Likewise.
85153         * po/Makefile: Likewise.
85154         * posix/Makefile: Likewise.
85155         * sysdeps/gnu/Makefile: Likewise.
85156         * sysdeps/mach/hurd/Makefile: Likewise.
85157         * sysdeps/sparc/sparc32/Makefile: Likewise.
85159         [BZ #13118]
85160         * posix/Makefile (bug-regex32-ENV): Define.
85161         Patch by John Stanley <jpsinthemix@verizon.net>.
85163         * misc/Makefile (headers): Add bits/select2.h.
85164         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
85165         * misc/bits/select2.h: New file.
85166         * include/bits/select2.h: New file.
85167         * debug/Makefile (routines): Add fdelt_chk.
85168         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
85169         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
85170         FD_ISSET.
85171         * debug/fdelt_chk.c: New file.
85173         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
85174         * wcsmbs/test-wmemcmp.c: Likewise.
85175         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
85176         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
85178 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85180         * string/Makefile (strop-tests): Add memcmp.
85181         * string/test-wmemcmp.c: New file.
85182         * string/test-memcmp.c: Add wmemcmp support.
85184 2011-09-08  Roland McGrath  <roland@hack.frob.com>
85186         [BZ #13153]
85187         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
85188         2011-07-19 change.
85190         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
85191         garbage value in a __mach_port_mod_refs call in the cases of the
85192         task-self and thread-self ports.
85194 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85196         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
85198 2011-09-08  Andreas Schwab  <schwab@redhat.com>
85200         * elf/dl-load.c (lose): Check for non-null L.
85202 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
85204         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
85206         * elf/dl-libc.c (dlerror_run): Pass back error code from
85207         dl_catch_error.
85209         [BZ #13123]
85210         * elf/dl-load.c (lose): Free l_origin if it is valid.
85212         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
85213         names.
85214         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
85215         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
85216         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85217         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
85218         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
85219         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
85221 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85223         * sysdeps/powerpc/fpu/e_hypot.c: New file.
85224         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
85225         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
85226         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
85227         * sysdeps/powerpc/fpu/k_cosf.c: New file.
85228         * sysdeps/powerpc/fpu/k_sinf.c: New file.
85229         * sysdeps/powerpc/fpu/s_cosf.c: New file.
85230         * sysdeps/powerpc/fpu/s_sinf.c: New file.
85231         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
85232         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
85234 2011-08-15  Alan Modra  <amodra@gmail.com>
85236         [BZ #13092]
85237         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
85238         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
85239         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
85240         ppc_mcount to static-only-routines.
85241         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
85242         __mcount_internal.
85243         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
85244         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
85246 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
85248         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
85249         for finite and infinity parameters.
85251 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
85253         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
85254         and add nop instructions for throughput optimization.
85255         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85257 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
85259         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
85260         aligned copy for power7 with vector-scalar instructions.
85261         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
85263 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
85265         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
85266         AVX check.
85268 2011-09-07  Andreas Schwab  <schwab@redhat.com>
85270         [BZ #13144]
85271         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
85272         last change.
85274 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
85276         * sysdeps/unix/sysv/linux/x86_64/init-first.c
85277         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
85278         syscall wrapper around clock_gettime in __vdso_clock_gettime.
85279         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
85280         clock_gettime.
85282 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
85284         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
85285         Forgot to demangle the pointer.
85287         * sysdeps/i386/sysdep.h: Define atom_text_section.
85288         * sysdeps/x86_64/sysdep.h: Likewise.
85289         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
85290         section with atom_text_section.
85291         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
85292         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
85293         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
85294         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85295         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
85297         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
85298         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
85299         already be defined.  Change to take two parameters and don't assign
85300         result to variable.  Adjust all users.
85301         Define INTERNAL_GETTIME if not already defined.
85302         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
85303         call.
85304         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
85305         HAVE_CLOCK_GETTIME_VSYSCALL.
85306         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
85308         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
85309         gettimeofday vsyscall, just use time.
85311 2011-09-06  Andreas Schwab  <schwab@redhat.com>
85313         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
85314         <errno.h>.
85316 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
85318         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
85319         syscall on x86-64.
85320         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
85321         syscall.
85322         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
85323         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
85324         syscall if possible.
85326 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85328         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
85329         e_ident.  Don't pass to find_mapsXX.
85330         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
85332 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85335         strchr-sse2-no-bsf strrchr-sse2-no-bsf
85336         * sysdeps/x86_64/multiarch/strchr.S: Update.
85337         Check bit_slow_BSF bit.
85338         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
85339         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
85340         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
85342 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85344         [BZ #13134]
85345         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
85346         before glibc 2.15.
85347         (tryshell): Define.
85348         (__spawni): Change last parameter to be flag.  Test
85349         SPAWN_XFLAGS_USE_PATH flag to use path or not.
85350         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
85351         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
85352         * posix/spawni.c: Likewise.
85353         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
85354         * posix/spawnp.c: Likewise.  Change normal version to use
85355         SPAWN_XFLAGS_USE_PATH.
85356         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
85357         SPAWN_XFLAGS_TRY_SHELL.
85359         [BZ #13150]
85360         * posix/glob.h: Remove gcc 1.x support.
85362         [BZ #13068]
85363         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
85365 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85367         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85368         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
85369         strrchr-sse2-bsf
85370         * sysdeps/i386/i686/multiarch/strchr.S: New file.
85371         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
85372         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
85373         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
85374         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
85375         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
85377 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85379         * sysdeps/x86_64/wcscmp.S: New file.
85381         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
85382         wcscmp-c wcscmp-sse2
85383         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
85384         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
85385         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
85386         * wcsmbs/wcscmp.c: Allow renaming.
85388 2011-09-05  David S. Miller  <davem@davemloft.net>
85390         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
85391         stack slot, rather than the struct return pointer slot.
85392         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
85393         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
85394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
85395         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
85397 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85399         * po/ja.po: Update from translation team.
85401         [BZ #13144]
85402         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
85403         kernel in 64-bit binaries.
85405 2011-09-01  David S. Miller  <davem@davemloft.net>
85407         * elf/elf.h (HWCAP_SPARC_*): Move to..
85408         * sysdeps/sparc/sysdep.h: this new file and add new values.
85409         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
85410         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
85411         _DL_HWCAP_COUNT to 24.
85412         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
85413         entries.
85414         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
85415         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
85416         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
85417         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
85418         instead of magic constants.
85419         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85421 2011-08-31  David S. Miller  <davem@davemloft.net>
85423         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
85424         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
85425         Reimplement to do errno handling inline.
85426         (SYSCALL_ERROR_HANDLER): New macro.
85427         (__SYSCALL_STRING): Do not do errno handling in asm.
85428         (__CLONE_SYSCALL_STRING): Delete.
85429         (__INTERNAL_SYSCALL_STRING): Delete.
85430         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
85431         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
85432         (PSEUDO): Reimplement to do errno handling inline.
85433         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
85434         (SYSCALL_ERROR_HANDLER): New macro.
85435         (__SYSCALL_STRING): Do not do errno handling in asm.
85436         (__CLONE_SYSCALL_STRING): Delete.
85437         (__INTERNAL_SYSCALL_STRING): Delete.
85438         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
85439         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
85440         i386.
85441         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
85442         (inline_syscall*): Add 'err' argument.
85443         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
85444         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
85445         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
85446         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
85448         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
85449         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
85451 2011-08-30  Andreas Schwab  <schwab@redhat.com>
85453         * elf/rtld.c (dl_main): Relocate objects in dependency order.
85455 2011-08-29  Jiri Olsa <jolsa@redhat.com>
85457         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
85458         directive.
85460 2011-08-24  David S. Miller  <davem@davemloft.net>
85462         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
85464 2011-08-24  Andreas Schwab  <schwab@redhat.com>
85466         * elf/Makefile: Add rules to build and run unload8 test.
85467         * elf/unload8.c: New file.
85468         * elf/unload8mod1.c: New file.
85469         * elf/unload8mod1x.c: New file.
85470         * elf/unload8mod2.c: New file.
85471         * elf/unload8mod3.c: New file.
85473         * elf/dl-close.c (_dl_close_worker): Reset private search list if
85474         it wasn't used.
85476 2011-08-23  David S. Miller  <davem@davemloft.net>
85478         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
85479         subtract stack bias.
85480         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
85481         %sp not %fp in calculations.
85482         (_JMPBUF_UNWINDS_ADJ): Likewise.
85484         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
85485         (aio_suspend): Call it to force an exception region around the
85486         AIO_MISC_WAIT() invocation.
85488 2011-08-23  Andreas Schwab  <schwab@redhat.com>
85490         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
85491         backslash.
85493 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
85495         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
85496         protection macro.
85497         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
85498         and <dl-machine.h>.
85499         (Elf64_FuncDesc): Remove.
85501 2011-08-22  David S. Miller  <davem@davemloft.net>
85503         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
85504         sigaltstack check, add missing cfi directives.
85505         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
85506         missing cfi directives, and sigaltstack handling.
85508 2011-08-16  Andreas Schwab  <schwab@redhat.com>
85510         [BZ #11724]
85511         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
85512         object is seen twice.
85513         * elf/dl-fini.c (_dl_sort_fini): Likewise.
85515         * elf/Makefile (distribute): Add tst-initorder2.c.
85516         (tests): Add tst-initorder2.
85517         (modules-names): Add tst-initorder2a tst-initorder2b
85518         tst-initorder2c tst-initorder2d.  Add rules to build them.
85519         ($(objpfx)tst-initorder2.out): New rule.
85520         * elf/tst-initorder2.c: New file.
85521         * elf/tst-initorder2.exp: New file.
85523 2011-08-22  Andreas Schwab  <schwab@redhat.com>
85525         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
85527         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
85528         dependencies back to end of function.
85530         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85531         $(elfobjdir)/ld.so.
85533 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
85535         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
85536         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
85537         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
85538         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
85539         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
85540         of __vdso_gettimeofday.
85541         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
85542         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
85543         attribute_hidden.
85544         (_libc_vdso_platform_setup): Remove initialization of
85545         __vdso_gettimeofday and __vdso_time.
85547 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85549         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
85550         and fgetc_unlocked.
85551         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
85552         getc_unlocked.
85554         * elf/dl-open.c (add_to_global): Report additions to the global scope
85555         for LD_DEBUG=scopes.
85556         (dl_open_worker): Also print scope of newly loaded dependencies.
85557         (_dl_show_scope): Indicate if there is no scope.
85559         [BZ #13114]
85560         * stdio-common/Makefile (tests): Add bug24.
85561         * stdio-common/bug24.c: New file.
85563 2011-08-19  Andreas Jaeger  <aj@suse.de>
85565         [BZ #13114]
85566         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
85567         non-existant file when using close-on-exec mode.
85569 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85571         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
85572         the very first instruction.
85574         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
85575         the CFI state in the end.
85576         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
85577         inclusion of dl-trampoline.h.
85578         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
85580 2011-08-19  Andreas Schwab  <schwab@redhat.com>
85582         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
85583         expectations for long double.
85585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
85586         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
85588 2011-08-14  David S. Miller  <davem@davemloft.net>
85590         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
85591         artificual limit depends upon the system page size.
85593 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85595         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
85596         * resolv/Makefile: Define CFLAGS-libresolv.
85598 2011-08-17  Andreas Schwab  <schwab@redhat.com>
85600         * nss/makedb.c (compute_tables): Make variables used in nested
85601         function static.
85603 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85605         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
85606         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
85607         if buffer was too small.
85609         * elf/pldd.c (main): Attach to all threads in the process.
85610         Rewrite /proc handling to use *at functions.
85612 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
85614         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
85615         specifies first scope to show.
85616         (dl_open_worker): Update callers.  Move printing scope of new
85617         object to before the relocation.
85618         * elf/rtld.c (dl_main): Update _dl_show_scope call.
85619         * sysdeps/generic/ldsodefs.h: Update declaration.
85621         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
85622         string for the scope number.
85624 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
85626         * nscd/servicescache.c (cache_addserv): Make sure written is always
85627         initialized.
85629 2011-08-14  Roland McGrath  <roland@hack.frob.com>
85631         * sysdeps/i386/i486/bits/atomic.h
85632         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
85633         statement expression, so as to suppress "set but not used" warning.
85634         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
85636         * string/strncat.c (STRNCAT): Use prototype definition.
85638         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
85639         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
85640         -Iprograms here.
85641         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
85642         (localedef-modules): Add localedef.
85643         (locale-modules): Add locale.
85645         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
85646         * elf/rtld.c (dl_main): Invert order of assignment in last change,
85647         to avoid a warning.
85649 2011-08-14  David S. Miller  <davem@davemloft.net>
85651         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
85652         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
85654 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
85656         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
85657         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
85658         * elf/rtld.c (dl_main): Set l_name of vDSO.
85659         Call _dl_show_scope when DL_DEBUG_SCOPES.
85660         (process_dl_debug): Recognize scopes flag and also set it for all.
85661         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
85662         Declare _dl_show_scope.
85664         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
85665         (do_dlopen): Pass caller_dlopen to dl_open.
85666         (__libc_dlopen_mode): Initialize caller_dlopen.
85668         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
85669         of libc.  Make tolower call locale-independent.  Optimize a bit by
85670         using isdigit instead of isalnum.
85671         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
85673 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
85675         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
85676         was a dependency or dynamically loaded.
85678 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
85680         * intl/l10nflist.c: Allow architecture-specific pop function.
85681         * sysdeps/x86_64/l10nflist.c: New file.
85683         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
85684         classification.
85686 2011-08-10  Andreas Schwab  <schwab@redhat.com>
85688         * include/dirent.h: Add libc_hidden_proto for scandirat and
85689         scandirat64.  Don't declare __scandirat64.
85690         * dirent/scandirat.c: Add libc_hidden_def.
85691         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
85692         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
85694 2011-08-10  David S. Miller  <davem@davemloft.net>
85696         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
85697         enum.
85698         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85699         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85700         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85702 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
85704         * Versions.def [libc]: Add GLIBC_2.15.
85705         * dirent/Makefile (routines): Add scandirat and scandirat64.
85706         * dirent/Versions [libc]: Export scandirat and scandirat64 for
85707         GLIBC_2.15.
85708         * dirent/dirent.h: Declare scandirat and scandirat64.
85709         * dirent/scandirat.c: New file.
85710         * dirent/scandirat64.c: New file.
85711         * sysdeps/wordsize-64/scandirat.c: New file.
85712         * sysdeps/wordsize-64/scandirat64.c: New file.
85713         * dirent/opendir.c: Define opendirat.
85714         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
85715         using scandirat.
85716         * dirent/scandir64.c: Adjust for scandir.c change.
85717         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
85718         __scandirat64, and __scandir_cancel_handler.
85719         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
85720         additional parameter and use openat instead of open (outside of ld.so).
85721         Add new __opendir as wrapper around __opendirat.
85722         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
85723         here without requiring old scandirat implementation.
85725 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
85727         * dirent/scandir.c (cancel_handler): Renamed to
85728         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
85729         defined.  Adjust users.
85730         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
85731         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
85733 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
85735         * string/test-string.h (IMPL): Use __STRING to expand name and then
85736         stringify it.
85738         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
85739         of cleanups.
85741 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85743         * string/Makefile: Update.
85744         (strop-tests): Append strncat.
85745         * string/test-wcscmp.c: New file.
85746         New comprehensive test for wcscmp.
85747         * string/test-strcmp.c: Update.
85748         (WIDE): New define.
85750 2011-07-22  Andreas Schwab  <schwab@redhat.com>
85752         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
85753         line.
85755 2011-07-26  Andreas Schwab  <schwab@redhat.com>
85757         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
85758         encoding to ACE if AI_IDN.
85760 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
85762         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
85763         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
85765 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85767         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
85768         Fix overflow bug in strncat.
85769         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
85771         * string/test-strncat.c: Update.
85772         Add new tests for checking overflow bugs.
85774 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85776         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85777         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
85778         * sysdeps/i386/i686/multiarch/strcat.S: New file.
85779         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
85780         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
85781         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
85782         * sysdeps/i386/i686/multiarch/strncat.S: New file.
85783         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
85784         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
85786         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
85787         (USE_AS_STRCAT): Define.
85788         Add strcat and strncat support.
85789         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85791 2011-07-25  Andreas Schwab  <schwab@redhat.com>
85793         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
85794         __n bigger than INT_MAX+1.
85795         (__strncmp_g): Likewise.
85797 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
85799         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
85800         * libio/stido.h: Likewise.
85802         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
85803         (AF_NFC): Define.
85804         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
85805         (AF_NFC): Define.
85807         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
85808         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85809         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85810         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
85811         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85813         [BZ #13021]
85814         * scripts/test-installation.pl: Don't expect libnss_test1 to be
85815         installed.
85817         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
85818         typo.
85819         (_dl_x86_64_save_sse): Likewise.
85821 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
85823         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
85824         OSXSAVE.
85825         (_dl_x86_64_save_sse): Likewise.
85827         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
85829         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
85831 2011-07-21  Andreas Schwab  <schwab@redhat.com>
85833         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
85834         change.
85835         (_dl_x86_64_save_sse): Use correct AVX check.
85837 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85839         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
85840         bug in strncpy/strncat.
85841         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
85843 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
85845         * string/tester.c (test_strcat): Add tests for different alignments
85846         of source and destination.
85847         (test_strncat): Likewise.
85849 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85851         [BZ #12852]
85852         * posix/glob.c (glob): Check passed in values before using them in
85853         expressions to avoid some overflows.
85854         (glob_in_dir): Likewise.
85856         [BZ #13007]
85857         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
85858         check for AVX enablement so that we don't crash with old kernels and
85859         new hardware.
85860         * elf/tst-audit4.c: Add same checks here.
85861         * elf/tst-audit6.c: Likewise.
85863         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
85865 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
85867         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
85869 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85871         * po/cs.po: Update from translation team.
85872         * po/bg.po: Likewise.
85874 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
85876         * misc/sys/cdefs.h: Add support for const attribute.
85877         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
85878         to gnu_dev_{major,minor,makedev} functions.
85880 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
85882         * intl/dcigettext.c (get_output_charset): Add missing bracket.
85884 2011-07-20  Andreas Schwab  <schwab@redhat.com>
85886         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
85887         strlen results.
85889 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85891         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
85892         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
85893         register in order to avoid conflicts with the soft frame pointer
85894         being held in r11 when necessary.
85895         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
85896         (INTERNAL_VSYSCALL_NCS): Likewise.
85898 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
85900         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
85901         * elf/dl-fini.c (_dl_fini): Adjust caller.
85902         * elf/dl-close.c (_dl_close_worker): Likewise.
85903         * sysdeps/generic/ldsodefs.h: Adjust declaration.
85905 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85907         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
85908         "aux_cache->nlibs < 0".
85910         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
85911         in the reload-count case.
85913 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85915         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85916         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
85917         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
85918         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
85919         * sysdeps/x86_64/multiarch/strcat.S: New file.
85920         * sysdeps/x86_64/multiarch/strncat.S: New file.
85921         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
85922         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
85923         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
85924         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
85925         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
85926         (USE_AS_STRCAT): Define.
85927         Add strcat and strncat support.
85928         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85929         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
85930         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
85931         * string/strncat.c: Update.
85932         (USE_AS_STRNCAT): Define.
85933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85934         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
85935         and i7.
85936         * sysdeps/x86_64/multiarch/init-arch.h
85937         (bit_Prefer_PMINUB_for_stringop): New.
85938         (index_Prefer_PMINUB_for_stringop): Likewise.
85939         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
85940         bit_Prefer_PMINUB_for_stringop.
85942 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85944         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
85945         buffer64.
85946         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
85947         of casting of buffer.
85948         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
85949         buffer32 and buffer64.
85950         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
85951         writes instead of casting of buffer.
85952         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
85953         buffer32.
85954         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
85955         casting of buffer.
85957 2011-07-19  Andreas Schwab  <schwab@redhat.com>
85959         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
85961 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85963         * nscd/nscd.c (termination_handler): Don't do anything for a database
85964         if it has not yet been initialized.
85966 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85968         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85970 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85972         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85974 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85976         * po/nl.po: Update from translation team.
85977         * po/sv.po: Likewise.
85979 2011-07-16  Roland McGrath  <roland@hack.frob.com>
85981         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
85982         now disallowed by GCC.
85984         * configure.in (use-default-link): Default to yes if a test -shared
85985         link meets our qualifications.
85986         * configure: Regenerated.
85988         * config.make.in (output-format): New variable.
85989         * configure.in: Check for ld --print-output-format support.
85990         * configure: Regenerated.
85991         * Makerules ($(common-objpfx)format.lds)
85992         [$(output-format) != unknown]: Just use $(output-format),
85993         instead of the linker-script munging.
85995 2011-07-14  Roland McGrath  <roland@hack.frob.com>
85997         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
85998         of $(common-objpfx)shlib.lds.
85999         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
86001         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
86002         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
86004         * configure.in (-z relro check): Adjust test code to add a large
86005         writable data section after it.
86006         * configure: Regenerated.
86008 2011-07-11  Roland McGrath  <roland@hack.frob.com>
86010         * configure.in (-z relro check): Fix test code to make the variable
86011         truly const.
86012         * configure: Regenerated.
86014 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
86016         * nscd/nscd.h (struct traced_file): Define.
86017         (struct database_dyn): Remove inotify_descr, reset_res, and filename
86018         elements.  Add traced_files.
86019         (inotify_fd): Declare.
86020         (register_traced_file): Declare.
86021         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
86022         (inotify_fd): Export.
86023         (resolv_conf_descr): Remove.
86024         (nscd_init): Move inotify descriptor creation to main.
86025         Don't register files for notification here.
86026         (register_traced_file): New function.
86027         (invalidate_cache): Don't use reset_res to determine whether to call
86028         res_init, go through the list of registered files.
86029         (main_loop_poll): The inotify descriptors are now stored in the
86030         structures for the traced files.
86031         (main_loop_epoll): Likewise.
86032         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
86033         to __nss_disable_nscd.
86034         * nscd/cache.c (prune_cache): There is no single inotify descriptor
86035         for a database anymore.  Check the records for all the registered
86036         files instead.
86037         * nss/Makefile (libnss_files-routines): Add files-init.
86038         (libnss_db-routines): Add db-init.
86039         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
86040         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
86041         * nss/nss_db/db-init.c: New file.
86042         * nss/nss_files/files-init.c: New file.
86043         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
86044         __nss_lookup_function.
86045         (__nss_lookup_function): Call nss_load_library.
86046         (nss_load_all_libraries): New function.
86047         (__nss_disable_nscd): Take parameter with callback function for files
86048         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
86049         used for the cached services.
86050         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
86051         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
86052         options for features to all the files in nscd.
86054         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
86056 2011-07-10  Roland McGrath  <roland@hack.frob.com>
86058         * csu/elf-init.c (__libc_csu_init): Comment typo.
86060 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
86062         * po/pl.po: Update from translation team.
86063         * po/ja.po: Likewise.
86064         * po/ru.po: Likewise.
86065         * po/ko.po: Likewise.
86066         * po/fr.po: Likewise.
86068 2011-07-09  Roland McGrath  <roland@hack.frob.com>
86070         * configure.in (.ctors/.dtors header and trailer check):
86071         Use an empirical test on a built program.
86072         * configure: Regenerated.
86074         * configure.in (-z relro check): Use an empirical test on a built DSO.
86075         Detect, but do not require, on ia64.
86076         * configure: Regenerated.
86078         * configure.in (READELF): Find it with AC_CHECK_TOOL.
86079         Update tests that use readelf to use $READELF instead.
86080         * configure: Regenerated.
86082 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
86084         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
86085         if the result is not used.
86087 2011-07-05  Andreas Jaeger  <aj@suse.de>
86089         [BZ#9696]
86090         * stdlib/tst-strtod.c: Add testcase.
86092 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
86094         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
86095         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
86096         The latter has a higher limit.  Take additional parameter to pass to
86097         the new function.
86098         (__pathconf): Pass file to __statfs_link_max.
86099         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
86100         __statfs_link_max.
86101         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
86102         __statfs_link_max.
86104         [BZ #12868]
86105         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
86106         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86107         Handle Lustre.
86108         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
86109         (__statfs_filesize_max): Likewise.
86110         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
86112 2011-07-05  Andreas Jaeger  <aj@suse.de>
86114         * resolv/res_comp.c (dn_skipname): Remove unused variable.
86116 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
86118         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
86119         `status' variable.
86120         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
86121         Likewise.
86123 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
86125         * Makefile (strop-tests): Add strncat.
86126         * string/test-strncat.c: New file.
86128 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
86130         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
86132 2011-06-21  Andreas Jaeger  <aj@suse.de>
86134         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
86135         Copy rule from iconvdata/Makefile.
86137 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86139         [BZ #12922]
86140         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
86141         but no long options are defined, just return 'W'.
86143 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
86145         [BZ #9696]
86146         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
86148 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86150         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
86151         netgroups to read.
86152         (innetgr): Likewise.
86154 2011-07-05  Roland McGrath  <roland@hack.frob.com>
86156         * config.make.in (install_root): Default to $(DESTDIR).
86158 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
86160         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
86162 2011-07-02  Roland McGrath  <roland@hack.frob.com>
86164         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
86166         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
86167         containing directory rather than embedding absolute directory names.
86169         * scripts/check-local-headers.sh: Rewritten using awk.
86170         Match by word, not by line.  Print error messages for matches.
86171         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
86173         * Makerules [shlib-lds-flags empty]:
86174         ($(common-objpfx)libc_pic.opts): New target.
86175         ($(common-objpfx)libc_pic.os.clean): New target.
86176         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
86178         * config.make.in (OBJCOPY): New variable.
86179         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
86180         * configure: Regenerated.
86182         * config.make.in (use-default-link): New variable.
86183         * configure.in (use_default_link): Grok --with-default-link to set it.
86184         * configure: Regenerated.
86185         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
86186         (shlib-lds, shlib-lds-flags): Define to empty.
86188         * Makerules (shlib-lds): New variable.
86189         (shlib-lds-flags): New variable.
86190         (build-shlib, build-moduile, build-module-asneeded): Use it.
86191         ($(common-objpfx)libc.so): Use $(shlib-lds).
86192         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
86193         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
86195         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
86196         DT_FLAGS/DT_FLAGS_1 with zero flags.
86198         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
86199         linker script munging.
86201 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
86203         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
86204         as 128-bit value.
86205         * crypt/sha512.c (sha512_process_block): Perform total addition using
86206         128-bit if possible.
86207         (__sha512_finish_ctx): Likewise.
86208         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
86209         as 64-bit value.
86210         * crypt/sha256.c (SWAP64): Define.
86211         (sha256_process_block): Perform total addition using 64-bit if
86212         possible.
86213         (__sha256_finish_ctx): Likewise.
86215 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
86217         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
86218         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86219         * nscd/hstcache.c (cache_addhst): Likewise.
86220         * nscd/grpcache.c (cache_addgr): Likewise.
86221         * nscd/aicache.c (addhstaiX): Likewise.
86222         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
86224 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
86226         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
86227         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86228         * nscd/hstcache.c (cache_addhst): Likewise.
86229         * nscd/grpcache.c (cache_addgr): Likewise.
86230         * nscd/aicache.c (addhstaiX): Likewise.
86232 2011-07-01  Andreas Schwab  <schwab@redhat.com>
86234         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
86235         domain only when needed.
86237 2011-06-30  Andreas Schwab  <schwab@redhat.com>
86239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
86240         is always restored.
86242 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
86244         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
86245         are re-adding the entry.
86246         * nscd/servicescache.c (cache_addserv): Likewise.
86248 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
86250         * sysdeps/generic/dl-irel.h: fix protection against multiple
86251         inclusions.
86252         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
86254 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
86256         [BZ #12935]
86257         * malloc/memusage.sh: Fix quoting in message.
86258         * debug/xtrace.sh: Likewise.
86260         * configure.in: Remove support for --experimental-malloc option, make
86261         it the default.
86262         * config.make.in: Likewise.
86263         * malloc/Makefile: Likewise.
86265 2011-06-27  Andreas Schwab  <schwab@redhat.com>
86267         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
86268         two-byte characters.
86270 2011-06-27  Roland McGrath  <roland@hack.frob.com>
86272         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
86273         AC_CACHE_CHECK invocation.
86274         * configure: Regenerated.
86276         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
86278 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
86280         [BZ #12350]
86281         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
86282         bit from old_res_options.
86284         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
86286         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
86287         value type for setfct.
86289 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
86291         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86292         __gettimeofday instead of gettimeofday.
86294 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
86296         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
86298 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
86300         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
86302         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
86303         info.
86305 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
86307         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86308         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86309         strcpy-sse2-unaligned strncpy-sse2-unaligned
86310         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
86311         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
86312         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
86313         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
86314         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
86315         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
86316         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
86317         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
86318         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
86319         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
86320         (STRCPY): Support SSE2 and SSSE3 versions.
86322 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
86324         [BZ #12874]
86325         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
86326         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
86327         kernels which artificially limit size of requests.
86329 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
86331         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86332         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86333         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
86334         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
86335         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
86336         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
86337         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
86338         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
86339         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
86340         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
86341         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
86342         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
86343         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
86344         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
86345         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
86346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86347         Enable unaligned load optimization for Intel Core i3, i5 and i7
86348         processors.
86349         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
86350         Define.
86351         (index_Fast_Unaligned_Load): Define.
86352         (HAS_FAST_UNALIGNED_LOAD): Define.
86354 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
86356         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
86358 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86360         [BZ #12907]
86361         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
86362         until it is clear that the information is realy needed.
86363         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
86365 2011-06-22  Andreas Schwab  <schwab@redhat.com>
86367         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
86369 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86371         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86372         /sys/devices/system/cpu/online if it is usable.
86374         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
86375         reading the information from the /proc filesystem to once a second.
86377 2011-06-21  Andreas Jaeger  <aj@suse.de>
86379         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
86380         NULL after inclusion of kernel headers.
86382 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
86384         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
86385         calls to internal_setent.
86387         [BZ #12885]
86388         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
86389         addresses using gethostbyname4_r ignore IPv4 addresses.
86391         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
86392         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
86394         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
86396 2011-06-20  David S. Miller  <davem@davemloft.net>
86398         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
86399         inclusions.
86400         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
86402         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
86403         (elf_irel): Use it.
86404         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
86405         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
86406         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
86407         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
86408         * sysdeps/x86_64/dl-irel.h: Likewise.
86410         * elf/dl-runtime.c: Use elf_ifunc_invoke.
86411         * elf/dl-sym.c: Likewise.
86413 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86415         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
86416         need to dereference resplen2.
86418 2011-06-14  Andreas Schwab  <schwab@redhat.com>
86420         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
86422 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86424         * Makeconfig: Define vardbdir and inst_vardbdir.
86425         * nss/Makefile: Add rules to install db-Makefile.
86427         * nss/nss_db/db-XXX.c: Cleanup.
86429         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
86430         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
86431         GLIBC_PRIVATE.
86432         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
86433         * nss/makedb.c: Implement -g option to specify that value strings
86434         are generated and should not be added to table iterated over for
86435         get*ent calls.
86436         * nss/nss_db/db-initgroups.c: New file.
86438         * nss/getent.c: Add support for initgroups lookups through getgrouplist
86439         interface.
86441         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
86442         (internal_getgrouplist): Adjust to name change.
86443         Update use_initgroups_entry if this is not the first call.
86444         * nss/databases.def: Add initgroups entry.
86446         * nss/makedb.c (compute_tables): Check result of multiple hash table
86447         sizes to minimize maximum chain length.
86449 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
86451         * Versions.def: Add entry for libnss_db.
86452         * shlib-versions: Likewise.
86453         * nss/Makefile: Add rules to build libnss_db.
86454         * nss/Versions: Add libnss_db information.  Organize libnss_files
86455         entries better.
86456         * nss/db-Makefile: Add gshadow support.  Change rules for the new
86457         makedb progra.  Some minor improvements to generate smaller files.
86458         * nss/nss_db/nss_db.h: Move NSS database header data structures to
86459         here from...
86460         * nss/makedb.c: ...here.
86461         Improve database format to be smaller and require less memory at
86462         runtime.
86463         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
86464         db anymore.
86465         * nss/nss_db/db-netgrp.c: Likewise.
86466         * nss/nss_db/db-open.c: Likewise.
86467         * nss/nss_files/flies-XXX.x: Adjust comments.
86468         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
86469         * nss/nss_files/files-grp.c: Likewise.
86470         * nss/nss_files/files-hosts.c: Likewise.
86471         * nss/nss_files/files-network.c: Likewise.
86472         * nss/nss_files/files-proto.c: Likewise.
86473         * nss/nss_files/files-pwd.c: Likewise.
86474         * nss/nss_files/files-rpc.c: Likewise.
86475         * nss/nss_files/files-service.c: Likewise.
86476         * nss/nss_files/files-sgrp.c: Likewise.
86477         * nss/nss_files/files-spwd.c: Likewise.
86478         * nss/nss_db/db-alias.c: Removed.
86479         * nss/nss_db/dummy-db.h: Removed.
86481 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
86483         * nss/makedb.c: Rewritten to not use database library.
86484         * nss/Makefile: Update to build new makedb program.
86486 2011-06-14  Andreas Jaeger  <aj@suse.de>
86488         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
86489         memset declaration.
86491 2011-06-10  Andreas Schwab  <schwab@redhat.com>
86493         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
86494         tmpbuf.
86496 2011-06-10  Roland McGrath  <roland@hack.frob.com>
86498         * Makerules (shlib.lds): Fail if the linker script comes out empty.
86499         * elf/Makefile ($(objpfx)ld.so): Likewise.
86501         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
86502         Don't list ld.so twice in dependencies.
86504         * posix/bug-regex31.c: Include <stdlib.h>.
86506         * nscd/hstcache.c (cache_addhst): Remove unused variable.
86508         * nis/nss_compat/compat-spwd.c
86509         (getspent_next_nss_netgr): Remove unused variable.
86510         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
86512         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
86513         nonmembers" output to use the right array.
86515         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
86517         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
86519         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
86520         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
86521         * catgets/gencat.c (read_input_file): Likewise.
86522         * locale/programs/locarchive.c (enlarge_archive): Likewise.
86524         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
86525         variable definition inside #if's controlling its use.
86527         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
86529         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
86531         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
86533         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
86534         unreachable code.
86536         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
86538         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
86539         * configure: Regenerated.
86541         * Makerules: Revert last change.
86542         * elf/Makefile: Likewise.
86544 2011-06-09  Roland McGrath  <roland@hack.frob.com>
86546         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
86547         * elf/Makefile ($(objpfx)librtld.os): Likewise.
86548         (reloc-link): Likewise.
86550 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
86552         * elf/Makefile: Add rules to build pldd.
86553         * elf/pldd.c: New file.
86554         * elf/pldd-xx.c: New file.
86556 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
86558         * version.h: Update for 2.15 development version.
86560 2011-06-07  David S. Miller  <davem@davemloft.net>
86562         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
86563         ifuncs.
86564         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
86565         elf_machine_lazy_rel): Likewise.
86566         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
86567         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
86568         elf_machine_lazy_rel): Likewise.
86569         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
86570         dl_hwcap via passed in argument.
86571         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
86572         Likewise.
86574 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86576         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
86578 2011-06-06  Roland McGrath  <roland@hack.frob.com>
86580         [BZ #12849]
86581         * manual/fdl-1.1.texi: New file, verbatim from:
86582         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
86583         * manual/lgpl-2.1.texi: New file, verbatim from:
86584         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
86585         * manual/Makefile (licenses): New variable, list those new file names.
86586         (texis): Use it.
86587         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
86589         * manual/fdl.texi: File removed.
86590         * manual/lesser.texi: File removed.
86591         * manual/libc.texinfo (Copying, Documentation License):
86592         Use new @include file names, put @appendix directive before @include.
86594 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
86596         [BZ #12841]
86597         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
86598         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
86599         (mq_open): Add __NTH.
86601 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
86603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86604         Assume Intel Core i3/i5/i7 processor if AVX is available.
86606 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86608         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86609         typo.
86611 2011-05-31  Andreas Schwab  <schwab@redhat.com>
86613         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
86614         memory.  Use alloca_account.  Fix memory leak when retrying.
86616 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86618         * version.h (RELEASE): Bump for 2.14 release.
86619         * include/features.h (__GLIBC_MINOR__): Bump to 14.
86621         * config.make.in (RANLIB): Remove entry.
86623 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
86625         * po/Makefile (po-sed-cmd): Add ksh to extensions.
86626         (libc.pot): Work around missing support for .ksh extension in xgettext.
86628         [BZ #12684]
86629         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
86630         if both request failed.
86631         (send_dg): In case of server errors clear resplen or *resplen2.
86633         [BZ #12454]
86634         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
86635         when there are multiple maps.
86636         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
86637         (_dl_fini): Remove test here.
86639         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
86641 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
86643         [BZ #12350]
86644         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
86645         bit from old_res_options.
86646         (gaih_inet): Likewise.
86648         [BZ #11099]
86649         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
86650         as signed.
86652         * resolv/res_init.c (res_setoptions): Make the code more compact.
86654         [BZ #11558]
86655         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
86656         set RES_USEVC.
86658         [BZ #11634]
86659         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
86661         * malloc/malloc.h: Mark malloc hook variables as deprecated.
86663         [BZ #11781]
86664         * malloc/malloc.h: Declare malloc hook variables as volatile.
86666         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
86667         in last patch.
86669         [BZ #11799]
86670         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
86671         raise in the comment.
86672         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86673         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86674         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
86676 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
86678         [BZ #12811]
86679         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
86680         grow the buffers more if it already has to be sufficient.
86681         (build_wcs_upper_buffer): Likewise.
86682         * posix/regexec.c (check_matching): Likewise.
86683         (clean_state_log_if_needed): Likewise.
86684         (extend_buffers): Don't enlarge buffers beyond size of the input
86685         buffer.
86686         Patches mostly by Emil Wojak <emil@wojak.eu>.
86687         * posix/bug-regex32.c: New file.
86688         * posix/Makefile (tests): Add bug-regex32.
86690         * locale/findlocale.c (_nl_find_locale): Return right away if
86691         _nl_explode_name failed.
86692         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
86694         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
86696         * debug/xtrace.sh: Unify messages.
86697         * malloc/memusage.sh: Likewise.
86699         [BZ #12813]
86700         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
86701         time symbol from vDSO.  Substitute with vsyscall if not available.
86702         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
86703         __vdso_time.
86705         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
86706         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
86707         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
86708         Add sendmmsg and internal_sendmmsg.
86709         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
86710         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
86711         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
86713         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
86714         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
86715         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
86717 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
86719         [BZ #12813]
86720         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
86721         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
86722         available.
86723         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
86724         __vdso_getcpu.
86726         [BZ #12814]
86727         * iconvdata/Makefile (tests): Add bug-iconv9.
86728         * iconvdata/bug-iconv9.c: New file.
86730 2011-05-27  Andreas Schwab  <schwab@redhat.com>
86732         [BZ #12814]
86733         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
86735 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
86737         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86738         (struct user_regs_struct): Change intcs field back to cs.
86740 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
86742         * po/ja.po: Update from translation team.
86744 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
86746         [BZ #12795]
86747         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
86748         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
86750 2011-05-20  Andreas Schwab  <schwab@redhat.com>
86752         * stdlib/longlong.h: Update from GCC.
86754 2011-05-23  Andreas Schwab  <schwab@redhat.com>
86756         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
86757         parameter name.
86758         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
86759         Add parameter name.
86760         (__sysconf): Pass it down.
86762 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
86764         [BZ #12671]
86765         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
86766         some situations.
86767         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
86768         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
86769         add in in __libc_use_alloca calls.  Adjust callers.
86770         (glob): Use malloc in some situations.
86772         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
86773         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
86774         pltexit.
86776 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
86778         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
86779         and CLOCK_BOOTTIME_ALARM.
86781         [BZ #12782]
86782         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
86783         is returned.
86785         * string/_strerror.c (__strerror_r): Print negative errors as signed
86786         numbers.
86788         [BZ #12777]
86789         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
86790         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
86791         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
86793         * configure.in: Fix typo in redirection and correct removal of test
86794         files in two cases.
86796         [BZ #12788]
86797         * locale/setlocale.c (new_composite_name): Fix test to check for
86798         identical name of all categories.
86800         [BZ #12792]
86801         * libio/filedoalloc.c (local_isatty): New function.
86802         (_IO_file_doallocate): Use local_isatty.
86803         * stdio-common/perror.c (perror): In case a new stream is used
86804         forward the stream error.
86805         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
86806         error flag.
86808 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
86810         [BZ #11884]
86811         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
86812         alloca.
86813         * include/alloca.h (extend_alloca_account): Define.
86815         [BZ #11857]
86816         * posix/regex.h: Fix comments with documentation of user-accessible
86817         fields after compilation and describe correct free'ing of pattern
86818         after re_compile_pattern.
86819         Patch by Reuben Thomas <rrt@sc3d.org>.
86821 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
86823         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
86824         and -mno-altivec to prevent the compiler from using Altivec and/or
86825         VSX instructions when the corresponding registers are not available.
86827 2011-05-19  Andreas Schwab  <schwab@redhat.com>
86829         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
86831 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
86833         * libio/freopen.c (freopen): Use __dup2, not dup2.
86834         * libio/freopen64.c (freopen64): Likewise.
86836 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
86838         [BZ #12775]
86839         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
86840         * math/Makefile (tests): Add test-powl.
86841         (CFLAGS-test-powl.c): Define.
86842         * math/test-powl.c: New file.
86844 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
86846         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
86848 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
86850         [BZ #11837]
86851         * iconvdata/gb18030.c: Update to GB18020-2005.
86853 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
86855         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
86856         RE_SYNTAX_POSIX_AWK): Update to match recent development.
86857         Patch by Aharon Robbins <arnold@skeeve.com>.
86859         [BZ #11892]
86860         * stdlib/putenv.c (putenv): Don't always create copy of the variable
86861         on the stack.
86863         [BZ #11895]
86864         * misc/pselect.c (__pselect): Handle timeout value errors hidden
86865         through underflows.
86867         [BZ #12766]
86868         * misc/error.c (error_at_line): Ensure file_name and old_file_name
86869         point to strings before performing equality test for error_one_per_line
86870         mode.
86872         [BZ #11697]
86873         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
86875         [BZ #11820]
86876         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86877         (struct user_fpregs_struct): Avoid __uint*_t types.
86879         [BZ #6420]
86880         * malloc/mtrace.c (tr_where): Add additional parameter to point to
86881         symbol info.  Use it instead of calling _dl_addr locally.
86882         (lock_and_info): New function.
86883         (tr_freehook): Call lock_and_info and pass symbol info as additional
86884         parameter to tr_where.
86885         (tr_mallochook): Likewise.
86886         (tr_reallochook): Likewise.
86887         (tr_memalignhook): Likewise.
86889         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
86890         used and couldn't be at all thread-safe.
86892 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
86894         * libio/freopen.c (freopen): Don't close old file descriptor
86895         before the new one is opened.  Instead dup the new file descriptor
86896         to the old one after the new stream is created.
86897         * libio/freopen64.c (freopen64): Likewise.
86898         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
86899         * libio/fileops.c (_IO_new_file_close_it): Handle new
86900         _IO_FLAGS2_NOCLOSE flag.
86901         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
86902         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
86903         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
86904         _IO_FLAGS2_NOCLOSE flag.
86905         * include/unistd.h: Add hidden_proto for dup3.
86906         Define __have_dup3.
86907         * io/dup3.c: Define hidden symbol.
86908         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
86910         [BZ #7101]
86911         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
86912         when an incomplete long option is used.
86913         * posix/tst-getopt_long1.c: New file.
86914         * posix/Makefile (tests): Add tst-getopt_long1.
86916         [BZ #10138]
86917         * scripts/config.guess: Update from autoconf-2.68.
86918         * scripts/config.sub: Likewise.
86920         [BZ #10157]
86921         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
86922         tests into ...
86923         (has_cpuclock): ...this.  New function.
86924         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
86925         macro here based on has_cpuclock code.
86927         [BZ #10149]
86928         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86929         First byte (not low byte) is now always NUL.
86930         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
86932         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86933         Use non-cancelable interfaces.
86935         [BZ #9809]
86936         * locale/iso-639.def: Add entry for Sorani.
86938         [BZ #11901]
86939         * include/stdlib.h: Move include protection to the right place.
86940         Define abort_msg_s.  Declare __abort_msg with it.
86941         * stdlib/abort.c (__abort_msg): Adjust type.
86942         * assert/assert.c (__assert_fail_base): New function.  Majority
86943         of code from __assert_fail.  Allocate memory for __abort_msg with
86944         mmap.
86945         (__assert_fail): Now call __assert_fail_base.
86946         * assert/assert-perr.c: Remove bulk of implementation.  Use
86947         __assert_fail_base.
86948         * include/assert.hL Declare __assert_fail_base.
86949         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
86950         mmap.
86951         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
86953 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
86955         [BZ #11952]
86956         [BZ #12453]
86957         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
86958         until all modules are registered in the DTV.
86959         * elf/Makefile: Add rules to build and run tst-tls19.
86960         * elf/tst-tls19.c: New file.
86961         * elf/tst-tls19mod1.c: New file.
86962         * elf/tst-tls19mod2.c: New file.
86963         * elf/tst-tls19mod3.c: New file.
86964         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
86966         [BZ #12083]
86967         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
86968         correctly.
86970         [BZ #12601]
86971         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
86972         two-byte sequence errors.
86973         * iconvdata/Makefile (tests): Add bug-iconv8.
86974         * iconvdata/bug-iconv8.c: New file.
86976         [BZ #12626]
86977         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
86978         buf2 definition.
86980         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
86982         [BZ #12432]
86983         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
86984         (dummy_getcfa): New function.
86985         (init): Get _Unwind_GetCFA address, use dummy if not found.
86986         (backtrace_helper): In recursion check, also check whether CFA changes.
86987         (__backtrace): Completely initialize arg.
86989         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
86990         storing incomplete byte sequence in state object.  Avoid testing for
86991         guaranteed too small input if we know there is enough data available.
86993 2011-05-11  Andreas Schwab  <schwab@redhat.com>
86995         * Makeconfig (+link-pie): Indent.
86996         * Rules (binaries-pie): Define if $(have-fpie) and
86997         $(build-shared).
86998         (binaries-shared): Also filter out $(binaries-pie).
86999         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
87000         * nscd/Makefile (others-pie): Add nscd.
87001         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
87002         ($(objpfx)nscd): Remove command override.
87003         * login/Makefile (others-pie): Add pt_chown.
87004         ($(objpfx)pt_chown): Remove command override.
87005         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
87006         remove command overrides.
87008 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
87010         * libio/tst_putwc.c: Fix error messages.
87012         [BZ #12724]
87013         * libio/fileops.c (_IO_new_file_close_it): Always flush when
87014         currently writing and seek to current position when not.
87015         * libio/Makefile (tests): Add bug-fclose1.
87016         * libio/bug-fclose1.c: New file.
87018 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
87020         [BZ #12511]
87021         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
87022         don't set DF_1_NODELETE here.
87023         (do_lookup_x): When entering new entry test for copy relocation
87024         and if necessary set DF_1_NODELETE flag.
87025         * elf/tst-unique4.cc: New file.
87026         * elf/tst-unique4.h: New file.
87027         * elf/tst-unique4lib.cc: New file.
87028         * elf/Makefile: Add rules to build and run tst-unique4.
87029         Patch by Piotr Bury <pbury@goahead.com>.
87031 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
87033         [BZ #12052]
87034         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
87036         [BZ #12625]
87037         * misc/mntent_r.c (addmntent): Flush the stream after the output
87039         [BZ #12393]
87040         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
87041         (is_trusted_path_normalize): Skip initial colon.  Append slash
87042         to empty buffer.  Duplicate is_trusted_path code but allow
87043         constructed patch to be prefix.
87044         (is_dst): Allow $ORIGIN followed by /.
87045         (_dl_dst_substitute): Correct clearing of check_for_trusted.
87046         Correct testing of result of is_trusted_path_normalize
87047         (decompose_rpath): Fix warning.
87049 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
87051         [BZ #11257]
87052         * grp/initgroups.c (internal_getgrouplist): When we found the service
87053         list through the initgroups entry in nsswitch.conf do not always
87054         continue on a successful lookup.  Don't always use the
87055         __nss_group_database value if it is set.
87056         * nss/nsswitch.conf (initgroups): Change action for successful db
87057         lookup to continue for compatibility.
87059 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
87061         [BZ #11532]
87062         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
87063         and CP774 modules.
87064         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
87065         and CP774 modules.
87066         * iconvdata/tst-tables.sh: Likewise.
87067         * iconvdata/cp770.c: New file.
87068         * iconvdata/cp771.c: New file.
87069         * iconvdata/cp772.c: New file.
87070         * iconvdata/cp773.c: New file.
87071         * iconvdata/cp774.c: New file.
87072         * iconvdata/testdata/CP770: New file.
87073         * iconvdata/testdata/CP770..UTF8: New file.
87074         * iconvdata/testdata/CP771: New file.
87075         * iconvdata/testdata/CP771..UTF8: New file.
87076         * iconvdata/testdata/CP772: New file.
87077         * iconvdata/testdata/CP772..UTF8: New file.
87078         * iconvdata/testdata/CP773: New file.
87079         * iconvdata/testdata/CP773..UTF8: New file.
87080         * iconvdata/testdata/CP774: New file.
87081         * iconvdata/testdata/CP774..UTF8: New file.
87083         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
87084         END CHARMAP line.
87085         * iconvdata/gen-8bit-gap.sh: Likewise.
87086         * iconvdata/gen-8bit.sh: Likewise.
87088         * locale/iso-639.def: Add ary entry.
87090         [BZ #11258]
87091         * locale/C-translit.h.in: Add U20A1 transliteration.
87093         [BZ #12178]
87094         * locale/iso-639.def: Add wae entry.
87095         Patch by Kevin Bortis <bortis@translate-wae.ch>.
87097         [BZ #12545]
87098         * locale/programs/localedef.c (construct_output_path): Use ssize_t
87099         for n.
87101         [BZ #12711]
87102         * locale/C-translit.h.in: Add entry for U20B9.
87103         Patch by pravin.d.s@gmail.com.
87105 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
87107         [BZ #12713]
87108         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
87109         ENAMETOOLONG use generic getcwd.
87110         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
87111         in rtld.  Use *stat64.
87112         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
87113         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
87114         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
87115         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
87116         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
87117         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
87118         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
87119         __fstatat64 macros.
87120         * include/dirent.h: Add libc_hidden_proto for rewinddir.
87121         * dirent/rewinddir.c: Add libc_hidden_def.
87122         * sysdeps/mach/hurd/rewinddir.c: Likewise.
87123         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
87125         * include/dirent.h (__alloc_dir): Add flags parameter.
87126         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
87127         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
87128         __alloc_dir.
87129         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
87130         from fdopendir if O_CLOEXEC is already set.
87132 2011-03-15  Alan Modra  <amodra@gmail.com>
87134         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
87135         l_tls_firstbyte_offset non-zero.  Save padding offset in
87136         l_tls_firstbyte_offset for later use.
87137         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
87138         freeing static tls block.
87140 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
87142         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
87143         where #ifdef was intended.  The intent is to prevent ARG_MAX from
87144         being defined by the kernel headers.
87146 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
87148         [BZ #12734]
87149         * resolv/resolv.h: Define RES_NOTLDQUERY.
87150         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
87151         no-tld-query and set RES_NOTLDQUERY.
87152         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
87153         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
87154         modern BIND to search name as TLD unless forbidden.
87156 2011-05-07  Petr Baudis  <pasky@suse.cz>
87157             Ulrich Drepper  <drepper@gmail.com>
87159         [BZ #12393]
87160         * elf/dl-load.c (fillin_rpath): Move trusted path check...
87161         (is_trusted_path): ...to here.
87162         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
87163         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
87164         using is_trusted_path_normalize() in setuid scripts.
87166 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
87168         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
87169         __BEGIN/__END_DECLS.
87171 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
87173         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
87174         NSS_STATUS_NOTFOUND if no record was found.
87176 2011-05-05  Andreas Schwab  <schwab@redhat.com>
87178         * sunrpc/Makefile (headers): Add rpc/netdb.h.
87179         (headers-not-in-tirpc): Remove rpc/netdb.h
87180         * resolv/netdb.h: Revert last change.
87182 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87184         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
87185         circular dependency between libgcc.a and libc.a.
87187 2011-05-05  Andreas Schwab  <schwab@redhat.com>
87189         * resolv/netdb.h: Don't include <rpc/netdb.h>.
87190         * nis/Makefile: Don't install rpcsvc/*.
87191         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
87192         instead of <rpc/types.h>.
87193         (MAXHOSTNAMELEN): Define.
87195 2011-05-03  Andreas Schwab  <schwab@redhat.com>
87197         * elf/ldconfig.c (add_dir): Don't crash on empty path.
87199 2011-04-28  Maciej Babinski  <mbabinski@google.com>
87201         [BZ #12714]
87202         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
87203         gethostbyname4_r when IPv6 results are possible.
87205 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
87207         [BZ #12723]
87208         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
87209         _PC_PIPE_BUF handling.
87211 2011-04-30  Bruno Haible  <bruno@clisp.org>
87213         [BZ #12717]
87214         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
87215         * resolv/netdb.h (getnameinfo): Change type of flags parameter
87216         to 'int'.
87217         * inet/getnameinfo.c (getnameinfo): Likewise.
87219 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
87221         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
87222         to groups setting in database lookup.
87223         * nss/nsswitch.conf: Add initgroups entry.
87225 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
87227         [BZ #12685]
87228         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
87229         mode string.
87230         Patch by Eric Blake <eblake@redhat.com>.
87232 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
87234         * sunrpc/Makefile (need-export-routines): Add svc_run.
87235         (routines): Remove svc_run.
87236         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
87237         * sunrpc/clnt_perr.c (clnt_perrno): Export.
87238         * sunrpc/svc_run.c (svc_run): Likewise.
87239         * sunrpc/svc_udp.c (svcudp_create): Likewise.
87241 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
87243         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
87244         problem in reallocation in last patch.
87246 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
87248         * sunrpc/Makefile: Move inclusion of Rules.
87250 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
87252         * nss/nss_files/files-initgroups.c: New file.
87253         * nss/Makefile (libnss_files-routines): Add files-initgroups.
87254         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
87255         _nss_files_initgroups_dyn.
87257 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
87259         * elf/elf.h (R_ARM_IRELATIVE): Define.
87261 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
87263         * po/ru.po: Update from translation team.
87265 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
87267         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
87268         dependencies.
87270 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
87272         [BZ #12653]
87273         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
87274         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
87275         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
87276         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
87277         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
87279 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
87281         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
87282         differing bytes.
87283         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
87284         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
87285         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
87287 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
87289         [BZ #12420]
87290         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
87291         storing it.
87292         * stdlib/bug-getcontext.c: New file.
87293         * stdlib/Makefile: Add rules to build and run bug-getcontext.
87295 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87297         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
87298         instructions into .machine "z9-109".
87299         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
87300         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
87302 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87304         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
87305         between environment variables and auxiliary vector.
87307 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
87309         * Makefile: Add rules to build linkobj/libc.so.
87310         * include/libc-symbols.h: Define libc_hidden_nolink.
87311         * include/rpc/auth.h: Mark functions which are to be hidden.
87312         * include/rpc/auth_des.h: Likewise.
87313         * include/rpc/auth_unix.h: Likewise.
87314         * include/rpc/clnt.h: Likewise.
87315         * include/rpc/des_crypt.h: Likewise.
87316         * include/rpc/key_prot.h: Likewise.
87317         * include/rpc/pmap_clnt.h: Likewise.
87318         * include/rpc/pmap_prot.h: Likewise.
87319         * include/rpc/pmap_rmt.h: Likewise.
87320         * include/rpc/rpc_msg.h: Likewise.
87321         * include/rpc/svc.h: Likewise.
87322         * include/rpc/svc_auth.h: Likewise.
87323         * include/rpc/xdr.h: Likewise.
87324         * nis/Makefile: Link all DSOs against linkobj/libc.so.
87325         * nss/Makefile: Likewise.
87326         * sunrpc/Makefile: Don't install headers.  Build library with normal
87327         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
87328         * sunrpc/auth_des.c: Hide exported symbols by default, export some
87329         for the compat linking library.  Remove use of INTDEF/INTUSE.
87330         * sunrpc/auth_none.c: Likewise.
87331         * sunrpc/auth_unix.c: Likewise.
87332         * sunrpc/authdes_prot.c: Likewise.
87333         * sunrpc/authuxprot.c: Likewise.
87334         * sunrpc/clnt_gen.c: Likewise.
87335         * sunrpc/clnt_perr.c: Likewise.
87336         * sunrpc/clnt_raw.c: Likewise.
87337         * sunrpc/clnt_simp.c: Likewise.
87338         * sunrpc/clnt_tcp.c: Likewise.
87339         * sunrpc/clnt_udp.c: Likewise.
87340         * sunrpc/clnt_unix.c: Likewise.
87341         * sunrpc/des_crypt.c: Likewise.
87342         * sunrpc/des_soft.c: Likewise.
87343         * sunrpc/get_myaddr.c: Likewise.
87344         * sunrpc/key_call.c: Likewise.
87345         * sunrpc/key_prot.c: Likewise.
87346         * sunrpc/netname.c: Likewise.
87347         * sunrpc/pm_getmaps.c: Likewise.
87348         * sunrpc/pm_getport.c: Likewise.
87349         * sunrpc/pmap_clnt.c: Likewise.
87350         * sunrpc/pmap_prot.c: Likewise.
87351         * sunrpc/pmap_prot2.c: Likewise.
87352         * sunrpc/pmap_rmt.c: Likewise.
87353         * sunrpc/publickey.c: Likewise.
87354         * sunrpc/rpc_cmsg.c: Likewise.
87355         * sunrpc/rpc_common.c: Likewise.
87356         * sunrpc/rpc_dtable.c: Likewise.
87357         * sunrpc/rpc_prot.c: Likewise.
87358         * sunrpc/rpc_thread.c: Likewise.
87359         * sunrpc/rtime.c: Likewise.
87360         * sunrpc/svc.c: Likewise.
87361         * sunrpc/svc_auth.c: Likewise.
87362         * sunrpc/svc_authux.c: Likewise.
87363         * sunrpc/svc_raw.c: Likewise.
87364         * sunrpc/svc_run.c: Likewise.
87365         * sunrpc/svc_simple.c: Likewise.
87366         * sunrpc/svc_tcp.c: Likewise.
87367         * sunrpc/svc_udp.c: Likewise.
87368         * sunrpc/svc_unix.c: Likewise.
87369         * sunrpc/svcauth_des.c: Likewise.
87370         * sunrpc/xcrypt.c: Likewise.
87371         * sunrpc/xdr.c: Likewise.
87372         * sunrpc/xdr_array.c: Likewise.
87373         * sunrpc/xdr_float.c: Likewise.
87374         * sunrpc/xdr_intXX_t.c: Likewise.
87375         * sunrpc/xdr_mem.c: Likewise.
87376         * sunrpc/xdr_rec.c: Likewise.
87377         * sunrpc/xdr_ref.c: Likewise.
87378         * sunrpc/xdr_sizeof.c: Likewise.
87379         * sunrpc/xdr_stdio.c: Likewise.
87381 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
87383         [BZ #12650]
87384         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
87385         * sysdeps/ia64/dl-tls.h: Likewise.
87386         * sysdeps/powerpc/dl-tls.h: Likewise.
87387         * sysdeps/s390/dl-tls.h: Likewise.
87388         * sysdeps/sh/dl-tls.h: Likewise.
87389         * sysdeps/sparc/dl-tls.h: Likewise.
87390         * sysdeps/x86_64/dl-tls.h: Likewise.
87391         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
87393 2011-03-14  Andreas Schwab  <schwab@redhat.com>
87395         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
87396         rpath element also skip the following colon.
87397         (expand_dynamic_string_token): Add is_path parameter and pass
87398         down to DL_DST_REQUIRED and _dl_dst_substitute.
87399         (decompose_rpath): Call expand_dynamic_string_token with
87400         non-zero is_path.  Ignore empty rpaths.
87401         (_dl_map_object_from_fd): Call expand_dynamic_string_token
87402         with zero is_path.
87404 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
87406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
87407         Make cancelable.
87409 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
87411         [BZ #12655]
87412         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
87413         Patch by Filipe David Manana <fdmanana@apache.org>.
87415 2011-04-07  Andreas Schwab  <schwab@redhat.com>
87417         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
87418         Maintain aligned stack.
87419         (CHECK_RSP): Remove unused macro.
87421 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
87423         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
87424         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
87426 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
87428         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
87430         * include/features.h: Mention __USE_XOPEN2K8 in comment.
87432 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
87434         [BZ #12518]
87435         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
87436         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
87437         * sysdeps/x86_64/memmove.c: New file.
87438         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
87439         (memcpy): Renamed to ...
87440         (__new_memcpy): This.
87441         (memcpy): Provide GLIBC_2_14 memcpy.
87442         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
87443         (memcpy): Provide GLIBC_2_2_5 memcpy.
87445 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87447         [BZ #12631]
87448         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
87450 2011-03-30  Andreas Schwab  <schwab@redhat.com>
87452         * misc/syncfs.c: New file.
87453         * misc/Makefile (routines): Add syncfs.
87454         * posix/unistd.h: Declare syncfs.
87455         * sysdeps/unix/syscalls.list: Add syncfs.
87457 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87459         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
87460         open_by_handle_at.
87461         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87462         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87463         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87464         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87465         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87466         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
87467         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87469 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87471         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
87472         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87473         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
87474         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87475         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87476         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87477         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87479         * io/Makefile: Compile fallocate.c, fallocate64.c, and
87480         sync_file_range.c with -fexceptions.
87481         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
87482         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
87483         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
87484         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
87485         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
87486         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
87487         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
87488         sync_file_range as cancellation point
87489         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
87490         now a wrapper around __call_sync_file_range with cancellation handling.
87491         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
87492         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
87493         function name to __call_sync_file_range.
87494         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
87495         Add call_sync_file_range.
87497 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87499         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87500         bits/timex.h.
87502 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87504         * iconv/iconv.h: Fix typo in comment.
87505         * io/fcntl.h: Likewise.
87506         * libio/stdio.h: Likewise.
87507         * posix/spawn.h: Likewise.
87508         * posix/unistd.h: Likewise.
87509         * stdlib/stdlib.h: Likewise.
87510         * time/time.h: Likewise.
87511         * wcsmbs/wchar.h: Likewise.
87513         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
87514         open_by_handle): Add.
87515         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
87516         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
87517         Augment a few comments.
87518         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87519         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87520         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87521         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87522         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87523         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
87524         open_by_handle.
87526         * io/fcntl.h (AT_EMPTY_PATH): Define.
87528 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
87530         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
87531         * sysdeps/unix/sysv/linux/bits/time.h: New file.
87532         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
87533         to...
87534         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
87535         * Versions.def: Add GLIBC_2.14.
87536         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
87537         Export.
87539 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
87541         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
87542         round counter.
87543         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87545 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
87547         [BZ #12597]
87548         * string/test-strncmp.c (do_page_test): New function.
87549         (check2): Likewise.
87550         (test_main): Call check2.
87551         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
87553 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
87555         [BZ #12587]
87556         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
87557         Handle cache information in CPU leaf 4.
87558         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87560 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
87562         [BZ #12583]
87563         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
87564         character representation.
87565         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
87567 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
87569         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
87570         END(__isnan) to END(__isnanf) to match function entry point/label
87571         EALIGN(__isnanf,...).
87573 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
87575         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
87577 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
87579         [BZ #12510]
87580         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
87581         copy from the symbol referenced in the relocation to initialize the
87582         used variable.
87583         Patch by Piotr Bury <pbury@goahead.com>.
87584         * elf/Makefile: Add rules to build and tst-unique3.
87585         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
87586         * elf/tst-unique3.cc: New file.
87587         * elf/tst-unique3.h: New file.
87588         * elf/tst-unique3lib.cc: New file.
87589         * elf/tst-unique3lib2.cc: New file.
87591         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
87593 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
87595         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
87596         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
87597         to _start.
87599 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
87601         * elf/dl-load.c (_dl_map_object): If we are looking for the first
87602         to-be-loaded object along a path to loader is ld.so.
87604 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87605             Ulrich Drepper  <drepper@gmail.com>
87607         * sysdeps/x86_64/memset.S: After aligning destination, code
87608         branches to different locations depending on the value of
87609         misalignment, when multiarch is enabled. Fix this.
87611 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87613         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
87614         Set _x86_64_preferred_memory_instruction for AMD processsors.
87615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87616         Set bit_Prefer_SSE_for_memop for AMD processors.
87618 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
87620         * libio/fmemopen.c (fmemopen): Optimize a bit.
87622 2011-03-03  Andreas Schwab  <schwab@redhat.com>
87624         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
87626 2011-03-03  Roland McGrath  <roland@redhat.com>
87628         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
87630 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
87632         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
87633         __bzero_ultra1 instead of __memset_ultra1.
87635 2011-02-23  Andreas Schwab  <schwab@redhat.com>
87636             Ulrich Drepper  <drepper@gmail.com>
87638         [BZ #12509]
87639         * include/link.h (struct link_map): Add l_orig_initfini.
87640         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
87641         returning unsuccessfully.
87642         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
87643         close of a file loaded at startup, restore the original l_initfini
87644         list.
87645         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
87646         list, store the pointer.
87647         * elf/Makefile ($(objpfx)noload-mem): New rule.
87648         (noload-ENV): Define.
87649         (tests): Add $(objpfx)noload-mem.
87650         * elf/noload.c: Include <memcheck.h>.
87651         (main): Call mtrace.  Close all opened handles.
87653 2011-02-17  Andreas Schwab  <schwab@redhat.com>
87655         [BZ #12454]
87656         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
87657         dependencies are missing.
87659 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87661         Fix __if_freereq crash: Unlike the generic version which uses free,
87662         Hurd needs munmap.
87663         * sysdeps/mach/hurd/ifreq.h: New file.
87665 2011-01-27  Petr Baudis  <pasky@suse.cz>
87666             Ulrich Drepper  <drepper@gmail.com>
87668         [BZ 12445]#
87669         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
87670         to extend_alloca().
87671         * stdio-common/bug23.c: New file.
87672         * stdio-common/Makefile (tests): Add bug23.
87674 2010-09-28  Andreas Schwab  <schwab@redhat.com>
87675             Ulrich Drepper  <drepper@gmail.com>
87677         [BZ #12489]
87678         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
87679         before performing relro protection.  At old place add assertion
87680         to make sure nothing changed.
87682 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
87683             Glauber de Oliveira Costa  <glommer@gmail.com>
87685         * elf/elf.h: Add new ARM TLS relocs.
87687 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
87689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
87690         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
87691         cast from r3.
87692         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
87693         'tests' variable.
87694         * sysdeps/wordsize-64/tst-writev.c: New file.
87696 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
87698         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
87699         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
87700         insns in _dl_start to prevent a TOC reference before relocs are
87701         resolved.
87703 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
87705         [BZ #12469]
87706         * Makeconfig: Remove RANLIB definition.
87707         * Makerules: Don't use RANLIB.
87708         * aclocal.m4: Remove ranlib test.
87709         * configure.in: No need to check for ranlib.
87710         * elf/rtld-Rules: Don't use RANLIB.
87712 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87714         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
87715         protection macro.
87716         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
87717         inclusion protection macro.
87719         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
87720         SIGRTMIN and SIGRTMAX and print information in that case only when
87721         SIGRTMIN is defined.
87723 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
87725         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
87726         arginfo fn returning -1.
87728         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
87729         and thousands string is zero terminated.
87731 2011-02-03  Andreas Schwab  <schwab@redhat.com>
87733         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
87734         sysdeps/unix/sysv/linux/bits/socket.h.
87736 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87738         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
87739         (__CPU_COUNT): Remove old macros.
87740         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
87741         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
87742         (__CPU_ALLOC, __CPU_FREE): Add macros.
87743         (__sched_cpualloc, __sched_cpufree): Add declarations.
87745 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
87747         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
87748         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
87749         * nscd/aicache.c (addhstaiX): Return timeout of added value.
87750         (readdhstai): Return value of addhstaiX call.
87751         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
87752         (addgrbyX): Return value returned by cache_addgr.
87753         (readdgrbyname): Return value returned by addgrbyX.
87754         (readdgrbygid): Likewise.
87755         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
87756         (addpwbyX): Return value returned by cache_addpw.
87757         (readdpwbyname): Return value returned by addhstbyX.
87758         (readdpwbyuid): Likewise.
87759         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
87760         (addservbyX): Return value returned by cache_addserv.
87761         (readdservbyname): Return value returned by addservbyX:
87762         (readdservbyport): Likewise.
87763         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
87764         (addhstbyX): Return value returned by cache_addhst.
87765         (readdhstbyname): Return value returned by addhstbyX.
87766         (readdhstbyaddr): Likewise.
87767         (readdhstbynamev6): Likewise.
87768         (readdhstbyaddrv6): Likewise.
87769         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
87770         (readdinitgroups): Return value returned by addinitgroupsX.
87771         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
87772         (prune_cache): Keep track of timeout value of re-added entries.
87773         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
87774         * nscd/nscd.h: Adjust prototypes of readd* functions.
87776 2011-02-04  Roland McGrath  <roland@redhat.com>
87778         * nis/nis_server.c (nis_servstate): Use the right name for 0.
87779         (nis_stats): Likewise.
87780         * nis/nis_modify.c (nis_modify): Likewise.
87781         * nis/nis_remove.c (nis_remove): Likewise.
87782         * nis/nis_add.c (nis_add): Likewise.
87784         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
87786         * posix/fnmatch_loop.c: Add some consts.
87788         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
87790 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
87792         [BZ #12460]
87793         * config.make.in (config-cflags-novzeroupper): Define.
87794         * configure.in: Substitute libc_cv_cc_novzeroupper.
87795         * elf/Makefile (AVX-CFLAGS): Define.
87796         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
87797         (CFLAGS-tst-auditmod4a.c): Likewise.
87798         (CFLAGS-tst-auditmod4b.c): Likewise.
87799         (CFLAGS-tst-auditmod6b.c): Likewise.
87800         (CFLAGS-tst-auditmod6c.c): Likewise.
87801         (CFLAGS-tst-auditmod7b.c): Likewise.
87802         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
87804 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
87806         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
87807         function to the callback.
87808         Patch partly by Jiri Olsa <jolsa@redhat.com>.
87810 2011-02-02  Andreas Schwab  <schwab@redhat.com>
87812         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
87813         of errno.
87815 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
87817         [BZ #11724]
87818         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
87819         of constructors.
87820         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
87821         of destructors.
87822         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
87824         [BZ #11724]
87825         * elf/Makefile: Add rules to build and run new test.
87826         * elf/tst-initorder.c: New file.
87827         * elf/tst-initorder.exp: New file.
87828         * elf/tst-initordera1.c: New file.
87829         * elf/tst-initordera2.c: New file.
87830         * elf/tst-initordera3.c: New file.
87831         * elf/tst-initordera4.c: New file.
87832         * elf/tst-initorderb1.c: New file.
87833         * elf/tst-initorderb2.c: New file.
87834         * elf/tst-order-a1.c: New file.
87835         * elf/tst-order-a2.c: New file.
87836         * elf/tst-order-a3.c: New file.
87837         * elf/tst-order-a4.c: New file.
87838         * elf/tst-order-b1.c: New file.
87839         * elf/tst-order-b2.c: New file.
87840         * elf/tst-order-main.c: New file.
87841         New test case by George Gensure <werkt0@gmail.com>.
87843 2010-10-01  Andreas Schwab  <schwab@redhat.com>
87845         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87846         decoding ACE if AI_CANONIDN.
87848 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
87850         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
87852 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
87854         * version.h (RELEASE): Bump for 2.13 release.
87855         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
87857         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
87859         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
87860         MADV_NOHUGEPAGE.
87861         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
87862         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
87863         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
87864         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
87865         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
87866         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87868         * posix/getconf.c: Update copyright year.
87869         * catgets/gencat.c: Likewise.
87870         * csu/version.c: Likewise.
87871         * debug/catchsegv.sh: Likewise.
87872         * debug/xtrace.sh: Likewise.
87873         * elf/ldconfig.c: Likewise.
87874         * elf/ldd.bash.in: Likewise.
87875         * elf/sprof.c (print_version): Likewise.
87876         * iconv/iconv_prog.c: Likewise.
87877         * iconv/iconvconfig.c: Likewise.
87878         * locale/programs/locale.c: Likewise.
87879         * locale/programs/localedef.c: Likewise.
87880         * malloc/memusage.sh: Likewise.
87881         * malloc/mtrace.pl: Likewise.
87882         * nscd/nscd.c (print_version): Likewise.
87883         * nss/getent.c: Likewise.
87885         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
87886         PF_CAIF, and PF_ALG.
87887         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87889 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
87891         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
87892         (modules-names): Use them.
87893         (ifunc-test-modules, ifunc-pie-tests): Define.
87894         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
87895         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
87896         (test-extras): Likewise.
87897         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
87898         $(compile-command.c).
87899         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
87900         (all-built-dso): Define.
87901         (check-textrel.out, check-execstack.out): Depend on it.
87903         * configure.in: Don't override --enable-multi-arch.
87905 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
87907         [BZ #6812]
87908         * nscd/hstcache.c (tryagain): Define.
87909         (cache_addhst): Return tryagain not notfound for temporary errors.
87910         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
87911         failed.
87913 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
87915         [BZ #10563]
87916         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
87917         to make the syscall.
87918         * sysdeps/unix/sysv/linux/setgroups.c: New file.
87920         [BZ #12378]
87921         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
87922         and fall back to matching as normal character if the string ends before
87923         the matching ']' is found.  This is what POSIX requires.
87924         * posix/testfnm.c: Adjust test result.
87925         * posix/globtest.sh: Adjust test result.  Add new test.
87926         * posix/tst-fnmatch.input: Likewise.
87927         * posix/tst-fnmatch2.c: Add new test.
87929 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
87931         * elf/Makefile (check-execstack): Revert last change.  Depend on
87932         check-execstack.h.
87933         (check-execstack.h): New target.
87934         (generated): Add check-execstack.h.
87935         * elf/check-execstack.c: Include "check-execstack.h".
87936         (main): Revert last change.
87937         (handle_file): Return zero if GNU_STACK is absent and
87938         DEFAULT_STACK_PERMS doesn't include PF_X.
87940 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
87942         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
87943         in child fails because the descriptor is already closed.
87944         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
87945         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
87946         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
87948         [BZ #12397]
87949         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
87950         syscall.
87952         [BZ #10484]
87953         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
87954         temporary buffer used to handle multi lookups locally.
87955         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
87957 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87959         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
87960         loader is ld.so.
87962 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
87964         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
87965         alignment for SSE2.
87967 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87969         [BZ #12394]
87970         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
87971         characters.  When rounding increased number of integer digits recompute
87972         number of groups.
87973         * stdio-common/tst-grouping.c: New file.
87974         * stdio-common/Makefile: Add rules to build and run tst-grouping.
87976 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
87978         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
87979         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
87981         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
87982         void.
87983         * bits/select.h: Likewise.
87985 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
87987         * po/ja.po: Update from translation team.
87989 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
87991         [BZ #11155]
87992         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
87993         implementation just like for lxstat, fxstatat, et al.
87995 2010-12-27  Jim Meyering  <meyering@redhat.com>
87997         [BZ #12348]
87998         * posix/regexec.c (build_trtable): Return failure indication upon
87999         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
88001 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
88003         [BZ #12201]
88004         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
88005         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
88006         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
88007         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
88009         [BZ #12207]
88010         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
88012         [BZ #12204]
88013         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
88014         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
88016 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
88018         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
88019         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
88020         script has SORT_BY_INIT_PRIORITY.
88021         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
88022         NO_CTORS_DTORS_SECTIONS is defined.
88023         * elf/soinit.c: Likewise.
88024         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
88025         NO_CTORS_DTORS_SECTIONS is defined.
88026         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
88027         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
88028         * sysdeps/sh/init-first.c: Likewise.
88029         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
88031 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
88033         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
88034         always use the slow path.
88036 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
88038         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
88039         similar rule which adds the sysdep directories to the header search in
88040         order to pick up the correct platform stackinfo.h.
88041         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
88042         perform test if it is, otherwise return successfully without testing.
88043         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
88044         DEFAULT_STACK_PERMS define in stackinfo.h.
88045         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
88046         defined in stackinfo.h.
88047         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
88048         DEFAULT_STACK_PERMS defined in stackinfo.h.
88049         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
88050         * sysdeps/ia64/stackinfo.h: Likewise.
88051         * sysdeps/s390/stackinfo.h: Likewise.
88052         * sysdeps/sh/stackinfo.h: Likewise.
88053         * sysdeps/sparc/stackinfo.h: Likewise.
88054         * sysdeps/x86_64/stackinfo.h: Likewise.
88055         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
88056         PF_X for powerpc64.  Retain PF_X for powerpc32.
88058 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
88060         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
88061         accurately.
88062         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
88063         GETDENTS_64BIT_ALIGNED.
88065 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
88067         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
88069 2010-12-10  Andreas Schwab  <schwab@redhat.com>
88071         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
88072         _GNU_SOURCE.
88074         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
88075         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
88076         Remove __restrict.
88077         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
88078         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
88080 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
88082         [BZ #11655]
88083         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
88084         are initialized.
88086 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
88088         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
88090 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
88092         * po/it.po: Update from translation team.
88094 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
88096         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
88097         unused codes.
88099 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
88101         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
88103 2010-11-24  Andreas Schwab  <schwab@redhat.com>
88105         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
88106         specially.
88107         (gaih_getanswer_slice): Likewise.
88109 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
88111         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
88113 2010-05-31  Petr Baudis  <pasky@suse.cz>
88115         [BZ #11149]
88116         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
88117         silently even in the chroot mode.
88119 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
88121         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
88122         last patch a bit.  Pretty printing
88124 2010-05-31  Petr Baudis <pasky@suse.cz>
88126         [BZ #10085]
88127         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
88128         initialization of skip_initgroups_dyn.
88130 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
88132         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
88133         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88135 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
88137         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
88139 2010-11-11  Andreas Schwab  <schwab@redhat.com>
88141         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
88142         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
88143         (tst-fnmatch-ENV): Set MALLOC_TRACE.
88144         ($(objpfx)tst-fnmatch-mem): New rule.
88145         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
88146         * posix/tst-fnmatch.c (main): Call mtrace.
88148 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
88150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88151         Support Intel processor model 6 and model 0x2c.
88153 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
88155         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
88156           signed comparison.
88158 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
88160         [BZ #12205]
88161         * string/test-strncasecmp.c (check_result): New function.
88162         (do_one_test): Use it.
88163         (check1): New function.
88164         (test_main): Use it.
88165         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
88166         Support strcasecmp and strncasecmp.
88168 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
88170         [BZ #12194]
88171         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
88172         * sysdeps/x86_64/bits/byteswap.h: Likewise.
88174 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
88176         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
88177         IFUNC support.
88178         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88179         memset-x86-64.
88180         * sysdeps/x86_64/multiarch/bzero.S: New file.
88181         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
88182         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
88183         * sysdeps/x86_64/multiarch/memset.S: New file.
88184         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
88185         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88186         Set bit_Prefer_SSE_for_memop for Intel processors.
88187         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
88188         Define.
88189         (index_Prefer_SSE_for_memop): Define.
88190         (HAS_PREFER_SSE_FOR_MEMOP): Define.
88192 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
88194         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
88195         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
88197 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
88199         [BZ #12191]
88200         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
88201         (__x86_64_raw_data_cache_size_half): Likewise.
88202         (__x86_64_raw_shared_cache_size): Likewise.
88203         (__x86_64_raw_shared_cache_size_half): Likewise.
88205         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
88206         (__x86_64_raw_data_cache_size_half): Likewise.
88207         (__x86_64_raw_shared_cache_size): Likewise.
88208         (__x86_64_raw_shared_cache_size_half): Likewise.
88209         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
88210         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
88211         and __x86_64_raw_shared_cache_size_half.  Round
88212         __x86_64_data_cache_size_half, __x86_64_data_cache_size
88213         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
88214         to multiple of 256 bytes.
88216 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
88218         [BZ #12167]
88219         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
88220         of inacessible symlinks.  Verify result of symlink before returning it.
88221         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
88222         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
88224 2010-10-28  Erich Ritz  <erichritz@gmail.com>
88226         * math/math.h (isinf): Fix typo in comment.
88228 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
88230         * po/da.po: Update from translation team.
88232 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
88234         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
88235         is added to the list.
88237 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88238             Ulrich Drepper  <drepper@gmail.com>
88240         * elf/dl-object.c (_dl_new_object): Don't append the new object to
88241         the global list here.  Move code to...
88242         (_dl_add_to_namespace_list): ...here.  New function.
88243         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
88244         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
88245         * elf/dl-load.c (lose): Don't remove the element from the list.
88246         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
88247         (_dl_map_object): Likewise.
88249 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
88251         [BZ #12159]
88252         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
88253         into all bytes of SSE register.
88254         Patch by Richard Li <richardpku@gmail.com>.
88256 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
88258         [BZ #12140]
88259         * malloc/malloc.c (_int_free): Fill correct number of bytes when
88260         perturbing.
88262 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
88264         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
88265         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
88266         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
88267         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
88269         submachine.
88270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
88272 2010-10-22  Andreas Schwab  <schwab@redhat.com>
88274         * include/dlfcn.h (__RTLD_SECURE): Define.
88275         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
88276         mode & __RTLD_SECURE instead.
88277         (open_path): Rename preloaded parameter to secure.
88278         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
88279         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
88280         * elf/dl-deps.c (openaux): Likewise.
88281         * elf/rtld.c (struct map_args): Remove is_preloaded.
88282         (map_doit): Don't use it.
88283         (dl_main): Likewise.
88284         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
88285         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
88287 2010-09-09  Andreas Schwab  <schwab@redhat.com>
88289         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
88290         (sysd-rules-targets): Remove duplicates.
88291         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
88292         rtld-%.$o dependency.
88294 2010-10-18  Andreas Schwab  <schwab@redhat.com>
88296         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
88297         _dl_map_object do it.
88299 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
88301         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
88302         fast fma builtins, define the macros in the C99 standard.
88303         (FP_FAST_FMAF): Likewise.
88304         (FP_FAST_FMAL): Likewise.
88305         * sysdeps/x86_64/bits/mathdef.h: Likewise.
88307         * bits/mathdef.h: Update copyright year.
88308         * sysdeps/powerpc/bits/mathdef.h: Likewise.
88310 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
88312         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
88313         builtins, define the macros in the C99 standard.
88314         (FP_FAST_FMAF): Likewise.
88315         (FP_FAST_FMAL): Likewise.
88316         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
88317         multiply/add.
88318         (FP_FAST_FMAF): Likewise.
88320 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
88322         [BZ #3268]
88323         * math/libm-test.inc (fma_test): Some new testcases.
88324         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
88325         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
88326         y and infinite z.  Do multiplication by C already in long double.
88327         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
88328         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
88329         y and infinite z.  Do bitwise or of inexact bit into u.d.
88330         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
88331         * sysdeps/i386/fpu/s_fmaf.S: Removed.
88332         * sysdeps/i386/fpu/s_fma.S: Removed.
88333         * sysdeps/i386/fpu/s_fmal.S: Removed.
88335 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
88337         [BZ #3268]
88338         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
88339         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
88340         computation is not scheduled after fetestexcept.  Fix value
88341         of minimum denormal long double.
88343 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
88345         [BZ #3268]
88346         * math/libm-test.inc (fma_test): Add some more tests.
88347         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
88348         correctly.
88350 2010-10-15  Andreas Schwab  <schwab@redhat.com>
88352         * scripts/data/localplt-s390-linux-gnu.data: New file.
88353         * scripts/data/localplt-s390x-linux-gnu.data: New file.
88355 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
88357         [BZ #3268]
88358         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
88359         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
88360         instead of dbl-64.
88361         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
88362         inlines.
88363         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
88364         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
88365         if one of x and y is very large and the other is subnormal.
88366         * sysdeps/s390/fpu/s_fmaf.c: New file.
88367         * sysdeps/s390/fpu/s_fma.c: New file.
88368         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
88369         * sysdeps/powerpc/fpu/s_fma.S: New file.
88370         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
88371         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
88372         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
88374 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
88376         [BZ #3268]
88377         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
88378         fma tests.
88379         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
88380         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
88381         * sysdeps/i386/i686/multiarch/s_fma.c: Include
88382         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
88383         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
88384         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
88385         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
88387 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
88389         [BZ #12078]
88390         * posix/regcomp.c (parse_branch): One more memory leak plugged.
88391         * posix/bug-regex31.input: Add test case.
88393 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88395         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
88396         * posix/bug-regex31.input: New file.
88398         [BZ #12078]
88399         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
88400         (parse_sub_exp): Fix last change, use postorder.
88402         * posix/bug-regex31.c: New file.
88403         * posix/Makefile: Add rules to build and run bug-regex31.
88405         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
88407         [BZ #12078]
88408         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
88410         [BZ #12108]
88411         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
88412         to have entries in sys_siglist.
88414         [BZ #12093]
88415         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
88416         be NULL.
88418 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
88420         [BZ #3268]
88421         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
88422         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
88423         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
88424         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
88425         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88426         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
88427         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
88428         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
88429         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
88430         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
88431         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
88432         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
88433         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
88434         * math/ftestexcept.c (fetestexcept): Likewise.
88435         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
88436         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
88437         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
88438         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
88439         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
88440         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
88441         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
88443 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88445         [BZ #12107]
88446         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
88447         newline.
88449 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
88451         * string/bug-strstr1.c: New file.
88452         * string/Makefile: Add rules to build and run bug-strstr1.
88454 2010-10-05  Eric Blake  <eblake@redhat.com>
88456         [BZ #12092]
88457         * string/str-two-way.h (two_way_long_needle): Always clear memory
88458         when skipping input due to the shift table.
88460 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
88462         [BZ #12005]
88463         * malloc/mcheck.c: Handle large requests.
88465         [BZ #12077]
88466         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
88467         for strncmp and strncasecmp.
88468         * string/stratcliff.c: Add tests for strcmp and strncmp.
88469         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
88471 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
88473         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
88474         __set_fpscr.
88476 2010-09-30  Andreas Jaeger  <aj@suse.de>
88478         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
88479         (CGROUP_SUPER_MAGIC): Define.
88480         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88481         Handle btrfs and cgroup file systems.
88482         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
88483         Likewise.
88485 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
88487         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
88488         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
88490 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88492         [BZ #12067]
88493         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
88494         trying to locate the ELF header.
88496 2010-09-27  Andreas Schwab  <schwab@redhat.com>
88498         [BZ #11611]
88499         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
88500         Mask out sign-bit copies when constructing f_fsid.
88502 2010-09-24  Petr Baudis <pasky@suse.cz>
88504         * debug/stack_chk_fail_local.c: Add missing licence exception.
88505         * debug/warning-nop.c: Likewise.
88507 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
88509         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
88510         implementing getdents64 using getdents syscall, set d_type if
88511         __ASSUME_GETDENTS32_D_TYPE.
88513 2010-09-16  Andreas Schwab  <schwab@redhat.com>
88515         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
88516         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
88518 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
88520         [BZ #12037]
88521         * posix/unistd.h: Undo change of feature selection for ftruncate from
88522         2010-01-11.
88524 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
88526         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
88527         detection.
88529 2010-09-20  Andreas Schwab  <schwab@redhat.com>
88531         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
88532         fanotify_mark.
88533         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88535 2010-09-14  Andreas Schwab  <schwab@redhat.com>
88537         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
88538         variables after CHECK_SP call.
88539         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
88541 2010-09-13  Andreas Schwab  <schwab@redhat.com>
88542             Ulrich Drepper  <drepper@redhat.com>
88544         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
88545         re-relocationg ld.so.
88546         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
88547         _dl_init_paths call.
88548         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
88549         here anymore.
88551 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
88553         * resolv/res_init.c (__res_vinit): Count the default server we added.
88555 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
88556             Ulrich Drepper  <drepper@redhat.com>
88558         [BZ #11968]
88559         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88560         (____longjmp_chk): Use %ebx for saving value across system call.
88561         Add unwind info.
88563 2010-09-06  Andreas Schwab  <schwab@redhat.com>
88565         * manual/Makefile: Don't mix pattern rules with normal rules.
88567 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
88569         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
88570         operation.
88571         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
88572         * libio/iofopncook.c (_IO_cookie_init): Likewise.
88573         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
88574         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
88575         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88576         Likewise.
88578 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
88580         [BZ #11979]
88581         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
88582         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
88584 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
88586         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
88587         * sysdeps/x86_64/addmul_1.S: Likewise.
88588         * sysdeps/x86_64/lshift.S: Likewise.
88589         * sysdeps/x86_64/mul_1.S: Likewise.
88590         * sysdeps/x86_64/rshift.S: Likewise.
88591         * sysdeps/x86_64/sub_n.S: Likewise.
88592         * sysdeps/x86_64/submul_1.S: Likewise.
88594 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88596         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
88597         Define __sched_param instead of SCHED_* and sched_param when
88598         <bits/sched.h> is included with __need_schedparam defined.
88599         * bits/sched.h [__need_schedparam]
88600         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
88601         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
88602         (__defined_schedparam): Define to 1.
88603         (__sched_param): New structure, identical to sched_param.
88604         (__need_schedparam): Undefine.
88606 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
88608         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
88609         (epoll_create1): Declare.
88611         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
88613 2010-08-31  Andreas Schwab  <schwab@redhat.com>
88615         [BZ #7066]
88616         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
88617         shifting retval into place.
88619 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
88621         * nis/rpcsvc/nis.h: Update copyright notice.
88622         * nis/rpcsvc/nis.x: Likewise.
88623         * nis/rpcsvc/nis_callback.h: Likewise.
88624         * nis/rpcsvc/nis_callback.x: Likewise.
88625         * nis/rpcsvc/nis_object.x: Likewise.
88626         * nis/rpcsvc/nis_tags.h: Likewise.
88627         * nis/rpcsvc/yp.h: Likewise.
88628         * nis/rpcsvc/yp.x: Likewise.
88629         * nis/rpcsvc/ypupd.h: Likewise.
88630         * nis/yp_xdr.c: Likewise.
88631         * nis/ypupdate_xdr.c: Likewise.
88633         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
88634         mainly the body of pmap_getport.  Add parameters to specify timeouts.
88635         (pmap_getport): Use __libc_rpc_getport.
88636         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
88637         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
88638         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
88640 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
88642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
88643         fanotify_mark.
88645 2010-08-27  Roland McGrath  <roland@redhat.com>
88647         * sysdeps/i386/i686/multiarch/Makefile
88648         (CFLAGS-varshift.c): New variable.
88650 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
88652         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
88653         * sysdeps/i386/i686/multiarch/varshift.c: New file.
88655         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
88657         * sysdeps/x86_64/strlen.S: Minimal code improvement.
88659 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
88661         * sysdeps/x86_64/strlen.S: Unroll the loop.
88662         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88663         strlen-sse2 strlen-sse2-bsf.
88664         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
88665         __strlen_no_bsf if bit_Slow_BSF is set.
88666         (__strlen_sse42): Removed.
88667         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
88668         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
88670 2010-08-25  Roland McGrath  <roland@redhat.com>
88672         * sysdeps/x86_64/multiarch/varshift.S: File removed.
88673         * sysdeps/x86_64/multiarch/varshift.c: New file.
88674         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
88675         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
88676         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
88677         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
88679 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
88681         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88682         strlen-sse2 strlen-sse2-bsf.
88683         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
88684         __strlen_sse2_bsf if bit_Slow_BSF is unset.
88685         (__strlen_sse2): Removed.
88686         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
88687         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
88688         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
88689         bit_Slow_BSF for Atom.
88690         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
88691         (index_Slow_BSF): Define.
88692         (HAS_SLOW_BSF): Define.
88694 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
88696         [BZ #10851]
88697         * resolv/res_init.c (__res_vinit): When no server address at all
88698         is given default to loopback.
88700 2010-08-24  Roland McGrath  <roland@redhat.com>
88702         * configure.in: Remove config-name.h generation.
88703         * configure: Regenerated.
88704         * config-name.in: File removed.
88705         * scripts/config-uname.sh: New file.
88706         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
88707         ($(objdir)config-name.h): New target.
88709         * sunrpc/rpc_parse.h: Avoid nested comment.
88711 2010-08-24  Richard Henderson  <rth@redhat.com>
88712             Ulrich Drepper  <drepper@redhat.com>
88713             H.J. Lu  <hongjiu.lu@intel.com>
88715         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
88716         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
88717         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
88718         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
88719         _mm_alignr_epi8 with _mm_loadu_si128.
88720         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
88721         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
88722         (__m128i_shift_right): Removed.
88723         * sysdeps/i386/i686/multiarch/varshift.h: New file.
88724         * sysdeps/i386/i686/multiarch/varshift.S: New file.
88725         * sysdeps/x86_64/multiarch/varshift.h: New file.
88726         * sysdeps/x86_64/multiarch/varshift.S: New file.
88728 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
88730         * configure.in: Move assembler checks to before sysdep dir checking.
88732 2010-08-20  Petr Baudis  <pasky@suse.cz>
88734         * LICENSES: Sync the sunrpc license.
88736 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
88738         * sunrpc/auth_des.c: Update copyright notice once again.
88739         * sunrpc/auth_none.c: Likewise.
88740         * sunrpc/auth_unix.c: Likewise.
88741         * sunrpc/authdes_prot.c: Likewise.
88742         * sunrpc/authuxprot.c: Likewise.
88743         * sunrpc/bindrsvprt.c: Likewise.
88744         * sunrpc/clnt_gen.c: Likewise.
88745         * sunrpc/clnt_perr.c: Likewise.
88746         * sunrpc/clnt_raw.c: Likewise.
88747         * sunrpc/clnt_simp.c: Likewise.
88748         * sunrpc/clnt_tcp.c: Likewise.
88749         * sunrpc/clnt_udp.c: Likewise.
88750         * sunrpc/clnt_unix.c: Likewise.
88751         * sunrpc/des_crypt.c: Likewise.
88752         * sunrpc/des_soft.c: Likewise.
88753         * sunrpc/get_myaddr.c: Likewise.
88754         * sunrpc/getrpcport.c: Likewise.
88755         * sunrpc/key_call.c: Likewise.
88756         * sunrpc/key_prot.c: Likewise.
88757         * sunrpc/openchild.c: Likewise.
88758         * sunrpc/pm_getmaps.c: Likewise.
88759         * sunrpc/pm_getport.c: Likewise.
88760         * sunrpc/pmap_clnt.c: Likewise.
88761         * sunrpc/pmap_prot.c: Likewise.
88762         * sunrpc/pmap_prot2.c: Likewise.
88763         * sunrpc/pmap_rmt.c: Likewise.
88764         * sunrpc/rpc/auth.h: Likewise.
88765         * sunrpc/rpc/auth_unix.h: Likewise.
88766         * sunrpc/rpc/clnt.h: Likewise.
88767         * sunrpc/rpc/des_crypt.h: Likewise.
88768         * sunrpc/rpc/key_prot.h: Likewise.
88769         * sunrpc/rpc/netdb.h: Likewise.
88770         * sunrpc/rpc/pmap_clnt.h: Likewise.
88771         * sunrpc/rpc/pmap_prot.h: Likewise.
88772         * sunrpc/rpc/pmap_rmt.h: Likewise.
88773         * sunrpc/rpc/rpc.h: Likewise.
88774         * sunrpc/rpc/rpc_des.h: Likewise.
88775         * sunrpc/rpc/rpc_msg.h: Likewise.
88776         * sunrpc/rpc/svc.h: Likewise.
88777         * sunrpc/rpc/svc_auth.h: Likewise.
88778         * sunrpc/rpc/types.h: Likewise.
88779         * sunrpc/rpc/xdr.h: Likewise.
88780         * sunrpc/rpc_clntout.c: Likewise.
88781         * sunrpc/rpc_cmsg.c: Likewise.
88782         * sunrpc/rpc_common.c: Likewise.
88783         * sunrpc/rpc_cout.c: Likewise.
88784         * sunrpc/rpc_dtable.c: Likewise.
88785         * sunrpc/rpc_hout.c: Likewise.
88786         * sunrpc/rpc_main.c: Likewise.
88787         * sunrpc/rpc_parse.c: Likewise.
88788         * sunrpc/rpc_parse.h: Likewise.
88789         * sunrpc/rpc_prot.c: Likewise.
88790         * sunrpc/rpc_sample.c: Likewise.
88791         * sunrpc/rpc_scan.c: Likewise.
88792         * sunrpc/rpc_scan.h: Likewise.
88793         * sunrpc/rpc_svcout.c: Likewise.
88794         * sunrpc/rpc_tblout.c: Likewise.
88795         * sunrpc/rpc_util.c: Likewise.
88796         * sunrpc/rpc_util.h: Likewise.
88797         * sunrpc/rpcinfo.c: Likewise.
88798         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
88799         * sunrpc/rpcsvc/key_prot.x: Likewise.
88800         * sunrpc/rpcsvc/klm_prot.x: Likewise.
88801         * sunrpc/rpcsvc/mount.x: Likewise.
88802         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
88803         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
88804         * sunrpc/rpcsvc/rex.x: Likewise.
88805         * sunrpc/rpcsvc/rstat.x: Likewise.
88806         * sunrpc/rpcsvc/rusers.x: Likewise.
88807         * sunrpc/rpcsvc/sm_inter.x: Likewise.
88808         * sunrpc/rpcsvc/spray.x: Likewise.
88809         * sunrpc/rpcsvc/yppasswd.x: Likewise.
88810         * sunrpc/rtime.c: Likewise.
88811         * sunrpc/svc.c: Likewise.
88812         * sunrpc/svc_auth.c: Likewise.
88813         * sunrpc/svc_authux.c: Likewise.
88814         * sunrpc/svc_raw.c: Likewise.
88815         * sunrpc/svc_run.c: Likewise.
88816         * sunrpc/svc_simple.c: Likewise.
88817         * sunrpc/svc_tcp.c: Likewise.
88818         * sunrpc/svc_udp.c: Likewise.
88819         * sunrpc/svc_unix.c: Likewise.
88820         * sunrpc/svcauth_des.c: Likewise.
88821         * sunrpc/xcrypt.c: Likewise.
88822         * sunrpc/xdr.c: Likewise.
88823         * sunrpc/xdr_array.c: Likewise.
88824         * sunrpc/xdr_float.c: Likewise.
88825         * sunrpc/xdr_mem.c: Likewise.
88826         * sunrpc/xdr_rec.c: Likewise.
88827         * sunrpc/xdr_ref.c: Likewise.
88828         * sunrpc/xdr_sizeof.c: Likewise.
88829         * sunrpc/xdr_stdio.c: Likewise.
88831         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
88832         handling.
88834 2010-08-19  Andreas Schwab  <schwab@redhat.com>
88836         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
88838 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
88840         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
88841         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
88842         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
88843         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
88844         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
88845         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
88846         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
88847         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
88848         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
88849         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
88850         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
88851         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
88852         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
88853         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
88855 2010-07-26  Anton Blanchard  <anton@samba.org>
88857         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
88858         * malloc/arena.c (heap_trim): Likewise.
88860 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
88862         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
88863         here.  Not...
88864         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
88865         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
88867 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
88869         * sysdeps/i386/elf/Makefile: New file.
88871 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88873         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
88874         from fanotify_init.
88875         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
88876         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88878 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
88880         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
88881         of strncasecmp_l.
88882         * sysdeps/multiarch/strcmp.S: Likewise.
88884 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
88886         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88887         strncase_l-nonascii.
88888         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88889         Add strncase_l-ssse3.
88890         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
88891         * sysdeps/x86_64/strcmp.S: Likewise.
88892         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
88893         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
88894         * sysdeps/x86_64/strncase.S: New file.
88895         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
88896         * sysdeps/x86_64/strncase_l.S: New file.
88897         * string/Makefile (strop-tests): Add strncasecmp.
88898         * string/test-strncasecmp.c: New file.
88900         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
88901         warning.
88903         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
88904         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
88906 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88908         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
88910 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
88912         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
88913         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
88914         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
88916 2010-05-01  Alan Modra  <amodra@gmail.com>
88918         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
88919         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
88920         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
88921         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
88922         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
88923         tidying.  Don't tail-call __sigjmp_save for static lib.
88924         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
88925         save location.
88926         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
88927         (CALL_MCOUNT): Add eh info, and nop after bl.
88928         (TAIL_CALL_SYSCALL_ERROR): New macro.
88929         (PSEUDO_RET): Use it.
88930         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
88931         Correct save location of integer regs and cr.
88932         (_dl_profile_resolve): Correct cr save location.  Delete nops
88933         after bl when SHARED.  Reduce cfi size a little by better
88934         placement of cfi directives.
88935         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
88936         make a stack frame.  Instead use parm save area as a temp.
88937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
88938         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
88939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
88940         Don't make a stack frame for parent, use parm save area.
88941         Increase child stack frame to 112 bytes.  Don't save unused reg,
88942         and adjust reg usage.  Set up cfi on error recovery and
88943         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
88944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
88945         (__makecontext): Add dummy nop after jump to exit.
88946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
88947         Use correct parm save area and cr save, reduce stack frame.
88948         Correct cfi for possible PSEUDO_RET frame setup.
88949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
88950         Branch to local label emitted by PSEUDO_RET rather than
88951         __syscall_error.
88953 2010-08-12  Andreas Schwab  <schwab@redhat.com>
88955         [BZ #11904]
88956         * locale/programs/locale.c (print_assignment): New function.
88957         (show_locale_vars): Use it.
88959 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
88961         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
88962         field.
88963         (struct statfs64): Likewise.
88964         (_STATFS_F_FLAGS): Define.
88965         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
88966         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88967         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
88968         (ST_VALID): Define locally.
88969         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
88970         __statvfs_getflags, use the provided value.
88971         * sysdeps/unix/sysv/linux/kernel-features.h: Define
88972         __ASSUME_STATFS_F_FLAGS.
88974         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
88976         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
88977         Add sys/fanotify.h.
88978         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
88979         fanotify_mask for GLIBC_2.13.
88980         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
88981         fanotify_init and fanotify_mark.
88982         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88983         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
88985         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
88986         Add prlimit.
88987         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
88988         prlimit64 for GLIBC_2.13.
88989         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
88990         prlimit64.
88991         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
88992         syscall.
88993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
88994         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88995         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
88996         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
88997         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
88998         add prlimit alias.
88999         * sysdeps/unix/sysv/linux/prlimit.c: New file.
89001         [BZ #11903]
89002         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
89003         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
89005         * nss/Makefile: Add rules to build and run tst-nss-test1.
89006         * shlib-versions: Add entry for libnss_test1.
89007         * nss/nss_test1.c: New file.
89008         * nss/tst-nss-test1.c: New file.
89010         * nss/nsswitch.c (__nss_database_custom): Define new variable.
89011         (__nss_configure_lookup): Set appropriate entry in
89012         __nss_configure_lookup to true.
89013         * nss/nsswitch.h: Define enum with indeces of databases in
89014         databases and __nss_database_custom arrays.  Declare
89015         __nss_database_custom.
89016         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
89017         to avoid using nscd when custom rules are installed.
89018         * nss/getXXbyYY_r.c: Likewise.
89019         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
89021         * nss/nss_files/files-parse.c: Whitespace fixes.
89023 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
89025         [BZ #11883]
89026         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
89027         * posix/fnmatch_loop.c: Likewise.
89029 2010-07-17  Andi Kleen  <ak@linux.intel.com>
89031         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
89032         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
89033         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
89034         * Versions.def [GLIBC_2.13]: Add.
89036 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
89038         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89039         Also fail if tpwd after pwuid call is NULL.
89041 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89043         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
89044         when converting to ms.
89046 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89048         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
89049         EOPNOTSUPP errors with ENOTTY.
89050         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
89051         EOPNOTSUPP errors with ENOTTY.
89053 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
89055         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89056         Add strcasecmp_l-ssse3.
89057         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
89058         strcasecmp.
89059         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
89060         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
89061         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
89063 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
89065         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
89067         * string/Makefile (strop-tests): Add strcasecmp.
89068         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89069         strcasecmp_l-nonascii.
89070         (gen-as-const-headers): Add locale-defines.sym.
89071         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
89072         * sysdeps/x86_64/strcasecmp.S: New file.
89073         * sysdeps/x86_64/strcasecmp_l.S: New file.
89074         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
89075         * sysdeps/x86_64/locale-defines.sym: New file.
89076         * string/test-strcasecmp.c: New file.
89078         * string/test-strcasestr.c: Test both ends of the range of characters.
89079         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
89081 2010-07-29  Roland McGrath  <roland@redhat.com>
89083         [BZ #11856]
89084         * manual/locale.texi (Yes-or-No Questions): Fix example code.
89086 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
89088         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
89089         for ld.so.
89091 2010-07-27  Andreas Schwab  <schwab@redhat.com>
89093         * manual/memory.texi (Malloc Tunable Parameters): Document
89094         M_PERTURB.
89096 2010-07-26  Roland McGrath  <roland@redhat.com>
89098         [BZ #11840]
89099         * configure.in (-fgnu89-inline check): Set and substitute
89100         gnu89_inline, not libc_cv_gnu89_inline.
89101         * configure: Regenerated.
89102         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
89104 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
89106         * string/test-strnlen.c: New file.
89107         * string/Makefile (strop-tests): Add strnlen.
89108         * string/tester.c (test_strnlen): Add a few more test cases.
89109         * string/tst-strlen.c: Better error reporting.
89111         * sysdeps/x86_64/strnlen.S: New file.
89113 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
89115         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
89116         lower-latency instructions.
89118 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
89120         * string/test-strcasestr.c: New file.
89121         * string/test-strstr.c: New file.
89122         * string/Makefile (strop-tests): Add strstr and strcasestr.
89123         * string/str-two-way.h: Don't undefine MAX.
89124         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
89126 2010-07-21  Andreas Schwab  <schwab@redhat.com>
89128         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89129         strcasestr-nonascii.
89130         (CFLAGS-strcasestr-nonascii.c): Define.
89131         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
89132         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
89133         Remove unused attribute.
89135 2010-07-20  Roland McGrath  <roland@redhat.com>
89137         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
89138         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
89139         ld.so.cache was broken.  With it, there is no way to disable dsocaps
89140         like LD_HWCAP_MASK can disable hwcaps.
89142 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89144         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
89146 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
89148         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
89149         call in strcasestr.
89150         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
89151         __strcasestr_sse42_nonascii.
89152         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
89153         strcasestr-nonascii.c.
89154         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
89156 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
89158         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
89159         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
89160         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
89161         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
89163 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
89165         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
89166         fcntl.
89168 2010-07-06  Andreas Schwab  <schwab@redhat.com>
89170         [BZ #11577]
89171         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
89172         dl_signal_cerror.
89174 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
89176         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
89177         _PC_PIPE_BUF using F_GETPIPE_SZ.
89179 2010-07-05  Roland McGrath  <roland@redhat.com>
89181         * manual/arith.texi (Rounding Functions): Fix rint description
89182         implicit in round description.
89184 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
89186         * elf/Makefile: Fix linking for a few tests to make recent linker
89187         happy.
89189 2010-06-30  Andreas Schwab  <schwab@redhat.com>
89191         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
89192         $(common-objpfx)libc_nonshared.a.
89194 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
89196         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
89197         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
89198         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
89199         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
89200         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
89201         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
89202         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
89203         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
89204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
89205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
89206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
89207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
89208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
89209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
89210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
89211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
89212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
89213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
89214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
89215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
89216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
89217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
89218         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
89219         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
89220         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
89221         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
89222         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
89223         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
89224         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
89225         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
89226         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
89227         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
89228         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
89229         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
89230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
89231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
89232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
89233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
89234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
89235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
89236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
89237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
89238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
89239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
89240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
89241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
89242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
89243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
89245 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
89247         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
89248         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
89249         * string/memmove.c (memmove): Renamed to ...
89250         (MEMMOVE): ...this.  Default to memmove.
89251         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
89252         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
89253         (END_CHK): Define.
89254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89255         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
89256         mempcpy-ssse3-back memmove-ssse3-back.
89257         * sysdeps/x86_64/multiarch/bcopy.S: New file .
89258         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
89259         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
89260         * sysdeps/x86_64/multiarch/memcpy.S: New file.
89261         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
89262         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
89263         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
89264         * sysdeps/x86_64/multiarch/memmove.c: New file.
89265         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
89266         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
89267         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
89268         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
89269         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
89270         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
89271         Define.
89272         (index_Fast_Copy_Backward): Define.
89273         (HAS_ARCH_FEATURE): Define.
89274         (HAS_FAST_REP_STRING): Define.
89275         (HAS_FAST_COPY_BACKWARD): Define.
89277 2010-06-21  Andreas Schwab  <schwab@redhat.com>
89279         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89280         Restore proper fallback handling.
89282 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
89284         [BZ #11701]
89285         * posix/group_member.c (__group_member): Correct checking loop.
89287         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
89288         OOM in getpwuid_r correctly.  Return error number when the caller
89289         should return, otherwise -1.
89290         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
89291         call returning > 0 value.
89292         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
89294 2010-06-07  Andreas Schwab  <schwab@redhat.com>
89296         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
89297         libc_nonshared.a from targets in modules-names.
89299 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
89301         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
89302         requires it.
89304 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
89306         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
89307         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
89308         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
89309         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
89311 2010-06-02  Andreas Schwab  <schwab@redhat.com>
89313         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
89315 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
89317         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
89318         and F_GETPIPE_SZ.
89319         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
89320         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89321         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89322         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89323         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89324         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89326 2010-06-14  Roland McGrath  <roland@redhat.com>
89328         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
89330 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
89332         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
89333         __REDIRECT followed by __THROW.
89334         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
89335         * posix/getopt.h (getopt): Likewise.
89337 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89339         * hurd/lookup-at.c (__file_name_lookup_at): Accept
89340         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
89341         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
89342         in AT_FLAGS.
89343         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
89344         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
89346 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
89348         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
89350 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
89352         [BZ #11640]
89353         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89354         Properly check family and model.
89356 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
89358         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
89360 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
89362         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
89364 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
89366         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
89367         symbol reference.
89369 2010-05-19  Andreas Schwab  <schwab@redhat.com>
89371         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
89372         symbol reference.
89374 2010-05-21  Andreas Schwab  <schwab@redhat.com>
89376         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
89377         and internal_recvmmsg.
89378         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
89379         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
89380         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
89381         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
89383         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
89384         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
89385         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
89387 2010-05-20  Andreas Schwab  <schwab@redhat.com>
89389         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
89391 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
89393         POWER7 optimizations.
89394         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
89395         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
89397 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
89399         * version.h: Update for 2.13 development version.
89401 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
89403         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
89404         exceptions.  Return 0.
89406 2010-05-07  Roland McGrath  <roland@redhat.com>
89408         * elf/ldconfig.c (main): Add a const.
89410 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
89412         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
89413         (args_options): Add no-idn option.
89414         (ahosts_keys_int): Add idn_flags to ai_flags.
89415         (parse_option): Handle 'i' option to clear idn_flags.
89417         * malloc/malloc.c (_int_free): Possible race in the most recently
89418         added check.  Only act on the data if no current modification
89419         happened.
89421 See ChangeLog.17 for earlier changes.